code: def reload_source(self, name):
          
  
          src = self.roi.get_source_by_name(name)
  
          if hasattr(self.like.logLike, 'loadSourceMap'):
              self.like.logLike.loadSourceMap(str(name), True, False)
              srcmap_utils.delete_source_map(self.files['srcmap'], name)
              self.like.logLike.saveSourceMaps(str(self.files['srcmap']))
              self._scale_srcmap(self._src_expscale, check_header=False,
                                 names=[name])
              self.like.logLike.buildFixedModelWts()
          else:
              self.write_xml('tmp')
              src = self.delete_source(name)
              self.add_source(name, src, free=True)
              self.load_xml('tmp')
docs: Recompute the source map for a single source in the model.