; GAINERR
;---------------------------------------------------------------
;! gives estimate of gain uncertainty for each antenna
;# ADVERB CALIBRATION
;-----------------------------------------------------------------------
;;  Copyright (C) 1995, 2020
;;  Associated Universities, Inc. Washington DC, USA.
;;
;;  This program is free software; you can redistribute it and/or
;;  modify it under the terms of the GNU General Public License as
;;  published by the Free Software Foundation; either version 2 of
;;  the License, or (at your option) any later version.
;;
;;  This program is distributed in the hope that it will be useful,
;;  but WITHOUT ANY WARRANTY; without even the implied warranty of
;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;  GNU General Public License for more details.
;;
;;  You should have received a copy of the GNU General Public
;;  License along with this program; if not, write to the Free
;;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
;;  MA 02139, USA.
;;
;;  Correspondence concerning AIPS should be addressed as follows:
;;         Internet email: aipsmail@nrao.edu.
;;         Postal address: AIPS Project Office
;;                         National Radio Astronomy Observatory
;;                         520 Edgemont Road
;;                         Charlottesville, VA 22903-2475 USA
;-----------------------------------------------------------------------
;---------------------------------------------------------------
GAINERR   LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC
----------------------------------------------------------------
GAINERR
Type:  Adverb (Real array, 30 elements)
Use:   Specifies the estimated RMS gain error (in gain units,
       ie. dimensionless) for each element of an array.
Null Value:  NONE  ( 0 => no gain error)
Tasks:
   CALIB.....Determines antenna calibration: complex gain.  GAINERR is
             used only with the gain contrained solution type.
   SCIMG.....Full-featured imaging plus self-calibration loop with
             editing.  GAINERR as in CALIB durinng self-cal steps.
   SCMAP.....Imaging plus self-calibration loop with editing.  GAINERR
             as in CALIB durinng self-cal steps.
   UVFIT.....Fits source models to uv data.  GAINERR are the initial
             guesses of the antenna gains to be fit.  0 -> no fit.
   UVGIT.....Fits source models to uv data.  GAINERR are the initial
             guesses of the antenna gains to be fit.  0 -> no fit.
Procedures:
   IMSCAL....Large image self-cal with IM2CC and OOCAL.  GAINERR is
             passed to CALIB.
   OOCAL.....Determines antenna complex gain with frequency-dependent
             models.  GAINERR is passed to CALIB.
----------------------------------------------------------------
