! Started logfile: 0743+277_X.log on Tue Aug  7 10:07:39 2007
observe 0743+277_X.edt
! Reading UV FITS file: 0743+277_X.edt
! AN table 1: 176 integrations on 105 of 105 possible baselines.
! AN table 2: 134 integrations on 105 of 105 possible baselines.
! AN table 3: 53 integrations on 105 of 105 possible baselines.
! AN table 4: 20 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.0907124 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0743+277
! 
! 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 1066 lines of history.
! 
! Reading 14592 visibilities.
![@gonzo7-0.1 0743+277_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 2244 telescope corrections were flagged in sub-array 1.
!  A total of 1358 telescope corrections were flagged in sub-array 2.
!  A total of 610 telescope corrections were flagged in sub-array 3.
!  A total of 184 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2214 telescope corrections were flagged in sub-array 1.
!  A total of 1358 telescope corrections were flagged in sub-array 2.
!  A total of 607 telescope corrections were flagged in sub-array 3.
!  A total of 184 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2211 telescope corrections were flagged in sub-array 1.
!  A total of 1358 telescope corrections were flagged in sub-array 2.
!  A total of 610 telescope corrections were flagged in sub-array 3.
!  A total of 184 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2286 telescope corrections were flagged in sub-array 1.
!  A total of 1361 telescope corrections were flagged in sub-array 2.
!  A total of 610 telescope corrections were flagged in sub-array 3.
!  A total of 184 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.670686Jy  sigma=0.007911
! Fit after  self-cal, rms=0.670720Jy  sigma=0.007917
! 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.5649 mas, bmaj=0.6962 mas, bpa=26.6 degrees
! Estimated noise=968.644 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.262297 Jy
! Total flux subtracted in 50 components = 0.262297 Jy
! Clean residual min=-0.014057 max=0.073178 Jy/beam
! Clean residual mean=0.000096 rms=0.003758 Jy/beam
! Combined flux in latest and established models = 0.262297 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.262297 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147140Jy  sigma=0.001482
! Fit after  self-cal, rms=0.147140Jy  sigma=0.001482
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0585985 Jy
! Total flux subtracted in 50 components = 0.0585985 Jy
! Clean residual min=-0.013826 max=0.018835 Jy/beam
! Clean residual mean=0.000059 rms=0.002269 Jy/beam
! Combined flux in latest and established models = 0.320895 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.320895 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.125832Jy  sigma=0.001204
! Fit after  self-cal, rms=0.125829Jy  sigma=0.001204
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0142197 Jy
! Total flux subtracted in 50 components = 0.0142197 Jy
! Clean residual min=-0.013675 max=0.012978 Jy/beam
! Clean residual mean=0.000050 rms=0.002123 Jy/beam
! Combined flux in latest and established models = 0.335115 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 9 components and 0.335115 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123581Jy  sigma=0.001183
! Fit after  self-cal, rms=0.123581Jy  sigma=0.001183
! 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.6633 mas, bmaj=0.8113 mas, bpa=20.83 degrees
! Estimated noise=532.949 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.8, -0.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00332064 Jy
! Component: 100  -  total flux cleaned = 0.00403435 Jy
! Total flux subtracted in 100 components = 0.00403435 Jy
! Clean residual min=-0.010832 max=0.008879 Jy/beam
! Clean residual mean=-0.000019 rms=0.001658 Jy/beam
! Combined flux in latest and established models = 0.339149 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 18 components and 0.339149 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.121795Jy  sigma=0.001169
! Fit after  self-cal, rms=0.121676Jy  sigma=0.001167
! 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 78 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00*    HH        0.93     HN        1.00*    
!   KB        0.92     KK        1.04     KP        1.00*    LA        1.00*    
!   MK        0.95     NL        1.00*    NY        0.96     OV        1.03     
!   PT        1.00*    SC        1.00*    WZ        1.02     
! 
!  A total of 150 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.01     HH        1.00     HN        0.97     
!   KB        1.06     KK        0.84     KP        1.00*    LA        1.03     
!   MK        0.96     NL        1.01     NY        1.03     OV        1.12     
!   PT        1.04     SC        0.96     WZ        1.04     
! 
!  A total of 72 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.89     FD        1.01     HH        1.00*    HN        0.89     
!   KB        1.00*    KK        1.09     KP        1.00     LA        1.05     
!   MK        1.07     NL        1.12     NY        1.00*    OV        1.01     
!   PT        1.08     SC        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        1.00*    FD        1.00     HH        1.00*    HN        1.08     
!   KB        1.00*    KK        1.00*    KP        0.97     LA        0.96     
!   MK        1.08     NL        1.02     NY        1.00*    OV        1.04     
!   PT        0.97     SC        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 108 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00*    HH        0.94     HN        1.00*    
!   KB        0.92     KK        0.95     KP        1.00*    LA        1.00*    
!   MK        0.95     NL        1.00*    NY        0.97     OV        1.09     
!   PT        1.00*    SC        1.00*    WZ        0.86     
! 
!  A total of 150 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.00     HH        1.02     HN        0.96     
!   KB        1.16     KK        0.83     KP        1.00*    LA        1.02     
!   MK        0.87     NL        1.02     NY        1.03     OV        1.13     
!   PT        1.04     SC        0.96     WZ        0.88     
! 
!  A total of 75 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        1.04     HH        1.00*    HN        0.86     
!   KB        1.00*    KK        1.11     KP        0.99     LA        1.04     
!   MK        1.02     NL        1.12     NY        1.00*    OV        1.03     
!   PT        1.05     SC        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        1.00*    FD        0.96     HH        1.00*    HN        1.07     
!   KB        1.00*    KK        1.00*    KP        0.97     LA        0.97     
!   MK        1.09     NL        1.03     NY        1.00*    OV        1.03     
!   PT        0.97     SC        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 111 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.00*    HH        0.86     HN        1.00*    
!   KB        0.94     KK        1.01     KP        1.00*    LA        1.00*    
!   MK        1.05     NL        1.00*    NY        0.96     OV        1.02     
!   PT        1.00*    SC        1.00*    WZ        0.95     
! 
!  A total of 150 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.05     HH        0.99     HN        0.97     
!   KB        1.16     KK        0.86     KP        1.00*    LA        1.02     
!   MK        0.92     NL        1.01     NY        1.05     OV        1.05     
!   PT        1.05     SC        0.95     WZ        0.84     
! 
!  A total of 72 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.91     FD        1.00     HH        1.00*    HN        0.86     
!   KB        1.00*    KK        1.08     KP        0.96     LA        0.99     
!   MK        1.06     NL        1.07     NY        1.00*    OV        1.01     
!   PT        1.06     SC        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        1.00*    FD        0.95     HH        1.00*    HN        1.10     
!   KB        1.00*    KK        1.00*    KP        0.99     LA        0.96     
!   MK        1.07     NL        1.01     NY        1.00*    OV        1.01     
!   PT        0.95     SC        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 36 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.00*    HH        1.00     HN        1.00*    
!   KB        0.88     KK        0.98     KP        1.00*    LA        1.00*    
!   MK        0.95     NL        1.00*    NY        0.99     OV        1.02     
!   PT        1.00*    SC        1.00*    WZ        0.91     
! 
!  A total of 147 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.04     HH        1.22     HN        1.00     
!   KB        1.18     KK        0.78     KP        1.00*    LA        1.00     
!   MK        0.98     NL        1.01     NY        1.14     OV        1.08     
!   PT        1.07     SC        0.95     WZ        0.84     
! 
!  A total of 72 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.93     FD        0.98     HH        1.00*    HN        0.81     
!   KB        1.00*    KK        1.13     KP        0.98     LA        0.99     
!   MK        1.06     NL        1.09     NY        1.00*    OV        1.00     
!   PT        1.00     SC        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        1.00*    FD        0.94     HH        1.00*    HN        1.08     
!   KB        1.00*    KK        1.00*    KP        0.95     LA        1.00     
!   MK        1.05     NL        1.03     NY        1.00*    OV        1.03     
!   PT        0.96     SC        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.121676Jy  sigma=0.001167
! Fit after  self-cal, rms=0.111805Jy  sigma=0.001105
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.6613 mas, bmaj=0.8026 mas, bpa=19.25 degrees
! Estimated noise=545.166 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.00587236 Jy
! Component: 100  -  total flux cleaned = 0.00641981 Jy
! Total flux subtracted in 100 components = 0.00641981 Jy
! Clean residual min=-0.003803 max=0.004504 Jy/beam
! Clean residual mean=0.000089 rms=0.000952 Jy/beam
! Combined flux in latest and established models = 0.345569 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 27 components and 0.345569 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111436Jy  sigma=0.001102
! Fit after  self-cal, rms=0.111413Jy  sigma=0.001102
! 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.00100266 Jy
! Component: 100  -  total flux cleaned = 0.000903129 Jy
! Total flux subtracted in 100 components = 0.000903129 Jy
! Clean residual min=-0.003796 max=0.003965 Jy/beam
! Clean residual mean=0.000083 rms=0.000926 Jy/beam
! Combined flux in latest and established models = 0.346472 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 32 components and 0.346472 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111280Jy  sigma=0.001101
! Fit after  self-cal, rms=0.109667Jy  sigma=0.001074
! Inverting map and beam 
! Estimated beam: bmin=0.6577 mas, bmaj=0.8021 mas, bpa=19.24 degrees
! Estimated noise=547.478 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00426916 Jy
! Component: 100  -  total flux cleaned = 0.00573571 Jy
! Total flux subtracted in 100 components = 0.00573571 Jy
! Clean residual min=-0.002798 max=0.003272 Jy/beam
! Clean residual mean=0.000065 rms=0.000729 Jy/beam
! Combined flux in latest and established models = 0.352208 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 39 components and 0.352208 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109470Jy  sigma=0.001073
! Fit after  self-cal, rms=0.109215Jy  sigma=0.001070
! Inverting map and beam 
! Estimated beam: bmin=0.6548 mas, bmaj=0.7995 mas, bpa=19.06 degrees
! Estimated noise=548.414 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.00334488 Jy
! Component: 100  -  total flux cleaned = 0.00404202 Jy
! Total flux subtracted in 100 components = 0.00404202 Jy
! Clean residual min=-0.002515 max=0.003119 Jy/beam
! Clean residual mean=0.000063 rms=0.000681 Jy/beam
! Combined flux in latest and established models = 0.35625 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 43 components and 0.35625 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109097Jy  sigma=0.001069
! Fit after  self-cal, rms=0.109091Jy  sigma=0.001069
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0743+277_X
! Writing UV FITS file: 0743+277_X.uvf
! Writing 43 model components to file: 0743+277_X.mod
! wwins: Wrote 2 windows to 0743+277_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6548 x 0.7995 at 19.06 degrees (North through East)
! Clean map  min=-0.0038477  max=0.33267 Jy/beam
! Writing clean map to FITS file: 0743+277_X.fits
! Writing difmap environment to: 0743+277_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0743+277_X]
device 0743+277_Xuv.ps/vps,1,2
! Attempting to open device: '0743+277_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0743+277_Xim.ps/vps
! Attempting to open device: '0743+277_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.6548 mas, bmaj=0.7995 mas, bpa=19.06 degrees
! Estimated noise=548.414 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6548 x 0.7995 at 19.06 degrees (North through East)
! Clean map  min=-0.0038477  max=0.33267 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.1]
quit
! Quitting program
! Log file 0743+277_X.log closed on Tue Aug  7 10:08:08 2007