NAME:
  moschipcal
 PURPOSE:   (one line only)
  Determine the photometric calibration of a single Mosaic CCD
 DESCRIPTION:
 CATEGORY:
  Photometry
 CALLING SEQUENCE:
  moschipcal,root,num,ccd
 INPUTS:
  root - root of data area and file names
  num  - image number to process
  ccd  - CCD (extension) number to process
 OPTIONAL INPUT PARAMETERS:
  DBLUN - If provided is used for database queries and is left open.
            Otherwise, a database connection is opened and closed with each
            call.
 KEYWORD INPUT PARAMETERS:
 OUTPUTS:

 KEYWORD OUTPUT PARAMETERS:
 COMMON BLOCKS:
 SIDE EFFECTS:
 RESTRICTIONS:
 PROCEDURE:
 MODIFICATION HISTORY:
  Written by Marc W. Buie, Southwest Research Institute, 2008/08/07
  2009/12/30, MWB, modified for new fitting coefficients methodology