! Started logfile: J0949-1406_S_2004_05_27_yyk_uvs.log on Wed Dec  7 00:14:49 2005
obs J0949-1406_S_2004_05_27_yyk_uve.fits
! Reading UV FITS file: J0949-1406_S_2004_05_27_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.508333 visibilities/baseline/integration-bin.
! Found source: J0949-1406
! 
! 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 1388 lines of history.
! 
! Reading 1464 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 J0949-1406_S_2004_05_27_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.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.113161 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! 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 56 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 54 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 67 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.927677Jy  sigma=16.216312
! Fit after  self-cal, rms=0.925329Jy  sigma=16.198220
! 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=3.411 mas, bmaj=11.18 mas, bpa=-15.9 degrees
! Estimated noise=2.70098 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 = 0.0629215 Jy
! Component: 100  -  total flux cleaned = 0.0826323 Jy
! Total flux subtracted in 100 components = 0.0826323 Jy
! Clean residual min=-0.010681 max=0.010945 Jy/beam
! Clean residual mean=0.000026 rms=0.002740 Jy/beam
! Combined flux in latest and established models = 0.0826323 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.0826323 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079867Jy  sigma=1.067639
! Fit after  self-cal, rms=0.079796Jy  sigma=1.066447
! 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=6.705 mas, bmaj=17.49 mas, bpa=-14.3 degrees
! Estimated noise=1.17925 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.010739 Jy
! Component: 100  -  total flux cleaned = 0.0148425 Jy
! Component: 150  -  total flux cleaned = 0.0162664 Jy
! Component: 200  -  total flux cleaned = 0.016572 Jy
! Total flux subtracted in 200 components = 0.016572 Jy
! Clean residual min=-0.003345 max=0.003620 Jy/beam
! Clean residual mean=-0.000043 rms=0.001150 Jy/beam
! Combined flux in latest and established models = 0.0992044 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 30 components and 0.0992044 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078811Jy  sigma=1.044758
! Fit after  self-cal, rms=0.078786Jy  sigma=1.044565
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.078786Jy  sigma=1.044565
! Fit after  self-cal, rms=0.078606Jy  sigma=1.041748
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.078606Jy  sigma=1.041748
! Fit after  self-cal, rms=0.078604Jy  sigma=1.041533
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=6.701 mas, bmaj=17.48 mas, bpa=-14.29 degrees
! Estimated noise=1.18024 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.000171782 Jy
! Component: 100  -  total flux cleaned = 0.00043771 Jy
! Component: 150  -  total flux cleaned = 0.00062744 Jy
! Component: 200  -  total flux cleaned = 0.000802553 Jy
! Total flux subtracted in 200 components = 0.000802553 Jy
! Clean residual min=-0.003463 max=0.003466 Jy/beam
! Clean residual mean=-0.000049 rms=0.001110 Jy/beam
! Combined flux in latest and established models = 0.100007 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 33 components and 0.100007 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078537Jy  sigma=1.040581
! Fit after  self-cal, rms=0.078538Jy  sigma=1.040552
! 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.078538Jy  sigma=1.040552
! Fit after  self-cal, rms=0.074576Jy  sigma=0.968152
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 = 0.00295024 Jy
! Component: 100  -  total flux cleaned = 0.00311953 Jy
! Component: 150  -  total flux cleaned = 0.00321813 Jy
! Component: 200  -  total flux cleaned = 0.00326252 Jy
! Total flux subtracted in 200 components = 0.00326252 Jy
! Clean residual min=-0.003167 max=0.003573 Jy/beam
! Clean residual mean=-0.000056 rms=0.001061 Jy/beam
! Combined flux in latest and established models = 0.103269 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 41 components and 0.103269 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074380Jy  sigma=0.965909
! Fit after  self-cal, rms=0.074016Jy  sigma=0.959758
! 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: 6.701 x 17.48 at -14.29 degrees (North through East)
! Clean map  min=-0.0031379  max=0.080944 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
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=10.42 mas, bmaj=20.49 mas, bpa=-3.614 degrees
! Estimated noise=1.23399 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.000970402 Jy
! Component: 100  -  total flux cleaned = 0.000971954 Jy
! Component: 150  -  total flux cleaned = 0.000988915 Jy
! Component: 200  -  total flux cleaned = 0.00102105 Jy
! Total flux subtracted in 200 components = 0.00102105 Jy
! Clean residual min=-0.003428 max=0.003644 Jy/beam
! Clean residual mean=-0.000074 rms=0.001099 Jy/beam
! Combined flux in latest and established models = 0.10429 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 57 components and 0.10429 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073993Jy  sigma=0.959643
! Fit after  self-cal, rms=0.073968Jy  sigma=0.958801
! Inverting map 
uvtaper 0,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=3.411 mas, bmaj=11.18 mas, bpa=-15.9 degrees
! Estimated noise=2.70038 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0666317 Jy
! Component: 100  -  total flux cleaned = 0.0888927 Jy
! Component: 150  -  total flux cleaned = 0.096684 Jy
! Component: 200  -  total flux cleaned = 0.0976045 Jy
! Total flux subtracted in 200 components = 0.0976045 Jy
! Clean residual min=-0.009822 max=0.009238 Jy/beam
! Clean residual mean=-0.000047 rms=0.002617 Jy/beam
! Combined flux in latest and established models = 0.0976045 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 35 model components to the UV plane model.
! The established model now contains 35 components and 0.0976045 Jy
! Inverting map and beam 
! Estimated beam: bmin=6.701 mas, bmaj=17.48 mas, bpa=-14.29 degrees
! Estimated noise=1.18024 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.00435829 Jy
! Component: 100  -  total flux cleaned = 0.00533395 Jy
! Component: 150  -  total flux cleaned = 0.00554512 Jy
! Component: 200  -  total flux cleaned = 0.00577744 Jy
! Total flux subtracted in 200 components = 0.00577744 Jy
! Clean residual min=-0.003008 max=0.003587 Jy/beam
! Clean residual mean=-0.000051 rms=0.001049 Jy/beam
! Combined flux in latest and established models = 0.103382 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 51 components and 0.103382 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=10.42 mas, bmaj=20.49 mas, bpa=-3.614 degrees
! Estimated noise=1.23399 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.000508706 Jy
! Component: 100  -  total flux cleaned = 0.000556736 Jy
! Component: 150  -  total flux cleaned = 0.000586052 Jy
! Component: 200  -  total flux cleaned = 0.000613024 Jy
! Total flux subtracted in 200 components = 0.000613024 Jy
! Clean residual min=-0.003267 max=0.003610 Jy/beam
! Clean residual mean=-0.000069 rms=0.001092 Jy/beam
! Combined flux in latest and established models = 0.103995 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 65 components and 0.103995 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=6.701 mas, bmaj=17.48 mas, bpa=-14.29 degrees
! Estimated noise=1.18024 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000285675 Jy
! Component: 100  -  total flux cleaned = -0.000179527 Jy
! Component: 150  -  total flux cleaned = -0.000178787 Jy
! Component: 200  -  total flux cleaned = -0.000179302 Jy
! Total flux subtracted in 200 components = -0.000179302 Jy
! Clean residual min=-0.002943 max=0.003476 Jy/beam
! Clean residual mean=-0.000055 rms=0.001031 Jy/beam
! Combined flux in latest and established models = 0.103816 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 74 components and 0.103816 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073811Jy  sigma=0.957522
! Fit after  self-cal, rms=0.073800Jy  sigma=0.957099
wmodel J0949-1406_S_2004_05_27_yyk\_map.mod
! Writing 74 model components to file: J0949-1406_S_2004_05_27_yyk_map.mod
wobs J0949-1406_S_2004_05_27_yyk\_uvs.fits
! Writing UV FITS file: J0949-1406_S_2004_05_27_yyk_uvs.fits
wwins J0949-1406_S_2004_05_27_yyk\_map.win
! wwins: Wrote 1 windows to J0949-1406_S_2004_05_27_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 = 0.00135104 Jy
! Component: 100  -  total flux cleaned = 0.00167166 Jy
! Component: 150  -  total flux cleaned = 0.00172205 Jy
! Component: 200  -  total flux cleaned = 0.0015361 Jy
! Component: 250  -  total flux cleaned = 0.00135746 Jy
! Component: 300  -  total flux cleaned = 0.00114532 Jy
! Component: 350  -  total flux cleaned = 0.00102343 Jy
! Component: 400  -  total flux cleaned = 0.000945796 Jy
! Component: 450  -  total flux cleaned = 0.00105767 Jy
! Component: 500  -  total flux cleaned = 0.00109333 Jy
! Component: 550  -  total flux cleaned = 0.0011633 Jy
! Component: 600  -  total flux cleaned = 0.00116307 Jy
! Component: 650  -  total flux cleaned = 0.00103336 Jy
! Component: 700  -  total flux cleaned = 0.000970902 Jy
! Component: 750  -  total flux cleaned = 0.000971273 Jy
! Component: 800  -  total flux cleaned = 0.000971064 Jy
! Component: 850  -  total flux cleaned = 0.000883044 Jy
! Component: 900  -  total flux cleaned = 0.000768748 Jy
! Component: 950  -  total flux cleaned = 0.000657512 Jy
! Component: 1000  -  total flux cleaned = 0.000575784 Jy
! Component: 1050  -  total flux cleaned = 0.000469394 Jy
! Component: 1100  -  total flux cleaned = 0.00036513 Jy
! Component: 1150  -  total flux cleaned = 0.000288641 Jy
! Component: 1200  -  total flux cleaned = 0.000213269 Jy
! Component: 1250  -  total flux cleaned = 9.03601e-05 Jy
! Component: 1300  -  total flux cleaned = 6.66506e-05 Jy
! Component: 1350  -  total flux cleaned = -4.73182e-06 Jy
! Component: 1400  -  total flux cleaned = -2.80603e-05 Jy
! Component: 1450  -  total flux cleaned = -0.000165664 Jy
! Component: 1500  -  total flux cleaned = -0.000255716 Jy
! Component: 1550  -  total flux cleaned = -0.00038899 Jy
! Component: 1600  -  total flux cleaned = -0.000476833 Jy
! Component: 1650  -  total flux cleaned = -0.000606387 Jy
! Component: 1700  -  total flux cleaned = -0.000649141 Jy
! Component: 1750  -  total flux cleaned = -0.000797187 Jy
! Component: 1800  -  total flux cleaned = -0.000901627 Jy
! Component: 1850  -  total flux cleaned = -0.000984403 Jy
! Component: 1900  -  total flux cleaned = -0.00106631 Jy
! Component: 1950  -  total flux cleaned = -0.00118763 Jy
! Component: 2000  -  total flux cleaned = -0.00128763 Jy
! Total flux subtracted in 2048 components = -0.00140642 Jy
! Clean residual min=-0.001250 max=0.001232 Jy/beam
! Clean residual mean=-0.000007 rms=0.000427 Jy/beam
! Combined flux in latest and established models = 0.102409 Jy
keep
! Adding 110 model components to the UV plane model.
! The established model now contains 184 components and 0.102409 Jy
![Exited script file: muppet]
wmap "J0949-1406_S_2004_05_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.701 x 17.48 at -14.29 degrees (North through East)
! Clean map  min=-0.002903  max=0.081008 Jy/beam
! Writing clean map to FITS file: J0949-1406_S_2004_05_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0810082 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000429066 
device "J0949-1406_S_2004_05_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J0949-1406_S_2004_05_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.58897 1.58897 3.17794 6.35588 12.7118 25.4235 50.8471
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.081 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 6.701 x 17.48 at -14.29 degrees (North through East)
! Clean map  min=-0.002903  max=0.081008 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0949-1406_S_2004_05_27_yyk\_map.gif/gif"
! Attempting to open device: 'J0949-1406_S_2004_05_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0949-1406_S_2004_05_27_yyk_uvs.log closed on Wed Dec  7 00:14:53 2005