SMA Technical Memo

Subject:   Miriad software test for reading the 1st SWARM data
Date: November 1, 2013
Updated: January 8, 2014
From: Jun-Hui Zhao


1. DATA AND TEST COMPUTER 
Computer: hilord2 at Hilo site, a public computer
Data set: 131121_04:59:22 ref: Real SWARM data available

2. Setup for runing the new Miriad code (test/debug)
A procedure of setup and running smalod is given at Miriad test site for SWARM correlator 
  

3. MIRIAD SOFTWARE TEST
SMALOD:

SmaLod: version 4.0.1-beta 29-Oct-2013
No endian swap.
dataCatcher has been updated 110823 => 120704
wideband patch................WbP version 3.2.0-beta: 2013-11-**
open output file.
*********************************
*  Observing Date: 2013 Nov 21  *
*********************************
principal investigator...........Taz

Number of antenna in antennas....10
Warning: Number of 10 antennas in antennas, exceeding that of standard SMA.
Geocentrical coordinates (meter) with refant=10:
ANT x y z = 1     11.7395    -53.6644    -40.7246
ANT x y z = 2      0.0000      0.0000      0.0000
ANT x y z = 3     -6.3989    -68.0027      3.6384
ANT x y z = 4    -51.4354   -136.7590    107.9208
ANT x y z = 5    -16.5647    -27.0250     30.7700
ANT x y z = 6    -42.5996    -71.5508     86.1969
ANT x y z = 7    -11.9409   -178.8134     -0.7199
ANT x y z = 8     26.5179   -133.5953   -104.1763
converting geocentrical coordinates to equatorial system (nanosecs).
ANT x y x = 1     39.1587   -179.0052   -135.8426
ANT x y x = 2      0.0000      0.0000      0.0000
ANT x y x = 3    -21.3445   -226.8326     12.1365
ANT x y x = 4   -171.5700   -456.1790    359.9850
ANT x y x = 5    -55.2539    -90.1458    102.6375
ANT x y x = 6   -142.0971   -238.6679    287.5220
ANT x y x = 7    -39.8307   -596.4574     -2.4013
ANT x y x = 8     88.4543   -445.6260   -347.4947
handling header variables........
parsed ihn........
parsed bln........
parsed sp........
allocated memory for inh........
allocated memory for blh........
location-8 = /data/engineering/mir_data//131121_04:59:22/tsys_read
open tsys_read tsfd=589660912 blfd=9
allocated memory for sph........
allocated memory for tsys........
number of integrations...........1930
loaded inh
loaded blh
number of c1 + IF1 Spectra.......25
number of SWARM Spectra...........2
number of IF2 Spectra............24
loaded sph
number of polarizations..........1
:  XX--non polarization
number of receivers..............1:  rx1->230
number of sidebands..............2:  lsb & usb
number of baselines..............6
number of antennas...............4
number of spectra................51
number of channels...............38913
solving for antenna-based Tsys...
decode the spectral window (chunk) ids: done
decode velocity type: done
Warning: bllac has the source id (2) different from that (1) of mwc349a 
but their coordinates are the same:
 RA=20:32:45.5434  Dec= 40:39:36.6174
Warning: found the next integration for bllac of id=2 at inhset=45 with coordinates:
 RA=22:02:43.2912  Dec= 42:16:39.9756
Update the coordinates for bllac of id=2
Warning: 2202+422 has the source id (3) different from that (2) of bllac 
but their coordinates are the same:
 RA=22:02:43.2912  Dec= 42:16:39.9756
Warning: found the next integration for 2202+422 of id=3 at inhset=343 with coordinates:
 RA=22:02:43.2912  Dec= 42:16:39.9756
Update the coordinates for 2202+422 of id=3
Warning: 3c454.3 has the source id (4) different from that (2) of bllac 
but their coordinates are the same:
 RA=22:02:43.2912  Dec= 42:16:39.9756
Warning: found the next integration for 3c454.3 of id=4 at inhset=1020 with coordinates:
 RA=22:53:57.7464  Dec= 16:08:53.5648
Update the coordinates for 3c454.3 of id=4
Warning: callisto has the source id (5) different from that (4) of 3c454.3 
but their coordinates are the same:
 RA=22:53:57.7464  Dec= 16:08:53.5648
Warning: found the next integration for callisto of id=5 at inhset=1719 with coordinates:
 RA=07:26:51.9158  Dec= 21:58:02.9407
