Date: Mon, 15 Apr 2013 17:13:55 -0400 (EDT)
From: Jun-Hui Zhao 
To: Patricia Mailhot 
Cc: smamiriad@cfa.harvard.edu
Subject: Re: Fwd: SMA MIRIAD Bug Report (fwd)

Hi Pat,
    Could you add Glen message to his BugReport entry?
    Thanks.
    Jun-Hui

---------- Forwarded message ----------
Date: Mon, 15 Apr 2013 17:10:17 -0400 (EDT)
From: Jun-Hui Zhao 
To: Glen Petitpas 
Cc: gpetitpas@cfa.harvard.edu, Patricia Mailhot ,
     Ken Young 
Subject: Re: Fwd: SMA MIRIAD Bug Report


Thanks, Jun-Hui

On Mon, 15 Apr 2013, Glen Petitpas wrote:

>
> Hi
>
> I retried the new version on the first file (130411_01:33:45) and got a
> core dump mid-load this time. Output is recorded below. Taco believes
> this may be caused by the removal of antenna 1 and retuning near the end
> while this data file was open. It apparently also gives MIR/IDL some
> problems while loading, so I would not consider this file to be a good
> test case. I've included the output for completeness. I've cc'd Taco on
> this as he was the one who pointed out to me that the retuning may have
> corrupted the file a bit. I will try to prevent this from happening in
> the future by instructing the operators to issue the newFile command
> before removing antennas or redopplerTracking.
>
> The second file I reported (130411_08:23:16) seems to load now and be
> readable as expected. I also tried other files and they seem OK too.
>
> Thanks!
> Glen
>
>
> -------------------------------------------------------------------------------------------------------------
>
> obsconh:gpetitpa[quickLook] 745 % smalod
> in=/sma/rtdata/science/mir_data/130411
> _01:33:45 out=test rxif=-1 sideband=1 nscans=2 options=flagch0
> SmaLod: version 3.10-beta 28-June-2012
> dataCatcher has been updated 110823 => 120704
> double-band patch................DbP version 2.0.6-beta: 2014-04-15
> open output file.
> *********************************
> *  Observing Date: 2013 Apr 11  *
> *********************************
> principal investigator...........SMA
>
> Number of antenna in antennas....10
> Warning: Number of 10 antennas in antennas, exceeding that of standard SMA.
> Geocentrical coordinates (meter) with refant= 5:
> ANT x y z = 1     11.7395    -53.6646    -40.7244

