<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear AIPS guru,<br>
I am trying to fringe fitting a uv dataset with a source model for phase reference methods. The source has actually been splited from the very same uvdata and imaged in difmap, The second fringe fitting is done using the CL table prior the initial fringe fitting.<br>
When I run FRING, I get the following error message:<br>
<br>
localh> FRING1: Task FRING  (release of 31DEC12) begins<br>
localh> FRING1: UVGET: doing no flagging this time<br>
localh> FRING1: Set integration time to  0.819200 seconds, hope that is ok<br>
localh> FRING1: Selecting and calibrating the data<br>
localh> FRING1: SETGDS: IMAGE    1 EPOCH 2000.0 UV EPOCH   -1.0<br>
localh> FRING1: USE UVFIX ON THE UV DATA OR EPOSW ON THE IMAGE<br>
localh> FRING1: Purports to die of UNNATURAL causes<br>
<br>
Apparently, uvdata and image do not have the same epoch. But if I look at their headers, it seems that the coordinate equinox is the same (J2000):<br>
<br>
>imh<br>
AIPS 1: Image=MULTI     (UV)         Filename=IMOGABA9F043.UVDATA.   1<br>
AIPS 1: Telescope=VLBA               Receiver=VLBA<br>
AIPS 1: Observer=N13SL01             User #=  251<br>
AIPS 1: Observ. date=19-NOV-2013     Map date=26-JAN-2015<br>
AIPS 1: # visibilities    249176     Sort order  TB<br>
AIPS 1: Rand axes: UU-L-SIN  VV-L-SIN  WW-L-SIN  TIME1  BASELINE<br>
AIPS 1:            SOURCE  FREQSEL  INTTIM  GATEID  CORR-ID<br>
AIPS 1: ----------------------------------------------------------------<br>
AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat<br>
AIPS 1: COMPLEX      3   1.0000000E+00       1.00  1.0000000E+00    0.00<br>
AIPS 1: STOKES       1  -2.0000000E+00       1.00 -1.0000000E+00    0.00<br>
AIPS 1: FREQ       256   4.3400000E+10       0.52  6.2500000E+04    0.00<br>
AIPS 1: IF           4   1.0000000E+00       1.00  1.0000000E+00    0.00<br>
AIPS 1: RA           1    00 00 00.000       1.00       0.000000    0.00<br>
AIPS 1: DEC          1    00 00 00.000       1.00       0.000000    0.00<br>
AIPS 1: ----------------------------------------------------------------<br>
AIPS 1: Coordinate equinox 2000.00<br>
AIPS 1: Maximum version number of extension files of type FQ is   1<br>
AIPS 1: Maximum version number of extension files of type NX is   1<br>
AIPS 1: Maximum version number of extension files of type HI is   1<br>
AIPS 1: Maximum version number of extension files of type AT is   1<br>
AIPS 1: Maximum version number of extension files of type CT is   1<br>
AIPS 1: Maximum version number of extension files of type AN is   1<br>
AIPS 1: Maximum version number of extension files of type BP is   1<br>
AIPS 1: Maximum version number of extension files of type CL is   5<br>
AIPS 1: Maximum version number of extension files of type CQ is   1<br>
AIPS 1: Maximum version number of extension files of type GC is   1<br>
AIPS 1: Maximum version number of extension files of type IM is   1<br>
AIPS 1: Maximum version number of extension files of type MC is   1<br>
AIPS 1: Maximum version number of extension files of type SN is   4<br>
AIPS 1: Maximum version number of extension files of type SU is   1<br>
AIPS 1: Maximum version number of extension files of type TY is   1<br>
AIPS 1: Keyword = 'OLDRFQ  '  value =  2.17000000D+10<br>
><br>
>im2h<br>
AIPS 1: Header for second input image or data set<br>
AIPS 1: Image=0827+243  (MA)         Filename=0827+243    .ICC043.   1<br>
AIPS 1: Telescope=VLBA               Receiver=VLBA<br>
AIPS 1: Observer=N13SL01             User #=  251<br>
AIPS 1: Observ. date=19-NOV-2013     Map date=28-JAN-2015<br>
AIPS 1: Minimum=-1.19117908E-02      Maximum= 7.42246687E-01 JY/BEAM<br>
AIPS 1: ----------------------------------------------------------------<br>
AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat<br>
AIPS 1: RA---SIN   512    08 33 49.342     256.00      -0.000250    0.00<br>
AIPS 1: DEC--SIN   512    24 00 41.714     257.00       0.000250   -0.24<br>
AIPS 1: FREQ         1   4.3432000E+10       1.00  6.4000000E+07    0.00<br>
AIPS 1: STOKES       1  -2.0000000E+00       1.00  1.0000000E+00    0.00<br>
AIPS 1: ----------------------------------------------------------------<br>
AIPS 1: Coordinate equinox 2000.00<br>
AIPS 1: Map type=NORMAL              Number of iterations=       1<br>
AIPS 1: Conv size= 0.00473 X 0.00162   Position angle=  58.26<br>
AIPS 1: Maximum version number of extension files of type HI is   1<br>
AIPS 1: Maximum version number of extension files of type CC is   1<br>
><br>
<br>
In any case, I have tried the suggestion and I have run EPOSW a couple of times on the image (to get B1950 and get back J2000). I still get the same error message. Alternatively, I copied the uvdata and run UVFIX on it, this time being able to run FRING, giving
 very poor solution results (>60% solution failed), whereas simple fringe fitting without including the source structure finds almost all solutions.<br>
