! Started logfile: J0339-0146_S_2006_02_23_yyk_uvs.log on Wed Jul  5 11:17:21 2006
obs J0339-0146_S_2006_02_23_yyk_uva.fits
! Reading UV FITS file: J0339-0146_S_2006_02_23_yyk_uva.fits
! AN table 1: 140 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.98746 visibilities/baseline/integration-bin.
! Found source: J0339-0146
! 
! 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.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2426 lines of history.
! 
! Reading 24884 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
![@muppet J0339-0146_S_2006_02_23_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 2.14139 Jy 
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.46 mas, bmaj=6.633 mas, bpa=-1.968 degrees
! Estimated noise=2.22552 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.70074 Jy
! Component: 100  -  total flux cleaned = 2.17087 Jy
! Total flux subtracted in 100 components = 2.17087 Jy
! Clean residual min=-0.071285 max=0.141643 Jy/beam
! Clean residual mean=-0.000355 rms=0.024483 Jy/beam
! Combined flux in latest and established models = 2.17087 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 2.17087 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.389619Jy  sigma=5.183217
! Fit after  self-cal, rms=0.389010Jy  sigma=5.178249
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! 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.128 mas, bmaj=7.788 mas, bpa=-2.528 degrees
! Estimated noise=1.74204 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.213137 Jy
! Component: 100  -  total flux cleaned = 0.288208 Jy
! Component: 150  -  total flux cleaned = 0.318543 Jy
! Component: 200  -  total flux cleaned = 0.332026 Jy
! Total flux subtracted in 200 components = 0.332026 Jy
! Clean residual min=-0.042130 max=0.060122 Jy/beam
! Clean residual mean=-0.000876 rms=0.011911 Jy/beam
! Combined flux in latest and established models = 2.50289 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 38 components and 2.50289 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.286449Jy  sigma=3.726416
! Fit after  self-cal, rms=0.285888Jy  sigma=3.725056
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.128 x 7.788 at -2.528 degrees (North through East)
! Clean map  min=-0.041311  max=2.0247 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.01507
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.94     HN        0.98     KP        0.95     
!   LA        1.21     MK        0.91     NL        0.93     OV        0.98     
!   PT        1.04     SC        0.95     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.992515
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.99     HN        1.00     KP        0.97     
!   LA        1.17     MK        0.99     NL        0.96     OV        1.00     
!   PT        1.00     SC        0.98     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.965151
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.01     HN        1.04     KP        0.98     
!   LA        0.94     MK        1.13     NL        1.05     OV        1.04     
!   PT        1.08     SC        1.03     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.03364
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.01     HN        0.97     KP        0.90     
!   LA        0.80     MK        1.11     NL        0.98     OV        0.86     
!   PT        0.96     SC        1.11     
! 
! 
! Fit before self-cal, rms=0.285888Jy  sigma=3.725056
! Fit after  self-cal, rms=0.168549Jy  sigma=2.032665
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.168549Jy  sigma=2.032665
! Fit after  self-cal, rms=0.168546Jy  sigma=2.032625
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.186 mas, bmaj=7.883 mas, bpa=-2.248 degrees
! Estimated noise=1.74094 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (19.5, 11).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0156015 Jy
! Component: 100  -  total flux cleaned = 0.0168222 Jy
! Component: 150  -  total flux cleaned = 0.0175057 Jy
! Component: 200  -  total flux cleaned = 0.0175019 Jy
! Total flux subtracted in 200 components = 0.0175019 Jy
! Clean residual min=-0.010038 max=0.011829 Jy/beam
! Clean residual mean=-0.000014 rms=0.002806 Jy/beam
! Combined flux in latest and established models = 2.5204 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 62 components and 2.5204 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.166334Jy  sigma=1.996574
! Fit after  self-cal, rms=0.165876Jy  sigma=1.994981
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.165876Jy  sigma=1.994981
! Fit after  self-cal, rms=0.159051Jy  sigma=1.931931
dynam = dynam - 0.5
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 false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 6.37291e-05 Jy
! Component: 100  -  total flux cleaned = 8.91391e-05 Jy
! Component: 150  -  total flux cleaned = -0.000101054 Jy
! Component: 200  -  total flux cleaned = -0.000463449 Jy
! Total flux subtracted in 200 components = -0.000463449 Jy
! Clean residual min=-0.009345 max=0.011026 Jy/beam
! Clean residual mean=-0.000010 rms=0.002615 Jy/beam
! Combined flux in latest and established models = 2.51993 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 74 components and 2.51993 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.158607Jy  sigma=1.924770
! Fit after  self-cal, rms=0.156811Jy  sigma=1.915900
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.186 x 7.883 at -2.248 degrees (North through East)
! Clean map  min=-0.0088775  max=2.0387 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.156811Jy  sigma=1.915900
! Fit after  self-cal, rms=0.113091Jy  sigma=1.004314
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.113091Jy  sigma=1.004314
! Fit after  self-cal, rms=0.112528Jy  sigma=1.001366
! Inverting map and beam 
! Estimated beam: bmin=3.189 mas, bmaj=7.885 mas, bpa=-2.311 degrees
! Estimated noise=1.73858 mJy/beam.
! Added new window around map position (5, -51.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0045476 Jy
! Component: 100  -  total flux cleaned = 0.00480865 Jy
! Component: 150  -  total flux cleaned = 0.00479768 Jy
! Component: 200  -  total flux cleaned = 0.00421509 Jy
! Total flux subtracted in 200 components = 0.00421509 Jy
! Clean residual min=-0.007140 max=0.008276 Jy/beam
! Clean residual mean=-0.000004 rms=0.001823 Jy/beam
! Combined flux in latest and established models = 2.52415 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 99 components and 2.52415 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111121Jy  sigma=0.973044
! Fit after  self-cal, rms=0.110913Jy  sigma=0.971509
! Inverting map 
! Added new window around map position (6.5, -6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00894564 Jy
! Component: 100  -  total flux cleaned = 0.0098472 Jy
! Component: 150  -  total flux cleaned = 0.00965669 Jy
! Component: 200  -  total flux cleaned = 0.00998665 Jy
! Total flux subtracted in 200 components = 0.00998665 Jy
! Clean residual min=-0.005654 max=0.004915 Jy/beam
! Clean residual mean=-0.000019 rms=0.001485 Jy/beam
! Combined flux in latest and established models = 2.53413 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 121 components and 2.53413 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109784Jy  sigma=0.952390
! Fit after  self-cal, rms=0.109605Jy  sigma=0.951497
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109605Jy  sigma=0.951497
! Fit after  self-cal, rms=0.107981Jy  sigma=0.934808
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107981Jy  sigma=0.934808
! Fit after  self-cal, rms=0.107940Jy  sigma=0.934733
! Inverting map and beam 
! Estimated beam: bmin=3.185 mas, bmaj=7.879 mas, bpa=-2.356 degrees
! Estimated noise=1.73739 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00269826 Jy
! Component: 100  -  total flux cleaned = 0.00285694 Jy
! Component: 150  -  total flux cleaned = 0.00273715 Jy
! Component: 200  -  total flux cleaned = 0.00227401 Jy
! Total flux subtracted in 200 components = 0.00227401 Jy
! Clean residual min=-0.004946 max=0.004746 Jy/beam
! Clean residual mean=-0.000009 rms=0.001337 Jy/beam
! Combined flux in latest and established models = 2.53641 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 135 components and 2.53641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107562Jy  sigma=0.928273
! Fit after  self-cal, rms=0.107511Jy  sigma=0.928054
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.838 mas, bmaj=12.72 mas, bpa=-0.7863 degrees
! Estimated noise=2.21253 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00334629 Jy
! Component: 100  -  total flux cleaned = -0.00410697 Jy
! Component: 150  -  total flux cleaned = -0.00449811 Jy
! Component: 200  -  total flux cleaned = -0.00456564 Jy
! Total flux subtracted in 200 components = -0.00456564 Jy
! Clean residual min=-0.005902 max=0.005062 Jy/beam
! Clean residual mean=0.000001 rms=0.001431 Jy/beam
! Combined flux in latest and established models = 2.53184 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 157 components and 2.53184 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107351Jy  sigma=0.927757
! Fit after  self-cal, rms=0.107329Jy  sigma=0.927479
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum 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.491 mas, bmaj=6.684 mas, bpa=-1.888 degrees
! Estimated noise=2.22059 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.68735 Jy
! Component: 100  -  total flux cleaned = 2.14109 Jy
! Component: 150  -  total flux cleaned = 2.32391 Jy
! Component: 200  -  total flux cleaned = 2.40691 Jy
! Total flux subtracted in 200 components = 2.40691 Jy
! Clean residual min=-0.021512 max=0.029236 Jy/beam
! Clean residual mean=0.000036 rms=0.006124 Jy/beam
! Combined flux in latest and established models = 2.40691 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 26 model components to the UV plane model.
! The established model now contains 26 components and 2.40691 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.185 mas, bmaj=7.879 mas, bpa=-2.356 degrees
! Estimated noise=1.73739 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0591325 Jy
! Component: 100  -  total flux cleaned = 0.0855226 Jy
! Component: 150  -  total flux cleaned = 0.100471 Jy
! Component: 200  -  total flux cleaned = 0.106184 Jy
! Total flux subtracted in 200 components = 0.106184 Jy
! Clean residual min=-0.007672 max=0.007390 Jy/beam
! Clean residual mean=0.000028 rms=0.002076 Jy/beam
! Combined flux in latest and established models = 2.51309 Jy
! Adding 56 model components to the UV plane model.
! The established model now contains 74 components and 2.51309 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.838 mas, bmaj=12.72 mas, bpa=-0.7863 degrees
! Estimated noise=2.21253 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00613319 Jy
! Component: 100  -  total flux cleaned = 0.00875677 Jy
! Component: 150  -  total flux cleaned = 0.0113134 Jy
! Component: 200  -  total flux cleaned = 0.0130973 Jy
! Total flux subtracted in 200 components = 0.0130973 Jy
! Clean residual min=-0.006278 max=0.005218 Jy/beam
! Clean residual mean=0.000025 rms=0.001597 Jy/beam
! Combined flux in latest and established models = 2.52619 Jy
! Adding 43 model components to the UV plane model.
! The established model now contains 114 components and 2.52619 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.185 mas, bmaj=7.879 mas, bpa=-2.356 degrees
! Estimated noise=1.73739 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00144808 Jy
! Component: 100  -  total flux cleaned = 0.00284468 Jy
! Component: 150  -  total flux cleaned = 0.00384015 Jy
! Component: 200  -  total flux cleaned = 0.00434007 Jy
! Total flux subtracted in 200 components = 0.00434007 Jy
! Clean residual min=-0.005072 max=0.004999 Jy/beam
! Clean residual mean=0.000002 rms=0.001391 Jy/beam
! Combined flux in latest and established models = 2.53053 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 142 components and 2.53053 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107991Jy  sigma=0.933020
! Fit after  self-cal, rms=0.107876Jy  sigma=0.930987
wmodel J0339-0146_S_2006_02_23_yyk\_map.mod
! Writing 142 model components to file: J0339-0146_S_2006_02_23_yyk_map.mod
wobs J0339-0146_S_2006_02_23_yyk\_uvs.fits
! Writing UV FITS file: J0339-0146_S_2006_02_23_yyk_uvs.fits
wwins J0339-0146_S_2006_02_23_yyk\_map.win
! wwins: Wrote 4 windows to J0339-0146_S_2006_02_23_yyk_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 = 2.6425e-05 Jy
! Component: 100  -  total flux cleaned = -0.000804945 Jy
! Component: 150  -  total flux cleaned = -0.000963817 Jy
! Component: 200  -  total flux cleaned = -0.0011166 Jy
! Component: 250  -  total flux cleaned = -0.00118774 Jy
! Component: 300  -  total flux cleaned = -0.00125492 Jy
! Component: 350  -  total flux cleaned = -0.00125263 Jy
! Component: 400  -  total flux cleaned = -0.00131624 Jy
! Component: 450  -  total flux cleaned = -0.00143896 Jy
! Component: 500  -  total flux cleaned = -0.00167558 Jy
! Component: 550  -  total flux cleaned = -0.00190408 Jy
! Component: 600  -  total flux cleaned = -0.0021264 Jy
! Component: 650  -  total flux cleaned = -0.00218114 Jy
! Component: 700  -  total flux cleaned = -0.00212903 Jy
! Component: 750  -  total flux cleaned = -0.00207804 Jy
! Component: 800  -  total flux cleaned = -0.00202699 Jy
! Component: 850  -  total flux cleaned = -0.00202672 Jy
! Component: 900  -  total flux cleaned = -0.00193063 Jy
! Component: 950  -  total flux cleaned = -0.00202482 Jy
! Component: 1000  -  total flux cleaned = -0.00197783 Jy
! Component: 1050  -  total flux cleaned = -0.00188666 Jy
! Component: 1100  -  total flux cleaned = -0.00197442 Jy
! Component: 1150  -  total flux cleaned = -0.00179996 Jy
! Component: 1200  -  total flux cleaned = -0.00175815 Jy
! Component: 1250  -  total flux cleaned = -0.00175966 Jy
! Component: 1300  -  total flux cleaned = -0.00171934 Jy
! Component: 1350  -  total flux cleaned = -0.00184201 Jy
! Component: 1400  -  total flux cleaned = -0.00184159 Jy
! Component: 1450  -  total flux cleaned = -0.00191991 Jy
! Component: 1500  -  total flux cleaned = -0.001919 Jy
! Component: 1550  -  total flux cleaned = -0.00191881 Jy
! Component: 1600  -  total flux cleaned = -0.00188068 Jy
! Component: 1650  -  total flux cleaned = -0.00184322 Jy
! Component: 1700  -  total flux cleaned = -0.00176987 Jy
! Component: 1750  -  total flux cleaned = -0.00166136 Jy
! Component: 1800  -  total flux cleaned = -0.00166104 Jy
! Component: 1850  -  total flux cleaned = -0.00162438 Jy
! Component: 1900  -  total flux cleaned = -0.00148517 Jy
! Component: 1950  -  total flux cleaned = -0.00148548 Jy
! Component: 2000  -  total flux cleaned = -0.00145235 Jy
! Total flux subtracted in 2048 components = -0.00135166 Jy
! Clean residual min=-0.001800 max=0.002432 Jy/beam
! Clean residual mean=0.000007 rms=0.000656 Jy/beam
! Combined flux in latest and established models = 2.52918 Jy
keep
! Adding 131 model components to the UV plane model.
! The established model now contains 273 components and 2.52918 Jy
![Exited script file: muppet]
wmap "J0339-0146_S_2006_02_23_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.185 x 7.879 at -2.356 degrees (North through East)
! Clean map  min=-0.0038536  max=2.0355 Jy/beam
! Writing clean map to FITS file: J0339-0146_S_2006_02_23_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 2.03549 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000646665 
device "J0339-0146_S_2006_02_23_yyk\_map.eps/VPS"
! Attempting to open device: 'J0339-0146_S_2006_02_23_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0953083 0.0953083 0.190617 0.381233 0.762466 1.52493 3.04987 6.09973 12.1995 24.3989 48.7978 97.5957
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 2.035 
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.185 x 7.879 at -2.356 degrees (North through East)
! Clean map  min=-0.0038536  max=2.0355 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0339-0146_S_2006_02_23_yyk\_map.gif/gif"
! Attempting to open device: 'J0339-0146_S_2006_02_23_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0339-0146_S_2006_02_23_yyk_uvs.log closed on Wed Jul  5 11:17:47 2006