! Started logfile: 1642+690_X.log on Sun Sep  9 23:28:18 2007
observe 1642+690_X.edt
! Reading UV FITS file: 1642+690_X.edt
! AN table 1: 20 integrations on 171 of 171 possible baselines.
! AN table 2: 10 integrations on 171 of 171 possible baselines.
! AN table 3: 23 integrations on 171 of 171 possible baselines.
! AN table 4: 18 integrations on 171 of 171 possible baselines.
! AN table 5: 80 integrations on 171 of 171 possible baselines.
! AN table 6: 19 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.219505 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1642+690
! 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  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 2124 lines of history.
! 
! Reading 25524 visibilities.
![@gonzo6-0.1 1642+690_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 = 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.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 249 telescope corrections were flagged in sub-array 1.
!  A total of 164 telescope corrections were flagged in sub-array 2.
!  A total of 330 telescope corrections were flagged in sub-array 3.
!  A total of 249 telescope corrections were flagged in sub-array 4.
!  A total of 1206 telescope corrections were flagged in sub-array 5.
!  A total of 240 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 244 telescope corrections were flagged in sub-array 1.
!  A total of 169 telescope corrections were flagged in sub-array 2.
!  A total of 330 telescope corrections were flagged in sub-array 3.
!  A total of 247 telescope corrections were flagged in sub-array 4.
!  A total of 1207 telescope corrections were flagged in sub-array 5.
!  A total of 243 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 252 telescope corrections were flagged in sub-array 1.
!  A total of 170 telescope corrections were flagged in sub-array 2.
!  A total of 331 telescope corrections were flagged in sub-array 3.
!  A total of 259 telescope corrections were flagged in sub-array 4.
!  A total of 1211 telescope corrections were flagged in sub-array 5.
!  A total of 246 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 256 telescope corrections were flagged in sub-array 1.
!  A total of 172 telescope corrections were flagged in sub-array 2.
!  A total of 331 telescope corrections were flagged in sub-array 3.
!  A total of 256 telescope corrections were flagged in sub-array 4.
!  A total of 1216 telescope corrections were flagged in sub-array 5.
!  A total of 241 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.326644Jy  sigma=0.004575
! Fit after  self-cal, rms=0.325258Jy  sigma=0.004571
! 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.5368 mas, bmaj=0.6822 mas, bpa=45.86 degrees
! Estimated noise=843.498 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.504911 Jy
! Total flux subtracted in 50 components = 0.504911 Jy
! Clean residual min=-0.017735 max=0.140856 Jy/beam
! Clean residual mean=0.000036 rms=0.005471 Jy/beam
! Combined flux in latest and established models = 0.504911 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.504911 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.270930Jy  sigma=0.004071
! Fit after  self-cal, rms=0.270930Jy  sigma=0.004071
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.134238 Jy
! Total flux subtracted in 50 components = 0.134238 Jy
! Clean residual min=-0.012362 max=0.058588 Jy/beam
! Clean residual mean=0.000038 rms=0.003613 Jy/beam
! Combined flux in latest and established models = 0.63915 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.63915 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.180968Jy  sigma=0.002729
! Fit after  self-cal, rms=0.180888Jy  sigma=0.002729
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0694635 Jy
! Total flux subtracted in 50 components = 0.0694635 Jy
! Clean residual min=-0.011382 max=0.035579 Jy/beam
! Clean residual mean=0.000039 rms=0.002915 Jy/beam
! Combined flux in latest and established models = 0.708613 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 17 components and 0.708613 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147121Jy  sigma=0.002188
! Fit after  self-cal, rms=0.147009Jy  sigma=0.002187
! Inverting map 
! Added new window around map position (0, -0.6).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0428404 Jy
! Total flux subtracted in 50 components = 0.0428404 Jy
! Clean residual min=-0.010669 max=0.022309 Jy/beam
! Clean residual mean=0.000039 rms=0.002582 Jy/beam
! Combined flux in latest and established models = 0.751454 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 22 components and 0.751454 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.131430Jy  sigma=0.001923
! Fit after  self-cal, rms=0.131384Jy  sigma=0.001923
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0272114 Jy
! Total flux subtracted in 50 components = 0.0272114 Jy
! Clean residual min=-0.010092 max=0.019154 Jy/beam
! Clean residual mean=0.000040 rms=0.002430 Jy/beam
! Combined flux in latest and established models = 0.778665 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 24 components and 0.778665 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.124093Jy  sigma=0.001792
! Fit after  self-cal, rms=0.124069Jy  sigma=0.001792
! Inverting map 
! Added new window around map position (0.7, -1.4).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0198509 Jy
! Total flux subtracted in 50 components = 0.0198509 Jy
! Clean residual min=-0.009943 max=0.017041 Jy/beam
! Clean residual mean=0.000040 rms=0.002337 Jy/beam
! Combined flux in latest and established models = 0.798516 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 32 components and 0.798516 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.120140Jy  sigma=0.001719
! Fit after  self-cal, rms=0.120032Jy  sigma=0.001718
! Inverting map 
! Added new window around map position (1.6, 1.4).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0167502 Jy
! Total flux subtracted in 50 components = 0.0167502 Jy
! Clean residual min=-0.009509 max=0.015764 Jy/beam
! Clean residual mean=0.000039 rms=0.002257 Jy/beam
! Combined flux in latest and established models = 0.815266 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 39 components and 0.815266 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.117629Jy  sigma=0.001675
! Fit after  self-cal, rms=0.117607Jy  sigma=0.001674
! Inverting map 
! Added new window around map position (-0.3, -1.5).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0149385 Jy
! Total flux subtracted in 50 components = 0.0149385 Jy
! Clean residual min=-0.009689 max=0.013901 Jy/beam
! Clean residual mean=0.000039 rms=0.002206 Jy/beam
! Combined flux in latest and established models = 0.830204 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 43 components and 0.830204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.115342Jy  sigma=0.001634
! Fit after  self-cal, rms=0.115275Jy  sigma=0.001633
! Inverting map 
! Added new window around map position (-2.6, -8.1).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0132769 Jy
! Total flux subtracted in 50 components = 0.0132769 Jy
! Clean residual min=-0.009244 max=0.012948 Jy/beam
! Clean residual mean=0.000036 rms=0.002155 Jy/beam
! Combined flux in latest and established models = 0.843481 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 49 components and 0.843481 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.113747Jy  sigma=0.001604
! Fit after  self-cal, rms=0.113689Jy  sigma=0.001603
! 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.6953 mas, bmaj=0.9094 mas, bpa=43.14 degrees
! Estimated noise=489.425 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 (-2.1, -9.3).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0252849 Jy
! Component: 100  -  total flux cleaned = 0.0437911 Jy
! Total flux subtracted in 100 components = 0.0437911 Jy
! Clean residual min=-0.007811 max=0.017035 Jy/beam
! Clean residual mean=0.000112 rms=0.002633 Jy/beam
! Combined flux in latest and established models = 0.887273 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 75 components and 0.887273 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.108676Jy  sigma=0.001506
! Fit after  self-cal, rms=0.108478Jy  sigma=0.001504
! Inverting map 
! Added new window around map position (-1.6, -4.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.018806 Jy
! Component: 100  -  total flux cleaned = 0.0324048 Jy
! Total flux subtracted in 100 components = 0.0324048 Jy
! Clean residual min=-0.007265 max=0.012517 Jy/beam
! Clean residual mean=0.000068 rms=0.002189 Jy/beam
! Combined flux in latest and established models = 0.919677 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 101 components and 0.919677 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105652Jy  sigma=0.001447
! Fit after  self-cal, rms=0.105451Jy  sigma=0.001444
! Inverting map 
! Added new window around map position (-0.1, -3.1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0131767 Jy
! Component: 100  -  total flux cleaned = 0.0231343 Jy
! Total flux subtracted in 100 components = 0.0231343 Jy
! Clean residual min=-0.006920 max=0.011250 Jy/beam
! Clean residual mean=0.000036 rms=0.001947 Jy/beam
! Combined flux in latest and established models = 0.942812 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 121 components and 0.942812 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104069Jy  sigma=0.001413
! Fit after  self-cal, rms=0.103960Jy  sigma=0.001412
! Inverting map 
! Added new window around map position (-1.9, -0.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0106095 Jy
! Component: 100  -  total flux cleaned = 0.0184689 Jy
! Total flux subtracted in 100 components = 0.0184689 Jy
! Clean residual min=-0.006946 max=0.008770 Jy/beam
! Clean residual mean=0.000011 rms=0.001808 Jy/beam
! Combined flux in latest and established models = 0.96128 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 135 components and 0.96128 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103036Jy  sigma=0.001392
! Fit after  self-cal, rms=0.102997Jy  sigma=0.001391
! 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.98     FD        0.98     GC        1.12     GG        1.00*    
!   HN        0.96     KP        0.97     LA        0.99     MA        1.27     
!   MK        0.98     NL        1.05     NY        1.00     ON        0.90     
!   OV        0.94     PT        0.98     SC        0.97     TC        1.00*    
!   TS        1.25     WF        1.06     WZ        0.95     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.00*    GC        1.10     GG        1.00*    
!   HN        1.00*    KP        1.00*    LA        1.00*    MA        1.00*    
!   MK        0.94     NL        1.00*    NY        0.92     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.02     GC        1.04     GG        1.00*    
!   HN        0.96     KP        0.97     LA        1.02     MA        1.00*    
!   MK        1.00*    NL        1.08     NY        1.00*    ON        1.00*    
!   OV        0.99     PT        1.00     SC        1.00*    TC        1.00*    
!   TS        0.97     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        1.20     GC        1.05     GG        1.00*    
!   HN        1.01     KP        1.02     LA        1.02     MA        1.14     
!   MK        1.00*    NL        1.08     NY        1.01     ON        0.93     
!   OV        1.01     PT        1.00     SC        1.00     TC        1.00*    
!   TS        1.00*    WF        1.13     WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.97     FD        0.99     GC        0.99     GG        1.00*    
!   HN        0.95     KP        0.97     LA        0.96     MA        1.40     
!   MK        0.98     NL        1.08     NY        0.95     ON        0.99     
!   OV        0.98     PT        1.01     SC        1.00*    TC        1.00*    
!   TS        1.04     WF        1.00     WZ        0.90     
! 
!  A total of 12 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.97     FD        1.01     GC        1.18     GG        1.00*    
!   HN        0.94     KP        0.95     LA        0.98     MA        1.00*    
!   MK        0.96     NL        1.06     NY        1.00*    ON        1.00*    
!   OV        0.98     PT        0.97     SC        0.96     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.98     GC        1.10     GG        1.00*    
!   HN        0.96     KP        0.93     LA        0.98     MA        1.33     
!   MK        0.99     NL        1.04     NY        0.95     ON        0.96     
!   OV        0.97     PT        1.03     SC        0.95     TC        1.00*    
!   TS        1.20     WF        1.03     WZ        0.93     
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.93     FD        1.00*    GC        1.03     GG        1.00*    
!   HN        1.00*    KP        1.00*    LA        1.00*    MA        1.00*    
!   MK        0.96     NL        1.00*    NY        0.99     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.03     GC        1.08     GG        1.00*    
!   HN        0.96     KP        0.91     LA        1.04     MA        1.00*    
!   MK        1.00*    NL        1.04     NY        1.00*    ON        1.00*    
!   OV        0.99     PT        1.04     SC        1.00*    TC        1.00*    
!   TS        0.96     WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        1.19     GC        1.01     GG        1.00*    
!   HN        1.02     KP        0.98     LA        1.02     MA        1.20     
!   MK        1.00*    NL        1.06     NY        0.99     ON        0.88     
!   OV        1.01     PT        1.02     SC        0.97     TC        1.00*    
!   TS        1.00*    WF        1.20     WZ        1.00*    
! 
!  A total of 45 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.98     FD        0.99     GC        0.98     GG        1.00*    
!   HN        0.96     KP        0.93     LA        0.98     MA        1.37     
!   MK        0.99     NL        1.04     NY        0.93     ON        0.99     
!   OV        0.97     PT        1.05     SC        1.00*    TC        1.00*    
!   TS        1.03     WF        1.03     WZ        0.90     
! 
!  A total of 9 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.97     FD        0.98     GC        1.18     GG        1.00*    
!   HN        0.94     KP        0.91     LA        0.99     MA        1.00*    
!   MK        0.97     NL        1.03     NY        1.00*    ON        1.00*    
!   OV        0.98     PT        1.02     SC        0.94     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.95     GC        1.13     GG        1.00*    
!   HN        0.94     KP        0.89     LA        0.99     MA        1.23     
!   MK        0.98     NL        1.01     NY        0.99     ON        1.05     
!   OV        0.98     PT        1.03     SC        0.96     TC        1.00*    
!   TS        1.21     WF        1.12     WZ        0.93     
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.91     FD        1.00*    GC        1.07     GG        1.00*    
!   HN        1.00*    KP        1.00*    LA        1.00*    MA        1.00*    
!   MK        1.01     NL        1.00*    NY        0.99     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.02     GC        1.10     GG        1.00*    
!   HN        0.95     KP        0.87     LA        1.02     MA        1.00*    
!   MK        1.00*    NL        1.02     NY        1.00*    ON        1.00*    
!   OV        1.02     PT        1.08     SC        1.00*    TC        1.00*    
!   TS        0.94     WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.03     FD        1.17     GC        1.08     GG        1.00*    
!   HN        1.04     KP        0.90     LA        1.02     MA        1.21     
!   MK        1.00*    NL        1.04     NY        0.97     ON        1.06     
!   OV        1.03     PT        1.07     SC        0.99     TC        1.00*    
!   TS        1.00*    WF        1.27     WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00     FD        0.97     GC        1.01     GG        1.00*    
!   HN        0.94     KP        0.87     LA        0.99     MA        1.60     
!   MK        0.99     NL        1.02     NY        0.98     ON        1.21     
!   OV        1.00     PT        1.07     SC        1.00*    TC        1.00*    
!   TS        1.05     WF        1.10     WZ        0.87     
! 
!  A total of 6 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.00     FD        0.99     GC        1.18     GG        1.00*    
!   HN        0.95     KP        0.84     LA        0.99     MA        1.00*    
!   MK        0.96     NL        0.99     NY        1.00*    ON        1.00*    
!   OV        1.00     PT        1.03     SC        0.95     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.94     GC        1.16     GG        1.00*    
!   HN        0.96     KP        0.93     LA        0.95     MA        1.36     
!   MK        1.01     NL        1.01     NY        1.03     ON        1.12     
!   OV        0.97     PT        1.06     SC        1.00     TC        1.00*    
!   TS        1.24     WF        1.10     WZ        0.93     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.90     FD        1.00*    GC        1.15     GG        1.00*    
!   HN        1.00*    KP        1.00*    LA        1.00*    MA        1.00*    
!   MK        1.13     NL        1.00*    NY        1.01     ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.02     GC        1.10     GG        1.00*    
!   HN        0.98     KP        0.93     LA        1.00     MA        1.00*    
!   MK        1.00*    NL        1.02     NY        1.00*    ON        1.00*    
!   OV        1.00     PT        1.08     SC        1.00*    TC        1.00*    
!   TS        0.96     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        1.21     GC        1.08     GG        1.00*    
!   HN        1.06     KP        0.97     LA        0.98     MA        1.24     
!   MK        1.00*    NL        1.06     NY        1.02     ON        0.94     
!   OV        0.99     PT        1.05     SC        1.00     TC        1.00*    
!   TS        1.00*    WF        1.18     WZ        1.00*    
! 
!  A total of 45 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        0.95     GC        1.00     GG        1.00*    
!   HN        0.97     KP        0.92     LA        0.98     MA        1.47     
!   MK        1.00     NL        1.05     NY        1.01     ON        1.15     
!   OV        0.99     PT        1.07     SC        1.00*    TC        1.00*    
!   TS        1.05     WF        1.13     WZ        0.89     
! 
!  A total of 12 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.01     FD        0.99     GC        1.19     GG        1.00*    
!   HN        0.96     KP        0.91     LA        0.97     MA        1.00*    
!   MK        1.00     NL        1.00     NY        1.00*    ON        1.00*    
!   OV        0.97     PT        1.03     SC        1.01     TC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.102997Jy  sigma=0.001391
! Fit after  self-cal, rms=0.084275Jy  sigma=0.001129
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.6954 mas, bmaj=0.9033 mas, bpa=44.11 degrees
! Estimated noise=493.731 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.00603482 Jy
! Component: 100  -  total flux cleaned = 0.00977427 Jy
! Total flux subtracted in 100 components = 0.00977427 Jy
! Clean residual min=-0.004769 max=0.006067 Jy/beam
! Clean residual mean=-0.000046 rms=0.000955 Jy/beam
! Combined flux in latest and established models = 0.971055 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 153 components and 0.971055 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.083600Jy  sigma=0.001115
! Fit after  self-cal, rms=0.083549Jy  sigma=0.001115
! Inverting map 
! Added new window around map position (-4.2, -9.9).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00455101 Jy
! Component: 100  -  total flux cleaned = 0.0068509 Jy
! Total flux subtracted in 100 components = 0.0068509 Jy
! Clean residual min=-0.004519 max=0.004129 Jy/beam
! Clean residual mean=-0.000059 rms=0.000872 Jy/beam
! Combined flux in latest and established models = 0.977905 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 169 components and 0.977905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.083114Jy  sigma=0.001106
! Fit after  self-cal, rms=0.083084Jy  sigma=0.001105
! 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.00207969 Jy
! Component: 100  -  total flux cleaned = 0.00299671 Jy
! Total flux subtracted in 100 components = 0.00299671 Jy
! Clean residual min=-0.004328 max=0.003695 Jy/beam
! Clean residual mean=-0.000065 rms=0.000836 Jy/beam
! Combined flux in latest and established models = 0.980902 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 181 components and 0.980902 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082852Jy  sigma=0.001101
! Fit after  self-cal, rms=0.079976Jy  sigma=0.001059
! Inverting map and beam 
! Estimated beam: bmin=0.6941 mas, bmaj=0.9083 mas, bpa=44.43 degrees
! Estimated noise=493.112 mJy/beam.
! Added new window around map position (-2.8, -6.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0025848 Jy
! Component: 100  -  total flux cleaned = 0.00390187 Jy
! Total flux subtracted in 100 components = 0.00390187 Jy
! Clean residual min=-0.002968 max=0.003232 Jy/beam
! Clean residual mean=-0.000078 rms=0.000726 Jy/beam
! Combined flux in latest and established models = 0.984804 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 196 components and 0.984804 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079733Jy  sigma=0.001054
! Fit after  self-cal, rms=0.079315Jy  sigma=0.001047
! Inverting map and beam 
! Estimated beam: bmin=0.6942 mas, bmaj=0.9086 mas, bpa=44.48 degrees
! Estimated noise=492.968 mJy/beam.
! Added new window around map position (-1.6, -10.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00155751 Jy
! Component: 100  -  total flux cleaned = 0.00232186 Jy
! Total flux subtracted in 100 components = 0.00232186 Jy
! Clean residual min=-0.002922 max=0.002815 Jy/beam
! Clean residual mean=-0.000090 rms=0.000695 Jy/beam
! Combined flux in latest and established models = 0.987126 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 205 components and 0.987126 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079135Jy  sigma=0.001044
! Fit after  self-cal, rms=0.078964Jy  sigma=0.001041
! Inverting map and beam 
! Estimated beam: bmin=0.6943 mas, bmaj=0.9089 mas, bpa=44.53 degrees
! Estimated noise=492.831 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.000319224 Jy
! Component: 100  -  total flux cleaned = 0.000894822 Jy
! Total flux subtracted in 100 components = 0.000894822 Jy
! Clean residual min=-0.002845 max=0.002763 Jy/beam
! Clean residual mean=-0.000096 rms=0.000674 Jy/beam
! Combined flux in latest and established models = 0.988021 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 217 components and 0.98802 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078823Jy  sigma=0.001039
! Fit after  self-cal, rms=0.078815Jy  sigma=0.001038
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1642+690_X
! Writing UV FITS file: 1642+690_X.uvf
! Writing 217 model components to file: 1642+690_X.mod
! wwins: Wrote 13 windows to 1642+690_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6943 x 0.9089 at 44.53 degrees (North through East)
! Clean map  min=-0.0029418  max=0.69199 Jy/beam
! Writing clean map to FITS file: 1642+690_X.fits
! Writing difmap environment to: 1642+690_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
![@gonzo_plot 1642+690_X]
device 1642+690_Xuv.ps/vps,1,2
! Attempting to open device: '1642+690_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
! Using default options string ""
device 1642+690_Xim.ps/vps
! Attempting to open device: '1642+690_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.6943 mas, bmaj=0.9089 mas, bpa=44.53 degrees
! Estimated noise=492.831 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6943 x 0.9089 at 44.53 degrees (North through East)
! Clean map  min=-0.0029418  max=0.69199 Jy/beam
![Exited script file: gonzo_plot]
![Exited script file: gonzo6-0.1]
quit
! Quitting program
! Log file 1642+690_X.log closed on Sun Sep  9 23:28:34 2007