works, before changing log-likelihood to a Gaussian