faster loglike