! Started logfile: 1300+580_X.log on Mon Oct 30 09:30:22 2006
observe 1300+580_X.edt
! Reading UV FITS file: 1300+580_X.edt
! AN table 1: 34 integrations on 136 of 136 possible baselines.
! AN table 2: 19 integrations on 136 of 136 possible baselines.
! AN table 3: 86 integrations on 136 of 136 possible baselines.
! AN table 4: 27 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.0962084 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1300+580
! 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 8688 visibilities.
![@gonzo7-0.1 1300+580_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 388 telescope corrections were flagged in sub-array 1.
!  A total of 180 telescope corrections were flagged in sub-array 2.
!  A total of 1161 telescope corrections were flagged in sub-array 3.
!  A total of 351 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 401 telescope corrections were flagged in sub-array 1.
!  A total of 170 telescope corrections were flagged in sub-array 2.
!  A total of 1161 telescope corrections were flagged in sub-array 3.
!  A total of 351 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 388 telescope corrections were flagged in sub-array 1.
!  A total of 170 telescope corrections were flagged in sub-array 2.
!  A total of 1161 telescope corrections were flagged in sub-array 3.
!  A total of 351 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 398 telescope corrections were flagged in sub-array 1.
!  A total of 182 telescope corrections were flagged in sub-array 2.
!  A total of 1197 telescope corrections were flagged in sub-array 3.
!  A total of 351 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.631474Jy  sigma=0.009653
! Fit after  self-cal, rms=0.631731Jy  sigma=0.009665
! 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.5521 mas, bmaj=0.7325 mas, bpa=-21.63 degrees
! Estimated noise=912.69 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.283242 Jy
! Total flux subtracted in 50 components = 0.283242 Jy
! Clean residual min=-0.023092 max=0.079008 Jy/beam
! Clean residual mean=0.000089 rms=0.004756 Jy/beam
! Combined flux in latest and established models = 0.283242 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.283242 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.162620Jy  sigma=0.002080
! Fit after  self-cal, rms=0.162620Jy  sigma=0.002080
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0766788 Jy
! Total flux subtracted in 50 components = 0.0766788 Jy
! Clean residual min=-0.015112 max=0.032414 Jy/beam
! Clean residual mean=0.000023 rms=0.003134 Jy/beam
! Combined flux in latest and established models = 0.359921 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 5 components and 0.359921 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128070Jy  sigma=0.001560
! Fit after  self-cal, rms=0.127983Jy  sigma=0.001559
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.034321 Jy
! Total flux subtracted in 50 components = 0.034321 Jy
! Clean residual min=-0.014019 max=0.014778 Jy/beam
! Clean residual mean=-0.000007 rms=0.002684 Jy/beam
! Combined flux in latest and established models = 0.394242 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 7 components and 0.394242 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.119831Jy  sigma=0.001459
! Fit after  self-cal, rms=0.119700Jy  sigma=0.001457
! 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.673 mas, bmaj=0.8971 mas, bpa=-24.84 degrees
! Estimated noise=559.118 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.0156081 Jy
! Component: 100  -  total flux cleaned = 0.0184156 Jy
! Total flux subtracted in 100 components = 0.0184156 Jy
! Clean residual min=-0.011571 max=0.010458 Jy/beam
! Clean residual mean=0.000045 rms=0.002328 Jy/beam
! Combined flux in latest and established models = 0.412658 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 13 components and 0.412658 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.117344Jy  sigma=0.001436
! Fit after  self-cal, rms=0.117273Jy  sigma=0.001435
! 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 15 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.93     HN        0.95     HO        1.00*    
!   KP        1.00*    LA        1.04     MK        1.02     NL        0.98     
!   NY        0.96     OV        0.99     PT        1.05     MC        0.86     
!   SC        0.94     SV        1.00*    TC        1.00*    WF        0.93     
!   WZ        0.77     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.08     FD        0.96     HN        1.14     HO        1.00*    
!   KP        0.46     LA        1.02     MK        0.85     NL        0.94     
!   NY        0.89     OV        1.09     PT        1.03     MC        1.03     
!   SC        1.01     SV        0.90     TC        1.00*    WF        1.02     
!   WZ        1.00*    
! 
!  A total of 129 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.05     FD        1.00*    HN        1.05     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.96     
!   NY        0.91     OV        1.00*    PT        1.00*    MC        0.99     
!   SC        0.91     SV        4.77     TC        1.00*    WF        1.12     
!   WZ        0.97     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.83     FD        1.00*    HN        0.95     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        0.90     OV        1.00*    PT        1.00*    MC        0.93     
!   SC        1.00*    SV        0.99     TC        1.00*    WF        0.92     
!   WZ        0.75     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.87     HN        1.02     HO        1.00*    
!   KP        1.00*    LA        1.02     MK        1.00*    NL        0.96     
!   NY        0.93     OV        1.01     PT        1.05     MC        0.87     
!   SC        0.98     SV        1.00*    TC        1.00*    WF        0.94     
!   WZ        0.80     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.15     FD        0.98     HN        1.24     HO        1.00*    
!   KP        0.82     LA        1.05     MK        0.96     NL        0.94     
!   NY        0.94     OV        1.13     PT        1.06     MC        1.03     
!   SC        0.97     SV        0.92     TC        1.00*    WF        0.99     
!   WZ        1.00*    
! 
!  A total of 129 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.00*    HN        1.05     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.94     
!   NY        0.95     OV        1.00*    PT        1.00*    MC        0.98     
!   SC        0.94     SV        3.67     TC        1.00*    WF        1.09     
!   WZ        0.97     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.92     FD        1.00*    HN        1.06     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        0.88     OV        1.00*    PT        1.00*    MC        0.97     
!   SC        1.00*    SV        0.99     TC        1.00*    WF        0.98     
!   WZ        0.72     
! 
! 
! Correcting IF 3.
!  A total of 15 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.94     HN        1.04     HO        1.00*    
!   KP        1.00*    LA        1.04     MK        1.05     NL        0.94     
!   NY        0.94     OV        1.01     PT        1.07     MC        0.88     
!   SC        0.97     SV        1.00*    TC        1.00*    WF        0.92     
!   WZ        0.83     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.20     FD        0.97     HN        1.17     HO        1.00*    
!   KP        0.75     LA        1.05     MK        0.94     NL        0.93     
!   NY        0.98     OV        1.07     PT        1.04     MC        1.02     
!   SC        0.98     SV        0.91     TC        1.00*    WF        1.08     
!   WZ        1.00*    
! 
!  A total of 129 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.13     FD        1.00*    HN        1.03     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.97     
!   NY        1.07     OV        1.00*    PT        1.00*    MC        0.98     
!   SC        0.96     SV        4.14     TC        1.00*    WF        1.21     
!   WZ        0.96     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.07     FD        1.00*    HN        1.13     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        0.95     OV        1.00*    PT        1.00*    MC        1.01     
!   SC        1.00*    SV        0.97     TC        1.00*    WF        1.12     
!   WZ        0.74     
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.71     FD        0.87     HN        1.06     HO        1.00*    
!   KP        1.00*    LA        1.03     MK        0.97     NL        0.99     
!   NY        1.00*    OV        0.99     PT        1.06     MC        0.91     
!   SC        1.02     SV        1.00*    TC        1.00*    WF        0.92     
!   WZ        0.83     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.26     FD        0.99     HN        0.51     HO        1.00*    
!   KP        0.74     LA        1.07     MK        0.92     NL        0.93     
!   NY        1.07     OV        1.11     PT        1.06     MC        1.06     
!   SC        0.96     SV        0.86     TC        1.00*    WF        1.09     
!   WZ        1.00*    
! 
!  A total of 165 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.90     FD        1.00*    HN        0.96     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.98     
!   NY        0.99     OV        1.00*    PT        1.00*    MC        1.05     
!   SC        0.99     SV        3.35     TC        1.00*    WF        1.28     
!   WZ        0.99     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.61     FD        1.00*    HN        0.92     HO        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        1.00*    
!   NY        0.99     OV        1.00*    PT        1.00*    MC        1.03     
!   SC        1.00*    SV        1.05     TC        1.00*    WF        1.04     
!   WZ        0.75     
! 
! 
! Fit before self-cal, rms=0.117273Jy  sigma=0.001435
! Fit after  self-cal, rms=0.106071Jy  sigma=0.001107
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.6682 mas, bmaj=0.8605 mas, bpa=-25.62 degrees
! Estimated noise=569.797 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.00183429 Jy
! Component: 100  -  total flux cleaned = 0.00228273 Jy
! Total flux subtracted in 100 components = 0.00228273 Jy
! Clean residual min=-0.002885 max=0.003069 Jy/beam
! Clean residual mean=0.000183 rms=0.000725 Jy/beam
! Combined flux in latest and established models = 0.414941 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 22 components and 0.414941 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105992Jy  sigma=0.001105
! Fit after  self-cal, rms=0.106067Jy  sigma=0.001105
! 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 = 0.000198523 Jy
! Component: 100  -  total flux cleaned = 0.000315638 Jy
! Total flux subtracted in 100 components = 0.000315638 Jy
! Clean residual min=-0.002838 max=0.003170 Jy/beam
! Clean residual mean=0.000178 rms=0.000717 Jy/beam
! Combined flux in latest and established models = 0.415256 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 23 components and 0.415256 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.106024Jy  sigma=0.001104
! Fit after  self-cal, rms=0.101637Jy  sigma=0.001079
! Inverting map and beam 
! Estimated beam: bmin=0.6679 mas, bmaj=0.8576 mas, bpa=-25.77 degrees
! Estimated noise=570.765 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.00215242 Jy
! Component: 100  -  total flux cleaned = 0.00252693 Jy
! Total flux subtracted in 100 components = 0.00252693 Jy
! Clean residual min=-0.002829 max=0.002822 Jy/beam
! Clean residual mean=0.000168 rms=0.000641 Jy/beam
! Combined flux in latest and established models = 0.417783 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 27 components and 0.417783 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101570Jy  sigma=0.001078
! Fit after  self-cal, rms=0.101564Jy  sigma=0.001078
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1300+580_X
! Writing UV FITS file: 1300+580_X.uvf
! Writing 27 model components to file: 1300+580_X.mod
! wwins: Wrote 1 windows to 1300+580_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6679 x 0.8576 at -25.77 degrees (North through East)
! Clean map  min=-0.0027068  max=0.36076 Jy/beam
! Writing clean map to FITS file: 1300+580_X.fits
! Writing difmap environment to: 1300+580_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1300+580_X]
device 1300+580_Xuv.ps/vps,1,2
! Attempting to open device: '1300+580_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1300+580_Xim.ps/vps
! Attempting to open device: '1300+580_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.6679 mas, bmaj=0.8576 mas, bpa=-25.77 degrees
! Estimated noise=570.765 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6679 x 0.8576 at -25.77 degrees (North through East)
! Clean map  min=-0.0027068  max=0.36076 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.1]
quit
! Quitting program
! Log file 1300+580_X.log closed on Mon Oct 30 09:30:43 2006