! Started logfile: 1244-255_X.log on Mon Oct 30 09:30:01 2006
observe 1244-255_X.edt
! Reading UV FITS file: 1244-255_X.edt
! AN table 1: 67 integrations on 136 of 136 possible baselines.
! AN table 2: 77 integrations on 136 of 136 possible baselines.
! AN table 3: 28 integrations on 136 of 136 possible baselines.
! AN table 4: 24 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.0416417 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1244-255
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (4).
!          Will assume that it is ground-based.
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1577 lines of history.
! 
! Reading 4440 visibilities.
![@gonzo7-0.1 1244-255_X]
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.1
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 7.0
float win_mult
win_mult = 1.8
float solint
solint = 3.6/6.0
logical doflt
doflt = true
logical doamp
float new_peak
float flux_cutoff
mapsize field_size,field_cell
! Map grid = 1024x1024 pixels with 0.100x0.100 milli-arcsec cellsize.
select
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 1005 telescope corrections were flagged in sub-array 1.
!  A total of 1021 telescope corrections were flagged in sub-array 2.
!  A total of 433 telescope corrections were flagged in sub-array 3.
!  A total of 303 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 1005 telescope corrections were flagged in sub-array 1.
!  A total of 1021 telescope corrections were flagged in sub-array 2.
!  A total of 433 telescope corrections were flagged in sub-array 3.
!  A total of 307 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 1005 telescope corrections were flagged in sub-array 1.
!  A total of 1015 telescope corrections were flagged in sub-array 2.
!  A total of 433 telescope corrections were flagged in sub-array 3.
!  A total of 303 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 1005 telescope corrections were flagged in sub-array 1.
!  A total of 1036 telescope corrections were flagged in sub-array 2.
!  A total of 449 telescope corrections were flagged in sub-array 3.
!  A total of 308 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.379589Jy  sigma=0.002824
! Fit after  self-cal, rms=0.379645Jy  sigma=0.002825
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvweight 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.4554 mas, bmaj=0.5873 mas, bpa=-54.33 degrees
! Estimated noise=2013.55 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.645843 Jy
! Total flux subtracted in 50 components = 0.645843 Jy
! Clean residual min=-0.066428 max=0.191803 Jy/beam
! Clean residual mean=0.000381 rms=0.020911 Jy/beam
! Combined flux in latest and established models = 0.645843 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 0.645843 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.365164Jy  sigma=0.003437
! Fit after  self-cal, rms=0.365165Jy  sigma=0.003437
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.182497 Jy
! Total flux subtracted in 50 components = 0.182497 Jy
! Clean residual min=-0.049672 max=0.080351 Jy/beam
! Clean residual mean=0.000120 rms=0.013745 Jy/beam
! Combined flux in latest and established models = 0.82834 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 12 components and 0.82834 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.309057Jy  sigma=0.002424
! Fit after  self-cal, rms=0.309023Jy  sigma=0.002424
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Uniform Weighting CLEAN ***"
! *** Finished Uniform Weighting CLEAN *** 
print "****************************************"
! **************************************** 
uvweight 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.6087 mas, bmaj=0.9506 mas, bpa=-34.83 degrees
! Estimated noise=1226.11 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0915927 Jy
! Component: 100  -  total flux cleaned = 0.135415 Jy
! Total flux subtracted in 100 components = 0.135415 Jy
! Clean residual min=-0.057931 max=0.050234 Jy/beam
! Clean residual mean=0.000832 rms=0.013801 Jy/beam
! Combined flux in latest and established models = 0.963755 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 19 components and 0.963755 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289140Jy  sigma=0.002103
! Fit after  self-cal, rms=0.289174Jy  sigma=0.002102
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.86     HN        1.28     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    MC        1.00*    
!   SC        0.88     SV        1.00*    TC        1.07     WF        1.02     
!   WZ        1.00*    
! 
!  A total of 72 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.84     HN        1.10     HO        1.00*    
!   KP        1.00*    LA        0.96     MK        1.00*    NL        0.88     
!   NY        1.00*    OV        1.00*    PT        0.95     MC        1.09     
!   SC        0.85     SV        1.00*    TC        1.17     WF        1.26     
!   WZ        1.08     
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.88     FD        1.00*    HN        1.00*    HO        1.08     
!   KP        1.00*    LA        1.00*    MK        0.68     NL        1.00*    
!   NY        1.00*    OV        0.93     PT        1.00*    MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.10     HN        1.00*    HO        1.07     
!   KP        1.00*    LA        0.99     MK        0.73     NL        1.00*    
!   NY        1.00*    OV        0.89     PT        0.96     MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.83     HN        1.29     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    MC        1.00*    
!   SC        0.92     SV        1.00*    TC        1.12     WF        1.06     
!   WZ        1.00*    
! 
!  A total of 75 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.83     HN        1.04     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.87     
!   NY        1.00*    OV        1.00*    PT        0.94     MC        1.06     
!   SC        0.90     SV        1.00*    TC        1.13     WF        1.23     
!   WZ        1.07     
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.86     FD        1.00*    HN        1.00*    HO        1.02     
!   KP        1.00*    LA        1.00*    MK        0.79     NL        1.00*    
!   NY        1.00*    OV        0.95     PT        1.00*    MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        1.13     HN        1.00*    HO        0.95     
!   KP        1.00*    LA        0.94     MK        0.91     NL        1.00*    
!   NY        1.00*    OV        0.91     PT        0.90     MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.83     HN        1.33     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    MC        1.00*    
!   SC        0.92     SV        1.00*    TC        1.05     WF        1.04     
!   WZ        1.00*    
! 
!  A total of 78 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.94     HN        1.08     HO        1.00*    
!   KP        1.00*    LA        0.92     MK        1.00*    NL        0.90     
!   NY        1.00*    OV        1.00*    PT        0.94     MC        1.08     
!   SC        0.89     SV        1.00*    TC        1.12     WF        1.28     
!   WZ        1.07     
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.89     FD        1.00*    HN        1.00*    HO        1.06     
!   KP        1.00*    LA        1.00*    MK        0.76     NL        1.00*    
!   NY        1.00*    OV        0.93     PT        1.00*    MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.22     FD        1.23     HN        1.00*    HO        1.02     
!   KP        1.00*    LA        0.78     MK        1.03     NL        1.00*    
!   NY        1.00*    OV        0.97     PT        1.00     MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.81     HN        1.32     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        1.00*    OV        1.00*    PT        1.00*    MC        1.00*    
!   SC        0.99     SV        1.00*    TC        1.08     WF        0.99     
!   WZ        1.00*    
! 
!  A total of 60 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.93     HN        0.66     HO        1.00*    
!   KP        1.00*    LA        0.91     MK        1.00*    NL        0.87     
!   NY        1.00*    OV        1.00*    PT        0.95     MC        1.14     
!   SC        0.98     SV        1.00*    TC        1.13     WF        1.23     
!   WZ        1.05     
! 
!  A total of 27 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    HN        0.00*    HO        0.00*    
!   KP        0.00*    LA        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    MC        0.00*    
!   SC        0.00*    SV        0.00*    TC        0.00*    WF        0.00*    
!   WZ        0.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        1.16     HN        1.00*    HO        1.07     
!   KP        1.00*    LA        0.69     MK        1.11     NL        1.00*    
!   NY        1.00*    OV        0.83     PT        0.93     MC        1.00*    
!   SC        1.00*    SV        1.00*    TC        1.00*    WF        1.00*    
!   WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.289174Jy  sigma=0.002102
! Fit after  self-cal, rms=0.284689Jy  sigma=0.001218
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.6317 mas, bmaj=1.211 mas, bpa=-33.94 degrees
! Estimated noise=1281.43 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000494817 Jy
! Component: 100  -  total flux cleaned = 0.000353513 Jy
! Total flux subtracted in 100 components = 0.000353513 Jy
! Clean residual min=-0.012845 max=0.013948 Jy/beam
! Clean residual mean=0.001971 rms=0.003139 Jy/beam
! Combined flux in latest and established models = 0.964108 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 23 components and 0.964108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.284645Jy  sigma=0.001218
! Fit after  self-cal, rms=0.285013Jy  sigma=0.001217
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * (6.0/3.6)
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -1.89086e-05 Jy
! Component: 100  -  total flux cleaned = -7.07653e-05 Jy
! Total flux subtracted in 100 components = -7.07653e-05 Jy
! Clean residual min=-0.012850 max=0.013861 Jy/beam
! Clean residual mean=0.001968 rms=0.003108 Jy/beam
! Combined flux in latest and established models = 0.964038 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 24 components and 0.964038 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.284984Jy  sigma=0.001217
! Fit after  self-cal, rms=0.289207Jy  sigma=0.001119
! Inverting map and beam 
! Estimated beam: bmin=0.6314 mas, bmaj=1.216 mas, bpa=-33.97 degrees
! Estimated noise=1285.23 mJy/beam.
doamp = false
solint = solint / (6.0/3.6)
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00102193 Jy
! Component: 100  -  total flux cleaned = 0.000956924 Jy
! Total flux subtracted in 100 components = 0.000956924 Jy
! Clean residual min=-0.009117 max=0.012648 Jy/beam
! Clean residual mean=0.001645 rms=0.002702 Jy/beam
! Combined flux in latest and established models = 0.964995 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 25 components and 0.964995 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289092Jy  sigma=0.001119
! Fit after  self-cal, rms=0.289195Jy  sigma=0.001119
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1244-255_X
! Writing UV FITS file: 1244-255_X.uvf
! Writing 25 model components to file: 1244-255_X.mod
! wwins: Wrote 1 windows to 1244-255_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6314 x 1.216 at -33.97 degrees (North through East)
! Clean map  min=-0.0088014  max=0.85907 Jy/beam
! Writing clean map to FITS file: 1244-255_X.fits
! Writing difmap environment to: 1244-255_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1244-255_X]
device 1244-255_Xuv.ps/vps,1,2
! Attempting to open device: '1244-255_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1244-255_Xim.ps/vps
! Attempting to open device: '1244-255_Xim.ps/vps'
uvweight 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
loglevs -1,2048,2
! The new contour levels are:
!  -1 1 2 4 8 16 32 64 128 256 512 1024 2048
cmul = imstat(rms)*3
! Inverting map and beam 
! Estimated beam: bmin=0.6314 mas, bmaj=1.216 mas, bpa=-33.97 degrees
! Estimated noise=1285.23 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6314 x 1.216 at -33.97 degrees (North through East)
! Clean map  min=-0.0088014  max=0.85907 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.1]
quit
! Quitting program
! Log file 1244-255_X.log closed on Mon Oct 30 09:30:22 2006