code: def _setOutputNames(self,rootname,suffix='_drz'):
          
          # Define FITS output filenames for intermediate products
  
          # Build names based on final DRIZZLE output name
          # where 'output' normally would have been created
          #   by 'process_input()'
          #
          outFinal = rootname+suffix+'.fits'
          outSci = rootname+suffix+'_sci.fits'
          outWeight = rootname+suffix+'_wht.fits'
          outContext = rootname+suffix+'_ctx.fits'
          outMedian = rootname+'_med.fits'
  
          # Build names based on input name
          origFilename = self._filename.replace('.fits','_OrIg.fits')
          outSky = rootname + '_sky.fits'
          outSingle = rootname+'_single_sci.fits'
          outSWeight = rootname+'_single_wht.fits'
          crCorImage = rootname+'_crclean.fits'
  
          # Build outputNames dictionary
          fnames={
              'origFilename': origFilename,
              'outFinal': outFinal,
              'outMedian': outMedian,
              'outSci': outSci,
              'outWeight': outWeight,
              'outContext': outContext,
              'outSingle': outSingle,
              'outSWeight': outSWeight,
              'outSContext': None,
              'outSky': outSky,
              'crcorImage': crCorImage,
              'ivmFile': None
          }
  
          return fnames
docs: Define the default output filenames for drizzle products,
              these are based on the original rootname of the image
              filename should be just 1 filename, so call this in a loop
              for chip names contained inside a file.