! Started logfile: 2243-123_S.log on Fri Apr 18 07:30:08 2008
observe 2243-123_S.edt
! Reading UV FITS file: 2243-123_S.edt
! AN table 1: 12 integrations on 136 of 136 possible baselines.
! AN table 2: 24 integrations on 136 of 136 possible baselines.
! AN table 3: 23 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.102567 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 2243-123
! 
! 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 1141 lines of history.
! 
! Reading 3292 visibilities.
![@gonzo7-0.4 2243-123_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 115 telescope corrections were flagged in sub-array 1.
!  A total of 292 telescope corrections were flagged in sub-array 2.
!  A total of 379 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 115 telescope corrections were flagged in sub-array 1.
!  A total of 292 telescope corrections were flagged in sub-array 2.
!  A total of 379 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 115 telescope corrections were flagged in sub-array 1.
!  A total of 292 telescope corrections were flagged in sub-array 2.
!  A total of 379 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 122 telescope corrections were flagged in sub-array 1.
!  A total of 334 telescope corrections were flagged in sub-array 2.
!  A total of 388 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=1.320469Jy  sigma=0.013312
! Fit after  self-cal, rms=1.319849Jy  sigma=0.013331
! 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=2.695 mas, bmaj=7.782 mas, bpa=-0.2894 degrees
! Estimated noise=1935.25 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 = 1.65639 Jy
! Total flux subtracted in 50 components = 1.65639 Jy
! Clean residual min=-0.109915 max=0.461957 Jy/beam
! Clean residual mean=0.001683 rms=0.037395 Jy/beam
! Combined flux in latest and established models = 1.65639 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 1.65639 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.754233Jy  sigma=0.007441
! Fit after  self-cal, rms=0.754235Jy  sigma=0.007441
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.405791 Jy
! Total flux subtracted in 50 components = 0.405791 Jy
! Clean residual min=-0.086683 max=0.159676 Jy/beam
! Clean residual mean=0.000888 rms=0.025115 Jy/beam
! Combined flux in latest and established models = 2.06218 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 2.06218 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.515864Jy  sigma=0.005019
! Fit after  self-cal, rms=0.515668Jy  sigma=0.005010
! 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=3.323 mas, bmaj=8.857 mas, bpa=-1.705 degrees
! Estimated noise=1357.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.207043 Jy
! Component: 100  -  total flux cleaned = 0.299746 Jy
! Total flux subtracted in 100 components = 0.299746 Jy
! Clean residual min=-0.091197 max=0.123616 Jy/beam
! Clean residual mean=0.002650 rms=0.023456 Jy/beam
! Combined flux in latest and established models = 2.36193 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 38 components and 2.36193 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.433625Jy  sigma=0.004336
! Fit after  self-cal, rms=0.432614Jy  sigma=0.004322
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.92     FD        0.93     HN        0.99     KB        1.00*    
!   KK        1.02     KP        0.69     LA        0.96     MK        0.78     
!   NL        1.04     NY        1.00*    OV        1.30     PT        0.92     
!   SC        1.08     TS        1.00*    WF        1.09     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        0.97     HN        1.04     KB        1.00*    
!   KK        1.00*    KP        1.16     LA        0.93     MK        1.00*    
!   NL        1.03     NY        1.00*    OV        1.06     PT        0.97     
!   SC        0.99     TS        1.00*    WF        1.01     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        0.91     HN        0.97     KB        1.00*    
!   KK        1.05     KP        0.82     LA        0.91     MK        0.64     
!   NL        0.99     NY        1.00*    OV        1.34     PT        0.88     
!   SC        0.96     TS        1.00*    WF        1.08     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.98     HN        1.02     KB        1.00*    
!   KK        1.00*    KP        0.93     LA        0.94     MK        1.00*    
!   NL        1.03     NY        1.00*    OV        1.09     PT        0.97     
!   SC        1.05     TS        1.00*    WF        1.02     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.93     HN        0.97     KB        1.00*    
!   KK        1.01     KP        0.75     LA        0.96     MK        1.10     
!   NL        1.00     NY        1.00*    OV        1.36     PT        0.91     
!   SC        0.99     TS        1.00*    WF        1.26     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        0.95     HN        1.03     KB        1.00*    
!   KK        1.00*    KP        0.92     LA        0.95     MK        1.00*    
!   NL        1.01     NY        1.00*    OV        1.10     PT        0.97     
!   SC        1.05     TS        1.00*    WF        0.99     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00*    HN        0.95     KB        1.00*    
!   KK        1.02     KP        0.78     LA        0.95     MK        1.14     
!   NL        1.04     NY        1.00*    OV        1.35     PT        0.91     
!   SC        1.03     TS        1.00*    WF        1.27     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        1.00*    HN        1.03     KB        1.00*    
!   KK        1.00*    KP        0.93     LA        0.95     MK        1.00*    
!   NL        0.98     NY        1.00*    OV        1.07     PT        0.97     
!   SC        1.05     TS        1.00*    WF        1.06     WZ        1.00*    
!   ZC        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    HN        0.00*    KB        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
!   ZC        0.00*    
! 
! 
! Fit before self-cal, rms=0.432614Jy  sigma=0.004322
! Fit after  self-cal, rms=0.222385Jy  sigma=0.001755
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.394 mas, bmaj=8.834 mas, bpa=-3.007 degrees
! Estimated noise=1370.28 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 (4.8, 8.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0536958 Jy
! Component: 100  -  total flux cleaned = 0.0738546 Jy
! Total flux subtracted in 100 components = 0.0738546 Jy
! Clean residual min=-0.019115 max=0.024046 Jy/beam
! Clean residual mean=0.001726 rms=0.005389 Jy/beam
! Combined flux in latest and established models = 2.43578 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 51 components and 2.43578 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207140Jy  sigma=0.001621
! Fit after  self-cal, rms=0.205639Jy  sigma=0.001611
! 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.00906509 Jy
! Component: 100  -  total flux cleaned = 0.0127074 Jy
! Total flux subtracted in 100 components = 0.0127074 Jy
! Clean residual min=-0.023845 max=0.020394 Jy/beam
! Clean residual mean=0.001625 rms=0.005197 Jy/beam
! Combined flux in latest and established models = 2.44849 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 58 components and 2.44849 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.201891Jy  sigma=0.001584
! Fit after  self-cal, rms=0.182726Jy  sigma=0.001385
! Inverting map and beam 
! Estimated beam: bmin=3.367 mas, bmaj=8.804 mas, bpa=-3.114 degrees
! Estimated noise=1373.23 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0288952 Jy
! Component: 100  -  total flux cleaned = 0.0431315 Jy
! Total flux subtracted in 100 components = 0.0431315 Jy
! Clean residual min=-0.013438 max=0.014723 Jy/beam
! Clean residual mean=0.001210 rms=0.003323 Jy/beam
! Combined flux in latest and established models = 2.49162 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 65 components and 2.49162 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.176860Jy  sigma=0.001340
! Fit after  self-cal, rms=0.173580Jy  sigma=0.001311
! Inverting map and beam 
! Estimated beam: bmin=3.354 mas, bmaj=8.781 mas, bpa=-3.152 degrees
! Estimated noise=1375.99 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0209241 Jy
! Component: 100  -  total flux cleaned = 0.0292083 Jy
! Total flux subtracted in 100 components = 0.0292083 Jy
! Clean residual min=-0.012710 max=0.014286 Jy/beam
! Clean residual mean=0.001011 rms=0.002929 Jy/beam
! Combined flux in latest and established models = 2.52083 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 78 components and 2.52083 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170171Jy  sigma=0.001286
! Fit after  self-cal, rms=0.168716Jy  sigma=0.001273
! Inverting map and beam 
! Estimated beam: bmin=3.344 mas, bmaj=8.764 mas, bpa=-3.19 degrees
! Estimated noise=1377.98 mJy/beam.
! Added new window around map position (12.8, 7.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0180931 Jy
! Component: 100  -  total flux cleaned = 0.0241821 Jy
! Total flux subtracted in 100 components = 0.0241821 Jy
! Clean residual min=-0.011815 max=0.011399 Jy/beam
! Clean residual mean=0.000831 rms=0.002603 Jy/beam
! Combined flux in latest and established models = 2.54501 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 90 components and 2.54501 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.166161Jy  sigma=0.001252
! Fit after  self-cal, rms=0.165422Jy  sigma=0.001245
! Inverting map and beam 
! Estimated beam: bmin=3.337 mas, bmaj=8.753 mas, bpa=-3.225 degrees
! Estimated noise=1379.56 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0122344 Jy
! Component: 100  -  total flux cleaned = 0.015991 Jy
! Total flux subtracted in 100 components = 0.015991 Jy
! Clean residual min=-0.011332 max=0.010662 Jy/beam
! Clean residual mean=0.000711 rms=0.002415 Jy/beam
! Combined flux in latest and established models = 2.561 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 95 components and 2.561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163694Jy  sigma=0.001231
! Fit after  self-cal, rms=0.163226Jy  sigma=0.001227
! Inverting map and beam 
! Estimated beam: bmin=3.33 mas, bmaj=8.745 mas, bpa=-3.261 degrees
! Estimated noise=1381.24 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.00960027 Jy
! Component: 100  -  total flux cleaned = 0.0117802 Jy
! Total flux subtracted in 100 components = 0.0117802 Jy
! Clean residual min=-0.010617 max=0.010002 Jy/beam
! Clean residual mean=0.000631 rms=0.002261 Jy/beam
! Combined flux in latest and established models = 2.57278 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 100 components and 2.57278 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.161928Jy  sigma=0.001217
! Fit after  self-cal, rms=0.161715Jy  sigma=0.001215
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2243-123_S
! Writing UV FITS file: 2243-123_S.uvf
! Writing 100 model components to file: 2243-123_S.mod
! wwins: Wrote 3 windows to 2243-123_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.33 x 8.745 at -3.261 degrees (North through East)
! Clean map  min=-0.0099362  max=2.1405 Jy/beam
! Writing clean map to FITS file: 2243-123_S.fits
! Writing difmap environment to: 2243-123_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 2243-123_S]
device 2243-123_Suv.ps/vps,1,2
! Attempting to open device: '2243-123_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 2243-123_Sim.ps/vps
! Attempting to open device: '2243-123_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=3.33 mas, bmaj=8.745 mas, bpa=-3.261 degrees
! Estimated noise=1381.24 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.33 x 8.745 at -3.261 degrees (North through East)
! Clean map  min=-0.0099362  max=2.1405 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.4]
quit
! Quitting program
! Log file 2243-123_S.log closed on Fri Apr 18 07:30:30 2008