fixed log_likelihood