code: def write_table_file(self, job_table_file=None, file_table_file=None):
          
          if self._table is None:
              raise RuntimeError("No table to write")
          if self._table_ids is None:
              raise RuntimeError("No ID table to write")
          if job_table_file is not None:
              self._table_file = job_table_file
          if self._table_file is None:
              raise RuntimeError("No output file specified for table")
          write_tables_to_fits(self._table_file, [self._table, self._table_ids], clobber=True,
                               namelist=['JOB_ARCHIVE', 'FILE_IDS'])
          self._file_archive.write_table_file(file_table_file)
docs: Write the table to self._table_file