! Started logfile: J0850-3039_X_2002_01_31_yyk_uvs.log on Wed Jun 27 10:53:36 2007
obs J0850-3039_X_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J0850-3039_X_2002_01_31_yyk_uva.fits
! AN table 1: 77 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.601732 visibilities/baseline/integration-bin.
! Found source: J0850-3039
! 
! 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.40947e+09        8e+06          1        8e+06
!  02        2  8.47947e+09        8e+06          1        8e+06
!  03        3  8.79447e+09        8e+06          1        8e+06
!  04        4  8.89947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1545 lines of history.
! 
! Reading 8340 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
flag NL
! Flagging baselines of antenna 1:NL in the currently selected channels.
![@muppet J0850-3039_X_2002_01_31_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.204847 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=0.6442 mas, bmaj=1.591 mas, bpa=3.975 degrees
! Estimated noise=1827.85 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 (-1.2, -1.8).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0330336 Jy
! Component: 100  -  total flux cleaned = 0.0470698 Jy
! Total flux subtracted in 100 components = 0.0470698 Jy
! Clean residual min=-0.012143 max=0.016055 Jy/beam
! Clean residual mean=0.000011 rms=0.003320 Jy/beam
! Combined flux in latest and established models = 0.0470698 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.0470698 Jy
! 
! Correcting IF 1.
!  A total of 252 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 252 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 280 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 252 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.200216Jy  sigma=0.001461
! Fit after  self-cal, rms=0.197992Jy  sigma=0.001434
! Inverting map and beam 
! Estimated beam: bmin=0.6442 mas, bmaj=1.591 mas, bpa=3.975 degrees
! Estimated noise=1827.88 mJy/beam.
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=0.9291 mas, bmaj=2.175 mas, bpa=0.3751 degrees
! Estimated noise=1036.49 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.0212836 Jy
! Component: 100  -  total flux cleaned = 0.0269545 Jy
! Component: 150  -  total flux cleaned = 0.0285842 Jy
! Component: 200  -  total flux cleaned = 0.0288428 Jy
! Total flux subtracted in 200 components = 0.0288428 Jy
! Clean residual min=-0.006664 max=0.007133 Jy/beam
! Clean residual mean=0.000066 rms=0.001958 Jy/beam
! Combined flux in latest and established models = 0.0759127 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 31 components and 0.0759127 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196970Jy  sigma=0.001419
! Fit after  self-cal, rms=0.197001Jy  sigma=0.001419
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9291 x 2.175 at 0.3751 degrees (North through East)
! Clean map  min=-0.0062289  max=0.051293 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! 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.
!  A total of 18 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*    
! 
! 
! Correcting IF 2.
!  A total of 18 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*    
! 
! 
! Correcting IF 3.
!  A total of 18 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*    
! 
! 
! Correcting IF 4.
!  A total of 18 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.197001Jy  sigma=0.001419
! Fit after  self-cal, rms=0.197662Jy  sigma=0.001420
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.197662Jy  sigma=0.001420
! Fit after  self-cal, rms=0.197664Jy  sigma=0.001420
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9212 mas, bmaj=2.157 mas, bpa=0.3723 degrees
! Estimated noise=1045.46 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.000324712 Jy
! Component: 100  -  total flux cleaned = 0.000285509 Jy
! Component: 150  -  total flux cleaned = 0.000253023 Jy
! Component: 200  -  total flux cleaned = 0.000221245 Jy
! Total flux subtracted in 200 components = 0.000221246 Jy
! Clean residual min=-0.006740 max=0.006985 Jy/beam
! Clean residual mean=0.000061 rms=0.001963 Jy/beam
! Combined flux in latest and established models = 0.0761339 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 33 components and 0.0761339 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197662Jy  sigma=0.001420
! Fit after  self-cal, rms=0.197643Jy  sigma=0.001420
! 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.197643Jy  sigma=0.001420
! Fit after  self-cal, rms=0.196192Jy  sigma=0.001408
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.00350236 Jy
! Component: 100  -  total flux cleaned = 0.00341686 Jy
! Component: 150  -  total flux cleaned = 0.00334899 Jy
! Component: 200  -  total flux cleaned = 0.00335204 Jy
! Total flux subtracted in 200 components = 0.00335204 Jy
! Clean residual min=-0.007031 max=0.006414 Jy/beam
! Clean residual mean=0.000063 rms=0.001837 Jy/beam
! Combined flux in latest and established models = 0.079486 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 34 components and 0.079486 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196113Jy  sigma=0.001407
! Fit after  self-cal, rms=0.195640Jy  sigma=0.001404
! 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: 0.9212 x 2.157 at 0.3723 degrees (North through East)
! Clean map  min=-0.0060216  max=0.057638 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 = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.06 mas, bmaj=7.901 mas, bpa=10.94 degrees
! Estimated noise=1298.94 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.000653583 Jy
! Component: 100  -  total flux cleaned = -0.000714151 Jy
! Component: 150  -  total flux cleaned = -0.000742442 Jy
! Component: 200  -  total flux cleaned = -0.00079792 Jy
! Total flux subtracted in 200 components = -0.00079792 Jy
! Clean residual min=-0.007881 max=0.006860 Jy/beam
! Clean residual mean=0.000100 rms=0.002452 Jy/beam
! Combined flux in latest and established models = 0.078688 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 34 components and 0.078688 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195617Jy  sigma=0.001404
! Fit after  self-cal, rms=0.195444Jy  sigma=0.001403
! 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=0.6442 mas, bmaj=1.591 mas, bpa=3.975 degrees
! Estimated noise=1828.41 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0489695 Jy
! Component: 100  -  total flux cleaned = 0.0664996 Jy
! Component: 150  -  total flux cleaned = 0.0746838 Jy
! Component: 200  -  total flux cleaned = 0.0766906 Jy
! Total flux subtracted in 200 components = 0.0766906 Jy
! Clean residual min=-0.009257 max=0.010817 Jy/beam
! Clean residual mean=0.000014 rms=0.002566 Jy/beam
! Combined flux in latest and established models = 0.0766906 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 11 model components to the UV plane model.
! The established model now contains 11 components and 0.0766906 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9212 mas, bmaj=2.157 mas, bpa=0.3723 degrees
! Estimated noise=1045.46 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.00294628 Jy
! Component: 100  -  total flux cleaned = 0.00306263 Jy
! Component: 150  -  total flux cleaned = 0.00311554 Jy
! Component: 200  -  total flux cleaned = 0.00315152 Jy
! Total flux subtracted in 200 components = 0.00315152 Jy
! Clean residual min=-0.006700 max=0.007052 Jy/beam
! Clean residual mean=0.000062 rms=0.001820 Jy/beam
! Combined flux in latest and established models = 0.0798421 Jy
! Adding 11 model components to the UV plane model.
! The established model now contains 20 components and 0.0798421 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.06 mas, bmaj=7.901 mas, bpa=10.94 degrees
! Estimated noise=1298.94 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.00132357 Jy
! Component: 100  -  total flux cleaned = -0.00134526 Jy
! Component: 150  -  total flux cleaned = -0.00138694 Jy
! Component: 200  -  total flux cleaned = -0.00140719 Jy
! Total flux subtracted in 200 components = -0.00140719 Jy
! Clean residual min=-0.007626 max=0.007060 Jy/beam
! Clean residual mean=0.000098 rms=0.002412 Jy/beam
! Combined flux in latest and established models = 0.0784349 Jy
! Adding 4 model components to the UV plane model.
! The established model now contains 21 components and 0.0784349 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9212 mas, bmaj=2.157 mas, bpa=0.3723 degrees
! Estimated noise=1045.46 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00105937 Jy
! Component: 100  -  total flux cleaned = 0.00105884 Jy
! Component: 150  -  total flux cleaned = 0.00106156 Jy
! Component: 200  -  total flux cleaned = 0.00106112 Jy
! Total flux subtracted in 200 components = 0.00106112 Jy
! Clean residual min=-0.006685 max=0.006988 Jy/beam
! Clean residual mean=0.000061 rms=0.001807 Jy/beam
! Combined flux in latest and established models = 0.079496 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 24 components and 0.079496 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195379Jy  sigma=0.001403
! Fit after  self-cal, rms=0.195254Jy  sigma=0.001402
wmodel J0850-3039_X_2002_01_31_yyk\_map.mod
! Writing 24 model components to file: J0850-3039_X_2002_01_31_yyk_map.mod
wobs J0850-3039_X_2002_01_31_yyk\_uvs.fits
! Applying 77 buffered edits.
! Writing UV FITS file: J0850-3039_X_2002_01_31_yyk_uvs.fits
wwins J0850-3039_X_2002_01_31_yyk\_map.win
! wwins: Wrote 1 windows to J0850-3039_X_2002_01_31_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.000895943 Jy
! Component: 100  -  total flux cleaned = 0.000695028 Jy
! Component: 150  -  total flux cleaned = 0.0016425 Jy
! Component: 200  -  total flux cleaned = 0.0024492 Jy
! Component: 250  -  total flux cleaned = 0.00262167 Jy
! Component: 300  -  total flux cleaned = 0.00254325 Jy
! Component: 350  -  total flux cleaned = 0.00230883 Jy
! Component: 400  -  total flux cleaned = 0.00230939 Jy
! Component: 450  -  total flux cleaned = 0.0023827 Jy
! Component: 500  -  total flux cleaned = 0.00245191 Jy
! Component: 550  -  total flux cleaned = 0.00231651 Jy
! Component: 600  -  total flux cleaned = 0.00225015 Jy
! Component: 650  -  total flux cleaned = 0.00205859 Jy
! Component: 700  -  total flux cleaned = 0.00193411 Jy
! Component: 750  -  total flux cleaned = 0.00181329 Jy
! Component: 800  -  total flux cleaned = 0.00175305 Jy
! Component: 850  -  total flux cleaned = 0.00163602 Jy
! Component: 900  -  total flux cleaned = 0.00157883 Jy
! Component: 950  -  total flux cleaned = 0.00168622 Jy
! Component: 1000  -  total flux cleaned = 0.00157731 Jy
! Component: 1050  -  total flux cleaned = 0.00152573 Jy
! Component: 1100  -  total flux cleaned = 0.00152647 Jy
! Component: 1150  -  total flux cleaned = 0.00152777 Jy
! Component: 1200  -  total flux cleaned = 0.0015285 Jy
! Component: 1250  -  total flux cleaned = 0.00157571 Jy
! Component: 1300  -  total flux cleaned = 0.00157542 Jy
! Component: 1350  -  total flux cleaned = 0.00162199 Jy
! Component: 1400  -  total flux cleaned = 0.00162284 Jy
! Component: 1450  -  total flux cleaned = 0.0017574 Jy
! Component: 1500  -  total flux cleaned = 0.00180082 Jy
! Component: 1550  -  total flux cleaned = 0.00175748 Jy
! Component: 1600  -  total flux cleaned = 0.00167195 Jy
! Component: 1650  -  total flux cleaned = 0.00158863 Jy
! Component: 1700  -  total flux cleaned = 0.00150643 Jy
! Component: 1750  -  total flux cleaned = 0.0015069 Jy
! Component: 1800  -  total flux cleaned = 0.00150685 Jy
! Component: 1850  -  total flux cleaned = 0.00142751 Jy
! Component: 1900  -  total flux cleaned = 0.00123208 Jy
! Component: 1950  -  total flux cleaned = 0.00111598 Jy
! Component: 2000  -  total flux cleaned = 0.000925196 Jy
! Total flux subtracted in 2048 components = 0.000698842 Jy
! Clean residual min=-0.002237 max=0.001969 Jy/beam
! Clean residual mean=-0.000001 rms=0.000693 Jy/beam
! Combined flux in latest and established models = 0.0801949 Jy
keep
! Adding 117 model components to the UV plane model.
! The established model now contains 141 components and 0.0801948 Jy
![Exited script file: muppet]
wmap "J0850-3039_X_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9212 x 2.157 at 0.3723 degrees (North through East)
! Clean map  min=-0.0039776  max=0.059856 Jy/beam
! Writing clean map to FITS file: J0850-3039_X_2002_01_31_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0598565 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000680434 
device "J0850-3039_X_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J0850-3039_X_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.41033 3.41033 6.82065 13.6413 27.2826 54.5652
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.059 
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.9212 x 2.157 at 0.3723 degrees (North through East)
! Clean map  min=-0.0039776  max=0.059856 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0850-3039_X_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J0850-3039_X_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0850-3039_X_2002_01_31_yyk_uvs.log closed on Wed Jun 27 10:53:46 2007