[daip] Re: CALIB

Eric Greisen egreisen at nrao.edu
Wed Nov 17 12:06:13 EST 2004


Alice Argon writes:

 > We are having problems with CALIB.  It does not seem to be working for 
 > anyone on any of our linux machines.
 > 
 > I have included the transcripts of two runs below.  The first was run on 
 > November 1st and worked just fine.  The second was run on November 17th 
 > and failed.  I used the same inputs and the same machine.  CALIB fails 
 > in both NEW and TST.  I've noticed one difference between the two CALIBs 
 > and that's the input DOFLAG.  It's there now (in both NEW and TST), but it 
 > wasn't on Nov. 1st.
 > 
 > Any ideas?
 > 

          Several.  It is bizrre that NEW is changing at all.  NEW in
the usual sense is 31DEC03 and that has not changed since about that
date.

See below for the rest

 > November 1, 2004 run:
 > ---------------------
 > AIPS 2: CALIB:  Task to determine calibration for data.
 > AIPS 2: Adverbs     Values                 Comments
 > AIPS 2: ----------------------------------------------------------------
 > AIPS 2:                                    Input uv data.
 > AIPS 2: INNAME     'BM056C 344-6'             UV file name (name)
 > AIPS 2: INCLASS    'AVSPC '                   UV file name (class)
 > AIPS 2: INSEQ         1                       UV file name (seq. #)
 > AIPS 2: INDISK        4                       UV file disk drive #
 > AIPS 2:                                    Data selection (multisource):
 > AIPS 2: CALSOUR    'NGC4258R        '      Calibrator sources
 > AIPS 2:            *rest ' '
 > AIPS 2: QUAL         -1                    Calibrator qualifier -1=>all
 > AIPS 2: CALCODE    '    '                  Calibrator code '    '=>all
 > AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)
 > AIPS 2: SELFREQ      -1                    Frequency to select (MHz)
 > AIPS 2: FREQID       -1                    Freq. ID to select.
 > AIPS 2: TIMERANG   *all 0                  Time range to use.
 > AIPS 2: BCHAN         1                    Lowest channel number 0=>all
 > AIPS 2: ECHAN         0                    Highest channel number
 > AIPS 2: ANTENNAS   *all 0                  Antennas to select. 0=all
 > AIPS 2: DOFIT      *all 0                  Subset of ANTENNAS list for
 > AIPS 2:                                    which solns are desired.  0
 > AIPS 2:                                    => all in ANTENNAS, < 0 all
 > AIPS 2:                                    but those in DOFIT
 > AIPS 2: ANTUSE     *all 0                  Mean gain is calculated
 > AIPS 2:                                    (CPARM(2)>0) using only the
 > AIPS 2:                                    listed antennas. See explain.
 > AIPS 2: SUBARRAY      0                    Subarray, 0=>all
 > AIPS 2: UVRANGE       0           0        Range of uv distance for full
 > AIPS 2:                                    weight
 > AIPS 2: WTUV          0                    Weight outside UVRANGE 0=0.
 > AIPS 2: WEIGHTIT      0                    Modify data weights function
 > AIPS 2:                                    Cal. info for input:
 > AIPS 2: DOCALIB       1                    If >0 calibrate data
 > AIPS 2:                                    = 2 calibrate weights
 > AIPS 2: GAINUSE       2                    CL table to apply.
 > AIPS 2: DOPOL        -1                    If >0 correct polarization.
 > AIPS 2: BLVER        -1                    BL table to apply.
 > AIPS 2: FLAGVER      -1                    Flag table version
 > AIPS 2: DOBAND       -1                    If >0 apply bandpass cal.
 > AIPS 2:                                    Method used depends on value
 > AIPS 2:                                    of DOBAND (see HELP file).
 > AIPS 2: BPVER        -1                    Bandpass table version
 > AIPS 2: SMOOTH     *all 0                  Smoothing function. See
 > AIPS 2:                                    HELP SMOOTH for details.
 > AIPS 2:
 > AIPS 2:                                    CLEAN map. See HELP.
 > AIPS 2: IN2NAME    '            '             Cleaned map name (name)
 > AIPS 2: IN2CLASS   '      '                   Cleaned map name (class)
 > AIPS 2: IN2SEQ        0                       Cleaned map name (seq. #)
 > AIPS 2: IN2DISK       0                       Cleaned map disk unit #
 > AIPS 2: INVERS        0                    CC file version #.
 > AIPS 2: NCOMP      *all 0                  # comps to use for model.
 > AIPS 2:                                    1 value per field
 > AIPS 2: FLUX          0                    Lowest CC component used.
 > AIPS 2: NMAPS         0                    No. Clean map files
 > AIPS 2: CMETHOD    '    '                  Modeling method:
 > AIPS 2:                                    'DFT','GRID','    '
 > AIPS 2: CMODEL     '    '                  Model type: 'COMP','IMAG'
 > AIPS 2: SMODEL        1        *rest 0     Source model, 1=flux,2=x,3=y
 > AIPS 2:                                    See HELP SMODEL for models.
 > AIPS 2:
 > AIPS 2:                                    Output uv data file.
 > AIPS 2: OUTNAME    '            '             UV file name (name)
 > AIPS 2: OUTCLASS   '      '                   UV file name (class)
 > AIPS 2: OUTSEQ        0                       UV file name (seq. #)
 > AIPS 2: OUTDISK       0                       UV file disk drive #
 > AIPS 2:
 > AIPS 2:                                    Solution control adverbs:
 > AIPS 2: REFANT        6                    Reference antenna
 > AIPS 2: SOLINT        0.5                  Solution interval (min)
 > AIPS 2: SOLSUB        0                    Solution subinterval
 > AIPS 2: SOLMIN        0                    Min solution interval
 > AIPS 2: APARM         4           0        General parameters
 > AIPS 2:               0           0           1=min. no. antennas
 > AIPS 2:               0           0           2 > 0 => data divided
 > AIPS 2:               3        *rest 0        3 > 0 => avg. RR,LL
 > AIPS 2:                                       5 > 0 => avg. IFs.
 > AIPS 2:                                       6=print level, 1=good,
 > AIPS 2:                                         2 closure, 3 SNR
 > AIPS 2:                                       7=SNR cutoff (0=>5)
 > AIPS 2:                                       8=max. ant. # (no AN)
 > AIPS 2:                                       9 > 0 => pass failed soln
 > AIPS 2:                                    Phase-amplitude Parameters:
 > AIPS 2: SOLTYPE    '    '                  Soln type,'  ','L1','GCON'
 > AIPS 2: SOLMODE    'P   '                  Soln. mode: 'A&P','P','P!A',
 > AIPS 2:                                    'GCON'
 > AIPS 2: SOLCON        0                    Gain constraint factor.
 > AIPS 2: MINAMPER      0                    Amplitude closure error
 > AIPS 2:                                    regarded as excessive in %
 > AIPS 2: MINPHSER      0                    Phase closure error regarded
 > AIPS 2:                                    as excessive in degrees
 > AIPS 2: CPARM      *all 0                  Phase-amp. parameters
 > AIPS 2:                                       1 = Min el for gain
 > AIPS 2:                                            normalization (deg)
 > AIPS 2:                                       2 >0 => normalize gain
 > AIPS 2:                                       3 avg. amp. closure err
 > AIPS 2:                                       4 avg. ph. closure err
 > AIPS 2:                                       5 >0 => scalar average
 > AIPS 2:
 > AIPS 2: SNVER         0                    Output SN table, 0=>new table
 > AIPS 2: ANTWT      *all 0                  Ant. weights (0=>1.0)
 > AIPS 2: GAINERR    *all 0                  Std. Dev. of antenna gains.
 > AIPS 2: BADDISK    *all 0                  Disk no. not to use for
 > AIPS 2:                                       scratch files.
 > >
 > CALIB2: Task CALIB  (release of 31DEC04) begins
 > CALIB2: CALIB USING BM056C 344-6 . AVSPC  .   1 DISK=  4 USID= 479
 > CALIB2: Selecting and calibrating the data
 > CALIB2: Doing cal transfer mode with point model for each source
 > CALIB2: This is not self-calibration
 > CALIB2: Dividing data by source flux densities
 > CALIB2: Determining solutions
 > CALIB2: Writing SN table    1
 > CALIB2: Found         7137 good solutions
 > CALIB2:                191 solutions had insufficient data
 > CALIB2: Appears to have ended successfully
 > CALIB2: rglinux3     31DEC04 TST: Cpu=       1.2  Real=       1
 > >
 > 
 > November 17, 2004 run:
 > ----------------------
 > AIPS 1: CALIB:  Task to determine calibration for data.
 > AIPS 1: Adverbs     Values                 Comments
 > AIPS 1: ----------------------------------------------------------------
 > AIPS 1:                                    Input uv data.
 > AIPS 1: INNAME     'BM056C 344-6'             UV file name (name)
 > AIPS 1: INCLASS    'AVSPC '                   UV file name (class)
 > AIPS 1: INSEQ         1                       UV file name (seq. #)
 > AIPS 1: INDISK        4                       UV file disk drive #
 > AIPS 1:                                    Data selection (multisource):
 > AIPS 1: CALSOUR    'NGC4258R        '      Calibrator sources
 > AIPS 1:            *rest ' '
 > AIPS 1: QUAL         -1                    Calibrator qualifier -1=>all
 > AIPS 1: CALCODE    '    '                  Calibrator code '    '=>all
 > AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)
 > AIPS 1: SELFREQ      -1                    Frequency to select (MHz)
 > AIPS 1: FREQID       -1                    Freq. ID to select.
 > AIPS 1: TIMERANG   *all 0                  Time range to use.
 > AIPS 1: BCHAN         1                    Lowest channel number 0=>all
 > AIPS 1: ECHAN         0                    Highest channel number
 > AIPS 1: ANTENNAS   *all 0                  Antennas to select. 0=all
 > AIPS 1: DOFIT      *all 0                  Subset of ANTENNAS list for
 > AIPS 1:                                    which solns are desired.
 > AIPS 1: ANTUSE     *all 0                  Mean gain is calculated
 > AIPS 1:                                    (CPARM(2)>0) using only the
 > AIPS 1:                                    listed antennas. See explain.
 > AIPS 1: SUBARRAY      0                    Subarray, 0=>all
 > AIPS 1: UVRANGE       0           0        Range of uv distance for full
 > AIPS 1:                                    weight
 > AIPS 1: WTUV          0                    Weight outside UVRANGE 0=0.
 > AIPS 1: WEIGHTIT      0                    Modify data weights function
 > AIPS 1:                                    Cal. info for input:
 > AIPS 1: DOCALIB       1                    If >0 calibrate data
 > AIPS 1:                                    = 2 calibrate weights
 > AIPS 1: GAINUSE       2                    CL table to apply.
 > AIPS 1: DOPOL        -1                    If >0 correct polarization.
 > AIPS 1: BLVER        -1                    BL table to apply.
 > AIPS 1: FLAGVER      -1                    Flag table version
 > AIPS 1: DOBAND       -1                    If >0 apply bandpass cal.
 > AIPS 1:                                    Method used depends on value
 > AIPS 1:                                    of DOBAND (see HELP file).
 > AIPS 1: BPVER        -1                    Bandpass table version
 > AIPS 1: SMOOTH     *all 0                  Smoothing function. See
 > AIPS 1:                                    HELP SMOOTH for details.
 > AIPS 1:
 > AIPS 1:                                    CLEAN map. See HELP.
 > AIPS 1: IN2NAME    '            '             Cleaned map name (name)
 > AIPS 1: IN2CLASS   '      '                   Cleaned map name (class)
 > AIPS 1: IN2SEQ        0                       Cleaned map name (seq. #)
 > AIPS 1: IN2DISK       0                       Cleaned map disk unit #
 > AIPS 1: INVERS        0                    CC file version #.
 > AIPS 1: NCOMP      *all 0                  # comps to use for model.
 > AIPS 1:                                    1 value per field
 > AIPS 1: FLUX          0                    Lowest CC component used.
 > AIPS 1: NMAPS         0                    No. Clean map files
 > AIPS 1: CMETHOD    '    '                  Modeling method:
 > AIPS 1:                                    'DFT','GRID','    '
 > AIPS 1: CMODEL     '    '                  Model type: 'COMP','IMAG'
 > AIPS 1: SMODEL        1        *rest 0     Source model, 1=flux,2=x,3=y
 > AIPS 1:                                    See HELP SMODEL for models.
 > AIPS 1:
 > AIPS 1:                                    Output uv data file.
 > AIPS 1: OUTNAME    '            '             UV file name (name)
 > AIPS 1: OUTCLASS   '      '                   UV file name (class)
 > AIPS 1: OUTSEQ        0                       UV file name (seq. #)
 > AIPS 1: OUTDISK       0                       UV file disk drive #
 > AIPS 1:
 > AIPS 1:                                    Solution control adverbs:
 > AIPS 1: REFANT        6                    Reference antenna
 > AIPS 1: SOLINT        0.5                  Solution interval (min)
 > AIPS 1: SOLSUB        0                    Solution subinterval
 > AIPS 1: SOLMIN        0                    Min solution interval
 > AIPS 1: APARM         4           0        General parameters
 > AIPS 1:               0           0           1=min. no. antennas
 > AIPS 1:               0           0           2 > 0 => data divided
 > AIPS 1:               3        *rest 0        3 > 0 => avg. RR,LL
 > AIPS 1:                                       5 > 0 => avg. IFs.
 > AIPS 1:                                       6=print level, 1=good,
 > AIPS 1:                                         2 closure, 3 SNR
 > AIPS 1:                                       7=SNR cutoff (0=>5)
 > AIPS 1:                                       8=max. ant. # (no AN)
 > AIPS 1:                                       9 > 0 => pass failed soln
 > AIPS 1:                                    Phase-amplitude Parameters:
 > AIPS 1: DOFLAG        0                    Flag on closure error?
 > AIPS 1: SOLTYPE    '    '                  Soln type,'  ','L1','GCON',
 > AIPS 1:                                       'R', 'L1R', 'GCOR'
 > AIPS 1: SOLMODE    'P   '                  Soln. mode: 'A&P','P','P!A',
 > AIPS 1:                                    'GCON',
 > AIPS 1: SOLCON        0                    Gain constraint factor.
 > AIPS 1: MINAMPER      0                    Amplitude closure error
 > AIPS 1:                                    regarded as excessive in %
 > AIPS 1: MINPHSER      0                    Phase closure error regarded
 > AIPS 1:                                    as excessive in degrees
 > AIPS 1: CPARM      *all 0                  Phase-amp. parameters
 > AIPS 1:                                       1 = Min el for gain
 > AIPS 1:                                            normalization (deg)
 > AIPS 1:                                       2 >0 => normalize gain
 > AIPS 1:                                       3 avg. amp. closure err
 > AIPS 1:                                       4 avg. ph. closure err
 > AIPS 1:                                       5 >0 => scalar average
 > AIPS 1:
 > AIPS 1: SNVER         0                    Output SN table, 0=>new table
 > AIPS 1: ANTWT      *all 0                  Ant. weights (0=>1.0)
 > AIPS 1: GAINERR    *all 0                  Std. Dev. of antenna gains.
 > AIPS 1: BADDISK    *all 0                  Disk no. not to use for
 > AIPS 1:                                       scratch files.
 > >
 > CALIB1: Task CALIB  (release of 31DEC04) begins
 > CALIB1: CALIB USING BM056C 344-6 . AVSPC  .   1 DISK=  4 USID= 479
 > CALIB1: UNKNOWN SOLUTION TYPE =
 > CALIB1: Purports to die of UNNATURAL causes
 > CALIB1: rglinux3     31DEC04 TST: Cpu=       0.0  Real=       0
 > AIPS 1: Resumes
 > >

This is the message that appears if CALIB.EXE has not been updated,
but the help file (by the presence of DOFLAG) has been changed.  The
adverb values get offset and a character string has an illegal
content.

The MNJ is working in that it copies files (but NEW must = TST), but
not working in that it is not doing the compiles and link edits.

Check

cd $TST/$ARCH/UPDATE

cat LAST*DAT*

if all are the same there is a serious problem, if LASTCOMRPL and
LASTCOMLNK are old there is an easier (I hope) problem.

Change the 2 I mentioned back a month or two and re-run the MNJ and
see if the compiles get done.  There should be a modest list in
COMRPL.AT and a serious list in COMLNK.AT.

Eric Greisen




More information about the Daip mailing list