code: def get_valid_times_for_job_legacy(self, num_job):
          
          # All of this should be integers, so no rounding factors needed.
          shift_dur = self.curr_seg[0] + int(self.job_time_shift * num_job)
          job_valid_seg = self.valid_chunk.shift(shift_dur)
  
          # If this is the last job, push the end back
          if num_job == (self.num_jobs - 1):
              dataPushBack = self.data_length - self.valid_chunk[1]
              job_valid_seg = segments.segment(job_valid_seg[0],
                                                 self.curr_seg[1] - dataPushBack)
  
          return job_valid_seg
docs: Get the times for which the job num_job will be valid, using the method
          use in inspiral hipe.