Bayesian estimation: Log data density [Laplace approximation] is NaN

You are not handling parameter dependence correctly. In e.g.

vy_obs =log(vy)-log(vy_ss);

the value of vy_ss is fixed before estimation and will not be updated when the parameters change.
See e.g.