changing to loglike within lhf