running error with New Keynesian Model

I am estiamting a pretty standard new Keynesian monetary model with US data, every time when I specify three observables:y pai i, there is a error message:
??? Error using ==> chol
Matrix must be positive definite.
Error in ==> metropolis_hastings_initialization at 52
d = chol(vv);
everything works fine with two observables: y pai.
??? Error using ==> chol
Matrix must be positive definite.
Error in ==> metropolis_hastings_initialization at 52
d = chol(vv);
everything works fine with two observables: y pai.