! Started logfile: 0642+449_X.log on Thu Aug 14 12:09:17 2008
observe 0642+449_X.edt
! Reading UV FITS file: 0642+449_X.edt
! AN table 1: 37 integrations on 105 of 105 possible baselines.
! AN table 2: 5 integrations on 105 of 105 possible baselines.
! AN table 3: 7 integrations on 105 of 105 possible baselines.
! Apparent sampling: 0.31895 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0642+449
! 
! 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 898 lines of history.
! 
! Reading 6564 visibilities.
![@gonzo7-0.1 0642+449_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 258 telescope corrections were flagged in sub-array 1.
!  A total of 34 telescope corrections were flagged in sub-array 2.
!  A total of 55 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 258 telescope corrections were flagged in sub-array 1.
!  A total of 34 telescope corrections were flagged in sub-array 2.
!  A total of 55 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 258 telescope corrections were flagged in sub-array 1.
!  A total of 34 telescope corrections were flagged in sub-array 2.
!  A total of 55 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 258 telescope corrections were flagged in sub-array 1.
!  A total of 34 telescope corrections were flagged in sub-array 2.
!  A total of 55 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=2.112899Jy  sigma=0.029001
! Fit after  self-cal, rms=2.112895Jy  sigma=0.029001
! 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.5144 mas, bmaj=0.7642 mas, bpa=-8.12 degrees
! Estimated noise=1099.88 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 = 2.01141 Jy
! Total flux subtracted in 50 components = 2.01141 Jy
! Clean residual min=-0.129125 max=0.638641 Jy/beam
! Clean residual mean=-0.000786 rms=0.038916 Jy/beam
! Combined flux in latest and established models = 2.01141 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 2.01141 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.266248Jy  sigma=0.016875
! Fit after  self-cal, rms=1.266206Jy  sigma=0.016875
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.672226 Jy
! Total flux subtracted in 50 components = 0.672226 Jy
! Clean residual min=-0.107154 max=0.296101 Jy/beam
! Clean residual mean=-0.000416 rms=0.026611 Jy/beam
! Combined flux in latest and established models = 2.68364 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 3 model components to the UV plane model.
! The established model now contains 7 components and 2.68364 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.846643Jy  sigma=0.010242
! Fit after  self-cal, rms=0.846241Jy  sigma=0.010238
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.319749 Jy
! Total flux subtracted in 50 components = 0.319749 Jy
! Clean residual min=-0.100907 max=0.154549 Jy/beam
! Clean residual mean=-0.000240 rms=0.022819 Jy/beam
! Combined flux in latest and established models = 3.00339 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 3.00339 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.713232Jy  sigma=0.007949
! Fit after  self-cal, rms=0.713046Jy  sigma=0.007948
! 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.7145 mas, bmaj=0.9406 mas, bpa=-9.226 degrees
! Estimated noise=683.469 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.240238 Jy
! Component: 100  -  total flux cleaned = 0.336563 Jy
! Total flux subtracted in 100 components = 0.336563 Jy
! Clean residual min=-0.087720 max=0.083018 Jy/beam
! Clean residual mean=0.000159 rms=0.016680 Jy/beam
! Combined flux in latest and established models = 3.33995 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 28 components and 3.33995 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.638570Jy  sigma=0.006795
! Fit after  self-cal, rms=0.638476Jy  sigma=0.006795
! 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        1.05     FD        0.99     HN        1.00     KB        0.81     
!   KK        0.69     KP        0.99     LA        1.00*    MK        0.90     
!   NL        0.95     NY        1.99     OV        1.00     PT        1.01     
!   SC        0.77     WZ        1.01     ZC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.81     HN        0.98     KB        1.00*    
!   KK        1.00*    KP        0.82     LA        1.00*    MK        1.00*    
!   NL        0.97     NY        2.01     OV        0.86     PT        1.04     
!   SC        0.96     WZ        0.97     ZC        1.34     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        0.95     HN        1.07     KB        1.00*    
!   KK        1.00*    KP        0.93     LA        1.00*    MK        1.00     
!   NL        0.96     NY        2.10     OV        0.97     PT        0.96     
!   SC        0.99     WZ        1.00*    ZC        1.55     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.98     HN        0.99     KB        0.76     
!   KK        0.71     KP        1.02     LA        1.00*    MK        0.86     
!   NL        0.94     NY        2.03     OV        1.02     PT        1.04     
!   SC        0.75     WZ        1.03     ZC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        0.87     HN        0.93     KB        1.00*    
!   KK        1.00*    KP        0.79     LA        1.00*    MK        1.00*    
!   NL        0.96     NY        2.03     OV        0.86     PT        1.03     
!   SC        0.97     WZ        0.88     ZC        1.26     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        0.95     HN        1.07     KB        1.00*    
!   KK        1.00*    KP        0.89     LA        1.00*    MK        1.00     
!   NL        0.95     NY        2.10     OV        0.95     PT        1.02     
!   SC        1.00     WZ        1.00*    ZC        1.41     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.92     HN        0.98     KB        0.82     
!   KK        0.75     KP        1.00     LA        1.00*    MK        0.83     
!   NL        0.95     NY        1.94     OV        1.04     PT        1.08     
!   SC        0.76     WZ        1.11     ZC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        0.96     HN        0.94     KB        1.00*    
!   KK        1.00*    KP        0.85     LA        1.00*    MK        1.00*    
!   NL        0.97     NY        1.93     OV        0.94     PT        1.05     
!   SC        0.90     WZ        0.81     ZC        1.31     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.96     HN        1.07     KB        1.00*    
!   KK        1.00*    KP        0.81     LA        1.00*    MK        1.03     
!   NL        0.97     NY        2.07     OV        0.98     PT        1.02     
!   SC        1.04     WZ        1.00*    ZC        1.58     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.03     HN        0.99     KB        0.75     
!   KK        0.77     KP        0.99     LA        1.00*    MK        0.85     
!   NL        0.97     NY        2.22     OV        1.06     PT        1.06     
!   SC        0.75     WZ        1.07     ZC        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        0.97     HN        0.92     KB        1.00*    
!   KK        1.00*    KP        0.92     LA        1.00*    MK        1.00*    
!   NL        0.90     NY        2.13     OV        0.95     PT        1.05     
!   SC        0.79     WZ        0.85     ZC        1.41     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.97     HN        1.11     KB        1.00*    
!   KK        1.00*    KP        0.85     LA        1.00*    MK        1.05     
!   NL        0.99     NY        2.32     OV        0.97     PT        1.02     
!   SC        1.04     WZ        1.00*    ZC        1.88     
! 
! 
! Fit before self-cal, rms=0.638476Jy  sigma=0.006795
! Fit after  self-cal, rms=0.159889Jy  sigma=0.001634
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7159 mas, bmaj=0.9526 mas, bpa=-6.756 degrees
! Estimated noise=677.42 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.6, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0109741 Jy
! Component: 100  -  total flux cleaned = 0.00862008 Jy
! Total flux subtracted in 100 components = 0.00862008 Jy
! Clean residual min=-0.016587 max=0.013458 Jy/beam
! Clean residual mean=0.000034 rms=0.003179 Jy/beam
! Combined flux in latest and established models = 3.34857 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 33 components and 3.34857 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.155877Jy  sigma=0.001586
! Fit after  self-cal, rms=0.155482Jy  sigma=0.001581
! 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.000537143 Jy
! Component: 100  -  total flux cleaned = -0.000353833 Jy
! Total flux subtracted in 100 components = -0.000353833 Jy
! Clean residual min=-0.015462 max=0.013389 Jy/beam
! Clean residual mean=0.000035 rms=0.003121 Jy/beam
! Combined flux in latest and established models = 3.34821 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 38 components and 3.34821 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.153711Jy  sigma=0.001559
! Fit after  self-cal, rms=0.133727Jy  sigma=0.001255
! Inverting map and beam 
! Estimated beam: bmin=0.7147 mas, bmaj=0.9543 mas, bpa=-7.798 degrees
! Estimated noise=678.019 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0112564 Jy
! Component: 100  -  total flux cleaned = 0.011935 Jy
! Total flux subtracted in 100 components = 0.011935 Jy
! Clean residual min=-0.005317 max=0.007132 Jy/beam
! Clean residual mean=0.000019 rms=0.001513 Jy/beam
! Combined flux in latest and established models = 3.36015 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 44 components and 3.36015 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.132043Jy  sigma=0.001231
! Fit after  self-cal, rms=0.130667Jy  sigma=0.001219
! Inverting map and beam 
! Estimated beam: bmin=0.7135 mas, bmaj=0.9535 mas, bpa=-7.826 degrees
! Estimated noise=678.32 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00895737 Jy
! Component: 100  -  total flux cleaned = 0.0101291 Jy
! Total flux subtracted in 100 components = 0.0101291 Jy
! Clean residual min=-0.004866 max=0.005991 Jy/beam
! Clean residual mean=0.000017 rms=0.001368 Jy/beam
! Combined flux in latest and established models = 3.37028 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 48 components and 3.37028 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.129525Jy  sigma=0.001202
! Fit after  self-cal, rms=0.128667Jy  sigma=0.001196
! Inverting map and beam 
! Estimated beam: bmin=0.7125 mas, bmaj=0.9529 mas, bpa=-7.849 degrees
! Estimated noise=678.59 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00794891 Jy
! Component: 100  -  total flux cleaned = 0.00899072 Jy
! Total flux subtracted in 100 components = 0.00899072 Jy
! Clean residual min=-0.004546 max=0.005272 Jy/beam
! Clean residual mean=0.000016 rms=0.001268 Jy/beam
! Combined flux in latest and established models = 3.37927 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 53 components and 3.37927 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.127804Jy  sigma=0.001184
! Fit after  self-cal, rms=0.127197Jy  sigma=0.001179
! Inverting map and beam 
! Estimated beam: bmin=0.7116 mas, bmaj=0.9524 mas, bpa=-7.873 degrees
! Estimated noise=678.816 mJy/beam.
! Added new window around map position (-0.5, -0.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00740921 Jy
! Component: 100  -  total flux cleaned = 0.00860622 Jy
! Total flux subtracted in 100 components = 0.00860622 Jy
! Clean residual min=-0.004316 max=0.004953 Jy/beam
! Clean residual mean=0.000016 rms=0.001192 Jy/beam
! Combined flux in latest and established models = 3.38788 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 55 components and 3.38788 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.126415Jy  sigma=0.001169
! Fit after  self-cal, rms=0.125906Jy  sigma=0.001166
! Inverting map and beam 
! Estimated beam: bmin=0.7108 mas, bmaj=0.9519 mas, bpa=-7.898 degrees
! Estimated noise=679.029 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0067524 Jy
! Component: 100  -  total flux cleaned = 0.00741145 Jy
! Total flux subtracted in 100 components = 0.00741145 Jy
! Clean residual min=-0.004072 max=0.004596 Jy/beam
! Clean residual mean=0.000015 rms=0.001119 Jy/beam
! Combined flux in latest and established models = 3.39529 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 59 components and 3.39529 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.125279Jy  sigma=0.001158
! Fit after  self-cal, rms=0.124894Jy  sigma=0.001155
! Inverting map and beam 
! Estimated beam: bmin=0.7102 mas, bmaj=0.9515 mas, bpa=-7.922 degrees
! Estimated noise=679.237 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00602939 Jy
! Component: 100  -  total flux cleaned = 0.00681085 Jy
! Total flux subtracted in 100 components = 0.00681085 Jy
! Clean residual min=-0.003862 max=0.004310 Jy/beam
! Clean residual mean=0.000014 rms=0.001059 Jy/beam
! Combined flux in latest and established models = 3.4021 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 60 components and 3.4021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.124386Jy  sigma=0.001149
! Fit after  self-cal, rms=0.124082Jy  sigma=0.001147
! Inverting map and beam 
! Estimated beam: bmin=0.7096 mas, bmaj=0.9512 mas, bpa=-7.941 degrees
! Estimated noise=679.435 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00540218 Jy
! Component: 100  -  total flux cleaned = 0.00593999 Jy
! Total flux subtracted in 100 components = 0.00593999 Jy
! Clean residual min=-0.003792 max=0.004063 Jy/beam
! Clean residual mean=0.000013 rms=0.001007 Jy/beam
! Combined flux in latest and established models = 3.40804 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 63 components and 3.40804 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123666Jy  sigma=0.001142
! Fit after  self-cal, rms=0.123425Jy  sigma=0.001140
! Inverting map and beam 
! Estimated beam: bmin=0.7091 mas, bmaj=0.9509 mas, bpa=-7.956 degrees
! Estimated noise=679.62 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.004858 Jy
! Component: 100  -  total flux cleaned = 0.00519046 Jy
! Total flux subtracted in 100 components = 0.00519046 Jy
! Clean residual min=-0.003727 max=0.003882 Jy/beam
! Clean residual mean=0.000012 rms=0.000964 Jy/beam
! Combined flux in latest and established models = 3.41323 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 65 components and 3.41323 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123078Jy  sigma=0.001136
! Fit after  self-cal, rms=0.122884Jy  sigma=0.001135
! Inverting map and beam 
! Estimated beam: bmin=0.7086 mas, bmaj=0.9506 mas, bpa=-7.969 degrees
! Estimated noise=679.794 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.00439695 Jy
! Component: 100  -  total flux cleaned = 0.00469995 Jy
! Total flux subtracted in 100 components = 0.00469995 Jy
! Clean residual min=-0.003653 max=0.003793 Jy/beam
! Clean residual mean=0.000012 rms=0.000928 Jy/beam
! Combined flux in latest and established models = 3.41793 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 68 components and 3.41793 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.122586Jy  sigma=0.001131
! Fit after  self-cal, rms=0.122566Jy  sigma=0.001131
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0642+449_X
! Writing UV FITS file: 0642+449_X.uvf
! Writing 68 model components to file: 0642+449_X.mod
! wwins: Wrote 3 windows to 0642+449_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7086 x 0.9506 at -7.969 degrees (North through East)
! Clean map  min=-0.0034419  max=2.8465 Jy/beam
! Writing clean map to FITS file: 0642+449_X.fits
! Writing difmap environment to: 0642+449_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0642+449_X]
device 0642+449_Xuv.ps/vps,1,2
! Attempting to open device: '0642+449_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0642+449_Xim.ps/vps
! Attempting to open device: '0642+449_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.7086 mas, bmaj=0.9506 mas, bpa=-7.969 degrees
! Estimated noise=679.794 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7086 x 0.9506 at -7.969 degrees (North through East)
! Clean map  min=-0.0034419  max=2.8465 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo7-0.1]
quit
! Quitting program
! Log file 0642+449_X.log closed on Thu Aug 14 12:09:58 2008