<br>
This leads me to think that the coordinates are not properly set-up in either the uvdata or the image. But this is quite puzzling, as image has been done from the dataset and, if one coordinate shall be wrong, so the other too.<br>
<br>
Below are the inputs for FRING. I have tried this with a couple of (point-like) sources, either including clean components or gaussian fit as model in the image CC table. My version of AIPS is 31DEC12. Do you have any suggestions about this issue?<br>
<br>
Thank you very much,<br>
<br>
       J. C. Algaba<br>
<br>
<br>
AIPS 1: FRING:  Task to fringe fit data<br>
AIPS 1: Adverbs     Values                 Comments<br>
AIPS 1: ----------------------------------------------------------------<br>
AIPS 1:                                    Input uv data.<br>
AIPS 1: INNAME     'IMOGABA9F043'             UV file name (name)<br>
AIPS 1: INCLASS    'UVDATA'                   UV file name (class)<br>
AIPS 1: INSEQ         1                       UV file name (seq. #)<br>
AIPS 1: INDISK        1                       UV file disk drive #<br>
AIPS 1:                                    Data selection (multisource):<br>
AIPS 1: CALSOUR    '0827+243'              Calibrator sources<br>
AIPS 1:            *rest ' '<br>
AIPS 1: QUAL         -1                    Calibrator qualifier -1=>all<br>
AIPS 1: CALCODE    ' '                     Calibrator code '    '=>all<br>
AIPS 1: SELBAND      -1                    Bandwidth to select (kHz)<br>
AIPS 1: SELFREQ      -1                    Frequency to select (MHz)<br>
AIPS 1: FREQID       -1                    Freq. ID to select.<br>
AIPS 1: TIMERANG   *all 0                  Time range to use.<br>
AIPS 1: BCHAN         1                    Lowest channel number 0=>all<br>
AIPS 1: ECHAN         0                    Highest channel number<br>
AIPS 1: CHINC         1                    Spectral channel increment<br>
AIPS 1:                                    (data are averaged)<br>
AIPS 1: ANTENNAS   *all 0                  Antennas to select. 0=all<br>
AIPS 1: DOFIT      *all 0                  Subset of ANTENNAS list<br>
AIPS 1:                                    for which solns are desired.<br>
AIPS 1: SUBARRAY      0                    Subarray, 0=>all<br>
AIPS 1: UVRANGE       0           0        Range of uv distance for full<br>
AIPS 1:                                    weight<br>
AIPS 1: WTUV          0                    Weight outside UVRANGE 0=0.<br>
AIPS 1: WEIGHTIT      0                    Modify data weights function<br>
AIPS 1:<br>
AIPS 1:                                    Cal. info for input:<br>
AIPS 1: DOCALIB       1                    > 0 calibrate data & weights<br>
AIPS 1:                                    > 99 do NOT calibrate weights<br>
AIPS 1: GAINUSE       4                    CL table to apply.<br>
AIPS 1: DOPOL        -1                    If >0 correct polarization.<br>
AIPS 1: PDVER         0                    PD table to apply (DOPOL>0)<br>
AIPS 1: BLVER        -1                    BL table to apply.<br>
AIPS 1: FLAGVER       0                    Flag table version<br>
AIPS 1: DOBAND        0                    If >0 apply bandpass cal.<br>
AIPS 1:                                    Method used depends on value<br>
AIPS 1:                                    of DOBAND (see HELP file).<br>
AIPS 1: BPVER        -1                    Bandpass table version<br>
AIPS 1: SMOOTH     *all 0                  Smoothing function. See<br>
AIPS 1:                                    HELP SMOOTH for details.<br>
AIPS 1:<br>
AIPS 1:                                    CLEAN map (optional)<br>
AIPS 1: IN2NAME    '0827+243'                 Cleaned map name (name)<br>
AIPS 1: IN2CLASS   'ICC043'                   Cleaned map name (class)<br>
AIPS 1: IN2SEQ        1                       Cleaned map name (seq. #)<br>
AIPS 1: IN2DISK       1                       Cleaned map disk unit #<br>
AIPS 1: INVERS        1                    CC file version #.<br>
AIPS 1: NCOMP      *all 0                  # comps to use for model.<br>
AIPS 1:                                    1 value per field<br>
AIPS 1: FLUX          0                    Lowest CC component used.<br>
AIPS 1: NMAPS         0                    No. Clean map files<br>
AIPS 1: CMETHOD    ' '                     Modeling method:<br>
AIPS 1:                                    'DFT','GRID','    '<br>
AIPS 1: CMODEL     ' '                     Model type: 'COMP','IMAG'<br>
AIPS 1:                                    'SUBI' (see HELP re images)<br>
AIPS 1: SMODEL     *all 0                  Source model, 1=flux,2=x,3=y<br>
AIPS 1:                                    See HELP SMODEL for models.<br>
AIPS 1:<br>
AIPS 1:                                    Output uv data file.<br>
AIPS 1: OUTNAME    ' '                        UV file name (name)<br>
AIPS 1: OUTCLASS   ' '                        UV file name (class)<br>
AIPS 1: OUTSEQ        0                       UV file name (seq. #)<br>
AIPS 1: OUTDISK       0                       UV file disk drive #<br>
AIPS 1:<br>
AIPS 1:                                    Solution control adverbs:<br>
AIPS 1: REFANT        1                    Reference antenna<br>
AIPS 1: SEARCH     *all 0                  Prioritized reference antenna<br>
AIPS 1:                                    list - supplements REFANT<br>
AIPS 1:                                    - but only if APARM(9)>0<br>
AIPS 1: SOLINT        0.5                  Solution interval (min)<br>
AIPS 1:                                    0 => 10 min<br>
AIPS 1: SOLSUB        0                    Solution subinterval<br>
AIPS 1: SOLMIN        0                    Min solution interval<br>
AIPS 1:<br>
AIPS 1: APARM         2           0        General parameters<br>
AIPS 1:               0           1           1=min. no. antennas<br>
AIPS 1:               1           2           2 > 0 => data divided<br>
AIPS 1:               5        *rest 0        3 > 0 => avg. RR,LL<br>
AIPS 1:                                       4 > 0 => avg. freq. in IFs<br>
AIPS 1:                                       5 = 1 => combine all IFs<br>
AIPS 1:                                         = 2 => also MB delay<br>
AIPS 1:                                         = 3 => combine IFs in<br>
AIPS 1:                                                halves<br>
AIPS 1:                                         = 4 => combine IFs in<br>
AIPS 1:                                                quarters<br>
AIPS 1:                                       6=print level, 1=some<br>
AIPS 1:                                       7=SNR cutoff (0=>5)<br>
AIPS 1:                                       8=max. ant. # (no AN)<br>
AIPS 1:                                       9 > 0 => do exhaustive<br>
AIPS 1:                                                baseline search<br>
AIPS 1: DPARM         0         100        Delay-rate parameters<br>
AIPS 1:             100        *rest 0        1=no. bl combo. (def=3)<br>
AIPS 1:                                       2=delay win (nsec), if <0<br>
AIPS 1:                                         no delay search done<br>
AIPS 1:                                       3=rate win (mHz)<br>
AIPS 1:                                       4=int. time (sec)<br>
AIPS 1:                                        0 => min. found in data<br>
AIPS 1:                                       5 >0 => don't do ls. soln<br>
AIPS 1:                                       6 >0 => don't avg. in freq<br>
AIPS 1:                                       7 >0 => don't rereference<br>
AIPS 1:                                         phase<br>
AIPS 1:                                       8 > 0 => activate zero'ing<br>
AIPS 1:                                                 options<br>
AIPS 1:                                       9 > 0 => do not fit rate<br>
AIPS 1: SNVER         5                    Output SN table, 0=>new table<br>
AIPS 1: ANTWT      *all 0                  Ant. weights (0=>1.0)<br>
AIPS 1: BADDISK    *all 0                  Disk no. not to use for<br>
AIPS 1:                                       scratch files.<br>
><br>
>go<br>
AIPS 1: Resumes<br>
AIPS 1: RETURN CODE      5 RECEIVED: STOPPING<br>
><br>
<br>
<br>
</div>
</body>
</html>