! Started logfile: 1725+044_S.log on Tue Mar 27 19:49:22 2007
observe 1725+044_S.edt
! Reading UV FITS file: 1725+044_S.edt
! AN table 1: 35 integrations on 105 of 105 possible baselines.
! AN table 2: 80 integrations on 105 of 105 possible baselines.
! AN table 3: 13 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.292411 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1725+044
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1268 lines of history.
! 
! Reading 15720 visibilities.
![@gonzo7-0.4 1725+044_S]
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.4
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.400x0.400 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 447 telescope corrections were flagged in sub-array 1.
!  A total of 485 telescope corrections were flagged in sub-array 2.
!  A total of 107 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 450 telescope corrections were flagged in sub-array 1.
!  A total of 485 telescope corrections were flagged in sub-array 2.
!  A total of 106 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 447 telescope corrections were flagged in sub-array 1.
!  A total of 488 telescope corrections were flagged in sub-array 2.
!  A total of 108 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 462 telescope corrections were flagged in sub-array 1.
!  A total of 485 telescope corrections were flagged in sub-array 2.
!  A total of 121 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.585495Jy  sigma=0.006751
! Fit after  self-cal, rms=0.585490Jy  sigma=0.006753
! 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=1.881 mas, bmaj=8.097 mas, bpa=-9.802 degrees
! Estimated noise=1136.77 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.327459 Jy
! Total flux subtracted in 50 components = 0.327459 Jy
! Clean residual min=-0.022348 max=0.097940 Jy/beam
! Clean residual mean=0.000031 rms=0.008904 Jy/beam
! Combined flux in latest and established models = 0.327459 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 6 components and 0.327459 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190271Jy  sigma=0.002235
! Fit after  self-cal, rms=0.190254Jy  sigma=0.002235
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.101536 Jy
! Total flux subtracted in 50 components = 0.101536 Jy
! Clean residual min=-0.018914 max=0.044863 Jy/beam
! Clean residual mean=0.000034 rms=0.005393 Jy/beam
! Combined flux in latest and established models = 0.428995 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 14 components and 0.428995 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.144405Jy  sigma=0.001547
! Fit after  self-cal, rms=0.144117Jy  sigma=0.001546
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0489483 Jy
! Total flux subtracted in 50 components = 0.0489483 Jy
! Clean residual min=-0.016313 max=0.022478 Jy/beam
! Clean residual mean=0.000036 rms=0.004193 Jy/beam
! Combined flux in latest and established models = 0.477943 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 21 components and 0.477943 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.133767Jy  sigma=0.001383
! Fit after  self-cal, rms=0.133569Jy  sigma=0.001382
! 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=2.614 mas, bmaj=10.63 mas, bpa=-12.77 degrees
! Estimated noise=493.315 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.0186863 Jy
! Component: 100  -  total flux cleaned = 0.0273334 Jy
! Total flux subtracted in 100 components = 0.0273334 Jy
! Clean residual min=-0.013141 max=0.024950 Jy/beam
! Clean residual mean=0.001004 rms=0.004529 Jy/beam
! Combined flux in latest and established models = 0.505277 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 34 components and 0.505277 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.130913Jy  sigma=0.001356
! Fit after  self-cal, rms=0.130797Jy  sigma=0.001356
! 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 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00*    HN        0.89     KB        0.90     
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.91     
!   NY        1.00*    OV        1.00*    PT        1.00*    SV        1.00*    
!   WF        1.01     WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        1.06     HN        0.90     KB        1.00*    
!   KP        1.19     LA        0.93     MK        1.00*    NL        0.94     
!   NY        1.08     OV        0.97     PT        1.06     SV        1.00*    
!   WF        1.05     WZ        1.03     TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.93     FD        0.66     HN        1.00*    KB        0.87     
!   KP        1.28     LA        0.89     MK        1.03     NL        1.15     
!   NY        1.00*    OV        0.90     PT        0.92     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 18 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00*    HN        0.91     KB        0.95     
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.84     
!   NY        1.00*    OV        1.00*    PT        1.00*    SV        1.00*    
!   WF        1.00     WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        1.08     HN        0.88     KB        1.00*    
!   KP        1.09     LA        0.94     MK        1.00*    NL        0.99     
!   NY        1.05     OV        0.91     PT        1.05     SV        1.00*    
!   WF        1.05     WZ        1.05     TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        0.71     HN        1.00*    KB        0.96     
!   KP        0.94     LA        0.90     MK        0.82     NL        1.13     
!   NY        1.00*    OV        1.02     PT        1.00     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.00*    HN        0.91     KB        1.15     
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.89     
!   NY        1.00*    OV        1.00*    PT        1.00*    SV        1.00*    
!   WF        0.92     WZ        1.00*    TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.93     FD        1.07     HN        0.93     KB        1.00*    
!   KP        1.13     LA        0.93     MK        1.00*    NL        0.97     
!   NY        1.03     OV        0.96     PT        1.01     SV        1.00*    
!   WF        1.15     WZ        1.02     TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.93     FD        0.68     HN        1.00*    KB        1.11     
!   KP        0.91     LA        0.86     MK        0.76     NL        1.15     
!   NY        1.00*    OV        0.91     PT        0.96     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.00*    HN        0.89     KB        1.00*    
!   KP        1.00*    LA        1.00*    MK        1.00*    NL        0.88     
!   NY        1.00*    OV        1.00*    PT        1.00*    SV        1.00*    
!   WF        0.90     WZ        1.00*    TC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.05     HN        0.88     KB        1.00*    
!   KP        1.12     LA        0.95     MK        1.00*    NL        0.99     
!   NY        1.09     OV        0.97     PT        1.02     SV        1.00*    
!   WF        1.22     WZ        1.00     TC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.82     FD        0.72     HN        1.00*    KB        2.18     
!   KP        0.91     LA        0.86     MK        0.72     NL        1.11     
!   NY        1.00*    OV        0.92     PT        0.92     SV        1.00*    
!   WF        1.00*    WZ        1.00*    TC        1.00*    
! 
! 
! Fit before self-cal, rms=0.130797Jy  sigma=0.001356
! Fit after  self-cal, rms=0.123335Jy  sigma=0.001212
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.639 mas, bmaj=10.66 mas, bpa=-12.36 degrees
! Estimated noise=492.739 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 (53.2, -11.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.021034 Jy
! Component: 100  -  total flux cleaned = 0.0307215 Jy
! Total flux subtracted in 100 components = 0.0307215 Jy
! Clean residual min=-0.005340 max=0.007349 Jy/beam
! Clean residual mean=0.000757 rms=0.001735 Jy/beam
! Combined flux in latest and established models = 0.535998 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 73 components and 0.535998 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120440Jy  sigma=0.001162
! Fit after  self-cal, rms=0.120286Jy  sigma=0.001160
! 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.00716542 Jy
! Component: 100  -  total flux cleaned = 0.0113285 Jy
! Total flux subtracted in 100 components = 0.0113285 Jy
! Clean residual min=-0.004947 max=0.007632 Jy/beam
! Clean residual mean=0.000670 rms=0.001488 Jy/beam
! Combined flux in latest and established models = 0.547327 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 107 components and 0.547327 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.119854Jy  sigma=0.001153
! Fit after  self-cal, rms=0.118966Jy  sigma=0.001129
! Inverting map and beam 
! Estimated beam: bmin=2.641 mas, bmaj=10.66 mas, bpa=-12.38 degrees
! Estimated noise=492.169 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.00429993 Jy
! Component: 100  -  total flux cleaned = 0.00618986 Jy
! Total flux subtracted in 100 components = 0.00618986 Jy
! Clean residual min=-0.003873 max=0.006209 Jy/beam
! Clean residual mean=0.000717 rms=0.001248 Jy/beam
! Combined flux in latest and established models = 0.553516 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 135 components and 0.553516 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.118672Jy  sigma=0.001125
! Fit after  self-cal, rms=0.118640Jy  sigma=0.001125
! Inverting map 
! Added new window around map position (4, -2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00234321 Jy
! Component: 100  -  total flux cleaned = 0.00313131 Jy
! Total flux subtracted in 100 components = 0.00313131 Jy
! Clean residual min=-0.003280 max=0.004674 Jy/beam
! Clean residual mean=0.000691 rms=0.001110 Jy/beam
! Combined flux in latest and established models = 0.556648 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 151 components and 0.556648 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.118237Jy  sigma=0.001121
! Fit after  self-cal, rms=0.118186Jy  sigma=0.001121
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1725+044_S
! Writing UV FITS file: 1725+044_S.uvf
! Writing 151 model components to file: 1725+044_S.mod
! wwins: Wrote 3 windows to 1725+044_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.641 x 10.66 at -12.38 degrees (North through East)
! Clean map  min=-0.0032739  max=0.43245 Jy/beam
! Writing clean map to FITS file: 1725+044_S.fits
! Writing difmap environment to: 1725+044_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1725+044_S]
device 1725+044_Suv.ps/vps,1,2
! Attempting to open device: '1725+044_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1725+044_Sim.ps/vps
! Attempting to open device: '1725+044_Sim.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=2.641 mas, bmaj=10.66 mas, bpa=-12.38 degrees
! Estimated noise=492.169 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.641 x 10.66 at -12.38 degrees (North through East)
! Clean map  min=-0.0032739  max=0.43245 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4]
quit
! Quitting program
! Log file 1725+044_S.log closed on Tue Mar 27 19:49:47 2007