Metropolis Error

i get the following error when i do MCMC

Warning: Log of zero.

In metropolis at 822
In dynare_estimation at 778
In Version_18_m at 403
In dynare at 26

i think this has to do with the log data density compution. have you guys encountered it?

This usually happens when the Metropolis iterations don’t move enough. It is often due to a bad mode. Check for 0 standard deviation in the posterior mode report.