Error: chol: input matrix must be positive definite

Try a longer run of mode_compute=6, try mode_compute=9. Check whether the data matches the model (observation equation). Use stronger priors.