[jzhao@hilodr1 180506]$ swarm2casa.csh
Mon Jun 11 03:14:09 HST 2018
Start swarm2uvfits.csh script -

############################################################################
# Welcome to the Smithonian Astrophysical Observatory using swarm2casaMS - #
# A Pipeline: Converting SWARM Data to MeasurementSet:                     #
# swarm2read .......................... DRX version 1.0.2-beta: 2018-05-29 #
############################################################################

Get pathname, input- and output-filenames, sbidx, optidx ......

Handling LSB data -

Reading LSB data  -
wideband patch................swarmDrxP version 1.4.0-beta: 2018-05-23

*********************************
*  Observing Date: 2018 May 06  *
*********************************

principal investigator...........SMA

Geocentrical coordinates (meter):
ANT x y z = 1    -42.6003    -71.5488     86.1968
ANT x y z = 2    -51.4360   -136.7569    107.9208
ANT x y z = 3      0.0000      0.0000      0.0000
ANT x y z = 4     -6.4012    -68.0003      3.6375
ANT x y z = 5     11.7382    -53.6632    -40.7254
ANT x y z = 6    -11.9422   -178.8112     -0.7226
ANT x y z = 7     26.5167   -133.5948   -104.1753
ANT x y z = 8    -16.5636    -27.0236     30.7692
handling header variables........
number of integrations...........1770
number of c1 + SWARM Spectra.....5
number of polarizations..........1:  XX--non polarization
number of receivers..............2:  rx1->230, rx2->240
number of sidebands..............2:  lsb & usb
number of baselines..............15
number of antennas...............6
number of channels...............65537
solving for antenna-based Tsys...
3c279            id=  1 RA=12:56:11.1651 DEC= -5:47:21.5245
1504+104         id=  2 RA=15:04:24.9799 DEC= 10:29:39.1981
G15.v10.126      id=  3 RA=14:40:01.0002 DEC=  1:07:40.7001
1512-090         id=  4 RA=15:12:50.5330 DEC= -9:05:59.8297
Jupiter          id=  5 RA=15:06:20.5630 DEC=-16:09:26.3315
titan            id=  6 RA=18:38:09.6126 DEC=-22:14:39.4624
A total of 6 source(s) found in this data set.
reading visibilities.............inhid  time(UTC) int(s) percent Gbyt W-status
inhset=..........................00002 0d03:53:04  09.7  000 (%) 0.00  NO
inhset=..........................00100 0d04:08:43  09.7  005 (%) 1.57  OK
inhset=..........................00200 0d04:24:51  09.7  011 (%) 3.15  OK
inhset=..........................00300 0d04:40:59  09.7  017 (%) 4.72  OK
inhset=..........................00400 0d04:57:07  09.7  022 (%) 6.29  OK
inhset=..........................00500 0d05:13:15  09.7  028 (%) 7.86  OK
inhset=..........................00600 0d05:29:23  09.7  034 (%) 9.44  OK
inhset=..........................00700 0d06:15:21  29.7  039 (%) 11.01  OK
inhset=..........................00800 0d06:52:46  05.2  045 (%) 12.58  OK
inhset=..........................00900 0d07:17:31  29.7  051 (%) 14.16  OK
inhset=..........................01000 0d08:06:59  29.7  056 (%) 15.73  OK
inhset=..........................01100 0d08:56:27  29.7  062 (%) 17.30  OK
inhset=..........................01200 0d09:45:56  29.7  068 (%) 18.88  OK
inhset=..........................01300 0d10:35:24  29.7  073 (%) 20.45  OK
inhset=..........................01400 0d11:24:52  29.7  079 (%) 22.02  OK
inhset=..........................01500 0d12:14:20  29.7  085 (%) 23.59  OK
inhset=..........................01600 0d13:03:49  29.7  090 (%) 25.17  OK
inhset=..........................01700 0d13:53:17  29.7  096 (%) 26.74  OK
inhset=...............
inhset=..........................01760 0d14:22:58  29.7  099 (%) 27.68  OK
rx1 ID: 0->230, rx2 ID: 3->240
Real time used =  982 sec. for reading in LSB data.
processing rx1 LSB data ....................................................
streaming out data rx1.lsb SWARM chunk 1...................................
Select parameters: 1.00000000.00000007.00000003.00000002.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx1.lsb SWARM chunk 2...................................
Select parameters: 1.00000000.00000007.00000003.00000003.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx1.lsb SWARM chunk 3...................................
Select parameters: 1.00000000.00000007.00000003.00000004.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx1.lsb SWARM chunk 4...................................
Select parameters: 1.00000000.00000007.00000003.00000005.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

