[daip] PCAL ...

Eric Greisen egreisen at nrao.edu
Mon Nov 14 17:34:23 EST 2011


Rick Perley wrote:
>    On 'Sechelt', userid 33, disk 5, slotid 1.
> 
>    Here is the error message:
> 
> go pcal
> PCAL 1: Task PCAL   (release of 31DEC11) begins
> AIPS 1: Resumes
>  >PCAL 1: UVGET: Using flag table version   1 to edit data
> PCAL 1: Solved for spectral indices - will use:
> PCAL 1: Num  Name                I        Q        U        V
> PCAL 1:   1  3C48              -0.9723   0.0000   0.0000   0.0000
> PCAL 1:   2  3C84               0.0000   0.0000   0.0000   0.0000
> PCAL 1: Processing IF number  1 channel     1
> PCAL 1: PCLCOP: Copying data for IF  1 to work file
> PCAL 1: POLARIZATION MODEL NOT PROVIDED
> PCAL 1: Purports to die of UNNATURAL causes
> PCAL 1: sechelt 31DEC11 TST: Cpu=     26.0  Real=     53  IO=      2061
> 
> Here are the inputs:
> 
> AIPS 1: PCAL    Task to compute polarization corrections
> AIPS 1: Adverbs     Values                 Comments
> AIPS 1: ----------------------------------------------------------------
> AIPS 1: INNAME     '8BIT-11NOV'            Input UV file name (name)
> AIPS 1: INCLASS    'B0D0AP'                Input UV file name (class)
> AIPS 1: INSEQ         2                    Input UV file name (seq. #)
> AIPS 1: INDISK        5                    Input UV file disk unit #
> AIPS 1:                                    Data selection (multisource):
> AIPS 1: CALSOUR    '3C48'                  Sources to calibrate with
> AIPS 1:            '3C84'  *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           8                    Highest IF number 0=>all
> AIPS 1: ANTENNAS      6           7        Antennas to solve for.
> AIPS 1:              10          14          23          26
> AIPS 1:            *rest 0
> 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       1                    Flag table version
> AIPS 1: DOBAND        3                    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: ** press RETURN for more, enter Q or next line to quit print **
> #
> 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        2                    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: SOLINT        0                    Soln. interval (min) 0=>5.
> AIPS 1: SOLTYPE    ' '                     Solution type:
> AIPS 1:                                    'ORI-', 'APPR', 'RAPR'
> AIPS 1: SPECTRAL      1                    > 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       23                    Reference antenna, 0->pick
> AIPS 1: BPARM      *all 0                  Task enrichment parameters
> AIPS 1:                                    for SOLTYPE 'ORI-' only:
> AIPS 1:                         
>    But here is the most interesting issue:
> 
> On the next file (slotid 2), it worked fine!
> 
> So what is wrong with this file?

It has no valid data for 3C48 for those antennas with the calibration 
applied.  With DOBAND=-1 there are data and with doband=+1 there are 
(insane) LL data with RR, RL, and LR flagged.

PCAL should count valid vis by source to see if there are any.

Eric




More information about the Daip mailing list