code: def build_job_configs(self, args):
          
          job_configs = {}
  
          components = Component.build_from_yamlfile(args['comp'])
          NAME_FACTORY.update_base_dict(args['data'])
  
          # FIXME
          mktime = args['mktimefilter']
  
          for comp in components:
              for sourcekey in args['sourcekeys']:
                  zcut = "zmax%i" % comp.zmax
                  key = comp.make_key('{ebin_name}_{evtype_name}') + "_%s" % sourcekey
                  name_keys = dict(zcut=zcut,
                                   ebin=comp.ebin_name,
                                   psftype=comp.evtype_name,
                                   irf_ver=NAME_FACTORY.irf_ver(),
                                   sourcekey=sourcekey,
                                   mktime=mktime,
                                   coordsys=comp.coordsys,
                                   fullpath=True)
                  outfile = NAME_FACTORY.template_sunmoon(**name_keys)
                  job_configs[key] = dict(expsun=NAME_FACTORY.bexpcube_sun(**name_keys),
                                          avgexp=NAME_FACTORY.bexpcube(**name_keys),
                                          sunprof=NAME_FACTORY.angprofile(**name_keys),
                                          cmap='none',
                                          outfile=outfile,
                                          irfs=NAME_FACTORY.irfs(**name_keys),
                                          evtype=comp.evtype,
                                          emin=comp.emin,
                                          emax=comp.emax,
                                          enumbins=comp.enumbins,
                                          logfile=outfile.replace('.fits', '.log'))
  
          return job_configs
docs: Hook to build job configurations