! Started logfile: J1454-4012_X_2000_05_22_pus_uvs.log on Mon Nov 12 18:16:08 2007
obs J1454-4012_X_2000_05_22_pus_uva.fits
! Reading UV FITS file: J1454-4012_X_2000_05_22_pus_uva.fits
! AN table 1: 45 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.0326316 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1454-4012
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1884 lines of history.
! 
! Reading 1116 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.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J1454-4012_X_2000_05_22_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.200x0.200 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 782 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 782 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 782 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 782 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.722808Jy  sigma=0.008633
! Fit after  self-cal, rms=0.657462Jy  sigma=0.007915
! 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=0.7047 mas, bmaj=8.278 mas, bpa=4.1 degrees
! Estimated noise=2221.89 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.264981 Jy
! Component: 100  -  total flux cleaned = 0.328916 Jy
! Total flux subtracted in 100 components = 0.328916 Jy
! Clean residual min=-0.020375 max=0.031800 Jy/beam
! Clean residual mean=-0.000518 rms=0.008468 Jy/beam
! Combined flux in latest and established models = 0.328916 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.328916 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159146Jy  sigma=0.001913
! Fit after  self-cal, rms=0.159138Jy  sigma=0.001913
! 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=0.8304 mas, bmaj=7.807 mas, bpa=4.256 degrees
! Estimated noise=1829.75 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.0569718 Jy
! Component: 100  -  total flux cleaned = 0.0842377 Jy
! Component: 150  -  total flux cleaned = 0.0986292 Jy
! Component: 200  -  total flux cleaned = 0.108122 Jy
! Total flux subtracted in 200 components = 0.108122 Jy
! Clean residual min=-0.014107 max=0.009258 Jy/beam
! Clean residual mean=-0.000234 rms=0.004275 Jy/beam
! Combined flux in latest and established models = 0.437037 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 17 components and 0.437037 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.140633Jy  sigma=0.001655
! Fit after  self-cal, rms=0.140502Jy  sigma=0.001653
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.02     KP        1.00     
!   MA        1.00*    MC        1.00*    MK        0.98     NL        1.00*    
!   NY        1.00*    OV        1.02     PT        0.96     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.98     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.05     KP        1.00     
!   MA        1.00*    MC        1.00*    MK        0.94     NL        1.00*    
!   NY        1.00*    OV        1.11     PT        0.92     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.02     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.01     KP        1.03     
!   MA        1.00*    MC        1.00*    MK        0.95     NL        1.00*    
!   NY        1.00*    OV        0.99     PT        0.91     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.98     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.03     KP        1.04     
!   MA        1.00*    MC        1.00*    MK        1.05     NL        1.00*    
!   NY        1.00*    OV        0.95     PT        0.96     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Fit before self-cal, rms=0.140502Jy  sigma=0.001653
! Fit after  self-cal, rms=0.138969Jy  sigma=0.001639
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8357 mas, bmaj=7.952 mas, bpa=4.23 degrees
! Estimated noise=1824.16 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.00696893 Jy
! Component: 100  -  total flux cleaned = 0.010105 Jy
! Component: 150  -  total flux cleaned = 0.011634 Jy
! Component: 200  -  total flux cleaned = 0.0128453 Jy
! Total flux subtracted in 200 components = 0.0128453 Jy
! Clean residual min=-0.007002 max=0.008290 Jy/beam
! Clean residual mean=0.000004 rms=0.002349 Jy/beam
! Combined flux in latest and established models = 0.449882 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 33 components and 0.449882 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138605Jy  sigma=0.001634
! Fit after  self-cal, rms=0.138728Jy  sigma=0.001633
! 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.138728Jy  sigma=0.001633
! Fit after  self-cal, rms=0.138839Jy  sigma=0.001633
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.8355 mas, bmaj=7.955 mas, bpa=4.229 degrees
! Estimated noise=1823.68 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000811758 Jy
! Component: 100  -  total flux cleaned = 0.0015119 Jy
! Component: 150  -  total flux cleaned = 0.00202661 Jy
! Component: 200  -  total flux cleaned = 0.00244981 Jy
! Total flux subtracted in 200 components = 0.00244981 Jy
! Clean residual min=-0.006596 max=0.008143 Jy/beam
! Clean residual mean=0.000019 rms=0.002286 Jy/beam
! Combined flux in latest and established models = 0.452332 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 41 components and 0.452332 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138793Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138804Jy  sigma=0.001632
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.000129938 Jy
! Component: 100  -  total flux cleaned = 0.000236796 Jy
! Component: 150  -  total flux cleaned = 0.000266804 Jy
! Component: 200  -  total flux cleaned = 0.000265765 Jy
! Total flux subtracted in 200 components = 0.000265765 Jy
! Clean residual min=-0.006484 max=0.007980 Jy/beam
! Clean residual mean=0.000020 rms=0.002269 Jy/beam
! Combined flux in latest and established models = 0.452598 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 55 components and 0.452598 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138787Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138787Jy  sigma=0.001632
! 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.138787Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138741Jy  sigma=0.001632
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.8352 mas, bmaj=7.957 mas, bpa=4.232 degrees
! Estimated noise=1823.48 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000271371 Jy
! Component: 100  -  total flux cleaned = -0.000300832 Jy
! Component: 150  -  total flux cleaned = -0.000271425 Jy
! Component: 200  -  total flux cleaned = -0.000244682 Jy
! Total flux subtracted in 200 components = -0.000244682 Jy
! Clean residual min=-0.006469 max=0.007841 Jy/beam
! Clean residual mean=0.000013 rms=0.002245 Jy/beam
! Combined flux in latest and established models = 0.452353 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 62 components and 0.452353 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138727Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138727Jy  sigma=0.001632
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 = 4.1728e-05 Jy
! Component: 100  -  total flux cleaned = 1.44103e-05 Jy
! Component: 150  -  total flux cleaned = 1.49619e-05 Jy
! Component: 200  -  total flux cleaned = 1.45232e-05 Jy
! Total flux subtracted in 200 components = 1.45232e-05 Jy
! Clean residual min=-0.006430 max=0.007751 Jy/beam
! Clean residual mean=0.000014 rms=0.002231 Jy/beam
! Combined flux in latest and established models = 0.452368 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 67 components and 0.452368 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138716Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138716Jy  sigma=0.001632
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 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.138716Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138675Jy  sigma=0.001632
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.345 mas, bmaj=8.492 mas, bpa=13.86 degrees
! Estimated noise=2451.19 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000120082 Jy
! Component: 100  -  total flux cleaned = -0.000115791 Jy
! Component: 150  -  total flux cleaned = -0.000228787 Jy
! Component: 200  -  total flux cleaned = -0.000232189 Jy
! Total flux subtracted in 200 components = -0.000232189 Jy
! Clean residual min=-0.008642 max=0.005416 Jy/beam
! Clean residual mean=0.000021 rms=0.002071 Jy/beam
! Combined flux in latest and established models = 0.452136 Jy
selfcal
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 70 components and 0.452136 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138727Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138689Jy  sigma=0.001632
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 = -1.14058e-05 Jy
! Component: 100  -  total flux cleaned = 4.94828e-05 Jy
! Component: 150  -  total flux cleaned = 4.35259e-05 Jy
! Component: 200  -  total flux cleaned = -4.67394e-06 Jy
! Total flux subtracted in 200 components = -4.67394e-06 Jy
! Clean residual min=-0.007787 max=0.005231 Jy/beam
! Clean residual mean=0.000021 rms=0.001918 Jy/beam
! Combined flux in latest and established models = 0.452131 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 71 components and 0.452131 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138774Jy  sigma=0.001632
! Fit after  self-cal, rms=0.138742Jy  sigma=0.001632
! 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=0.8349 mas, bmaj=7.96 mas, bpa=4.233 degrees
! Estimated noise=1823.25 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8349 x 7.96 at 4.233 degrees (North through East)
! Clean map  min=-0.0074547  max=0.3672 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
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=0.704 mas, bmaj=8.359 mas, bpa=4.142 degrees
! Estimated noise=2227.03 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.258701 Jy
! Component: 100  -  total flux cleaned = 0.321867 Jy
! Component: 150  -  total flux cleaned = 0.35824 Jy
! Component: 200  -  total flux cleaned = 0.382535 Jy
! Total flux subtracted in 200 components = 0.382535 Jy
! Clean residual min=-0.012516 max=0.014333 Jy/beam
! Clean residual mean=-0.000255 rms=0.004826 Jy/beam
! Combined flux in latest and established models = 0.382535 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 9 model components to the UV plane model.
! The established model now contains 9 components and 0.382535 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8349 mas, bmaj=7.96 mas, bpa=4.233 degrees
! Estimated noise=1823.25 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.0258275 Jy
! Component: 100  -  total flux cleaned = 0.0408171 Jy
! Component: 150  -  total flux cleaned = 0.0504453 Jy
! Component: 200  -  total flux cleaned = 0.0564462 Jy
! Total flux subtracted in 200 components = 0.0564462 Jy
! Clean residual min=-0.009399 max=0.007996 Jy/beam
! Clean residual mean=-0.000090 rms=0.002919 Jy/beam
! Combined flux in latest and established models = 0.438981 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 27 components and 0.438981 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.345 mas, bmaj=8.492 mas, bpa=13.86 degrees
! Estimated noise=2451.19 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00699348 Jy
! Component: 100  -  total flux cleaned = 0.008514 Jy
! Component: 150  -  total flux cleaned = 0.0096752 Jy
! Component: 200  -  total flux cleaned = 0.0104368 Jy
! Total flux subtracted in 200 components = 0.0104368 Jy
! Clean residual min=-0.008847 max=0.006006 Jy/beam
! Clean residual mean=-0.000027 rms=0.002457 Jy/beam
! Combined flux in latest and established models = 0.449418 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.000719317 Jy
! Component: 100  -  total flux cleaned = 0.001283 Jy
! Component: 150  -  total flux cleaned = 0.00166149 Jy
! Component: 200  -  total flux cleaned = 0.00208775 Jy
! Total flux subtracted in 200 components = 0.00208775 Jy
! Clean residual min=-0.007468 max=0.005354 Jy/beam
! Clean residual mean=0.000009 rms=0.001946 Jy/beam
! Combined flux in latest and established models = 0.451506 Jy
! Adding 42 model components to the UV plane model.
! The established model now contains 65 components and 0.451506 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8349 mas, bmaj=7.96 mas, bpa=4.233 degrees
! Estimated noise=1823.25 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000254694 Jy
! Component: 100  -  total flux cleaned = 0.000181666 Jy
! Component: 150  -  total flux cleaned = 0.000342884 Jy
! Component: 200  -  total flux cleaned = 0.000400609 Jy
! Total flux subtracted in 200 components = 0.000400609 Jy
! Clean residual min=-0.005884 max=0.006773 Jy/beam
! Clean residual mean=0.000010 rms=0.002120 Jy/beam
! Combined flux in latest and established models = 0.451907 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 91 components and 0.451907 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138682Jy  sigma=0.001631
! Fit after  self-cal, rms=0.138669Jy  sigma=0.001631
wmodel J1454-4012_X_2000_05_22_pus_map.mod
! Writing 91 model components to file: J1454-4012_X_2000_05_22_pus_map.mod
wobs J1454-4012_X_2000_05_22_pus_uvs.fits
! Writing UV FITS file: J1454-4012_X_2000_05_22_pus_uvs.fits
wwins J1454-4012_X_2000_05_22_pus_map.win
! wwins: Wrote 1 windows to J1454-4012_X_2000_05_22_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.00279355 Jy
! Component: 100  -  total flux cleaned = 0.00382766 Jy
! Component: 150  -  total flux cleaned = 0.00419395 Jy
! Component: 200  -  total flux cleaned = 0.00427676 Jy
! Component: 250  -  total flux cleaned = 0.00443086 Jy
! Component: 300  -  total flux cleaned = 0.00487778 Jy
! Component: 350  -  total flux cleaned = 0.00502165 Jy
! Component: 400  -  total flux cleaned = 0.00494998 Jy
! Component: 450  -  total flux cleaned = 0.00481331 Jy
! Component: 500  -  total flux cleaned = 0.00488005 Jy
! Component: 550  -  total flux cleaned = 0.00494416 Jy
! Component: 600  -  total flux cleaned = 0.00487938 Jy
! Component: 650  -  total flux cleaned = 0.00487843 Jy
! Component: 700  -  total flux cleaned = 0.0046314 Jy
! Component: 750  -  total flux cleaned = 0.00457056 Jy
! Component: 800  -  total flux cleaned = 0.0042707 Jy
! Component: 850  -  total flux cleaned = 0.00379472 Jy
! Component: 900  -  total flux cleaned = 0.00332447 Jy
! Component: 950  -  total flux cleaned = 0.00267936 Jy
! Component: 1000  -  total flux cleaned = 0.00215276 Jy
! Component: 1050  -  total flux cleaned = 0.00156718 Jy
! Component: 1100  -  total flux cleaned = 0.00139096 Jy
! Component: 1150  -  total flux cleaned = 0.00127194 Jy
! Component: 1200  -  total flux cleaned = 0.00115223 Jy
! Component: 1250  -  total flux cleaned = 0.00102979 Jy
! Component: 1300  -  total flux cleaned = 0.00109251 Jy
! Component: 1350  -  total flux cleaned = 0.0010308 Jy
! Component: 1400  -  total flux cleaned = 0.00096608 Jy
! Component: 1450  -  total flux cleaned = 0.00096698 Jy
! Component: 1500  -  total flux cleaned = 0.000900445 Jy
! Component: 1550  -  total flux cleaned = 0.000901369 Jy
! Component: 1600  -  total flux cleaned = 0.000901122 Jy
! Component: 1650  -  total flux cleaned = 0.000900516 Jy
! Component: 1700  -  total flux cleaned = 0.000972732 Jy
! Component: 1750  -  total flux cleaned = 0.00097378 Jy
! Component: 1800  -  total flux cleaned = 0.00105241 Jy
! Component: 1850  -  total flux cleaned = 0.00105248 Jy
! Component: 1900  -  total flux cleaned = 0.00113384 Jy
! Component: 1950  -  total flux cleaned = 0.00122101 Jy
! Component: 2000  -  total flux cleaned = 0.00122135 Jy
! Total flux subtracted in 2048 components = 0.00131174 Jy
! Clean residual min=-0.004884 max=0.005316 Jy/beam
! Clean residual mean=-0.000060 rms=0.001596 Jy/beam
! Combined flux in latest and established models = 0.453218 Jy
keep
! Adding 109 model components to the UV plane model.
! The established model now contains 200 components and 0.453218 Jy
![Exited script file: muppet]
wmap "J1454-4012_X_2000_05_22_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8349 x 7.96 at 4.233 degrees (North through East)
! Clean map  min=-0.010271  max=0.36729 Jy/beam
! Writing clean map to FITS file: J1454-4012_X_2000_05_22_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.367293 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00175644 
device "J1454-4012_X_2000_05_22_pus\_map.eps/VPS"
! Attempting to open device: 'J1454-4012_X_2000_05_22_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.43463 1.43463 2.86926 5.73853 11.4771 22.9541 45.9082 91.8164
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0052 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.367 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8349 x 7.96 at 4.233 degrees (North through East)
! Clean map  min=-0.010271  max=0.36729 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1454-4012_X_2000_05_22_pus\_map.gif/vgif"
! Attempting to open device: 'J1454-4012_X_2000_05_22_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1454-4012_X_2000_05_22_pus_uvs.log closed on Mon Nov 12 18:16:13 2007