We are experimenting with an EM algorithm and it is unexpectedly diverging. The solution obtained in the first iteration is the closest to the real values of the parameters, and as we keep iterating it, the values are progressively getting further. We are using Metropolis-Hastings in the E-step, since the direct evaluation of the expectation is intractable.