code: def make_srcmap_manifest(self, components, name_factory):
          
          ret_dict = {}
  
          for comp in components:
              compkey = comp.make_key('{ebin_name}_{evtype_name}')
              zcut = "zmax%i" % comp.zmax
              name_keys = dict(modelkey=self.model_name,
                               zcut=zcut,
                               ebin=comp.ebin_name,
                               mktime='none',
                               psftype=comp.evtype_name,
                               coordsys=comp.coordsys)
              outsrcmap = name_factory.merged_srcmaps(**name_keys)
              ccube = name_factory.ccube(**name_keys)
              src_dict = {}
              for comp_name, model_comp in self.model_components.items():
                  comp_info = model_comp.info
                  model_type = comp_info.model_type
                  name_keys['sourcekey'] = comp_name
                  if model_type in ['CatalogSources']:
                      #sourcekey = comp_info.comp_key
                      sources = comp_info.source_names
                      name_keys['sourcekey'] = comp_info.catalog_info.catalog_name
                  elif model_type in ['CompositeSource']:
                      #sourcekey = comp_info.sourcekey
                      name_keys['sourcekey'] = comp_info.sourcekey
                      sources = [comp_info.source_name]
                  else:
                      #sourcekey = comp_name
                      sources = [comp_info.source_name]
                  src_dict[comp_name] = dict(sourcekey=comp_name,
                                             srcmap_file=name_factory.srcmaps(**name_keys),
                                             source_names=sources)
              comp_dict = dict(outsrcmap=outsrcmap,
                               ccube=ccube,
                               source_dict=src_dict)
              ret_dict[compkey] = comp_dict
  
          return ret_dict
docs: Build a yaml file that specfies how to make the srcmap files for a particular model
  
          Parameters
          ----------
  
          components : list
              The binning components used in this analysis
          name_factory : `NameFactory`
              Object that handles naming conventions
  
          Returns a dictionary that contains information about where to find the
          source maps for each component of the model