code: def _create_job_details(self, key, job_config, logfile, status):
          
          self.update_args(job_config)
          job_details = JobDetails(jobname=self.full_linkname,
                                   jobkey=key,
                                   appname=self.appname,
                                   logfile=logfile,
                                   job_config=job_config,
                                   timestamp=get_timestamp(),
                                   file_dict=copy.deepcopy(self.files),
                                   sub_file_dict=copy.deepcopy(self.sub_files),
                                   status=status)
          return job_details
docs: Create a `JobDetails` for a single job
  
          Parameters
          ----------
  
          key : str
              Key used to identify this particular job
  
          job_config : dict
              Dictionary with arguements passed to this particular job
  
          logfile : str
              Name of the associated log file
  
          status : int
              Current status of the job
  
          Returns
          -------
          job_details : `fermipy.jobs.JobDetails`
              Object with the details about a particular job.