Update the coordinates for callisto of id=5
sources found in the file........
mwc349a               id=  1 RA=20:32:45.5434 DEC= 40:39:36.6174
bllac                 id=  2 RA=22:02:43.2912 DEC= 42:16:39.9756
2202+422              id=  3 RA=22:02:43.2912 DEC= 42:16:39.9756
3c454.3               id=  4 RA=22:53:57.7464 DEC= 16:08:53.5648
callisto              id=  5 RA=07:26:51.9158 DEC= 21:58:02.9407
bnkl1                 id=  6 RA=07:26:51.9038 DEC= 21:58:03.1261
0423-013              id=  7 RA=05:35:14.1197 DEC= -5:22:23.2005
reading visibilities.............inhid  time(UTC) int(s) percent Gbyt W-status
inhset=..........................00001 0d04:59:36  10.3  000 (%) 0.00  NO
inhset=..........................00100 0d05:16:28  10.3  005 (%) 0.19  OK
inhset=..........................00200 0d05:33:41  10.3  010 (%) 0.37  OK
inhset=..........................00300 0d05:50:53  10.3  015 (%) 0.56  OK
inhset=..........................00400 0d06:08:05  10.3  020 (%) 0.75  OK
inhset=..........................00500 0d06:25:18  10.3  026 (%) 0.93  OK
inhset=..........................00600 0d06:42:30  10.3  031 (%) 1.12  OK
inhset=..........................00700 0d06:59:43  10.3  036 (%) 1.31  OK
inhset=..........................00800 0d07:16:55  10.3  041 (%) 1.50  OK
inhset=..........................00900 0d07:34:08  10.3  046 (%) 1.68  OK
inhset=..........................01000 0d07:51:20  10.3  052 (%) 1.87  OK
inhset=..........................01100 0d08:08:33  10.3  057 (%) 2.06  OK
inhset=..........................01200 0d08:25:45  10.3  062 (%) 2.24  OK
inhset=..........................01300 0d08:42:57  10.3  067 (%) 2.43  OK
inhset=..........................01400 0d09:00:10  10.3  072 (%) 2.62  OK
inhset=..........................01500 0d09:17:22  10.3  077 (%) 2.80  OK
inhset=..........................01600 0d09:34:35  10.3  083 (%) 2.99  OK
inhset=..........................01700 0d09:51:47  10.3  088 (%) 3.18  OK
inhset=..........................01800 0d10:09:00  10.3  093 (%) 3.36  OK
inhset=..........................01900 0d10:26:12  10.3  098 (%) 3.55  OK
inhset=......                    01924 0d10:30:20  10.3  100 (%) 3.60  OK
Read the SMA data file successfully by processing a total of 3.60 GB data.
The usb data have been written to 131121_rx1.usb.
Output file = 131121_rx1.usb



UVINDEX:

UVINDEX: version 5-sept-2013

Summary listing for data-set 131121_rx1.usb

       Time        Source        Antennas Spectral Wideband  Freq  Record
                    Name                  Channels Channels Config   No.

 MAXSPECT nspect(itmp)          51          51
13NOV21:05:00:07.8 mwc349a           8     38913        0      1       1
13NOV21:05:06:50.5 bllac             8     38913        0      1     235
13NOV21:05:12:20.8 mwc349a           8     38913        0      1     427
13NOV21:05:17:51.2 bllac             8     38913        0      1     619
13NOV21:05:23:21.6 mwc349a           8     38913        0      1     811
13NOV21:05:28:52.0 bllac             8     38913        0      1    1003
13NOV21:05:34:22.4 mwc349a           8     38913        0      1    1195
13NOV21:05:39:52.8 bllac             8     38913        0      1    1387
13NOV21:05:47:06.4 mwc349a           8     38913        0      1    1639
13NOV21:05:52:36.8 bllac             8     38913        0      1    1831
13NOV21:05:58:07.1 2202+422          8     38913        0      1    2023
13NOV21:06:03:58.2 mwc349a           8     38913        0      1    2227
13NOV21:06:09:38.9 bllac             8     38913        0      1    2425
13NOV21:06:15:09.3 mwc349a           8     38913        0      1    2617
13NOV21:06:20:39.6 bllac             8     38913        0      1    2809
13NOV21:06:26:10.0 mwc349a           8     38913        0      1    3001
13NOV21:06:31:40.4 bllac             8     38913        0      1    3193
13NOV21:06:37:10.8 mwc349a           8     38913        0      1    3385
13NOV21:06:42:41.2 bllac             8     38913        0      1    3577
13NOV21:06:48:11.6 mwc349a           8     38913        0      1    3769
13NOV21:06:53:41.9 bllac             8     38913        0      1    3961
13NOV21:06:59:12.3 mwc349a           8     38913        0      1    4153
13NOV21:07:04:42.7 bllac             8     38913        0      1    4345
13NOV21:07:10:13.1 mwc349a           8     38913        0      1    4537
13NOV21:07:15:43.5 bllac             8     38913        0      1    4729
13NOV21:07:21:13.8 mwc349a           8     38913        0      1    4921
13NOV21:07:26:44.2 bllac             8     38913        0      1    5113
13NOV21:07:32:14.6 mwc349a           8     38913        0      1    5305
13NOV21:07:37:45.0 bllac             8     38913        0      1    5497
13NOV21:07:43:25.7 mwc349a           8     38913        0      1    5695
13NOV21:07:48:56.1 bllac             8     38913        0      1    5887
13NOV21:07:54:36.8 3c454.3           8     38913        0      1    6085
13NOV21:09:54:53.6 callisto          8     38913        0      1   10279
13NOV21:10:14:51.2 bnkl1             8     38913        0      1   10975
13NOV21:10:20:31.9 0423-013          8     38913        0      1   11173
13NOV21:10:26:02.3 bnkl1             8     38913        0      1   11365
13NOV21:10:30:10.1 Total number of records                         11514

