mixing emcee and galsim