[daip] SOUFIL: ALL SOURCES REJECTED BY SELECTION CRITERIA error

Eric Greisen egreisen at nrao.edu
Tue Jan 25 18:54:20 EST 2011


Wasim Raja wrote:
> Dear Eric
>   Following is the result of running PRTAB with INEXT = SU on
>   a multi-format UV-data file containing a single source.
>   [In case the text appears jumbled on the mail-page, I have
>    also attached a text file that should be easy to view.]
> 
>   UVPLT fails for all apparently valid combinations of the following
>   relevant parameters after it had been set to:
> 
> task 'UVPLT'
> default UVPLT
> getn 1 (relevant multi format file)
> dotv 1
> 
> Now the following parameters are fiddled around with, and the result of
> the UVPLT run is indicated in the success/failure column:
> ------------------------------------------------------------------------------------------------------------
>         PAR               Values tried sequentially                 
> Success/Failure
> ------------------------------------------------------------------------------------------------------------
>    1) QUAL                      
> -1/1                                              Failed
>    2) CALCODE                ' 
> '                                                 Failed
>    3) FREQID                   
> -1/1                                              Failed
>    4) Sources                   '3C345' 
> '                                       Failed
>        Sources                   ' 
> '                                                 Succeeded
> ------------------------------------------------------------------------------------------------------------
> It is true that the source's Flux density in the SU table are all 0. But 
> the
> data being gain-calibrated at earlier stages of the processing, the flux
> density scales in the "successful" UVPLT run (ie., with sources = ' ' )
> comes out correct. Only when the source-name is specified, there appears
> the problem -- " SOUFIL: ALL SOURCES REJECTED BY SELECTION CRITERIA"
> Can some trailing SPACE-charatcers in the source-name cause this problem?
> 
> regards
>  --wasim
> 
> ----------------------------------------------------------------------------------------------------------------------------------
>  >go prtab
>  localhos  PRTAB(31DEC10)   2234     26-JAN-2011  04:58:06    Page    1
> 3C34582     .UV    .   1  Disk= 3    SU Table version   1
> Title: AIPS SU
> Created by      FITLD on 26-JAN-2011 04:52:48
> Last written by FITLD on 26-JAN-2011 04:52:48
> Ncol  19  Nrow       1    Sort cols:
>     Table has     4 keyword-value pairs:
>    NO_IF    =            1
>    VELTYP   =  TOPOCENT
>    VELDEF   =  RADIO
>    FREQID   =           -1
>    Table can be written as a FITS ASCII table
>  
> COL. NO.     1        2      3      4         5          6          
> 7          8            9            10            11
>      ROW  ID. NO.  SOURCE  QUAL  CALCODE  IFLUX      QFLUX      
> UFLUX      VFLUX      FREQOFF       BANDWIDTH     RAEPO
>   NUMBER                                  JY         JY         
> JY         JY         HZ            HZ            DEGREES
>        1     1     3c345     1            0.000E+00  0.000E+00  
> 0.000E+00  0.000E+00  0.000000E+00  6.510416E+04  2.507450E+02
> Type Q to stop, just hit RETURN to 
> continue                                                                                         
> 
> 
>  localhos  PRTAB(31DEC10)   2234     26-JAN-2011  04:58:10    Page    2
> COL. NO.        12             13             14             
> 15             16             17             18             19
>      ROW   DECEPO         EPOCH          RAAPP          DECAPP         
> LSRVEL         RESTFREQ       PMRA           PMDEC
>   NUMBER   DEGREES        YEARS          DEGREES        DEGREES        
> M/SEC          HZ             DEG/DAY        DEG/DAY
>        1   3.981027E+01   2.000000E+03   2.508244E+02   3.979371E+01   
> 0.000000E+00   0.000000E+00   0.000000E+00   0.000000E+00
> AIPS 1: Resumes
>  >
> -------------------------------------------------------------------------------------------------------------------------------------
> 
> On Mon, Jan 24, 2011 at 9:46 PM, Eric Greisen <egreisen at nrao.edu 
> <mailto:egreisen at nrao.edu>> wrote:
> 
>     Wasim Raja wrote:
> 
>         Dear Eric
>           I would like to know if DBCON is the right task to combine 2
>          uv-datasets observed with exactly the same settings (same
>          Centre-freq, same BW, same nchan, same antenna config)
>          but pointing towards 2 different sources.
> 
>          My goal is to use one of the sources to calibrate the other;
>          unfortunately the data for the 2 sources are in 2 different FITS
>          files. I would also like to add that the 2 sources were observed
>          with their observation times interleaved, ie., every alternate
>          scan corresponds to the same source (the successive scans
>          were put in different FITS-files).
> 
>          I used DBCON to combine the 2 single source files (after having
>          converted them to MULTI-source format using task MULTI) with
>          options:
>          DOARR = +1
>          DOPOS = -1
>           DBCON "appears to have ended successfully" creating the output
>          multi source file. The SU table also seem to get the correct source
>          names, except that their fluxes are all 0.
> 
>          But when I now use UVPLT to plot *one* of these sources I get the
>          following error:
>         localh> UVPLT1: Task UVPLT  (release of 31DEC10) begins
>         localh> UVPLT1: SOUFIL: ALL SOURCES REJECTED BY SELECTION CRITERIA
>         localh> UVPLT1: Purports to die of UNNATURAL causes
>         localh> UVPLT1: localhost    31DEC10 TST: Cpu=       0.0  Real=
>               0
> 
>          However, when I select ALL sources, UVPLT does make the plots
>          successfully -- the 2 sources can also be clearly distinguished by
>          their fluxes.
> 
> 
>          Could you help please? What is the right task for combining uv data
>          on 2 different sources observed with the same correlator
>         settings and
>          the same antenna configuration?
> 
> 
>     DBCON is precisely the correct programs for what you are attempting
>     to do.  We need to figure out what has not worked properly so that
>     UVPLT source selection is not doing what you want.  Note that the SU
>     table is not supposed to have fluxes until they are entered via
>     SETJY and/or GETJY.  It is important to check the SU table and your
>     UVPLT adverbs to see what the full name, QUAL, and CALCODE of each
>     source might be. UVPLT has such adverbs and, for example, if the
>     QUALs do not match your QUAL adverb value and your adverb value is
>     not -1, then the sources will be rejected.
> 
>     Eric Greisen
> 
> 
> 
> 
> -- 
> Research Fellow (A&A)
> Raman Research Institute
> Bangalore--560080
> 
You need source name 3c345 not 3C345

SOURCES=' '; SOURCE(1) = '3c345

in one line with no close quote and no other commands

ERic Greisen




More information about the Daip mailing list