Break out of loop when log likelihood is zero