! Started logfile: J1911-2006_S_2001_04_09_pus_uvs.log on Fri Oct  5 16:17:16 2007
obs J1911-2006_S_2001_04_09_pus_uva.fits
! Reading UV FITS file: J1911-2006_S_2001_04_09_pus_uva.fits
! AN table 1: 52 integrations on 190 of 190 possible baselines.
! AN table 2: 92 integrations on 190 of 190 possible baselines.
! AN table 3: 83 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.0907257 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1911-2006
! 
! 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 1949 lines of history.
! 
! Reading 15652 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 
![@muppet J1911-2006_S_2001_04_09_pus]
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 969 telescope corrections were flagged in sub-array 1.
!  A total of 1370 telescope corrections were flagged in sub-array 2.
!  A total of 1115 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 969 telescope corrections were flagged in sub-array 1.
!  A total of 1370 telescope corrections were flagged in sub-array 2.
!  A total of 1115 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 969 telescope corrections were flagged in sub-array 1.
!  A total of 1369 telescope corrections were flagged in sub-array 2.
!  A total of 1115 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 969 telescope corrections were flagged in sub-array 1.
!  A total of 1369 telescope corrections were flagged in sub-array 2.
!  A total of 1115 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=1.402950Jy  sigma=0.011780
! Fit after  self-cal, rms=0.925808Jy  sigma=0.007492
! 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=2.173 mas, bmaj=4.874 mas, bpa=-0.0886 degrees
! Estimated noise=1297.97 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 = 1.12422 Jy
! Component: 100  -  total flux cleaned = 1.55817 Jy
! Total flux subtracted in 100 components = 1.55817 Jy
! Clean residual min=-0.059960 max=0.201751 Jy/beam
! Clean residual mean=0.001863 rms=0.022449 Jy/beam
! Combined flux in latest and established models = 1.55817 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 1.55817 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.564393Jy  sigma=0.004255
! Fit after  self-cal, rms=0.563832Jy  sigma=0.004251
! Inverting map 
! Added new window around map position (2, 2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.236257 Jy
! Component: 100  -  total flux cleaned = 0.386315 Jy
! Total flux subtracted in 100 components = 0.386315 Jy
! Clean residual min=-0.039939 max=0.102000 Jy/beam
! Clean residual mean=0.000767 rms=0.012799 Jy/beam
! Combined flux in latest and established models = 1.94449 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 32 components and 1.94449 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398543Jy  sigma=0.002685
! Fit after  self-cal, rms=0.397155Jy  sigma=0.002674
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.104399 Jy
! Component: 100  -  total flux cleaned = 0.17369 Jy
! Total flux subtracted in 100 components = 0.17369 Jy
! Clean residual min=-0.039532 max=0.058163 Jy/beam
! Clean residual mean=0.000275 rms=0.009676 Jy/beam
! Combined flux in latest and established models = 2.11818 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 43 components and 2.11818 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.359062Jy  sigma=0.002305
! Fit after  self-cal, rms=0.358291Jy  sigma=0.002300
! 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.607 mas, bmaj=8.169 mas, bpa=-1.858 degrees
! Estimated noise=715.113 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.053844 Jy
! Component: 100  -  total flux cleaned = 0.0807318 Jy
! Component: 150  -  total flux cleaned = 0.0958783 Jy
! Component: 200  -  total flux cleaned = 0.104639 Jy
! Total flux subtracted in 200 components = 0.10464 Jy
! Clean residual min=-0.054624 max=0.047670 Jy/beam
! Clean residual mean=-0.001269 rms=0.014775 Jy/beam
! Combined flux in latest and established models = 2.22282 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 54 components and 2.22282 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.349748Jy  sigma=0.002223
! Fit after  self-cal, rms=0.349073Jy  sigma=0.002218
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.13     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        0.88     MC        0.84     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        0.84     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.09     FD        1.12     GC        1.00*    GG        1.00*    
!   HH        1.19     HN        1.00*    KK        1.04     KP        1.03     
!   LA        1.07     MA        1.05     MC        0.95     MK        1.09     
!   NL        1.00*    NY        1.00*    OV        1.09     PT        1.05     
!   SC        1.01     TS        1.03     WF        1.28     WZ        0.93     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        0.95     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.94     KK        0.97     KP        0.89     
!   LA        0.94     MA        1.00*    MC        1.00*    MK        0.98     
!   NL        0.99     NY        1.00*    OV        1.01     PT        0.92     
!   SC        0.95     TS        1.00*    WF        0.99     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.04     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.23     MC        1.04     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        0.97     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.09     FD        1.10     GC        1.00*    GG        1.00*    
!   HH        1.09     HN        1.00*    KK        1.00     KP        0.87     
!   LA        1.10     MA        2.60     MC        0.95     MK        1.07     
!   NL        1.00*    NY        1.00*    OV        1.05     PT        1.09     
!   SC        1.02     TS        1.04     WF        1.08     WZ        0.94     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.94     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.95     KK        1.00     KP        1.00     
!   LA        0.96     MA        1.00*    MC        1.00*    MK        0.97     
!   NL        1.00     NY        1.00*    OV        0.97     PT        0.96     
!   SC        0.95     TS        1.00*    WF        0.98     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        0.95     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        0.91     MC        0.94     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        0.96     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.13     FD        1.10     GC        1.00*    GG        1.00*    
!   HH        1.12     HN        1.00*    KK        1.13     KP        1.08     
!   LA        1.06     MA        0.96     MC        0.89     MK        1.02     
!   NL        1.00*    NY        1.00*    OV        1.05     PT        1.08     
!   SC        0.99     TS        0.95     WF        1.03     WZ        0.96     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.97     KK        0.97     KP        0.98     
!   LA        0.93     MA        1.00*    MC        1.00*    MK        0.92     
!   NL        1.00     NY        1.00*    OV        0.98     PT        0.97     
!   SC        0.93     TS        1.00*    WF        0.97     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.09     HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        0.61     MC        1.09     MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.18     
! 
!  A total of 6 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.08     FD        1.10     GC        1.00*    GG        1.00*    
!   HH        1.00     HN        1.00*    KK        1.17     KP        1.06     
!   LA        1.10     MA        1.43     MC        1.32     MK        0.97     
!   NL        1.00*    NY        1.00*    OV        1.04     PT        1.02     
!   SC        1.13     TS        0.89     WF        0.86     WZ        1.20     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.98     KK        0.93     KP        0.97     
!   LA        0.97     MA        1.00*    MC        1.00*    MK        0.89     
!   NL        0.99     NY        1.00*    OV        0.97     PT        0.99     
!   SC        0.95     TS        1.00*    WF        0.99     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.349073Jy  sigma=0.002218
! Fit after  self-cal, rms=0.318943Jy  sigma=0.001527
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.61 mas, bmaj=8.696 mas, bpa=-2.077 degrees
! Estimated noise=712.844 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 (5, 3.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0287201 Jy
! Component: 100  -  total flux cleaned = 0.0300259 Jy
! Component: 150  -  total flux cleaned = 0.0310332 Jy
! Component: 200  -  total flux cleaned = 0.0314384 Jy
! Total flux subtracted in 200 components = 0.0314384 Jy
! Clean residual min=-0.009282 max=0.020570 Jy/beam
! Clean residual mean=0.001239 rms=0.003484 Jy/beam
! Combined flux in latest and established models = 2.25426 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 67 components and 2.25426 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.315417Jy  sigma=0.001488
! Fit after  self-cal, rms=0.316140Jy  sigma=0.001484
! Inverting map 
! Added new window around map position (20.5, 9).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0197032 Jy
! Component: 100  -  total flux cleaned = 0.0246443 Jy
! Component: 150  -  total flux cleaned = 0.0261917 Jy
! Component: 200  -  total flux cleaned = 0.0267173 Jy
! Total flux subtracted in 200 components = 0.0267173 Jy
! Clean residual min=-0.008989 max=0.010529 Jy/beam
! Clean residual mean=0.000651 rms=0.002748 Jy/beam
! Combined flux in latest and established models = 2.28097 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 86 components and 2.28097 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.314697Jy  sigma=0.001466
! Fit after  self-cal, rms=0.314649Jy  sigma=0.001465
! 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.314649Jy  sigma=0.001465
! Fit after  self-cal, rms=0.313865Jy  sigma=0.001427
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.616 mas, bmaj=8.688 mas, bpa=-2.109 degrees
! Estimated noise=713.251 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0112834 Jy
! Component: 100  -  total flux cleaned = 0.0146119 Jy
! Component: 150  -  total flux cleaned = 0.0166541 Jy
! Component: 200  -  total flux cleaned = 0.0177998 Jy
! Total flux subtracted in 200 components = 0.0177998 Jy
! Clean residual min=-0.005859 max=0.008116 Jy/beam
! Clean residual mean=0.000720 rms=0.001711 Jy/beam
! Combined flux in latest and established models = 2.29877 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 100 components and 2.29877 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.313177Jy  sigma=0.001420
! Fit after  self-cal, rms=0.313178Jy  sigma=0.001419
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 (-12.5, -7).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0049847 Jy
! Component: 100  -  total flux cleaned = 0.00518043 Jy
! Component: 150  -  total flux cleaned = 0.00553676 Jy
! Component: 200  -  total flux cleaned = 0.00586295 Jy
! Total flux subtracted in 200 components = 0.00586295 Jy
! Clean residual min=-0.005741 max=0.006308 Jy/beam
! Clean residual mean=0.000575 rms=0.001582 Jy/beam
! Combined flux in latest and established models = 2.30464 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 114 components and 2.30464 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312901Jy  sigma=0.001416
! Fit after  self-cal, rms=0.312894Jy  sigma=0.001416
! 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.312894Jy  sigma=0.001416
! Fit after  self-cal, rms=0.318643Jy  sigma=0.001414
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.623 mas, bmaj=8.692 mas, bpa=-2.141 degrees
! Estimated noise=714.108 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00709215 Jy
! Component: 100  -  total flux cleaned = 0.0108025 Jy
! Component: 150  -  total flux cleaned = 0.0120157 Jy
! Component: 200  -  total flux cleaned = 0.0125565 Jy
! Total flux subtracted in 200 components = 0.0125565 Jy
! Clean residual min=-0.005172 max=0.005593 Jy/beam
! Clean residual mean=0.000526 rms=0.001401 Jy/beam
! Combined flux in latest and established models = 2.31719 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 125 components and 2.31719 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318333Jy  sigma=0.001412
! Fit after  self-cal, rms=0.318320Jy  sigma=0.001412
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.000575807 Jy
! Component: 100  -  total flux cleaned = 0.000693619 Jy
! Component: 150  -  total flux cleaned = 0.00069248 Jy
! Component: 200  -  total flux cleaned = 0.000694947 Jy
! Total flux subtracted in 200 components = 0.000694947 Jy
! Clean residual min=-0.004824 max=0.005455 Jy/beam
! Clean residual mean=0.000509 rms=0.001348 Jy/beam
! Combined flux in latest and established models = 2.31789 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 134 components and 2.31789 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318210Jy  sigma=0.001410
! Fit after  self-cal, rms=0.318203Jy  sigma=0.001410
! 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.318203Jy  sigma=0.001410
! Fit after  self-cal, rms=0.318900Jy  sigma=0.001410
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.575 mas, bmaj=14.92 mas, bpa=-0.8469 degrees
! Estimated noise=927.279 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00471543 Jy
! Component: 100  -  total flux cleaned = 0.00664684 Jy
! Component: 150  -  total flux cleaned = 0.00714527 Jy
! Component: 200  -  total flux cleaned = 0.00757718 Jy
! Total flux subtracted in 200 components = 0.00757718 Jy
! Clean residual min=-0.003420 max=0.006604 Jy/beam
! Clean residual mean=0.001010 rms=0.001374 Jy/beam
! Combined flux in latest and established models = 2.32546 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 162 components and 2.32546 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318811Jy  sigma=0.001410
! Fit after  self-cal, rms=0.318798Jy  sigma=0.001409
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 (15.5, 43).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00639268 Jy
! Component: 100  -  total flux cleaned = 0.00974832 Jy
! Component: 150  -  total flux cleaned = 0.0109749 Jy
! Component: 200  -  total flux cleaned = 0.0116225 Jy
! Total flux subtracted in 200 components = 0.0116225 Jy
! Clean residual min=-0.003481 max=0.003915 Jy/beam
! Clean residual mean=0.000542 rms=0.001100 Jy/beam
! Combined flux in latest and established models = 2.33709 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 196 components and 2.33709 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318679Jy  sigma=0.001408
! Fit after  self-cal, rms=0.318669Jy  sigma=0.001408
! 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.625 mas, bmaj=8.695 mas, bpa=-2.158 degrees
! Estimated noise=714.537 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.625 x 8.695 at -2.158 degrees (North through East)
! Clean map  min=-0.0043623  max=1.5043 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.318669Jy  sigma=0.001408
! Fit after  self-cal, rms=0.612970Jy  sigma=0.001212
! Inverting map and beam 
! Estimated beam: bmin=2.623 mas, bmaj=8.715 mas, bpa=-2.187 degrees
! Estimated noise=714.689 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00297369 Jy
! Component: 100  -  total flux cleaned = 0.00396893 Jy
! Component: 150  -  total flux cleaned = 0.00499577 Jy
! Component: 200  -  total flux cleaned = 0.00571352 Jy
! Total flux subtracted in 200 components = 0.00571352 Jy
! Clean residual min=-0.004113 max=0.004171 Jy/beam
! Clean residual mean=0.000270 rms=0.001083 Jy/beam
! Combined flux in latest and established models = 2.3428 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 219 components and 2.3428 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.612892Jy  sigma=0.001211
! Fit after  self-cal, rms=0.613035Jy  sigma=0.001211
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000464901 Jy
! Component: 100  -  total flux cleaned = 0.000797764 Jy
! Component: 150  -  total flux cleaned = 0.00122159 Jy
! Component: 200  -  total flux cleaned = 0.00142514 Jy
! Total flux subtracted in 200 components = 0.00142514 Jy
! Clean residual min=-0.004155 max=0.003936 Jy/beam
! Clean residual mean=0.000241 rms=0.001040 Jy/beam
! Combined flux in latest and established models = 2.34422 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 232 components and 2.34422 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.612988Jy  sigma=0.001210
! Fit after  self-cal, rms=0.612981Jy  sigma=0.001210
! 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.612981Jy  sigma=0.001210
! Fit after  self-cal, rms=0.741731Jy  sigma=0.001210
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=2.208 mas, bmaj=5.033 mas, bpa=-0.6731 degrees
! Estimated noise=1303.26 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.10008 Jy
! Component: 100  -  total flux cleaned = 1.52328 Jy
! Component: 150  -  total flux cleaned = 1.75796 Jy
! Component: 200  -  total flux cleaned = 1.91066 Jy
! Total flux subtracted in 200 components = 1.91066 Jy
! Clean residual min=-0.022905 max=0.082298 Jy/beam
! Clean residual mean=0.001044 rms=0.009522 Jy/beam
! Combined flux in latest and established models = 1.91066 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 30 model components to the UV plane model.
! The established model now contains 30 components and 1.91066 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.624 mas, bmaj=8.719 mas, bpa=-2.194 degrees
! Estimated noise=714.812 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.165635 Jy
! Component: 100  -  total flux cleaned = 0.250657 Jy
! Component: 150  -  total flux cleaned = 0.297497 Jy
! Component: 200  -  total flux cleaned = 0.326472 Jy
! Total flux subtracted in 200 components = 0.326472 Jy
! Clean residual min=-0.006298 max=0.022801 Jy/beam
! Clean residual mean=0.002912 rms=0.003394 Jy/beam
! Combined flux in latest and established models = 2.23713 Jy
! Adding 66 model components to the UV plane model.
! The established model now contains 81 components and 2.23713 Jy
! Inverting map 
! Added new window around map position (-3, -1.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0228571 Jy
! Component: 100  -  total flux cleaned = 0.0390067 Jy
! Component: 150  -  total flux cleaned = 0.0515661 Jy
! Component: 200  -  total flux cleaned = 0.0614296 Jy
! Total flux subtracted in 200 components = 0.0614296 Jy
! Clean residual min=-0.004379 max=0.006340 Jy/beam
! Clean residual mean=0.001330 rms=0.001603 Jy/beam
! Combined flux in latest and established models = 2.29856 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 117 components and 2.29856 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.572 mas, bmaj=14.92 mas, bpa=-0.8502 degrees
! Estimated noise=928.137 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0122673 Jy
! Component: 100  -  total flux cleaned = 0.0205439 Jy
! Component: 150  -  total flux cleaned = 0.0269076 Jy
! Component: 200  -  total flux cleaned = 0.0319575 Jy
! Total flux subtracted in 200 components = 0.0319575 Jy
! Clean residual min=-0.002784 max=0.004100 Jy/beam
! Clean residual mean=0.001262 rms=0.001126 Jy/beam
! Combined flux in latest and established models = 2.33051 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.00407755 Jy
! Component: 100  -  total flux cleaned = 0.00739675 Jy
! Component: 150  -  total flux cleaned = 0.0101108 Jy
! Component: 200  -  total flux cleaned = 0.0123378 Jy
! Total flux subtracted in 200 components = 0.0123378 Jy
! Clean residual min=-0.003327 max=0.004318 Jy/beam
! Clean residual mean=0.000671 rms=0.001012 Jy/beam
! Combined flux in latest and established models = 2.34285 Jy
! Adding 122 model components to the UV plane model.
! The established model now contains 232 components and 2.34285 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.624 mas, bmaj=8.719 mas, bpa=-2.194 degrees
! Estimated noise=714.812 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0011889 Jy
! Component: 100  -  total flux cleaned = 0.00176388 Jy
! Component: 150  -  total flux cleaned = 0.00202955 Jy
! Component: 200  -  total flux cleaned = 0.0025271 Jy
! Total flux subtracted in 200 components = 0.0025271 Jy
! Clean residual min=-0.003810 max=0.004504 Jy/beam
! Clean residual mean=0.000257 rms=0.001067 Jy/beam
! Combined flux in latest and established models = 2.34538 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 252 components and 2.34538 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.741576Jy  sigma=0.001211
! Fit after  self-cal, rms=0.741615Jy  sigma=0.001210
wmodel J1911-2006_S_2001_04_09_pus_map.mod
! Writing 252 model components to file: J1911-2006_S_2001_04_09_pus_map.mod
wobs J1911-2006_S_2001_04_09_pus_uvs.fits
! Writing UV FITS file: J1911-2006_S_2001_04_09_pus_uvs.fits
wwins J1911-2006_S_2001_04_09_pus_map.win
! wwins: Wrote 7 windows to J1911-2006_S_2001_04_09_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.000793932 Jy
! Component: 100  -  total flux cleaned = 0.00121824 Jy
! Component: 150  -  total flux cleaned = 0.00189104 Jy
! Component: 200  -  total flux cleaned = 0.00253393 Jy
! Component: 250  -  total flux cleaned = 0.00303005 Jy
! Component: 300  -  total flux cleaned = 0.00357033 Jy
! Component: 350  -  total flux cleaned = 0.00415456 Jy
! Component: 400  -  total flux cleaned = 0.00460923 Jy
! Component: 450  -  total flux cleaned = 0.00505372 Jy
! Component: 500  -  total flux cleaned = 0.00543516 Jy
! Component: 550  -  total flux cleaned = 0.00580871 Jy
! Component: 600  -  total flux cleaned = 0.00617441 Jy
! Component: 650  -  total flux cleaned = 0.00648276 Jy
! Component: 700  -  total flux cleaned = 0.00678569 Jy
! Component: 750  -  total flux cleaned = 0.00713173 Jy
! Component: 800  -  total flux cleaned = 0.0073258 Jy
! Component: 850  -  total flux cleaned = 0.00761221 Jy
! Component: 900  -  total flux cleaned = 0.00780021 Jy
! Component: 950  -  total flux cleaned = 0.00798562 Jy
! Component: 1000  -  total flux cleaned = 0.00816831 Jy
! Component: 1050  -  total flux cleaned = 0.00834798 Jy
! Component: 1100  -  total flux cleaned = 0.00848097 Jy
! Component: 1150  -  total flux cleaned = 0.00861192 Jy
! Component: 1200  -  total flux cleaned = 0.00869835 Jy
! Component: 1250  -  total flux cleaned = 0.00886903 Jy
! Component: 1300  -  total flux cleaned = 0.00899485 Jy
! Component: 1350  -  total flux cleaned = 0.00907798 Jy
! Component: 1400  -  total flux cleaned = 0.00924239 Jy
! Component: 1450  -  total flux cleaned = 0.00928261 Jy
! Component: 1500  -  total flux cleaned = 0.00940304 Jy
! Component: 1550  -  total flux cleaned = 0.0095221 Jy
! Component: 1600  -  total flux cleaned = 0.00960074 Jy
! Component: 1650  -  total flux cleaned = 0.00971719 Jy
! Component: 1700  -  total flux cleaned = 0.00971729 Jy
! Component: 1750  -  total flux cleaned = 0.00979352 Jy
! Component: 1800  -  total flux cleaned = 0.00986902 Jy
! Component: 1850  -  total flux cleaned = 0.00994399 Jy
! Component: 1900  -  total flux cleaned = 0.0100552 Jy
! Component: 1950  -  total flux cleaned = 0.0101285 Jy
! Component: 2000  -  total flux cleaned = 0.0102376 Jy
! Total flux subtracted in 2048 components = 0.0102736 Jy
! Clean residual min=-0.002655 max=0.001948 Jy/beam
! Clean residual mean=0.000036 rms=0.000688 Jy/beam
! Combined flux in latest and established models = 2.35565 Jy
keep
! Adding 106 model components to the UV plane model.
! The established model now contains 356 components and 2.35565 Jy
![Exited script file: muppet]
wmap "J1911-2006_S_2001_04_09_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.624 x 8.719 at -2.194 degrees (North through East)
! Clean map  min=-0.0045482  max=1.5039 Jy/beam
! Writing clean map to FITS file: J1911-2006_S_2001_04_09_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.50394 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000688204 
device "J1911-2006_S_2001_04_09_pus\_map.eps/VPS"
! Attempting to open device: 'J1911-2006_S_2001_04_09_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.13728 0.13728 0.274561 0.549121 1.09824 2.19648 4.39297 8.78594 17.5719 35.1438 70.2875
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.503 
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.624 x 8.719 at -2.194 degrees (North through East)
! Clean map  min=-0.0045482  max=1.5039 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1911-2006_S_2001_04_09_pus\_map.gif/vgif"
! Attempting to open device: 'J1911-2006_S_2001_04_09_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1911-2006_S_2001_04_09_pus_uvs.log closed on Fri Oct  5 16:17:28 2007