NAME:
  hststarerr
 PURPOSE:   (one line only)
  Determine fit errors for PSF fits to trailed stars
 DESCRIPTION:
 CATEGORY:
  Astrometry
 CALLING SEQUENCE:
  hststarerr,filestem
 INPUTS:
  filestem - String that is used to select a set of file for processing.
             The search string for files will be
               filestem+'*.flc.fits.gz'
 OPTIONAL INPUT PARAMETERS:
 KEYWORD INPUT PARAMETERS:
 OUTPUTS:
 KEYWORD OUTPUT PARAMETERS:
 CONFIGURATION: (optional, overrides xtrack.in)
   File: config.ini
   [global]
     subdir   - naem of sub-directory  added to base path to find data
     hstpsf   - directory for psf cache
     satur    - Saturation signal level, default=80000L
     smcsamp  - Number of samples in MCMC sampler
 objectid
   [ddir]   - section to list potential root directories to find data
     XXX - 
       XXX is a unique string (eg., D01)
        is a directory path
       for additional details see getddir.pro
 COMMON BLOCKS:
 SIDE EFFECTS:
 RESTRICTIONS:
 PROCEDURE:
 MODIFICATION HISTORY:
  2020/06/24, Written by Marc W. Buie, Southwest Research Institute