code: def get_full_analysis_chunk(science_segs):
      
      extents = [science_segs[ifo].extent() for ifo in science_segs.keys()]
      min, max = extents[0]
      for lo, hi in extents:
          if min > lo:
              min = lo
          if max < hi:
              max = hi
      fullSegment = segments.segment(min, max)
      return fullSegment
docs: Function to find the first and last time point contained in the science segments
      and return a single segment spanning that full time.
  
      Parameters
      -----------
      science_segs : ifo-keyed dictionary of ligo.segments.segmentlist instances
          The list of times that are being analysed in this workflow.
  
      Returns
      --------
      fullSegment : ligo.segments.segment
          The segment spanning the first and last time point contained in science_segs.