I am trying to implement only with Numpy the following formula for the negative log likelihood
However I am getting two vastly different results between the s