! Started logfile: J1911-2006_S_2000_12_04_pus_uvs.log on Wed Oct 17 17:20:24 2007
obs J1911-2006_S_2000_12_04_pus_uva.fits
! Reading UV FITS file: J1911-2006_S_2000_12_04_pus_uva.fits
! AN table 1: 10 integrations on 190 of 190 possible baselines.
! AN table 2: 35 integrations on 190 of 190 possible baselines.
! AN table 3: 22 integrations on 190 of 190 possible baselines.
! AN table 4: 40 integrations on 190 of 190 possible baselines.
! AN table 5: 32 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.0672851 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.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2169 lines of history.
! 
! Reading 7108 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_2000_12_04_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 200 telescope corrections were flagged in sub-array 1.
!  A total of 682 telescope corrections were flagged in sub-array 2.
!  A total of 302 telescope corrections were flagged in sub-array 3.
!  A total of 608 telescope corrections were flagged in sub-array 4.
!  A total of 476 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 200 telescope corrections were flagged in sub-array 1.
!  A total of 682 telescope corrections were flagged in sub-array 2.
!  A total of 302 telescope corrections were flagged in sub-array 3.
!  A total of 608 telescope corrections were flagged in sub-array 4.
!  A total of 476 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 200 telescope corrections were flagged in sub-array 1.
!  A total of 682 telescope corrections were flagged in sub-array 2.
!  A total of 302 telescope corrections were flagged in sub-array 3.
!  A total of 608 telescope corrections were flagged in sub-array 4.
!  A total of 475 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 200 telescope corrections were flagged in sub-array 1.
!  A total of 682 telescope corrections were flagged in sub-array 2.
!  A total of 302 telescope corrections were flagged in sub-array 3.
!  A total of 608 telescope corrections were flagged in sub-array 4.
!  A total of 475 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=2.110093Jy  sigma=0.017004
! Fit after  self-cal, rms=1.867359Jy  sigma=0.014833
! 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.633 mas, bmaj=5.805 mas, bpa=8.012 degrees
! Estimated noise=1686.3 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.66436 Jy
! Component: 100  -  total flux cleaned = 2.27833 Jy
! Total flux subtracted in 100 components = 2.27833 Jy
! Clean residual min=-0.090066 max=0.287735 Jy/beam
! Clean residual mean=0.002399 rms=0.036661 Jy/beam
! Combined flux in latest and established models = 2.27832 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 2.27832 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.156238Jy  sigma=0.008744
! Fit after  self-cal, rms=1.155132Jy  sigma=0.008742
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.329801 Jy
! Component: 100  -  total flux cleaned = 0.51671 Jy
! Total flux subtracted in 100 components = 0.51671 Jy
! Clean residual min=-0.076491 max=0.142917 Jy/beam
! Clean residual mean=0.001458 rms=0.024518 Jy/beam
! Combined flux in latest and established models = 2.79503 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 38 components and 2.79503 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.020177Jy  sigma=0.007482
! Fit after  self-cal, rms=1.019834Jy  sigma=0.007481
! 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=3.427 mas, bmaj=7.931 mas, bpa=5.717 degrees
! Estimated noise=1127.17 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 (4, 3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.204856 Jy
! Component: 100  -  total flux cleaned = 0.311012 Jy
! Component: 150  -  total flux cleaned = 0.376508 Jy
! Component: 200  -  total flux cleaned = 0.398363 Jy
! Total flux subtracted in 200 components = 0.398363 Jy
! Clean residual min=-0.076961 max=0.096176 Jy/beam
! Clean residual mean=-0.003843 rms=0.025226 Jy/beam
! Combined flux in latest and established models = 3.1934 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 71 components and 3.1934 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.985291Jy  sigma=0.007091
! Fit after  self-cal, rms=0.983663Jy  sigma=0.007073
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        0.93     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.04     KK        1.00*    KP        0.74     
!   LA        0.97     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        0.95     NY        1.00*    OV        1.01     PT        0.95     
!   SC        1.05     TS        1.00*    WF        1.08     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.04     FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.00*    KP        1.07     
!   LA        1.03     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.00     NY        1.00*    OV        1.04     PT        1.04     
!   SC        1.05     TS        1.00*    WF        1.01     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.21     FD        1.07     GC        1.00*    GG        1.00*    
!   HH        0.99     HN        1.14     KK        1.00*    KP        0.70     
!   LA        1.12     MA        2.89     MC        1.06     MK        1.03     
!   NL        1.06     NY        1.00*    OV        1.13     PT        1.13     
!   SC        1.00     TS        1.00*    WF        1.05     WZ        1.05     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        0.94     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.10     KK        1.00*    KP        0.74     
!   LA        0.94     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        0.92     NY        1.00*    OV        0.99     PT        0.96     
!   SC        1.00     TS        1.00*    WF        0.99     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.06     FD        1.02     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.01     KK        1.00*    KP        1.03     
!   LA        1.01     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        0.96     NY        1.00*    OV        1.01     PT        1.04     
!   SC        1.01     TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.21     FD        1.08     GC        1.00*    GG        1.00*    
!   HH        0.99     HN        1.06     KK        1.00*    KP        0.94     
!   LA        1.09     MA        1.28     MC        1.13     MK        1.02     
!   NL        1.02     NY        1.00*    OV        1.06     PT        1.13     
!   SC        0.98     TS        1.00*    WF        1.01     WZ        1.03     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.27     FD        0.62     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.34     KK        1.00*    KP        0.55     
!   LA        0.84     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.30     NY        1.00*    OV        1.17     PT        1.18     
!   SC        0.99     TS        1.00*    WF        0.94     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.15     FD        1.02     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.00*    KP        1.19     
!   LA        1.13     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.10     NY        1.00*    OV        1.14     PT        1.12     
!   SC        1.01     TS        1.00*    WF        1.76     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.71     FD        0.79     GC        1.00*    GG        1.00*    
!   HH        1.00     HN        1.17     KK        1.00*    KP        0.70     
!   LA        0.73     MA       10.86     MC        7.75     MK        0.92     
!   NL        1.32     NY        1.00*    OV        0.94     PT        0.58     
!   SC        0.99     TS        1.00*    WF        0.97     WZ        0.67     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.96     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.04     KK        1.00*    KP        0.76     
!   LA        0.97     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        0.96     NY        1.00*    OV        1.02     PT        1.00     
!   SC        1.03     TS        1.00*    WF        0.99     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.03     FD        1.01     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.00*    KP        1.03     
!   LA        1.04     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.00     NY        1.00*    OV        1.05     PT        1.05     
!   SC        1.04     TS        1.00*    WF        0.99     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.15     FD        1.10     GC        1.00*    GG        1.00*    
!   HH        0.91     HN        1.08     KK        1.00*    KP        0.99     
!   LA        1.14     MA        1.97     MC        1.21     MK        0.91     
!   NL        1.04     NY        1.00*    OV        1.11     PT        1.23     
!   SC        1.06     TS        1.00*    WF        1.04     WZ        1.30     
! 
! 
! Fit before self-cal, rms=0.983663Jy  sigma=0.007073
! Fit after  self-cal, rms=1.333791Jy  sigma=0.003580
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.639 mas, bmaj=8.229 mas, bpa=3.902 degrees
! Estimated noise=1165.64 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.00181383 Jy
! Component: 100  -  total flux cleaned = -0.00168468 Jy
! Component: 150  -  total flux cleaned = -0.00272284 Jy
! Component: 200  -  total flux cleaned = -0.00415211 Jy
! Total flux subtracted in 200 components = -0.00415211 Jy
! Clean residual min=-0.017244 max=0.015701 Jy/beam
! Clean residual mean=-0.000138 rms=0.004567 Jy/beam
! Combined flux in latest and established models = 3.18925 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 87 components and 3.18925 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.333429Jy  sigma=0.003570
! Fit after  self-cal, rms=1.388637Jy  sigma=0.003562
! 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=1.388637Jy  sigma=0.003562
! Fit after  self-cal, rms=1.324442Jy  sigma=0.003562
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.64 mas, bmaj=8.216 mas, bpa=3.982 degrees
! Estimated noise=1165.39 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.53255e-05 Jy
! Component: 100  -  total flux cleaned = -0.00135207 Jy
! Component: 150  -  total flux cleaned = -0.00260687 Jy
! Component: 200  -  total flux cleaned = -0.00339358 Jy
! Total flux subtracted in 200 components = -0.00339358 Jy
! Clean residual min=-0.015766 max=0.015766 Jy/beam
! Clean residual mean=-0.000109 rms=0.004323 Jy/beam
! Combined flux in latest and established models = 3.18585 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 90 components and 3.18585 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.324139Jy  sigma=0.003556
! Fit after  self-cal, rms=1.323641Jy  sigma=0.003555
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.000417431 Jy
! Component: 100  -  total flux cleaned = -0.000311165 Jy
! Component: 150  -  total flux cleaned = -0.00132395 Jy
! Component: 200  -  total flux cleaned = -0.00195913 Jy
! Total flux subtracted in 200 components = -0.00195913 Jy
! Clean residual min=-0.015336 max=0.015481 Jy/beam
! Clean residual mean=-0.000085 rms=0.004184 Jy/beam
! Combined flux in latest and established models = 3.18389 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 96 components and 3.18389 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.323445Jy  sigma=0.003551
! Fit after  self-cal, rms=1.322907Jy  sigma=0.003551
! 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=1.322907Jy  sigma=0.003551
! Fit after  self-cal, rms=1.274704Jy  sigma=0.003551
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.645 mas, bmaj=8.217 mas, bpa=4.087 degrees
! Estimated noise=1166.11 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000558136 Jy
! Component: 100  -  total flux cleaned = -0.00120376 Jy
! Component: 150  -  total flux cleaned = -0.00150852 Jy
! Component: 200  -  total flux cleaned = -0.0020758 Jy
! Total flux subtracted in 200 components = -0.0020758 Jy
! Clean residual min=-0.014617 max=0.015212 Jy/beam
! Clean residual mean=0.000003 rms=0.004063 Jy/beam
! Combined flux in latest and established models = 3.18182 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 100 components and 3.18182 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.274545Jy  sigma=0.003548
! Fit after  self-cal, rms=1.272785Jy  sigma=0.003547
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.000209172 Jy
! Component: 100  -  total flux cleaned = -0.000331082 Jy
! Component: 150  -  total flux cleaned = -0.000589858 Jy
! Component: 200  -  total flux cleaned = -0.000826173 Jy
! Total flux subtracted in 200 components = -0.000826173 Jy
! Clean residual min=-0.014381 max=0.014936 Jy/beam
! Clean residual mean=0.000013 rms=0.004001 Jy/beam
! Combined flux in latest and established models = 3.18099 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 103 components and 3.18099 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.272666Jy  sigma=0.003546
! Fit after  self-cal, rms=1.272287Jy  sigma=0.003546
! 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=1.272287Jy  sigma=0.003546
! Fit after  self-cal, rms=1.236627Jy  sigma=0.003545
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.983 mas, bmaj=16.36 mas, bpa=-1.347 degrees
! Estimated noise=1361.19 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 7.55855e-05 Jy
! Component: 100  -  total flux cleaned = 0.000265578 Jy
! Component: 150  -  total flux cleaned = 2.57823e-05 Jy
! Component: 200  -  total flux cleaned = -0.000302862 Jy
! Total flux subtracted in 200 components = -0.000302862 Jy
! Clean residual min=-0.014039 max=0.013869 Jy/beam
! Clean residual mean=0.000161 rms=0.004287 Jy/beam
! Combined flux in latest and established models = 3.18069 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 110 components and 3.18069 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.236601Jy  sigma=0.003544
! Fit after  self-cal, rms=1.235529Jy  sigma=0.003544
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.00010645 Jy
! Component: 100  -  total flux cleaned = 0.000494238 Jy
! Component: 150  -  total flux cleaned = 0.000390129 Jy
! Component: 200  -  total flux cleaned = 0.000296394 Jy
! Total flux subtracted in 200 components = 0.000296394 Jy
! Clean residual min=-0.014069 max=0.013968 Jy/beam
! Clean residual mean=0.000156 rms=0.004287 Jy/beam
! Combined flux in latest and established models = 3.18098 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 114 components and 3.18098 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.235495Jy  sigma=0.003544
! Fit after  self-cal, rms=1.235615Jy  sigma=0.003543
! 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=3.649 mas, bmaj=8.221 mas, bpa=4.159 degrees
! Estimated noise=1166.81 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.649 x 8.221 at 4.159 degrees (North through East)
! Clean map  min=-0.014111  max=2.3407 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=1.235615Jy  sigma=0.003543
! Fit after  self-cal, rms=3.915948Jy  sigma=0.002990
! Inverting map and beam 
! Estimated beam: bmin=3.65 mas, bmaj=8.229 mas, bpa=4.128 degrees
! Estimated noise=1166.02 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000273961 Jy
! Component: 100  -  total flux cleaned = 3.02949e-05 Jy
! Component: 150  -  total flux cleaned = 3.39513e-05 Jy
! Component: 200  -  total flux cleaned = -0.000170025 Jy
! Total flux subtracted in 200 components = -0.000170025 Jy
! Clean residual min=-0.013219 max=0.013658 Jy/beam
! Clean residual mean=0.000267 rms=0.003497 Jy/beam
! Combined flux in latest and established models = 3.18081 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 116 components and 3.18081 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.915942Jy  sigma=0.002988
! Fit after  self-cal, rms=3.915085Jy  sigma=0.002988
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000880157 Jy
! Component: 100  -  total flux cleaned = 0.000684609 Jy
! Component: 150  -  total flux cleaned = 0.000500241 Jy
! Component: 200  -  total flux cleaned = 0.000325892 Jy
! Total flux subtracted in 200 components = 0.000325892 Jy
! Clean residual min=-0.013180 max=0.013361 Jy/beam
! Clean residual mean=0.000263 rms=0.003474 Jy/beam
! Combined flux in latest and established models = 3.18114 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 119 components and 3.18114 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.915077Jy  sigma=0.002987
! Fit after  self-cal, rms=3.914410Jy  sigma=0.002987
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.914410Jy  sigma=0.002987
! Fit after  self-cal, rms=3.826989Jy  sigma=0.002987
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.837 mas, bmaj=5.939 mas, bpa=8.032 degrees
! Estimated noise=1800.74 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.72598 Jy
! Component: 100  -  total flux cleaned = 2.32598 Jy
! Component: 150  -  total flux cleaned = 2.63918 Jy
! Component: 200  -  total flux cleaned = 2.82164 Jy
! Total flux subtracted in 200 components = 2.82164 Jy
! Clean residual min=-0.029772 max=0.092622 Jy/beam
! Clean residual mean=0.000822 rms=0.012247 Jy/beam
! Combined flux in latest and established models = 2.82164 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 40 model components to the UV plane model.
! The established model now contains 40 components and 2.82164 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.652 mas, bmaj=8.229 mas, bpa=4.173 degrees
! Estimated noise=1166 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.157222 Jy
! Component: 100  -  total flux cleaned = 0.237216 Jy
! Component: 150  -  total flux cleaned = 0.282581 Jy
! Component: 200  -  total flux cleaned = 0.310416 Jy
! Total flux subtracted in 200 components = 0.310416 Jy
! Clean residual min=-0.012926 max=0.019261 Jy/beam
! Clean residual mean=0.000885 rms=0.004223 Jy/beam
! Combined flux in latest and established models = 3.13206 Jy
! Adding 57 model components to the UV plane model.
! The established model now contains 87 components and 3.13206 Jy
! Inverting map 
! Added new window around map position (11, 11).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0199319 Jy
! Component: 100  -  total flux cleaned = 0.0333253 Jy
! Component: 150  -  total flux cleaned = 0.0411825 Jy
! Component: 200  -  total flux cleaned = 0.0439753 Jy
! Total flux subtracted in 200 components = 0.0439753 Jy
! Clean residual min=-0.013096 max=0.012774 Jy/beam
! Clean residual mean=0.000371 rms=0.003434 Jy/beam
! Combined flux in latest and established models = 3.17603 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 107 components and 3.17603 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.981 mas, bmaj=16.36 mas, bpa=-1.323 degrees
! Estimated noise=1359.24 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00659074 Jy
! Component: 100  -  total flux cleaned = 0.00754904 Jy
! Component: 150  -  total flux cleaned = 0.00768536 Jy
! Component: 200  -  total flux cleaned = 0.00768208 Jy
! Total flux subtracted in 200 components = 0.00768208 Jy
! Clean residual min=-0.012140 max=0.012259 Jy/beam
! Clean residual mean=0.000500 rms=0.003640 Jy/beam
! Combined flux in latest and established models = 3.18371 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 = -5.17745e-06 Jy
! Component: 100  -  total flux cleaned = 9.53478e-05 Jy
! Component: 150  -  total flux cleaned = 9.77213e-05 Jy
! Component: 200  -  total flux cleaned = 0.000189028 Jy
! Total flux subtracted in 200 components = 0.000189028 Jy
! Clean residual min=-0.012042 max=0.012280 Jy/beam
! Clean residual mean=0.000499 rms=0.003625 Jy/beam
! Combined flux in latest and established models = 3.1839 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 131 components and 3.1839 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.652 mas, bmaj=8.229 mas, bpa=4.173 degrees
! Estimated noise=1166 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00249702 Jy
! Component: 100  -  total flux cleaned = -0.0025026 Jy
! Component: 150  -  total flux cleaned = -0.002122 Jy
! Component: 200  -  total flux cleaned = -0.00194381 Jy
! Total flux subtracted in 200 components = -0.00194381 Jy
! Clean residual min=-0.012799 max=0.012637 Jy/beam
! Clean residual mean=0.000309 rms=0.003329 Jy/beam
! Combined flux in latest and established models = 3.18196 Jy
selfcal
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 139 components and 3.18196 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=3.826807Jy  sigma=0.002986
! Fit after  self-cal, rms=3.818413Jy  sigma=0.002984
wmodel J1911-2006_S_2000_12_04_pus_map.mod
! Writing 139 model components to file: J1911-2006_S_2000_12_04_pus_map.mod
wobs J1911-2006_S_2000_12_04_pus_uvs.fits
! Writing UV FITS file: J1911-2006_S_2000_12_04_pus_uvs.fits
wwins J1911-2006_S_2000_12_04_pus_map.win
! wwins: Wrote 3 windows to J1911-2006_S_2000_12_04_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.00224341 Jy
! Component: 100  -  total flux cleaned = 0.00243807 Jy
! Component: 150  -  total flux cleaned = 0.00358642 Jy
! Component: 200  -  total flux cleaned = 0.00522993 Jy
! Component: 250  -  total flux cleaned = 0.00663698 Jy
! Component: 300  -  total flux cleaned = 0.0078224 Jy
! Component: 350  -  total flux cleaned = 0.00814947 Jy
! Component: 400  -  total flux cleaned = 0.00862806 Jy
! Component: 450  -  total flux cleaned = 0.00909021 Jy
! Component: 500  -  total flux cleaned = 0.00938805 Jy
! Component: 550  -  total flux cleaned = 0.00982427 Jy
! Component: 600  -  total flux cleaned = 0.0101124 Jy
! Component: 650  -  total flux cleaned = 0.0108168 Jy
! Component: 700  -  total flux cleaned = 0.0110947 Jy
! Component: 750  -  total flux cleaned = 0.0116396 Jy
! Component: 800  -  total flux cleaned = 0.0117737 Jy
! Component: 850  -  total flux cleaned = 0.0121684 Jy
! Component: 900  -  total flux cleaned = 0.012557 Jy
! Component: 950  -  total flux cleaned = 0.0128119 Jy
! Component: 1000  -  total flux cleaned = 0.0130627 Jy
! Component: 1050  -  total flux cleaned = 0.0130611 Jy
! Component: 1100  -  total flux cleaned = 0.0131832 Jy
! Component: 1150  -  total flux cleaned = 0.0133041 Jy
! Component: 1200  -  total flux cleaned = 0.013304 Jy
! Component: 1250  -  total flux cleaned = 0.0135423 Jy
! Component: 1300  -  total flux cleaned = 0.0134262 Jy
! Component: 1350  -  total flux cleaned = 0.0134278 Jy
! Component: 1400  -  total flux cleaned = 0.0136584 Jy
! Component: 1450  -  total flux cleaned = 0.0137715 Jy
! Component: 1500  -  total flux cleaned = 0.0137702 Jy
! Component: 1550  -  total flux cleaned = 0.0136595 Jy
! Component: 1600  -  total flux cleaned = 0.0136603 Jy
! Component: 1650  -  total flux cleaned = 0.013987 Jy
! Component: 1700  -  total flux cleaned = 0.0139856 Jy
! Component: 1750  -  total flux cleaned = 0.0140914 Jy
! Component: 1800  -  total flux cleaned = 0.0141962 Jy
! Component: 1850  -  total flux cleaned = 0.013986 Jy
! Component: 1900  -  total flux cleaned = 0.013986 Jy
! Component: 1950  -  total flux cleaned = 0.0140889 Jy
! Component: 2000  -  total flux cleaned = 0.0140876 Jy
! Total flux subtracted in 2048 components = 0.0140874 Jy
! Clean residual min=-0.006437 max=0.007402 Jy/beam
! Clean residual mean=0.000182 rms=0.002161 Jy/beam
! Combined flux in latest and established models = 3.19605 Jy
keep
! Adding 134 model components to the UV plane model.
! The established model now contains 273 components and 3.19605 Jy
![Exited script file: muppet]
wmap "J1911-2006_S_2000_12_04_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.652 x 8.229 at 4.173 degrees (North through East)
! Clean map  min=-0.009433  max=2.3589 Jy/beam
! Writing clean map to FITS file: J1911-2006_S_2000_12_04_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 2.35893 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00215757 
device "J1911-2006_S_2000_12_04_pus\_map.eps/VPS"
! Attempting to open device: 'J1911-2006_S_2000_12_04_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.274392 0.274392 0.548783 1.09757 2.19513 4.39027 8.78053 17.5611 35.1221 70.2442
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0064 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.358 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.652 x 8.229 at 4.173 degrees (North through East)
! Clean map  min=-0.009433  max=2.3589 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1911-2006_S_2000_12_04_pus\_map.gif/vgif"
! Attempting to open device: 'J1911-2006_S_2000_12_04_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1911-2006_S_2000_12_04_pus_uvs.log closed on Wed Oct 17 17:20:32 2007