The data taken for pointing analysis after antennas have been moved is now also used to determine corrections to the assumed antenna locations. The data are loaded into using BDF2AIPS in the usual way, but DOKEEP = 1 is required in order to load pointing data. Then FRING is run on one scan from a strong source with SOLINT = 5 minutes and with no rates (DPARM(9) = 1). Then CLCAL is used to apply the SN table to all times in the CL table. Then the data set is reduced in size by running SPLAT, averaging in frequency and time:
> APARM 3, 1, 0, 0, 1 C R | to average data in frequency, but not over IF. The input data are taken at 1-second interval. |
> SOLINT 5/60 C R | to average over time to 5-second intervals. |
> INP C R | to check the inputs. |
> GO C R | to make a rather smaller data set. |
to delete the index table which has each direction of the pointing as a separate scan. |
> CPARM 0 , 10 C R | to set maximum scan length to 10 minutes. |
> GO C R | to make the new index table. |
It might be wise to make a backup copy of the data set at this point in case later machinations go wrong. Use UVCOP.
A solution table is now needed containing the phases of every scan in the data set. Use
> SOLINT 10 C R | to average full scans. |
> APARM 3, 0 C R | to require at least 3 antennas, but do not average polarizations or IFs. |
> INP C R | to double check. |
> GO C R | to make the solution table needed next. |
Finally, fit the antenna positions. It is best to do each IF separately and also try the mode that uses the phase difference between IFs.
> STOKES ’RR’ C R | to examine one polarization at a time. |
> DPARM 0, 1, 10, 120 C R | to use each scan by itself (rather than differencing consecutive scans), do not fit the K term, and limit the fit to elevations between 10 and 120 degrees. All hour angles and declinations are used. The total phase is used. |
> BPARM 3, 0, -180, 180, 3, 4, 1, 3 C R | to plot 3 antennas per page between -180 and 180 degrees as boxes with connecting lines, and, if doing more than 1 IF or polarization, plot them in the same plot. |
> DOOUTPUT -1 C R | to ignore any values contained in pre-existing files named OUTPRINT.arrayname. If this file exists before running LOCIT and DOOUTPUT > 0, it will be read and the corrections contained within it added to those found before they are written to a new OUTPRINT.arrayname file and also to the other output files. See HELP LOCIT C R for details. |
> OUTPRINT ’FITS:date’ C R | to set the output file base name used for output text files. |
> INP C R | to check that all is well. |
> GO C R | to run the task. |
Then do
Now compare the answers and uncertainties found in each of the four runs. Also it may be good to do
> STOKES ’RR’ C R | to do one Stokes at a time. |
> BPARM(9) 1 C R | to select the mode which uses the phase difference between the 2 IFs. |
> GO C R | to get a fifth estimate of the antenna position corrections. |
Repeat for STOKES ’LL’.
Now comes the hard part. LOCIT will have created a great many plot files, an example of which is shown in
Figure V.1. It also writes text files named OUTPRINT with extensions:
FIT | This file contains all solutions with their uncertainties in a form that is easy to read. It may be used to accumulate corrections depending on the setting of DOOUTPUT. |
EVLA | This file contains only significant corrections in a form that can be hand edited to put in the dates when the antennas move and when the database is fixed. The edited result may be edited to a system file on the web to enable VLANT to apply the appropriate corrections. |
PAR | This file, containing only significant corrections, is read into Parminator to update the database. |
001 | This file contains only significant corrections in a script form to read into CLCOR. Do this, to make a new CL table and then rerun CALIB to see if the resulting phases really end up near zero. |