! Started logfile: J1911-2006_S_2001_07_05_pus_uvs.log on Fri Aug 10 02:32:58 2007
obs J1911-2006_S_2001_07_05_pus_uva.fits
! Reading UV FITS file: J1911-2006_S_2001_07_05_pus_uva.fits
! AN table 1: 28 integrations on 171 of 171 possible baselines.
! AN table 2: 49 integrations on 171 of 171 possible baselines.
! AN table 3: 34 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.147937 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1911-2006
! 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.22997e+09        8e+06          1        8e+06
!  02        2  2.25997e+09        8e+06          1        8e+06
!  03        3  2.34997e+09        8e+06          1        8e+06
!  04        4  2.36997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1774 lines of history.
! 
! Reading 11232 visibilities.
select I
! Polarization I is unavailable.
! 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
print "field_size =",field_size
! field_size = 512 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
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 363 telescope corrections were flagged in sub-array 1.
!  A total of 606 telescope corrections were flagged in sub-array 2.
!  A total of 417 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 363 telescope corrections were flagged in sub-array 1.
!  A total of 606 telescope corrections were flagged in sub-array 2.
!  A total of 417 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 363 telescope corrections were flagged in sub-array 1.
!  A total of 606 telescope corrections were flagged in sub-array 2.
!  A total of 417 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 363 telescope corrections were flagged in sub-array 1.
!  A total of 606 telescope corrections were flagged in sub-array 2.
!  A total of 417 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=1.077291Jy  sigma=0.008609
! Fit after  self-cal, rms=0.724729Jy  sigma=0.006006
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 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.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.92 mas, bmaj=4.309 mas, bpa=7.453 degrees
! Estimated noise=1270.26 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.909497 Jy
! Component: 100  -  total flux cleaned = 1.30534 Jy
! Total flux subtracted in 100 components = 1.30534 Jy
! Clean residual min=-0.058694 max=0.190820 Jy/beam
! Clean residual mean=0.001505 rms=0.021364 Jy/beam
! Combined flux in latest and established models = 1.30534 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 18 components and 1.30534 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.509114Jy  sigma=0.004245
! Fit after  self-cal, rms=0.508212Jy  sigma=0.004238
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.223805 Jy
! Component: 100  -  total flux cleaned = 0.357117 Jy
! Total flux subtracted in 100 components = 0.357117 Jy
! Clean residual min=-0.044214 max=0.130325 Jy/beam
! Clean residual mean=0.000748 rms=0.013177 Jy/beam
! Combined flux in latest and established models = 1.66246 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 31 components and 1.66246 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.362952Jy  sigma=0.002897
! Fit after  self-cal, rms=0.362673Jy  sigma=0.002894
! Inverting map 
! Added new window around map position (3, 2.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.11516 Jy
! Component: 100  -  total flux cleaned = 0.181525 Jy
! Total flux subtracted in 100 components = 0.181525 Jy
! Clean residual min=-0.045505 max=0.083211 Jy/beam
! Clean residual mean=0.000350 rms=0.009852 Jy/beam
! Combined flux in latest and established models = 1.84399 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 49 components and 1.84399 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321124Jy  sigma=0.002489
! Fit after  self-cal, rms=0.317195Jy  sigma=0.002458
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0596982 Jy
! Component: 100  -  total flux cleaned = 0.0957724 Jy
! Total flux subtracted in 100 components = 0.0957724 Jy
! Clean residual min=-0.045284 max=0.055094 Jy/beam
! Clean residual mean=0.000136 rms=0.008307 Jy/beam
! Combined flux in latest and established models = 1.93976 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 59 components and 1.93976 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306640Jy  sigma=0.002347
! Fit after  self-cal, rms=0.305268Jy  sigma=0.002336
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 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
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.512 mas, bmaj=6.71 mas, bpa=-2.385 degrees
! Estimated noise=849.268 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0276487 Jy
! Component: 100  -  total flux cleaned = 0.0334381 Jy
! Component: 150  -  total flux cleaned = 0.037788 Jy
! Component: 200  -  total flux cleaned = 0.0405791 Jy
! Total flux subtracted in 200 components = 0.0405791 Jy
! Clean residual min=-0.069812 max=0.044816 Jy/beam
! Clean residual mean=0.000841 rms=0.013944 Jy/beam
! Combined flux in latest and established models = 1.98034 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 77 components and 1.98034 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299471Jy  sigma=0.002281
! Fit after  self-cal, rms=0.298803Jy  sigma=0.002275
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.97     KP        0.87     
!   LA        0.99     MC        1.00*    MK        0.97     NL        0.98     
!   NY        1.00*    OV        0.95     PT        0.93     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.04     GC        1.00*    GG        1.00*    
!   HH        0.94     HN        1.06     KK        1.00*    KP        1.07     
!   LA        1.08     MC        1.07     MK        1.00*    NL        1.08     
!   NY        1.00*    OV        1.00*    PT        1.07     SC        1.00     
!   TS        1.00*    WF        0.94     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        0.92     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.93     KK        0.97     KP        0.96     
!   LA        0.96     MC        1.00*    MK        1.00     NL        0.94     
!   NY        1.00*    OV        0.93     PT        0.91     SC        1.02     
!   TS        1.00*    WF        0.96     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.97     KP        1.04     
!   LA        0.95     MC        1.00*    MK        0.96     NL        0.95     
!   NY        1.00*    OV        0.99     PT        0.95     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.05     GC        1.00*    GG        1.00*    
!   HH        1.00     HN        1.05     KK        1.00*    KP        1.47     
!   LA        1.04     MC        1.51     MK        1.00*    NL        1.08     
!   NY        1.00*    OV        1.00*    PT        1.12     SC        1.02     
!   TS        1.00*    WF        0.97     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.94     KK        0.98     KP        1.01     
!   LA        0.92     MC        1.00*    MK        0.97     NL        0.92     
!   NY        1.00*    OV        0.96     PT        0.94     SC        1.04     
!   TS        1.00*    WF        0.96     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.92     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.00     KP        0.98     
!   LA        0.96     MC        1.00*    MK        0.97     NL        1.02     
!   NY        1.00*    OV        1.00     PT        0.95     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.02     GC        1.00*    GG        1.00*    
!   HH        0.96     HN        1.03     KK        1.00*    KP        1.18     
!   LA        1.13     MC        3.98     MK        1.00*    NL        1.15     
!   NY        1.00*    OV        1.00*    PT        1.13     SC        1.01     
!   TS        1.00*    WF        0.92     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.05     FD        0.89     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.93     KK        0.99     KP        0.98     
!   LA        0.96     MC        1.00*    MK        0.99     NL        0.98     
!   NY        1.00*    OV        0.98     PT        0.93     SC        1.00     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 33 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.97     KP        0.97     
!   LA        0.93     MC        1.00*    MK        0.94     NL        0.99     
!   NY        1.00*    OV        0.98     PT        1.07     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.04     GC        1.00*    GG        1.00*    
!   HH        0.91     HN        1.00     KK        1.00*    KP        1.13     
!   LA        1.08     MC        1.38     MK        1.00*    NL        1.08     
!   NY        1.00*    OV        1.00*    PT        1.10     SC        1.02     
!   TS        1.00*    WF        0.92     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.95     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.90     KK        0.96     KP        0.97     
!   LA        0.94     MC        1.00*    MK        0.97     NL        0.94     
!   NY        1.00*    OV        0.97     PT        0.92     SC        1.00     
!   TS        1.00*    WF        0.95     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.298803Jy  sigma=0.002275
! Fit after  self-cal, rms=0.294114Jy  sigma=0.001635
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.671 mas, bmaj=6.906 mas, bpa=-2.806 degrees
! Estimated noise=886.359 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0117366 Jy
! Component: 100  -  total flux cleaned = 0.00907031 Jy
! Component: 150  -  total flux cleaned = 0.00661034 Jy
! Component: 200  -  total flux cleaned = 0.00596209 Jy
! Total flux subtracted in 200 components = 0.00596209 Jy
! Clean residual min=-0.010283 max=0.016924 Jy/beam
! Clean residual mean=0.000322 rms=0.003069 Jy/beam
! Combined flux in latest and established models = 1.9863 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 90 components and 1.9863 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.291942Jy  sigma=0.001615
! Fit after  self-cal, rms=0.291689Jy  sigma=0.001612
! Inverting map 
! Added new window around map position (6.5, 1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0117983 Jy
! Component: 100  -  total flux cleaned = 0.0126475 Jy
! Component: 150  -  total flux cleaned = 0.0126596 Jy
! Component: 200  -  total flux cleaned = 0.0123802 Jy
! Total flux subtracted in 200 components = 0.0123802 Jy
! Clean residual min=-0.009738 max=0.011990 Jy/beam
! Clean residual mean=0.000148 rms=0.002498 Jy/beam
! Combined flux in latest and established models = 1.99868 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 103 components and 1.99868 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.290461Jy  sigma=0.001601
! Fit after  self-cal, rms=0.290237Jy  sigma=0.001600
! Inverting map 
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.290237Jy  sigma=0.001600
! Fit after  self-cal, rms=0.296702Jy  sigma=0.001597
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.68 mas, bmaj=6.919 mas, bpa=-2.836 degrees
! Estimated noise=886.529 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00437501 Jy
! Component: 100  -  total flux cleaned = 0.00467839 Jy
! Component: 150  -  total flux cleaned = 0.00468212 Jy
! Component: 200  -  total flux cleaned = 0.00467706 Jy
! Total flux subtracted in 200 components = 0.00467706 Jy
! Clean residual min=-0.007093 max=0.008803 Jy/beam
! Clean residual mean=0.000151 rms=0.002081 Jy/beam
! Combined flux in latest and established models = 2.00336 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 111 components and 2.00336 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.296153Jy  sigma=0.001591
! Fit after  self-cal, rms=0.296066Jy  sigma=0.001591
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00181172 Jy
! Component: 100  -  total flux cleaned = 0.0020027 Jy
! Component: 150  -  total flux cleaned = 0.00232816 Jy
! Component: 200  -  total flux cleaned = 0.00248003 Jy
! Total flux subtracted in 200 components = 0.00248003 Jy
! Clean residual min=-0.006710 max=0.007997 Jy/beam
! Clean residual mean=0.000115 rms=0.001964 Jy/beam
! Combined flux in latest and established models = 2.00584 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 119 components and 2.00584 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.295848Jy  sigma=0.001588
! Fit after  self-cal, rms=0.295798Jy  sigma=0.001588
! Inverting map 
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.295798Jy  sigma=0.001588
! Fit after  self-cal, rms=0.300116Jy  sigma=0.001587
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.688 mas, bmaj=6.93 mas, bpa=-2.829 degrees
! Estimated noise=887.497 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0006557 Jy
! Component: 100  -  total flux cleaned = 0.00115437 Jy
! Component: 150  -  total flux cleaned = 0.00144084 Jy
! Component: 200  -  total flux cleaned = 0.0018331 Jy
! Total flux subtracted in 200 components = 0.0018331 Jy
! Clean residual min=-0.005934 max=0.007764 Jy/beam
! Clean residual mean=0.000172 rms=0.001821 Jy/beam
! Combined flux in latest and established models = 2.00767 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 128 components and 2.00767 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299936Jy  sigma=0.001585
! Fit after  self-cal, rms=0.299920Jy  sigma=0.001585
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (18.5, 20).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0082728 Jy
! Component: 100  -  total flux cleaned = 0.0105397 Jy
! Component: 150  -  total flux cleaned = 0.0108495 Jy
! Component: 200  -  total flux cleaned = 0.0113924 Jy
! Total flux subtracted in 200 components = 0.0113924 Jy
! Clean residual min=-0.005482 max=0.005606 Jy/beam
! Clean residual mean=0.000016 rms=0.001544 Jy/beam
! Combined flux in latest and established models = 2.01906 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 144 components and 2.01906 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299653Jy  sigma=0.001582
! Fit after  self-cal, rms=0.299634Jy  sigma=0.001582
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.299634Jy  sigma=0.001582
! Fit after  self-cal, rms=0.301407Jy  sigma=0.001582
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.514 mas, bmaj=14.59 mas, bpa=-5.579 degrees
! Estimated noise=1101.6 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00530625 Jy
! Component: 100  -  total flux cleaned = 0.00619029 Jy
! Component: 150  -  total flux cleaned = 0.00666933 Jy
! Component: 200  -  total flux cleaned = 0.00700934 Jy
! Total flux subtracted in 200 components = 0.00700934 Jy
! Clean residual min=-0.004787 max=0.005228 Jy/beam
! Clean residual mean=0.000021 rms=0.001700 Jy/beam
! Combined flux in latest and established models = 2.02607 Jy
selfcal
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 156 components and 2.02607 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301414Jy  sigma=0.001581
! Fit after  self-cal, rms=0.301424Jy  sigma=0.001581
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00107214 Jy
! Component: 100  -  total flux cleaned = 0.00124994 Jy
! Component: 150  -  total flux cleaned = 0.00135931 Jy
! Component: 200  -  total flux cleaned = 0.00146197 Jy
! Total flux subtracted in 200 components = 0.00146197 Jy
! Clean residual min=-0.004647 max=0.005112 Jy/beam
! Clean residual mean=-0.000025 rms=0.001679 Jy/beam
! Combined flux in latest and established models = 2.02753 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 163 components and 2.02753 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301428Jy  sigma=0.001581
! Fit after  self-cal, rms=0.301431Jy  sigma=0.001581
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Estimated beam: bmin=2.692 mas, bmaj=6.935 mas, bpa=-2.804 degrees
! Estimated noise=887.936 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.692 x 6.935 at -2.804 degrees (North through East)
! Clean map  min=-0.0050663  max=1.2627 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301431Jy  sigma=0.001581
! Fit after  self-cal, rms=0.401941Jy  sigma=0.001379
! Inverting map and beam 
! Estimated beam: bmin=2.684 mas, bmaj=6.931 mas, bpa=-2.766 degrees
! Estimated noise=886.928 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000405755 Jy
! Component: 100  -  total flux cleaned = -0.000166152 Jy
! Component: 150  -  total flux cleaned = -0.000268799 Jy
! Component: 200  -  total flux cleaned = -0.000359871 Jy
! Total flux subtracted in 200 components = -0.000359871 Jy
! Clean residual min=-0.004558 max=0.005642 Jy/beam
! Clean residual mean=0.000175 rms=0.001381 Jy/beam
! Combined flux in latest and established models = 2.02717 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 174 components and 2.02717 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.401827Jy  sigma=0.001378
! Fit after  self-cal, rms=0.401827Jy  sigma=0.001378
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000279205 Jy
! Component: 100  -  total flux cleaned = 0.000281673 Jy
! Component: 150  -  total flux cleaned = 0.000192691 Jy
! Component: 200  -  total flux cleaned = 0.000192814 Jy
! Total flux subtracted in 200 components = 0.000192814 Jy
! Clean residual min=-0.004455 max=0.005399 Jy/beam
! Clean residual mean=0.000172 rms=0.001361 Jy/beam
! Combined flux in latest and established models = 2.02737 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 176 components and 2.02737 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.401758Jy  sigma=0.001377
! Fit after  self-cal, rms=0.401761Jy  sigma=0.001377
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.401761Jy  sigma=0.001377
! Fit after  self-cal, rms=0.398880Jy  sigma=0.001377
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative models.
uvw 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.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=1.999 mas, bmaj=4.56 mas, bpa=7.049 degrees
! Estimated noise=1284.66 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.909111 Jy
! Component: 100  -  total flux cleaned = 1.29197 Jy
! Component: 150  -  total flux cleaned = 1.5163 Jy
! Component: 200  -  total flux cleaned = 1.65945 Jy
! Total flux subtracted in 200 components = 1.65945 Jy
! Clean residual min=-0.020151 max=0.076024 Jy/beam
! Clean residual mean=0.000884 rms=0.009047 Jy/beam
! Combined flux in latest and established models = 1.65945 Jy
uvw 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.
flux_cutoff = imstat(rms) * dynam
! Adding 32 model components to the UV plane model.
! The established model now contains 32 components and 1.65945 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.686 mas, bmaj=6.927 mas, bpa=-2.723 degrees
! Estimated noise=887.144 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.147522 Jy
! Component: 100  -  total flux cleaned = 0.225579 Jy
! Component: 150  -  total flux cleaned = 0.270341 Jy
! Component: 200  -  total flux cleaned = 0.297412 Jy
! Total flux subtracted in 200 components = 0.297412 Jy
! Clean residual min=-0.007351 max=0.019791 Jy/beam
! Clean residual mean=0.001093 rms=0.003329 Jy/beam
! Combined flux in latest and established models = 1.95687 Jy
! Adding 66 model components to the UV plane model.
! The established model now contains 84 components and 1.95687 Jy
! Inverting map 
! Added new window around map position (-2.5, -1.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0196331 Jy
! Component: 100  -  total flux cleaned = 0.0329379 Jy
! Component: 150  -  total flux cleaned = 0.0429433 Jy
! Component: 200  -  total flux cleaned = 0.0507929 Jy
! Total flux subtracted in 200 components = 0.0507929 Jy
! Clean residual min=-0.005215 max=0.007042 Jy/beam
! Clean residual mean=0.000442 rms=0.001686 Jy/beam
! Combined flux in latest and established models = 2.00766 Jy
! Adding 35 model components to the UV plane model.
! The established model now contains 116 components and 2.00766 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.514 mas, bmaj=14.58 mas, bpa=-5.542 degrees
! Estimated noise=1101.58 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00976278 Jy
! Component: 100  -  total flux cleaned = 0.0154047 Jy
! Component: 150  -  total flux cleaned = 0.0191461 Jy
! Component: 200  -  total flux cleaned = 0.0212967 Jy
! Total flux subtracted in 200 components = 0.0212967 Jy
! Clean residual min=-0.004116 max=0.004955 Jy/beam
! Clean residual mean=0.000346 rms=0.001552 Jy/beam
! Combined flux in latest and established models = 2.02896 Jy
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00075958 Jy
! Component: 100  -  total flux cleaned = 0.00126021 Jy
! Component: 150  -  total flux cleaned = 0.00168994 Jy
! Component: 200  -  total flux cleaned = 0.0020116 Jy
! Total flux subtracted in 200 components = 0.0020116 Jy
! Clean residual min=-0.003886 max=0.004644 Jy/beam
! Clean residual mean=0.000286 rms=0.001449 Jy/beam
! Combined flux in latest and established models = 2.03097 Jy
! Adding 70 model components to the UV plane model.
! The established model now contains 183 components and 2.03097 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.686 mas, bmaj=6.927 mas, bpa=-2.723 degrees
! Estimated noise=887.144 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000855167 Jy
! Component: 100  -  total flux cleaned = -0.000193218 Jy
! Component: 150  -  total flux cleaned = 9.14863e-05 Jy
! Component: 200  -  total flux cleaned = 0.000218103 Jy
! Total flux subtracted in 200 components = 0.000218103 Jy
! Clean residual min=-0.004749 max=0.005358 Jy/beam
! Clean residual mean=0.000129 rms=0.001273 Jy/beam
! Combined flux in latest and established models = 2.03118 Jy
selfcal
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 197 components and 2.03118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398962Jy  sigma=0.001376
! Fit after  self-cal, rms=0.398778Jy  sigma=0.001375
wmodel J1911-2006_S_2001_07_05_pus_map.mod
! Writing 197 model components to file: J1911-2006_S_2001_07_05_pus_map.mod
wobs J1911-2006_S_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J1911-2006_S_2001_07_05_pus_uvs.fits
wwins J1911-2006_S_2001_07_05_pus_map.win
! wwins: Wrote 5 windows to J1911-2006_S_2001_07_05_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00172844 Jy
! Component: 100  -  total flux cleaned = 0.00295001 Jy
! Component: 150  -  total flux cleaned = 0.00402778 Jy
! Component: 200  -  total flux cleaned = 0.00490758 Jy
! Component: 250  -  total flux cleaned = 0.00540138 Jy
! Component: 300  -  total flux cleaned = 0.00574298 Jy
! Component: 350  -  total flux cleaned = 0.0060104 Jy
! Component: 400  -  total flux cleaned = 0.0063987 Jy
! Component: 450  -  total flux cleaned = 0.00665075 Jy
! Component: 500  -  total flux cleaned = 0.00689755 Jy
! Component: 550  -  total flux cleaned = 0.00701912 Jy
! Component: 600  -  total flux cleaned = 0.0070192 Jy
! Component: 650  -  total flux cleaned = 0.00696134 Jy
! Component: 700  -  total flux cleaned = 0.00707714 Jy
! Component: 750  -  total flux cleaned = 0.00707774 Jy
! Component: 800  -  total flux cleaned = 0.0073014 Jy
! Component: 850  -  total flux cleaned = 0.0071906 Jy
! Component: 900  -  total flux cleaned = 0.00730064 Jy
! Component: 950  -  total flux cleaned = 0.00751679 Jy
! Component: 1000  -  total flux cleaned = 0.00746356 Jy
! Component: 1050  -  total flux cleaned = 0.00756977 Jy
! Component: 1100  -  total flux cleaned = 0.00772646 Jy
! Component: 1150  -  total flux cleaned = 0.00762324 Jy
! Component: 1200  -  total flux cleaned = 0.00762369 Jy
! Component: 1250  -  total flux cleaned = 0.00772572 Jy
! Component: 1300  -  total flux cleaned = 0.00772616 Jy
! Component: 1350  -  total flux cleaned = 0.00777621 Jy
! Component: 1400  -  total flux cleaned = 0.00767844 Jy
! Component: 1450  -  total flux cleaned = 0.00772773 Jy
! Component: 1500  -  total flux cleaned = 0.00772778 Jy
! Component: 1550  -  total flux cleaned = 0.0077274 Jy
! Component: 1600  -  total flux cleaned = 0.00782252 Jy
! Component: 1650  -  total flux cleaned = 0.00772768 Jy
! Component: 1700  -  total flux cleaned = 0.00777406 Jy
! Component: 1750  -  total flux cleaned = 0.00768168 Jy
! Component: 1800  -  total flux cleaned = 0.00777438 Jy
! Component: 1850  -  total flux cleaned = 0.00772872 Jy
! Component: 1900  -  total flux cleaned = 0.00772907 Jy
! Component: 1950  -  total flux cleaned = 0.0076841 Jy
! Component: 2000  -  total flux cleaned = 0.00763959 Jy
! Total flux subtracted in 2048 components = 0.00772805 Jy
! Clean residual min=-0.002813 max=0.002387 Jy/beam
! Clean residual mean=0.000044 rms=0.000847 Jy/beam
! Combined flux in latest and established models = 2.03891 Jy
keep
! Adding 128 model components to the UV plane model.
! The established model now contains 324 components and 2.03891 Jy
wmap "J1911-2006_S_2001_07_05_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.686 x 6.927 at -2.723 degrees (North through East)
! Clean map  min=-0.0032714  max=1.2668 Jy/beam
! Writing clean map to FITS file: J1911-2006_S_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.2668 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000845558 
device "J1911-2006_S_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J1911-2006_S_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.200243 0.200243 0.400486 0.800972 1.60194 3.20389 6.40777 12.8155 25.6311 51.2622
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.266 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.686 x 6.927 at -2.723 degrees (North through East)
! Clean map  min=-0.0032714  max=1.2668 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1911-2006_S_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J1911-2006_S_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1911-2006_S_2001_07_05_pus_uvs.log closed on Fri Aug 10 02:34:08 2007