[daip] Bug in PCAL

Andy Biggs abiggs at eso.org
Thu Nov 26 08:36:22 EST 2015


Hi there. I tried to run PCAL in 31DEC15 today and got the following error:

localh> PCAL 1: Task PCAL   (release of 31DEC15) begins
localh> PCAL 1: UVGET: Using flag table version   1 to edit data
localh> PCAL 1: PCLNDX: changing SOLINT from  5.000 to  0.444 minutes
localh> PCAL 1: Processing IF number  1
localh> PCAL 1: Processing IF number  2
localh> PCAL 1: ZOPEN: LUN =  28 ALREADY OPENED IN FTAB
localh> PCAL 1: SOUFIL OR ISTAB: ERROR  1 OPENING SOURCE TABLE
localh> PCAL 1: Purports to die of UNNATURAL causes

The tasks completes successfully if I run it in 31DEC14 with the exact 
same inputs. The (very boring) inputs are:

AIPS 1: Found in Version=NEW
AIPS 1: PCAL    Task to compute polarization corrections
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: INNAME     '19961012'              Input UV file name (name)
AIPS 1: INCLASS    'UVCOP'                 Input UV file name (class)
AIPS 1: INSEQ         1                    Input UV file name (seq. #)
AIPS 1: INDISK        1                    Input UV file disk unit #
AIPS 1:                                    Data selection (multisource):
AIPS 1: CALSOUR    '0319+415'              Sources to calibrate with
AIPS 1:            *rest ' '
AIPS 1: QUAL         -1                    Calibrator qualifier -1=>all
AIPS 1: CALCODE    ' '                     Calibrator code '    '=>all
AIPS 1: TIMERANG   *all 0                  Time range to use.
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: BIF           1                    Lowest IF number 0=>all
AIPS 1: EIF           2                    Highest IF number 0=>all
AIPS 1: ANTENNAS   *all 0                  Antennas to solve for.
AIPS 1: UVRANGE       0           0        UV range in kilolamdba
AIPS 1: SUBARRAY      0                    Subarray, 0=>all
AIPS 1:                                    Cal. info for input:
AIPS 1: DOCALIB       1                    > 0 calibrate data & weights
AIPS 1:                                    > 99 do NOT calibrate weights
AIPS 1: GAINUSE       0                    CAL table to apply.
AIPS 1:                                    CLEAN map (optional)
AIPS 1: BLVER        -1                    BL table to apply.
AIPS 1: FLAGVER       0                    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: ICHANSEL   *all 0                  Array of start and stop chan
AIPS 1:                                    numbers, plus a channel
AIPS 1:                                    increment and IF to be used
AIPS 1:                                    to select channels to sum to
AIPS 1:                                    find the polarization.
AIPS 1:                                    0 => all channels
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:                                    'SUBI' (see HELP re images)
AIPS 1: DOMODEL       1                    > 0 => use model, do not
AIPS 1:                                    fit source Q and U
AIPS 1:                                    = 2 use CP table model
AIPS 1: PMODEL     *all 0                  Source poln. model
AIPS 1: SPECPARM   *all 0                  Spectral index: I Q U V for
AIPS 1:                                    each CALSOUR
AIPS 1: DOSCALE      -1                    >= 0 use spectral index
AIPS 1:                                    = 2 solve for curvature
AIPS 1: SOLINT        5                    Soln. interval (min) 0=>5.
AIPS 1: SOLTYPE    ' '                     Solution type:
AIPS 1:                                    'ORI-', 'APPR', 'RAPR'
AIPS 1: SPECTRAL      0                    > 0 do spectral PCAL
AIPS 1:                                    <= 0 do continuum PCAL
AIPS 1: INTPARM    *all 0                  Smoothing parameters for
AIPS 1:                                    spectral mode
AIPS 1: PRTLEV        1                    Print statistics 0=>none
AIPS 1:                                    1 = some, 2 = lots. Use 1.
AIPS 1: REFANT        4                    Reference antenna, 0->pick
AIPS 1: BPARM      *all 0                  Task enrichment parameters
AIPS 1:                                    for SOLTYPE 'ORI-' only:
AIPS 1:                                    (1) if > 0 use default
AIPS 1:                                        initial feed parameters.
AIPS 1:                                    (2) > 0 -> no error calc.
AIPS 1:                                    (3) if > 0 then fit for R-L
AIPS 1:                                        phase difference
AIPS 1:                                    (4) initial R-L phase
AIPS 1:                                    (5) >0 solve for Vpol.
AIPS 1:                                    (6) >0 fix ref. ori. 1
AIPS 1:                                    (7) >0 fix ref. ori. 2
AIPS 1:                                    (8) >0 fix all orientations
AIPS 1:                                    (9) >0 fix all ellipticities
AIPS 1:                                    (10) >0 fix source poln.
AIPS 1: CPARM      *all 0                  Task enrichment parameters
AIPS 1:                                    (1) >0 => average in IF
AIPS 1:                                       and find common solution.
AIPS 1:                                    (2) >0 => update source
AIPS 1:                                       table with pol. solution
AIPS 1:                                    (3) >0 => do NOT interpolate
AIPS 1:                                       over flagged channels
AIPS 1:                                    (4) CP table version if
AIPS 1:                                       DOMODEL = 2
AIPS 1:                                    (7) >0 => use initial guess
AIPS 1:                                        from AN or PD tables
AIPS 1:                                    (8) >0 => max. no. iter
AIPS 1:                                    (9) >0 => conv. tolerance
AIPS 1:                                    (10) >0 => conv. tol.
AIPS 1: BADDISK    *all 0                  Disk no. not to use for
AIPS 1:                                       scratch files.

Thanks,

Andy

-- 

Andy Biggs
ARC Astronomer, ALMA Regional Centre
European Southern Observatory
Karl-Schwarzschild-Straße 2
D-85748 Garching
Germany

tel. +49 89 3200 6471
fax. +49 89 3200 6898



More information about the Daip mailing list