Warning: Log of zero

ı’m working on SW 2007 model. I run model an MH algorithm run. It’s okey. but in command window, there is massage below. This warnings comtinue, but I couldn’t see he posterior mean and the confidence interval results. What can I do now ? Please help me

Warning: Log of zero.

In marginal_density at 84
In dynare_estimation_1 at 889
In dynare_estimation at 62
In usmodel at 402
In dynare at 120
Warning: Log of zero.
In marginal_density at 84
In dynare_estimation_1 at 889
In dynare_estimation at 62
In usmodel at 402
In dynare at 120
Warning: Log of zero.
In marginal_density at 84
In dynare_estimation_1 at 889
In dynare_estimation at 62
In usmodel at 402
In dynare at 120
Warning: Log of zero.
In marginal_density at 84
In dynare_estimation_1 at 889
In dynare_estimation at 62
In usmodel at 402
In dynare at 120
Warning: Log of zero.
In marginal_density at 84
In dynare_estimation_1 at 889
In dynare_estimation at 62
In usmodel at 402
In dynare at 120
Warning: Log of zero.
In marginal_density at 84
In dynare_estimation_1 at 889
In dynare_estimation at 62
In usmodel at 402
In dynare at 120

There must be something wrong in the estimation step before.

Mr. Johannes Pfeifer,
Again thank you very much for your answer. I couldn’t find which step is wrong, Can you help me, please?

You need to post the mod-file and the data.

Dear Mr. Johannes Pfeifer,
I sended you my files from private
Thanks

Dear Mr. Johannes Pfeifer,
I’m waitinig your answer because of my estimatin problem in Dynare
I studied again in my log of zero problem, but It couldn’t be solved.
Thanks

Your data file is inconsistent with the observation equations. You need to construct data that is consistent with the way the Smets-Wouters model was set up. See their paper and Pfeifer(2013): “A Guide to Specifying Observation Equations for the Estimation of DSGE Models” sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.

Thanks again.
I solved my problem. The program now works.