support for generating posterior images and stats from a subset of chains in database.