NAME:
  hstinittarg
 PURPOSE:   (one line only)
  Inititalize data and fitting parameters for a target fit to HST WFC3 data
 DESCRIPTION:
 CATEGORY:
  Astrometry
 CALLING SEQUENCE:
  hstinittarg,dblun,idx,hidx,error
 INPUTS:
  dblun - pre-opened LUN for a database connection, if provided, the LUN
            is left open..  If connection is not open, then it is opened
            at the start and closed at the end.
  idx   - index number of star to be fitted (stars table)
  hidx  - index number of image to be fitted (header table)
 OPTIONAL INPUT PARAMETERS:
 KEYWORD INPUT PARAMETERS:
 OUTPUTS:
  error - Flag, set if an error occurred in setting things up
 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
     filetype - type of file to read ('flt' or 'flc'), default='flc'
   [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/29, Written by Marc W. Buie, Southwest Research Institute, cloned
                 from init_tno.pro in the 15405 reduction directory.
  2020/09/25, MWB, added SHOWDW keyword