code to seamlessly generate simulated images using GalSim based off of simulated catalogs generated by CatSim