! Started logfile: 0917+624_S.log on Mon Jul 16 21:24:14 2007
observe 0917+624_S.edt
! Reading UV FITS file: 0917+624_S.edt
! AN table 1: 41 integrations on 171 of 171 possible baselines.
! AN table 2: 26 integrations on 171 of 171 possible baselines.
! AN table 3: 64 integrations on 171 of 171 possible baselines.
! AN table 4: 28 integrations on 171 of 171 possible baselines.
! AN table 5: 41 integrations on 171 of 171 possible baselines.
! AN table 6: 20 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.164141 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 0917+624
! 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.
! 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 24700 visibilities.
![@gonzo6-0.4 0917+624_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 = 6.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 613 telescope corrections were flagged in sub-array 1.
!  A total of 381 telescope corrections were flagged in sub-array 2.
!  A total of 1029 telescope corrections were flagged in sub-array 3.
!  A total of 365 telescope corrections were flagged in sub-array 4.
!  A total of 648 telescope corrections were flagged in sub-array 5.
!  A total of 267 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 607 telescope corrections were flagged in sub-array 1.
!  A total of 375 telescope corrections were flagged in sub-array 2.
!  A total of 1012 telescope corrections were flagged in sub-array 3.
!  A total of 366 telescope corrections were flagged in sub-array 4.
!  A total of 644 telescope corrections were flagged in sub-array 5.
!  A total of 268 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 619 telescope corrections were flagged in sub-array 1.
!  A total of 391 telescope corrections were flagged in sub-array 2.
!  A total of 1037 telescope corrections were flagged in sub-array 3.
!  A total of 366 telescope corrections were flagged in sub-array 4.
!  A total of 645 telescope corrections were flagged in sub-array 5.
!  A total of 274 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 650 telescope corrections were flagged in sub-array 1.
!  A total of 393 telescope corrections were flagged in sub-array 2.
!  A total of 1072 telescope corrections were flagged in sub-array 3.
!  A total of 372 telescope corrections were flagged in sub-array 4.
!  A total of 652 telescope corrections were flagged in sub-array 5.
!  A total of 275 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.358898Jy  sigma=0.004919
! Fit after  self-cal, rms=0.358064Jy  sigma=0.004921
! 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.391 mas, bmaj=2.413 mas, bpa=-80.54 degrees
! Estimated noise=1047.79 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.496593 Jy
! Total flux subtracted in 50 components = 0.496593 Jy
! Clean residual min=-0.021006 max=0.138526 Jy/beam
! Clean residual mean=0.000304 rms=0.006062 Jy/beam
! Combined flux in latest and established models = 0.496593 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 0.496593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261103Jy  sigma=0.003564
! Fit after  self-cal, rms=0.261103Jy  sigma=0.003564
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.129073 Jy
! Total flux subtracted in 50 components = 0.129073 Jy
! Clean residual min=-0.016045 max=0.053946 Jy/beam
! Clean residual mean=0.000223 rms=0.003975 Jy/beam
! Combined flux in latest and established models = 0.625666 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 10 components and 0.625666 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183593Jy  sigma=0.002495
! Fit after  self-cal, rms=0.183542Jy  sigma=0.002495
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.05954 Jy
! Total flux subtracted in 50 components = 0.05954 Jy
! Clean residual min=-0.013953 max=0.036032 Jy/beam
! Clean residual mean=0.000187 rms=0.003370 Jy/beam
! Combined flux in latest and established models = 0.685207 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 19 components and 0.685207 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160048Jy  sigma=0.002152
! Fit after  self-cal, rms=0.159992Jy  sigma=0.002152
! Inverting map 
! Added new window around map position (-1.2, 5.2).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0399956 Jy
! Total flux subtracted in 50 components = 0.0399956 Jy
! Clean residual min=-0.012794 max=0.025098 Jy/beam
! Clean residual mean=0.000160 rms=0.003062 Jy/beam
! Combined flux in latest and established models = 0.725202 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 28 components and 0.725202 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147756Jy  sigma=0.001964
! Fit after  self-cal, rms=0.147289Jy  sigma=0.001961
! Inverting map 
! Added new window around map position (-2, 8.4).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0301445 Jy
! Total flux subtracted in 50 components = 0.0301445 Jy
! Clean residual min=-0.011707 max=0.016808 Jy/beam
! Clean residual mean=0.000140 rms=0.002847 Jy/beam
! Combined flux in latest and established models = 0.755347 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 34 components and 0.755347 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139799Jy  sigma=0.001843
! Fit after  self-cal, rms=0.139528Jy  sigma=0.001841
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0227709 Jy
! Total flux subtracted in 50 components = 0.0227709 Jy
! Clean residual min=-0.010922 max=0.013513 Jy/beam
! Clean residual mean=0.000125 rms=0.002722 Jy/beam
! Combined flux in latest and established models = 0.778118 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 41 components and 0.778118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.134784Jy  sigma=0.001765
! Fit after  self-cal, rms=0.134606Jy  sigma=0.001764
! 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.962 mas, bmaj=3.082 mas, bpa=77.6 degrees
! Estimated noise=559.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.0354592 Jy
! Component: 100  -  total flux cleaned = 0.0577557 Jy
! Total flux subtracted in 100 components = 0.0577557 Jy
! Clean residual min=-0.010208 max=0.015488 Jy/beam
! Clean residual mean=0.000329 rms=0.002970 Jy/beam
! Combined flux in latest and established models = 0.835873 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 72 components and 0.835873 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.126533Jy  sigma=0.001626
! Fit after  self-cal, rms=0.125918Jy  sigma=0.001620
! 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 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.06     GC        0.97     GG        1.00*    
!   HN        1.00     KP        0.89     LA        0.97     MA        1.31     
!   MK        0.98     NL        1.01     NY        1.18     ON        1.00     
!   OV        0.94     PT        0.94     SC        1.00*    TC        1.00*    
!   TS        0.98     WF        1.00*    WZ        0.89     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.11     GC        0.93     GG        1.00*    
!   HN        0.95     KP        0.89     LA        1.00     MA        1.00*    
!   MK        1.00*    NL        0.98     NY        1.00*    ON        1.00*    
!   OV        1.02     PT        0.98     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.06     WZ        0.80     
! 
!  A total of 15 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.13     GC        1.02     GG        1.00*    
!   HN        0.90     KP        0.88     LA        0.98     MA        1.03     
!   MK        1.00*    NL        0.94     NY        1.14     ON        1.05     
!   OV        1.12     PT        0.97     SC        0.91     TC        1.00*    
!   TS        1.00*    WF        1.09     WZ        0.85     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.04     FD        1.12     GC        1.01     GG        1.00*    
!   HN        0.93     KP        0.86     LA        0.97     MA        1.00*    
!   MK        0.97     NL        0.92     NY        1.00*    ON        1.00*    
!   OV        0.99     PT        0.96     SC        0.93     TC        1.00*    
!   TS        1.09     WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00     FD        1.00*    GC        0.94     GG        1.00*    
!   HN        0.98     KP        1.00*    LA        1.00*    MA        1.19     
!   MK        1.00*    NL        1.00*    NY        1.21     ON        0.99     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.05     WZ        0.91     
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.91     FD        1.00*    GC        0.95     GG        1.00*    
!   HN        0.97     KP        1.00*    LA        1.00     MA        1.00*    
!   MK        1.00*    NL        1.02     NY        1.00*    ON        1.00*    
!   OV        0.99     PT        0.98     SC        1.00*    TC        1.00*    
!   TS        1.06     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.96     GC        0.95     GG        1.00*    
!   HN        1.02     KP        0.93     LA        0.95     MA        1.26     
!   MK        1.04     NL        1.03     NY        1.14     ON        1.06     
!   OV        0.96     PT        0.94     SC        1.00*    TC        1.00*    
!   TS        1.00     WF        1.00*    WZ        0.92     
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        1.04     GC        0.93     GG        1.00*    
!   HN        1.01     KP        1.01     LA        0.97     MA        1.00*    
!   MK        1.00*    NL        1.04     NY        1.00*    ON        1.00*    
!   OV        0.92     PT        0.96     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.01     WZ        0.80     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.08     FD        1.04     GC        1.02     GG        1.00*    
!   HN        0.95     KP        0.97     LA        0.94     MA        1.22     
!   MK        1.00*    NL        0.97     NY        1.15     ON        1.05     
!   OV        1.03     PT        0.97     SC        0.97     TC        1.00*    
!   TS        1.00*    WF        1.10     WZ        0.85     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.15     FD        1.04     GC        0.96     GG        1.00*    
!   HN        0.95     KP        0.94     LA        0.93     MA        1.00*    
!   MK        1.07     NL        0.95     NY        1.00*    ON        1.00*    
!   OV        1.05     PT        0.95     SC        0.94     TC        1.00*    
!   TS        1.06     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.06     FD        1.00*    GC        0.91     GG        1.00*    
!   HN        1.01     KP        1.00*    LA        1.00*    MA        1.41     
!   MK        1.00*    NL        1.00*    NY        1.14     ON        1.03     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.07     WZ        0.93     
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.96     FD        1.00*    GC        0.92     GG        1.00*    
!   HN        1.03     KP        1.00*    LA        0.95     MA        1.00*    
!   MK        1.00*    NL        1.05     NY        1.00*    ON        1.00*    
!   OV        0.97     PT        0.99     SC        1.00*    TC        1.00*    
!   TS        1.02     WF        1.00*    WZ        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.05     FD        0.94     GC        1.05     GG        1.00*    
!   HN        1.02     KP        0.94     LA        0.79     MA        1.35     
!   MK        1.01     NL        1.07     NY        1.09     ON        0.94     
!   OV        1.07     PT        0.99     SC        1.00*    TC        1.00*    
!   TS        1.02     WF        1.00*    WZ        0.89     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.31     FD        0.95     GC        1.01     GG        1.00*    
!   HN        1.04     KP        0.97     LA        0.81     MA        1.00*    
!   MK        1.00*    NL        1.04     NY        1.00*    ON        1.00*    
!   OV        0.92     PT        1.01     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.19     WZ        0.86     
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.24     FD        0.99     GC        1.08     GG        1.00*    
!   HN        0.99     KP        0.93     LA        0.79     MA        1.19     
!   MK        1.00*    NL        1.04     NY        1.09     ON        1.07     
!   OV        1.04     PT        0.99     SC        1.12     TC        1.00*    
!   TS        1.00*    WF        1.21     WZ        0.89     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.99     FD        0.99     GC        1.07     GG        1.00*    
!   HN        0.96     KP        0.93     LA        0.80     MA        1.00*    
!   MK        1.01     NL        1.00     NY        1.00*    ON        1.00*    
!   OV        0.98     PT        1.00     SC        1.09     TC        1.00*    
!   TS        1.08     WF        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.11     FD        1.00*    GC        1.05     GG        1.00*    
!   HN        1.01     KP        1.00*    LA        1.00*    MA        1.36     
!   MK        1.00*    NL        1.00*    NY        1.08     ON        1.06     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.13     WZ        0.92     
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.45     FD        1.00*    GC        1.05     GG        1.00*    
!   HN        1.04     KP        1.00*    LA        0.80     MA        1.00*    
!   MK        1.00*    NL        1.07     NY        1.00*    ON        1.00*    
!   OV        1.03     PT        0.99     SC        1.00*    TC        1.00*    
!   TS        1.07     WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.85     GC        1.09     GG        1.00*    
!   HN        0.94     KP        0.95     LA        0.77     MA        1.00*    
!   MK        0.95     NL        1.03     NY        1.06     ON        0.99     
!   OV        0.95     PT        0.97     SC        1.00*    TC        1.00*    
!   TS        1.01     WF        1.00*    WZ        0.90     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.39     FD        0.89     GC        1.05     GG        1.00*    
!   HN        0.99     KP        0.98     LA        0.72     MA        1.00*    
!   MK        1.00*    NL        0.98     NY        1.00*    ON        1.00*    
!   OV        0.86     PT        0.98     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.18     WZ        0.81     
! 
!  A total of 12 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.31     FD        0.91     GC        1.14     GG        1.00*    
!   HN        0.94     KP        0.86     LA        0.75     MA        1.29     
!   MK        1.00*    NL        1.00     NY        1.09     ON        0.93     
!   OV        1.03     PT        0.99     SC        1.09     TC        1.00*    
!   TS        1.00*    WF        1.28     WZ        0.87     
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.89     FD        0.90     GC        1.15     GG        1.00*    
!   HN        0.99     KP        0.93     LA        0.68     MA        1.00*    
!   MK        0.95     NL        0.93     NY        1.00*    ON        1.00*    
!   OV        0.89     PT        0.96     SC        1.10     TC        1.00*    
!   TS        1.04     WF        1.00*    WZ        1.00*    
! 
!  A total of 15 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.34     FD        1.00*    GC        1.06     GG        1.00*    
!   HN        0.95     KP        1.00*    LA        1.00*    MA        1.00*    
!   MK        1.00*    NL        1.00*    NY        1.06     ON        1.01     
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00     WZ        0.92     
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.25     FD        1.00*    GC        1.10     GG        1.00*    
!   HN        1.01     KP        1.00*    LA        0.72     MA        1.00*    
!   MK        1.00*    NL        1.00     NY        1.00*    ON        1.00*    
!   OV        1.07     PT        1.00     SC        1.00*    TC        1.00*    
!   TS        1.05     WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.125918Jy  sigma=0.001620
! Fit after  self-cal, rms=0.097589Jy  sigma=0.001182
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.985 mas, bmaj=3.11 mas, bpa=81.36 degrees
! Estimated noise=554.663 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.010816 Jy
! Component: 100  -  total flux cleaned = 0.0151503 Jy
! Total flux subtracted in 100 components = 0.0151503 Jy
! Clean residual min=-0.003905 max=0.008858 Jy/beam
! Clean residual mean=0.000182 rms=0.001267 Jy/beam
! Combined flux in latest and established models = 0.851024 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 84 components and 0.851024 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096808Jy  sigma=0.001163
! Fit after  self-cal, rms=0.096610Jy  sigma=0.001161
! Inverting map 
! Added new window around map position (-7.6, 19.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00840039 Jy
! Component: 100  -  total flux cleaned = 0.0137503 Jy
! Total flux subtracted in 100 components = 0.0137503 Jy
! Clean residual min=-0.003745 max=0.006707 Jy/beam
! Clean residual mean=0.000153 rms=0.001129 Jy/beam
! Combined flux in latest and established models = 0.864774 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 99 components and 0.864774 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.096091Jy  sigma=0.001147
! Fit after  self-cal, rms=0.095996Jy  sigma=0.001146
! Inverting map 
! Added new window around map position (-12, 37.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00614082 Jy
! Component: 100  -  total flux cleaned = 0.00964531 Jy
! Total flux subtracted in 100 components = 0.00964531 Jy
! Clean residual min=-0.003645 max=0.004751 Jy/beam
! Clean residual mean=0.000134 rms=0.001053 Jy/beam
! Combined flux in latest and established models = 0.874419 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 117 components and 0.874419 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.095643Jy  sigma=0.001140
! Fit after  self-cal, rms=0.095622Jy  sigma=0.001139
! 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)
! Added new window around map position (48.8, 30.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00372722 Jy
! Component: 100  -  total flux cleaned = 0.00613059 Jy
! Total flux subtracted in 100 components = 0.00613059 Jy
! Clean residual min=-0.003592 max=0.004526 Jy/beam
! Clean residual mean=0.000121 rms=0.001006 Jy/beam
! Combined flux in latest and established models = 0.88055 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 122 components and 0.88055 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.095430Jy  sigma=0.001135
! Fit after  self-cal, rms=0.092089Jy  sigma=0.001089
! Inverting map and beam 
! Estimated beam: bmin=2.987 mas, bmaj=3.107 mas, bpa=80.81 degrees
! Estimated noise=556.245 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00568945 Jy
! Component: 100  -  total flux cleaned = 0.00915785 Jy
! Total flux subtracted in 100 components = 0.00915786 Jy
! Clean residual min=-0.002845 max=0.003659 Jy/beam
! Clean residual mean=0.000099 rms=0.000877 Jy/beam
! Combined flux in latest and established models = 0.889708 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 140 components and 0.889707 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.091871Jy  sigma=0.001083
! Fit after  self-cal, rms=0.091311Jy  sigma=0.001074
! Inverting map and beam 
! Estimated beam: bmin=2.987 mas, bmaj=3.108 mas, bpa=80.62 degrees
! Estimated noise=556.742 mJy/beam.
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00420731 Jy
! Component: 100  -  total flux cleaned = 0.00661235 Jy
! Total flux subtracted in 100 components = 0.00661235 Jy
! Clean residual min=-0.002764 max=0.003485 Jy/beam
! Clean residual mean=0.000088 rms=0.000820 Jy/beam
! Combined flux in latest and established models = 0.89632 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 149 components and 0.89632 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.091199Jy  sigma=0.001071
! Fit after  self-cal, rms=0.091081Jy  sigma=0.001068
! Inverting map and beam 
! Estimated beam: bmin=2.988 mas, bmaj=3.108 mas, bpa=80.44 degrees
! Estimated noise=557.217 mJy/beam.
! Added new window around map position (-10.4, 6.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00405515 Jy
! Component: 100  -  total flux cleaned = 0.00645175 Jy
! Total flux subtracted in 100 components = 0.00645175 Jy
! Clean residual min=-0.002828 max=0.003268 Jy/beam
! Clean residual mean=0.000079 rms=0.000775 Jy/beam
! Combined flux in latest and established models = 0.902772 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 163 components and 0.902772 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090939Jy  sigma=0.001064
! Fit after  self-cal, rms=0.090897Jy  sigma=0.001063
! Inverting map and beam 
! Estimated beam: bmin=2.988 mas, bmaj=3.107 mas, bpa=80.3 degrees
! Estimated noise=557.452 mJy/beam.
! Added new window around map position (-31.2, 13.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0034543 Jy
! Component: 100  -  total flux cleaned = 0.005641 Jy
! Total flux subtracted in 100 components = 0.005641 Jy
! Clean residual min=-0.002789 max=0.003011 Jy/beam
! Clean residual mean=0.000076 rms=0.000742 Jy/beam
! Combined flux in latest and established models = 0.908413 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 176 components and 0.908413 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090799Jy  sigma=0.001061
! Fit after  self-cal, rms=0.090795Jy  sigma=0.001060
! Inverting map and beam 
! Estimated beam: bmin=2.988 mas, bmaj=3.107 mas, bpa=80.14 degrees
! Estimated noise=557.614 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.00227371 Jy
! Component: 100  -  total flux cleaned = 0.00416247 Jy
! Total flux subtracted in 100 components = 0.00416247 Jy
! Clean residual min=-0.002776 max=0.002891 Jy/beam
! Clean residual mean=0.000070 rms=0.000720 Jy/beam
! Combined flux in latest and established models = 0.912575 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 180 components and 0.912575 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090736Jy  sigma=0.001058
! Fit after  self-cal, rms=0.090716Jy  sigma=0.001058
! Inverting map 
! Added new window around map position (-6.4, 58.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00217673 Jy
! Component: 100  -  total flux cleaned = 0.00389424 Jy
! Total flux subtracted in 100 components = 0.00389424 Jy
! Clean residual min=-0.002679 max=0.002849 Jy/beam
! Clean residual mean=0.000063 rms=0.000701 Jy/beam
! Combined flux in latest and established models = 0.91647 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 190 components and 0.91647 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090628Jy  sigma=0.001057
! Fit after  self-cal, rms=0.090622Jy  sigma=0.001057
! Inverting map 
! Added new window around map position (-89.6, 44).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0023361 Jy
! Component: 100  -  total flux cleaned = 0.00389849 Jy
! Total flux subtracted in 100 components = 0.00389849 Jy
! Clean residual min=-0.002664 max=0.002681 Jy/beam
! Clean residual mean=0.000055 rms=0.000684 Jy/beam
! Combined flux in latest and established models = 0.920368 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 200 components and 0.920368 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090555Jy  sigma=0.001055
! Fit after  self-cal, rms=0.090553Jy  sigma=0.001055
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 0917+624_S
! Writing UV FITS file: 0917+624_S.uvf
! Writing 200 model components to file: 0917+624_S.mod
! wwins: Wrote 10 windows to 0917+624_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.988 x 3.107 at 80.14 degrees (North through East)
! Clean map  min=-0.002571  max=0.65485 Jy/beam
! Writing clean map to FITS file: 0917+624_S.fits
! Writing difmap environment to: 0917+624_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 0917+624_S]
device 0917+624_Suv.ps/vps,1,2
! Attempting to open device: '0917+624_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 0917+624_Sim.ps/vps
! Attempting to open device: '0917+624_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.988 mas, bmaj=3.107 mas, bpa=80.14 degrees
! Estimated noise=557.614 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.988 x 3.107 at 80.14 degrees (North through East)
! Clean map  min=-0.002571  max=0.65485 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo6-0.4]
quit
! Quitting program
! Log file 0917+624_S.log closed on Mon Jul 16 21:24:35 2007