On the maximization of likelihoods belonging to the exponential family using a Levenberg–Marquardt approach