Done with lsb and rx1 fits-data streaming out!

processing rx2 LSB data ....................................................
streaming out data rx2.lsb SWARM chunk 1...................................
Select parameters: 1.00000000.00000007.00000003.00000002.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx2.lsb SWARM chunk 2...................................
Select parameters: 1.00000000.00000007.00000003.00000003.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx2.lsb SWARM chunk 3...................................
Select parameters: 1.00000000.00000007.00000003.00000004.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx2.lsb SWARM chunk 4...................................
Select parameters: 1.00000000.00000007.00000003.00000005.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

Done with lsb and rx2 fits-data streaming out!

############################################################################
# Welcome to the Smithonian Astrophysical Observatory using swarm2casaMS - #
# A Pipeline: Converting SWARM Data to MeasurementSet:                     #
# swarm2read .......................... DRX version 1.0.2-beta: 2018-05-29 #
############################################################################

Get pathname, input- and output-filenames, sbidx, optidx ......

Handling USB data -

wideband patch................swarmDrxP version 1.4.0-beta: 2018-05-23

*********************************
*  Observing Date: 2018 May 06  *
*********************************

principal investigator...........SMA

Geocentrical coordinates (meter):
ANT x y z = 1    -42.6003    -71.5488     86.1968
ANT x y z = 2    -51.4360   -136.7569    107.9208
ANT x y z = 3      0.0000      0.0000      0.0000
ANT x y z = 4     -6.4012    -68.0003      3.6375
ANT x y z = 5     11.7382    -53.6632    -40.7254
ANT x y z = 6    -11.9422   -178.8112     -0.7226
ANT x y z = 7     26.5167   -133.5948   -104.1753
ANT x y z = 8    -16.5636    -27.0236     30.7692
handling header variables........
number of integrations...........1770
number of c1 + SWARM Spectra.....5
number of polarizations..........1:  XX--non polarization
number of receivers..............2:  rx1->230, rx2->240
number of sidebands..............2:  lsb & usb
number of baselines..............15
number of antennas...............6
number of channels...............65537
solving for antenna-based Tsys...
3c279            id=  1 RA=12:56:11.1651 DEC= -5:47:21.5245
1504+104         id=  2 RA=15:04:24.9799 DEC= 10:29:39.1981
G15.v10.126      id=  3 RA=14:40:01.0002 DEC=  1:07:40.7001
1512-090         id=  4 RA=15:12:50.5330 DEC= -9:05:59.8297
Jupiter          id=  5 RA=15:06:20.5630 DEC=-16:09:26.3315
titan            id=  6 RA=18:38:09.6126 DEC=-22:14:39.4624
A total of 6 source(s) found in this data set.
reading visibilities.............inhid  time(UTC) int(s) percent Gbyt W-status
inhset=..........................00002 0d03:53:04  09.7  000 (%) 0.00  NO
inhset=..........................00100 0d04:08:43  09.7  005 (%) 1.57  OK
inhset=..........................00200 0d04:24:51  09.7  011 (%) 3.15  OK
inhset=..........................00300 0d04:40:59  09.7  017 (%) 4.72  OK
inhset=..........................00400 0d04:57:07  09.7  022 (%) 6.29  OK
inhset=..........................00500 0d05:13:15  09.7  028 (%) 7.86  OK
inhset=..........................00600 0d05:29:23  09.7  034 (%) 9.44  OK
inhset=..........................00700 0d06:15:21  29.7  039 (%) 11.01  OK
inhset=..........................00800 0d06:52:46  05.2  045 (%) 12.58  OK
inhset=..........................00900 0d07:17:31  29.7  051 (%) 14.16  OK
inhset=..........................01000 0d08:06:59  29.7  056 (%) 15.73  OK
inhset=..........................01100 0d08:56:27  29.7  062 (%) 17.30  OK
inhset=..........................01200 0d09:45:56  29.7  068 (%) 18.88  OK
inhset=..........................01300 0d10:35:24  29.7  073 (%) 20.45  OK
inhset=..........................01400 0d11:24:52  29.7  079 (%) 22.02  OK
inhset=..........................01500 0d12:14:20  29.7  085 (%) 23.59  OK
inhset=..........................01600 0d13:03:49  29.7  090 (%) 25.17  OK
inhset=..........................01700 0d13:53:17  29.7  096 (%) 26.74  OK
inhset=...............
inhset=..........................01760 0d14:22:58  29.7  099 (%) 27.68  OK
rx1 ID: 0->230, rx2 ID: 3->240
Real time used =  799 sec. for reading in USB data.
processing rx1 USB data ....................................................
streaming out data rx1.usb SWARM chunk 1...................................
Select parameters: 1.00000000.00000007.00000003.00000002.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx1.usb SWARM chunk 2...................................
Select parameters: 1.00000000.00000007.00000003.00000003.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx1.usb SWARM chunk 3...................................
Select parameters: 1.00000000.00000007.00000003.00000004.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx1.usb SWARM chunk 4...................................
Select parameters: 1.00000000.00000007.00000003.00000005.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