------------------------------------------------

Total observing time is  5.50 hours

The input data-set contains the following frequency configurations:

Frequency Configuration 1
  Spectral Channels  Freq(chan=1)  Increment
                1     229.74219     0.416000 GHz
              128     227.45900     0.000812 GHz
              128     227.54100     0.000812 GHz
              128     227.61619     0.000812 GHz
              128     227.69819     0.000812 GHz
              128     227.78700     0.000812 GHz
              128     227.86900     0.000812 GHz
              128     227.94419     0.000812 GHz
              128     228.02619     0.000812 GHz
              128     228.11500     0.000812 GHz
              128     228.19700     0.000812 GHz
              128     228.27219     0.000812 GHz
              128     228.35419     0.000812 GHz
              128     228.44300     0.000812 GHz
              128     228.52500     0.000812 GHz
              128     228.60019     0.000812 GHz
              128     228.68219     0.000812 GHz
              128     228.77100     0.000812 GHz
              128     228.85300     0.000812 GHz
              128     228.92819     0.000812 GHz
              128     229.01019     0.000812 GHz
              128     229.09900     0.000812 GHz
              128     229.18100     0.000812 GHz
              128     229.25619     0.000812 GHz
              128     229.33819     0.000812 GHz
              128     232.33819     0.000812 GHz
              128     232.25619     0.000812 GHz
              128     232.18100     0.000812 GHz
              128     232.09900     0.000812 GHz
              128     232.01019     0.000812 GHz
              128     231.92819     0.000812 GHz
              128     231.85300     0.000812 GHz
              128     231.77100     0.000812 GHz
              128     231.68219     0.000812 GHz
              128     231.60019     0.000812 GHz
              128     231.52500     0.000812 GHz
              128     231.44300     0.000812 GHz
              128     231.35419     0.000812 GHz
              128     231.27219     0.000812 GHz
              128     231.19700     0.000812 GHz
              128     231.11500     0.000812 GHz
              128     231.02619     0.000812 GHz
              128     230.94419     0.000812 GHz
              128     230.86900     0.000812 GHz
              128     230.78700     0.000812 GHz
              128     230.69819     0.000812 GHz
              128     230.61619     0.000812 GHz
              128     230.54100     0.000812 GHz
              128     230.45900     0.000812 GHz
            16384     231.87829     0.000070 GHz
            16384     233.87829     0.000070 GHz
------------------------------------------------

The input data-set contains the following polarizations:
There were 11514 records of polarization XX

------------------------------------------------

The input data-set contains the following pointings:
 Source                   RA            DEC             dra(arcsec) ddec(arcsec)
0423-013               05:35:14.12   -05:22:23.20           0.00         0.00
2202+422               22:02:43.29   +42:16:39.98           0.00         0.00
3c454.3                22:53:57.75   +16:08:53.56           0.00         0.00
bllac                  22:02:43.29   +42:16:39.98           0.00         0.00
bnkl1                  07:26:51.90   +21:58:03.13           0.00         0.00
callisto               07:26:51.92   +21:58:02.94           0.00         0.00
mwc349a                20:32:45.54   +40:39:36.62           0.00         0.00

------------------------------------------------

4. SUMMARY 

Loaded the data into Miriad and data was inspected in Miriad with some problems noted below. 
Fringes (amplitude & phase for baseline 2-5) are detected from the DATA of SWARM correlator 
as well as of the legacy correlator but the spectral data from USB shows problems:
The scale (in amplitude) of SWARM chunk differs from the legacy chunks by a large factor (not scaled to Jy for SWARM data?);
the labelled frequency for the SWARM channels was offset from actual sky frequency (now corrceted); 
the labelled channel separation was smaller by a factor of 2 (35 kHz)(now corrected).