! Started logfile: 0920-397_S.log on Thu Jul 26 22:18:08 2007
observe 0920-397_S.edt
! Reading UV FITS file: 0920-397_S.edt
! AN table 1: 8 integrations on 171 of 171 possible baselines.
! AN table 2: 52 integrations on 171 of 171 possible baselines.
! AN table 3: 34 integrations on 171 of 171 possible baselines.
! AN table 4: 22 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0834342 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0920-397
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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 1332 lines of history.
! 
! Reading 6620 visibilities.
![@gonzo5-0.4 0920-397_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 = 5.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 152 telescope corrections were flagged in sub-array 1.
!  A total of 811 telescope corrections were flagged in sub-array 2.
!  A total of 437 telescope corrections were flagged in sub-array 3.
!  A total of 418 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 152 telescope corrections were flagged in sub-array 1.
!  A total of 816 telescope corrections were flagged in sub-array 2.
!  A total of 425 telescope corrections were flagged in sub-array 3.
!  A total of 418 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 152 telescope corrections were flagged in sub-array 1.
!  A total of 820 telescope corrections were flagged in sub-array 2.
!  A total of 436 telescope corrections were flagged in sub-array 3.
!  A total of 418 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 152 telescope corrections were flagged in sub-array 1.
!  A total of 858 telescope corrections were flagged in sub-array 2.
!  A total of 454 telescope corrections were flagged in sub-array 3.
!  A total of 418 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.284701Jy  sigma=0.003113
! Fit after  self-cal, rms=0.283114Jy  sigma=0.003126
! 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.461 mas, bmaj=4.761 mas, bpa=-1.563 degrees
! Estimated noise=3525.81 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.693823 Jy
! Total flux subtracted in 50 components = 0.693823 Jy
! Clean residual min=-0.073906 max=0.203943 Jy/beam
! Clean residual mean=0.000511 rms=0.026574 Jy/beam
! Combined flux in latest and established models = 0.693823 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 3 components and 0.693823 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.419932Jy  sigma=0.004936
! Fit after  self-cal, rms=0.419925Jy  sigma=0.004936
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.205816 Jy
! Total flux subtracted in 50 components = 0.205816 Jy
! Clean residual min=-0.052304 max=0.102659 Jy/beam
! Clean residual mean=0.000345 rms=0.017100 Jy/beam
! Combined flux in latest and established models = 0.899639 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 19 components and 0.899639 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.284016Jy  sigma=0.003328
! Fit after  self-cal, rms=0.284016Jy  sigma=0.003328
! Inverting map 
! Added new window around map position (0.4, 6.4).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.116135 Jy
! Total flux subtracted in 50 components = 0.116135 Jy
! Clean residual min=-0.040780 max=0.062962 Jy/beam
! Clean residual mean=0.000249 rms=0.013017 Jy/beam
! Combined flux in latest and established models = 1.01577 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 33 components and 1.01577 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221482Jy  sigma=0.002567
! Fit after  self-cal, rms=0.221422Jy  sigma=0.002567
! 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.099 mas, bmaj=9.039 mas, bpa=-2.743 degrees
! Estimated noise=1125.86 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.11708 Jy
! Component: 100  -  total flux cleaned = 0.168743 Jy
! Total flux subtracted in 100 components = 0.168743 Jy
! Clean residual min=-0.031191 max=0.048483 Jy/beam
! Clean residual mean=0.000631 rms=0.011066 Jy/beam
! Combined flux in latest and established models = 1.18452 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 56 components and 1.18452 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169145Jy  sigma=0.001861
! Fit after  self-cal, rms=0.169117Jy  sigma=0.001861
! 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.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.12     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.86     LA        0.98     MA        1.00*    
!   MK        1.00     NL        1.00*    NY        1.00*    ON        1.00*    
!   OV        0.99     PT        0.99     SC        1.00*    TC        1.05     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.07     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.89     LA        0.99     MA        1.00*    
!   MK        1.07     NL        1.21     NY        1.00*    ON        1.00*    
!   OV        0.96     PT        1.02     SC        0.98     TC        1.05     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.06     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.95     LA        0.92     MA        1.00*    
!   MK        1.04     NL        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.06     PT        1.01     SC        1.00*    TC        0.92     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        1.00     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.97     LA        0.95     MA        1.00*    
!   MK        1.11     NL        1.29     NY        1.00*    ON        1.00*    
!   OV        1.06     PT        1.00     SC        1.02     TC        0.96     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.99     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.93     LA        0.80     MA        1.00*    
!   MK        0.97     NL        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.03     PT        1.04     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.93     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.95     LA        0.81     MA        1.00*    
!   MK        1.02     NL        1.33     NY        1.00*    ON        1.00*    
!   OV        1.00     PT        1.01     SC        1.09     TC        0.99     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.90     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.93     LA        1.00*    MA        1.00*    
!   MK        0.94     NL        1.00*    NY        1.00*    ON        1.00*    
!   OV        0.91     PT        1.01     SC        1.00*    TC        1.14     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.87     GC        1.00*    GG        1.00*    
!   HN        1.00*    KP        0.94     LA        0.72     MA        1.00*    
!   MK        0.95     NL        1.22     NY        1.00*    ON        1.00*    
!   OV        1.03     PT        0.99     SC        1.07     TC        1.16     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HN        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MK        0.00*    NL        0.00*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=0.169117Jy  sigma=0.001861
! Fit after  self-cal, rms=0.105507Jy  sigma=0.001149
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.13 mas, bmaj=9.137 mas, bpa=-2.81 degrees
! Estimated noise=1113.17 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 (-17.6, -72.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0118749 Jy
! Component: 100  -  total flux cleaned = 0.0143796 Jy
! Total flux subtracted in 100 components = 0.0143796 Jy
! Clean residual min=-0.007454 max=0.008480 Jy/beam
! Clean residual mean=0.000151 rms=0.002117 Jy/beam
! Combined flux in latest and established models = 1.1989 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 68 components and 1.1989 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104372Jy  sigma=0.001135
! Fit after  self-cal, rms=0.104380Jy  sigma=0.001134
! Inverting map 
! Added new window around map position (-7.2, -44).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00650969 Jy
! Component: 100  -  total flux cleaned = 0.00698518 Jy
! Total flux subtracted in 100 components = 0.00698518 Jy
! Clean residual min=-0.007099 max=0.006541 Jy/beam
! Clean residual mean=0.000145 rms=0.001957 Jy/beam
! Combined flux in latest and established models = 1.20588 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 83 components and 1.20588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103840Jy  sigma=0.001129
! Fit after  self-cal, rms=0.103795Jy  sigma=0.001128
! 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.00133378 Jy
! Component: 100  -  total flux cleaned = 0.00107527 Jy
! Total flux subtracted in 100 components = 0.00107527 Jy
! Clean residual min=-0.007005 max=0.006449 Jy/beam
! Clean residual mean=0.000143 rms=0.001914 Jy/beam
! Combined flux in latest and established models = 1.20696 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 88 components and 1.20696 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103572Jy  sigma=0.001127
! Fit after  self-cal, rms=0.093460Jy  sigma=0.001006
! Inverting map and beam 
! Estimated beam: bmin=3.129 mas, bmaj=9.138 mas, bpa=-2.773 degrees
! Estimated noise=1111.32 mJy/beam.
! Added new window around map position (-15.2, 10.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0058205 Jy
! Component: 100  -  total flux cleaned = 0.00687544 Jy
! Total flux subtracted in 100 components = 0.00687544 Jy
! Clean residual min=-0.005352 max=0.005644 Jy/beam
! Clean residual mean=0.000204 rms=0.001572 Jy/beam
! Combined flux in latest and established models = 1.21383 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 99 components and 1.21383 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.092996Jy  sigma=0.001002
! Fit after  self-cal, rms=0.091679Jy  sigma=0.000988
! Inverting map and beam 
! Estimated beam: bmin=3.129 mas, bmaj=9.139 mas, bpa=-2.783 degrees
! Estimated noise=1110.67 mJy/beam.
! Added new window around map position (-44, -71.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00517456 Jy
! Component: 100  -  total flux cleaned = 0.00695666 Jy
! Total flux subtracted in 100 components = 0.00695666 Jy
! Clean residual min=-0.004972 max=0.005208 Jy/beam
! Clean residual mean=0.000161 rms=0.001345 Jy/beam
! Combined flux in latest and established models = 1.22079 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 115 components and 1.22079 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.091344Jy  sigma=0.000985
! Fit after  self-cal, rms=0.090871Jy  sigma=0.000981
! Inverting map and beam 
! Estimated beam: bmin=3.128 mas, bmaj=9.136 mas, bpa=-2.777 degrees
! Estimated noise=1110.45 mJy/beam.
! Added new window around map position (-59.6, -51.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0051419 Jy
! Component: 100  -  total flux cleaned = 0.00875078 Jy
! Total flux subtracted in 100 components = 0.00875078 Jy
! Clean residual min=-0.004603 max=0.004027 Jy/beam
! Clean residual mean=0.000086 rms=0.001136 Jy/beam
! Combined flux in latest and established models = 1.22954 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 126 components and 1.22954 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090535Jy  sigma=0.000977
! Fit after  self-cal, rms=0.090399Jy  sigma=0.000976
! Inverting map and beam 
! Estimated beam: bmin=3.129 mas, bmaj=9.137 mas, bpa=-2.771 degrees
! Estimated noise=1110.42 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.00321214 Jy
! Component: 100  -  total flux cleaned = 0.00524345 Jy
! Total flux subtracted in 100 components = 0.00524345 Jy
! Clean residual min=-0.004304 max=0.003883 Jy/beam
! Clean residual mean=0.000059 rms=0.001064 Jy/beam
! Combined flux in latest and established models = 1.23478 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 137 components and 1.23478 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090244Jy  sigma=0.000975
! Fit after  self-cal, rms=0.090230Jy  sigma=0.000974
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0920-397_S
! Writing UV FITS file: 0920-397_S.uvf
! Writing 137 model components to file: 0920-397_S.mod
! wwins: Wrote 7 windows to 0920-397_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.129 x 9.137 at -2.771 degrees (North through East)
! Clean map  min=-0.0043063  max=0.95291 Jy/beam
! Writing clean map to FITS file: 0920-397_S.fits
! Writing difmap environment to: 0920-397_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0920-397_S]
device 0920-397_Suv.ps/vps,1,2
! Attempting to open device: '0920-397_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0920-397_Sim.ps/vps
! Attempting to open device: '0920-397_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.129 mas, bmaj=9.137 mas, bpa=-2.771 degrees
! Estimated noise=1110.42 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.129 x 9.137 at -2.771 degrees (North through East)
! Clean map  min=-0.0043063  max=0.95291 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo5-0.4]
quit
! Quitting program
! Log file 0920-397_S.log closed on Thu Jul 26 22:18:28 2007