Done with usb and rx1 fits-data streaming out!
processing rx2 USB data ....................................................
streaming out data rx2.usb SWARM chunk 1...................................
Select parameters: 1.00000000.00000007.00000003.00000002.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx2.usb SWARM chunk 2...................................
Select parameters: 1.00000000.00000007.00000003.00000003.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx2.usb SWARM chunk 3...................................
Select parameters: 1.00000000.00000007.00000003.00000004.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

streaming out data rx2.usb SWARM chunk 4...................................
Select parameters: 1.00000000.00000007.00000003.00000005.0000000 ...........
   Processing data streaming of 16384 channels .............................
   Polarisation-data streaming: XX .........................................
   26310 visibilities copied to 26310 output records .......................
   Writing header tables ...................................................

Done with usb and rx2 fits-data streaming out!


=========================================
The start-up time of CASA may vary
depending on whether the shared libraries
are cached or not.
=========================================

CASA Version 4.7.0
  Compiled on: Wed 2016/09/28 11:50:32 UTC
___________________________________________________________________
    For help use the following commands:
    tasklist               - Task list organized by category
    taskhelp               - One line summary of available tasks
    help taskname          - Full help for task
    toolhelp               - One line summary of available tools
    help par.parametername - Full help for parameter name
___________________________________________________________________
will execute script /sma/reduction/jzhao/SMA2CASA_TESTING/swarm2measurementSet/bin//swarm2ms.py
Activating auto-logging. Current session state plus future input saved.
Filename       : ipython-20180611-151737.log
Mode           : backup
Output logging : False
Raw input log  : False
Timestamping   : False
State          : active
*** Loading ATNF ASAP Package...
*** ... ASAP (rev#38164) import complete ***
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:17:52	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:19:46	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:21:00	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:22:29	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:23:53	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:24:55	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:27:09	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:28:15	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:29:55	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:30:59	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:32:15	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:33:28	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:34:34	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:35:43	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:37:09	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
....10....20....30....40....50....60....70....80....90....100%
2018-06-11 15:38:25	WARN	MSFitsInput::fillAntennaTable	Array SMA is not a candidate to have its antenna positions rotated. No rotation of antenna positions will be performed
Completed converting to measurementSet:
Mon Jun 11 05:59:28 HST 2018
......