Refactored save_posterior_model to take only the model MCMC object (and not separate db object) since db can be accessed from the MCMC object.