mcmc.jl: end-to-end script with configurable rate grid