> 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     -5.7019    -18.9845     15.6103
> ANT x y z = 5      0.0000      0.0000      0.0000
> ANT x y z = 6      5.2281    -20.0761    -14.8430
> ANT x y z = 7    -17.9161    -59.5583     30.0708
> ANT x y z = 8     -0.5075    -25.1513      1.2810
> converting geocentrical coordinates to equatorial system (nanosecs).
> ANT x y x = 1     39.1587   -179.0057   -135.8421
> 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    -19.0194    -63.3254     52.0702
> ANT x y x = 5      0.0000      0.0000      0.0000
> ANT x y x = 6     17.4391    -66.9665    -49.5108
> ANT x y x = 7    -59.7618   -198.6650    100.3053
> ANT x y x = 8     -1.6927    -83.8957      4.2731
> handling header variables........
> number of integrations...........0921
> number of c1 + IF1 Spectra.......25
> number of IF2 Spectra............24
> number of polarizations..........1
> :  XX--non polarization
> number of receivers..............1:  rx1->230
> number of sidebands..............2:  lsb & usb
> number of baselines..............21
> Warning: inhid=906 has baseline of 31 that differs from 21 (for inhid=0)
> Warning: inhid=907 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=908 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=909 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=910 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=911 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=912 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=913 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=914 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=915 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=916 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=917 has baseline of 20 that differs from 21 (for inhid=0)
> Warning: inhid=918 has baseline of 20 that differs from 21 (for inhid=0)
> number of antennas...............7
> number of spectra................49
> number of channels...............4417
> solving for antenna-based Tsys...
> decode the spectral window (chunk) ids: done
> decode velocity type: done
> Warning: J041757 has the source id (2) different from that (1) of 3c111
> but their coordinates are the same:
>   RA=04:18:21.2764  Dec= 38:01:35.8008
> Warning: found the next integration for J041757 of id=2 at inhset=14
> with coordi
> nates:
>   RA=04:17:57.7708  Dec= 27:41:05.0024
> Update the coordinates for J041757 of id=2
> Warning: J041757-NE has the source id (3) different from that (2) of
> J041757
> but their coordinates are the same:
>   RA=04:17:57.7708  Dec= 27:41:05.0024
> Warning: found the next integration for J041757-NE of id=3 at inhset=35
> with coo
> rdinates:
>   RA=04:18:00.2994  Dec= 27:41:36.2997
> Update the coordinates for J041757-NE of id=3
> Warning: ganymede has the source id (4) different from that (1) of 3c111
> but their coordinates are the same:
>   RA=04:18:21.2764  Dec= 38:01:35.8008
> Warning: found the next integration for ganymede of id=4 at inhset=648
> with coor
> dinates:
>   RA=04:49:23.4212  Dec= 22:04:45.7956
> Update the coordinates for ganymede of id=4
> Warning: 3c279 has the source id (5) different from that (1) of 3c111
> but their coordinates are the same:
>   RA=04:18:21.2764  Dec= 38:01:35.8008
> Warning: found the next integration for 3c279 of id=5 at inhset=726 with
> coordin
> ates:
>   RA=12:56:11.1651  Dec= -5:47:21.5245
> Update the coordinates for 3c279 of id=5
> Warning: DCE185 has the source id (6) different from that (5) of 3c279
> but their coordinates are the same:
>   RA=12:56:11.1651  Dec= -5:47:21.5245
> Warning: found the next integration for DCE185 of id=6 at inhset=905
> with coordi
> nates:
>   RA=16:28:21.5968  Dec=-24:36:23.4023
> Update the coordinates for DCE185 of id=6
> sources found in the file........
> 3c111                 id=  1 RA=04:18:21.2764 DEC= 38:01:35.8008
> J041757               id=  2 RA=04:17:57.7708 DEC= 27:41:05.0024
> J041757-NE            id=  3 RA=04:18:00.2994 DEC= 27:41:36.2997
> ganymede              id=  4 RA=04:49:23.4212 DEC= 22:04:45.7956
> 3c279                 id=  5 RA=12:56:11.1651 DEC= -5:47:21.5245
> DCE185                id=  6 RA=16:28:21.5968 DEC=-24:36:23.4023
> reading visibilities.............inhid  time(UTC) int(s) percent Gbyt
> W-status
> inhset=..........................00000 0d01:33:28  29.7  000 (%) 0.00  OK
> inhset=..........................00100 0d02:27:42  29.7  010 (%) 0.08  OK
> inhset=..........................00200 0d03:17:10  29.7  021 (%) 0.15  OK
> inhset=..........................00300 0d04:06:38  29.7  032 (%) 0.23  OK
> inhset=..........................00400 0d04:56:07  29.7  043 (%) 0.31  OK
> inhset=..........................00500 0d05:45:35  29.7  054 (%) 0.38  OK
> inhset=..........................00600 0d05:55:37  05.2  065 (%) 0.46  OK
> inhset=..........................00700 0d06:26:05  29.7  076 (%) 0.53  OK
> inhset=..........................00800 0d07:15:33  29.7  086 (%) 0.61  OK
> inhset=..........................00900 0d08:05:02  29.7  097 (%) 0.69  OK
> inhset=.....Segmentation fault (core dumped)
> obsconh:gpetitpa[quickLook] 746 %