! Started logfile: 2255-282_S.log on Sun Apr  1 03:04:09 2007
observe 2255-282_S.edt
! Reading UV FITS file: 2255-282_S.edt
! AN table 1: 108 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.0869489 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 2255-282
! 
! 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 3944 visibilities.
![@gonzo7-0.4_south 2255-282_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 = 0.7
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 1279 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 1279 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 1279 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 1279 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.347667Jy  sigma=0.002723
! Fit after  self-cal, rms=0.346714Jy  sigma=0.002724
! 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=4.092 mas, bmaj=49.81 mas, bpa=-15.73 degrees
! Estimated noise=2934.23 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=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.673237 Jy
! Total flux subtracted in 50 components = 0.673237 Jy
! Clean residual min=-0.090561 max=0.210772 Jy/beam
! Clean residual mean=0.003153 rms=0.044897 Jy/beam
! Combined flux in latest and established models = 0.673237 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 9 components and 0.673237 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.402128Jy  sigma=0.003524
! Fit after  self-cal, rms=0.400680Jy  sigma=0.003516
! 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=4.64 mas, bmaj=49.46 mas, bpa=-15.05 degrees
! Estimated noise=1378.72 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.268693 Jy
! Component: 100  -  total flux cleaned = 0.391098 Jy
! Total flux subtracted in 100 components = 0.391098 Jy
! Clean residual min=-0.040830 max=0.056414 Jy/beam
! Clean residual mean=0.004935 rms=0.017373 Jy/beam
! Combined flux in latest and established models = 1.06433 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 46 components and 1.06433 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210888Jy  sigma=0.001685
! Fit after  self-cal, rms=0.206049Jy  sigma=0.001657
! 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 57 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.81     HN        1.01     KB        1.00*    
!   KP        0.76     LA        0.99     MK        1.00*    NL        1.07     
!   NY        1.00*    OV        1.06     PT        1.02     SV        1.00*    
!   WF        0.99     WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 57 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.82     HN        1.02     KB        1.00*    
!   KP        0.97     LA        0.99     MK        1.00*    NL        1.07     
!   NY        1.00*    OV        1.05     PT        1.03     SV        1.00*    
!   WF        0.99     WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 57 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.81     HN        0.96     KB        1.00*    
!   KP        0.87     LA        0.98     MK        1.00*    NL        1.04     
!   NY        1.00*    OV        1.02     PT        1.01     SV        1.00*    
!   WF        1.00     WZ        1.00*    TC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 57 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.82     HN        0.90     KB        1.00*    
!   KP        0.91     LA        0.99     MK        1.00*    NL        1.04     
!   NY        1.00*    OV        1.03     PT        1.02     SV        1.00*    
!   WF        0.99     WZ        1.00*    TC        1.00*    
! 
! 
! Fit before self-cal, rms=0.206049Jy  sigma=0.001657
! Fit after  self-cal, rms=0.145712Jy  sigma=0.001151
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.609 mas, bmaj=50.55 mas, bpa=-15.38 degrees
! Estimated noise=1310.3 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.0312738 Jy
! Component: 100  -  total flux cleaned = 0.0434407 Jy
! Total flux subtracted in 100 components = 0.0434407 Jy
! Clean residual min=-0.008101 max=0.008324 Jy/beam
! Clean residual mean=0.001895 rms=0.002526 Jy/beam
! Combined flux in latest and established models = 1.10778 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 70 components and 1.10778 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138389Jy  sigma=0.001097
! Fit after  self-cal, rms=0.138050Jy  sigma=0.001094
! 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.00847677 Jy
! Component: 100  -  total flux cleaned = 0.0149648 Jy
! Total flux subtracted in 100 components = 0.0149648 Jy
! Clean residual min=-0.005461 max=0.005489 Jy/beam
! Clean residual mean=0.001613 rms=0.001781 Jy/beam
! Combined flux in latest and established models = 1.12274 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 106 components and 1.12274 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.136637Jy  sigma=0.001086
! Fit after  self-cal, rms=0.133776Jy  sigma=0.001062
! Inverting map and beam 
! Estimated beam: bmin=4.603 mas, bmaj=50.46 mas, bpa=-15.38 degrees
! Estimated noise=1310.91 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)
! Added new window around map position (-3.2, -4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00713117 Jy
! Component: 100  -  total flux cleaned = 0.00862512 Jy
! Total flux subtracted in 100 components = 0.00862512 Jy
! Clean residual min=-0.004047 max=0.005080 Jy/beam
! Clean residual mean=0.001051 rms=0.001305 Jy/beam
! Combined flux in latest and established models = 1.13137 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 118 components and 1.13137 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.133267Jy  sigma=0.001059
! Fit after  self-cal, rms=0.133217Jy  sigma=0.001058
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2255-282_S
! Writing UV FITS file: 2255-282_S.uvf
! Writing 118 model components to file: 2255-282_S.mod
! wwins: Wrote 1 windows to 2255-282_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.603 x 50.46 at -15.38 degrees (North through East)
! Clean map  min=-0.0038196  max=0.85423 Jy/beam
! Writing clean map to FITS file: 2255-282_S.fits
! Writing difmap environment to: 2255-282_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 2255-282_S]
device 2255-282_Suv.ps/vps,1,2
! Attempting to open device: '2255-282_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 2255-282_Sim.ps/vps
! Attempting to open device: '2255-282_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=4.603 mas, bmaj=50.46 mas, bpa=-15.38 degrees
! Estimated noise=1310.91 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.603 x 50.46 at -15.38 degrees (North through East)
! Clean map  min=-0.0038196  max=0.85423 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4_south]
quit
! Quitting program
! Log file 2255-282_S.log closed on Sun Apr  1 03:04:28 2007