! Started logfile: J1213-1658_X_2006_12_18_yyk_uvs.log on Wed Apr  9 20:27:47 2008
obs J1213-1658_X_2006_12_18_yyk_uve.fits
! Reading UV FITS file: J1213-1658_X_2006_12_18_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.552778 visibilities/baseline/integration-bin.
! Found source: J1213-1658
! 
! 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 2161 lines of history.
! 
! Reading 1592 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 J1213-1658_X_2006_12_18_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.0940699 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.9166 mas, bmaj=3.794 mas, bpa=-15.38 degrees
! Estimated noise=1.85674 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.0381724 Jy
! Component: 100  -  total flux cleaned = 0.0395309 Jy
! Total flux subtracted in 100 components = 0.0395309 Jy
! Clean residual min=-0.011403 max=0.011045 Jy/beam
! Clean residual mean=-0.000040 rms=0.003318 Jy/beam
! Combined flux in latest and established models = 0.0395309 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.0395309 Jy
! 
! Correcting IF 1.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 41 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 77 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 112 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.080079Jy  sigma=1.300295
! Fit after  self-cal, rms=0.078361Jy  sigma=1.267565
! Inverting map and beam 
! Estimated beam: bmin=0.9162 mas, bmaj=3.794 mas, bpa=-15.4 degrees
! Estimated noise=1.85646 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=1.241 mas, bmaj=4.769 mas, bpa=-12.85 degrees
! Estimated noise=1.23764 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.0182474 Jy
! Component: 100  -  total flux cleaned = 0.0258758 Jy
! Component: 150  -  total flux cleaned = 0.0299601 Jy
! Component: 200  -  total flux cleaned = 0.030835 Jy
! Total flux subtracted in 200 components = 0.030835 Jy
! Clean residual min=-0.006185 max=0.006998 Jy/beam
! Clean residual mean=-0.000018 rms=0.001902 Jy/beam
! Combined flux in latest and established models = 0.0703659 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 36 components and 0.0703659 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.076033Jy  sigma=1.204995
! Fit after  self-cal, rms=0.075355Jy  sigma=1.190458
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.241 x 4.769 at -12.85 degrees (North through East)
! Clean map  min=-0.0063384  max=0.057244 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.
!  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 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*    
! 
! 
! 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.
!  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.075355Jy  sigma=1.190458
! Fit after  self-cal, rms=0.075132Jy  sigma=1.189812
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.075132Jy  sigma=1.189812
! Fit after  self-cal, rms=0.075115Jy  sigma=1.189484
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.241 mas, bmaj=4.774 mas, bpa=-12.82 degrees
! Estimated noise=1.23815 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.00255582 Jy
! Component: 100  -  total flux cleaned = 0.00304924 Jy
! Component: 150  -  total flux cleaned = 0.00338808 Jy
! Component: 200  -  total flux cleaned = 0.00368928 Jy
! Total flux subtracted in 200 components = 0.00368928 Jy
! Clean residual min=-0.006452 max=0.006722 Jy/beam
! Clean residual mean=-0.000009 rms=0.001806 Jy/beam
! Combined flux in latest and established models = 0.0740552 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 39 components and 0.0740552 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074877Jy  sigma=1.186144
! Fit after  self-cal, rms=0.074912Jy  sigma=1.186027
! 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.074912Jy  sigma=1.186027
! Fit after  self-cal, rms=0.066431Jy  sigma=1.052135
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.00674982 Jy
! Component: 100  -  total flux cleaned = 0.00715495 Jy
! Component: 150  -  total flux cleaned = 0.00726583 Jy
! Component: 200  -  total flux cleaned = 0.00731741 Jy
! Total flux subtracted in 200 components = 0.00731741 Jy
! Clean residual min=-0.005291 max=0.005532 Jy/beam
! Clean residual mean=-0.000012 rms=0.001598 Jy/beam
! Combined flux in latest and established models = 0.0813726 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 48 components and 0.0813726 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065796Jy  sigma=1.040154
! Fit after  self-cal, rms=0.064990Jy  sigma=1.029917
! 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: 1.241 x 4.774 at -12.82 degrees (North through East)
! Clean map  min=-0.0050908  max=0.064832 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=2.216 mas, bmaj=6.108 mas, bpa=-4.216 degrees
! Estimated noise=1.39617 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.00194788 Jy
! Component: 100  -  total flux cleaned = 0.00214357 Jy
! Component: 150  -  total flux cleaned = 0.00221535 Jy
! Component: 200  -  total flux cleaned = 0.002281 Jy
! Total flux subtracted in 200 components = 0.002281 Jy
! Clean residual min=-0.005925 max=0.005524 Jy/beam
! Clean residual mean=-0.000019 rms=0.001778 Jy/beam
! Combined flux in latest and established models = 0.0836536 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 54 components and 0.0836536 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064957Jy  sigma=1.029547
! Fit after  self-cal, rms=0.064884Jy  sigma=1.028475
! 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.9159 mas, bmaj=3.787 mas, bpa=-15.45 degrees
! Estimated noise=1.86137 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0541678 Jy
! Component: 100  -  total flux cleaned = 0.0668261 Jy
! Component: 150  -  total flux cleaned = 0.0716033 Jy
! Component: 200  -  total flux cleaned = 0.0742447 Jy
! Total flux subtracted in 200 components = 0.0742447 Jy
! Clean residual min=-0.008110 max=0.008013 Jy/beam
! Clean residual mean=-0.000008 rms=0.002398 Jy/beam
! Combined flux in latest and established models = 0.0742446 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 25 model components to the UV plane model.
! The established model now contains 25 components and 0.0742446 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.241 mas, bmaj=4.774 mas, bpa=-12.82 degrees
! Estimated noise=1.23815 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.00521003 Jy
! Component: 100  -  total flux cleaned = 0.00631412 Jy
! Component: 150  -  total flux cleaned = 0.00657252 Jy
! Component: 200  -  total flux cleaned = 0.00680949 Jy
! Total flux subtracted in 200 components = 0.00680949 Jy
! Clean residual min=-0.005326 max=0.005465 Jy/beam
! Clean residual mean=-0.000015 rms=0.001617 Jy/beam
! Combined flux in latest and established models = 0.0810541 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 33 components and 0.0810541 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=2.216 mas, bmaj=6.108 mas, bpa=-4.216 degrees
! Estimated noise=1.39617 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.00200366 Jy
! Component: 100  -  total flux cleaned = 0.00211882 Jy
! Component: 150  -  total flux cleaned = 0.00222192 Jy
! Component: 200  -  total flux cleaned = 0.00235758 Jy
! Total flux subtracted in 200 components = 0.00235758 Jy
! Clean residual min=-0.005953 max=0.005637 Jy/beam
! Clean residual mean=-0.000019 rms=0.001790 Jy/beam
! Combined flux in latest and established models = 0.0834117 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 40 components and 0.0834117 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.241 mas, bmaj=4.774 mas, bpa=-12.82 degrees
! Estimated noise=1.23815 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00133381 Jy
! Component: 100  -  total flux cleaned = -0.00153544 Jy
! Component: 150  -  total flux cleaned = -0.00147775 Jy
! Component: 200  -  total flux cleaned = -0.00142055 Jy
! Total flux subtracted in 200 components = -0.00142055 Jy
! Clean residual min=-0.005160 max=0.005396 Jy/beam
! Clean residual mean=-0.000012 rms=0.001579 Jy/beam
! Combined flux in latest and established models = 0.0819912 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 46 components and 0.0819912 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064889Jy  sigma=1.028744
! Fit after  self-cal, rms=0.064801Jy  sigma=1.028282
wmodel J1213-1658_X_2006_12_18_yyk\_map.mod
! Writing 46 model components to file: J1213-1658_X_2006_12_18_yyk_map.mod
wobs J1213-1658_X_2006_12_18_yyk\_uvs.fits
! Writing UV FITS file: J1213-1658_X_2006_12_18_yyk_uvs.fits
wwins J1213-1658_X_2006_12_18_yyk\_map.win
! wwins: Wrote 1 windows to J1213-1658_X_2006_12_18_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 = -3.34686e-06 Jy
! Component: 100  -  total flux cleaned = -1.15418e-05 Jy
! Component: 150  -  total flux cleaned = 0.000473793 Jy
! Component: 200  -  total flux cleaned = 0.00123869 Jy
! Component: 250  -  total flux cleaned = 0.00160141 Jy
! Component: 300  -  total flux cleaned = 0.00146384 Jy
! Component: 350  -  total flux cleaned = 0.00159922 Jy
! Component: 400  -  total flux cleaned = 0.00179079 Jy
! Component: 450  -  total flux cleaned = 0.00191481 Jy
! Component: 500  -  total flux cleaned = 0.00227639 Jy
! Component: 550  -  total flux cleaned = 0.00279988 Jy
! Component: 600  -  total flux cleaned = 0.00342225 Jy
! Component: 650  -  total flux cleaned = 0.00419186 Jy
! Component: 700  -  total flux cleaned = 0.00488674 Jy
! Component: 750  -  total flux cleaned = 0.00551295 Jy
! Component: 800  -  total flux cleaned = 0.00628086 Jy
! Component: 850  -  total flux cleaned = 0.0069309 Jy
! Component: 900  -  total flux cleaned = 0.00761552 Jy
! Component: 950  -  total flux cleaned = 0.00833319 Jy
! Component: 1000  -  total flux cleaned = 0.00894253 Jy
! Component: 1050  -  total flux cleaned = 0.00958722 Jy
! Component: 1100  -  total flux cleaned = 0.0103083 Jy
! Component: 1150  -  total flux cleaned = 0.0110169 Jy
! Component: 1200  -  total flux cleaned = 0.0115821 Jy
! Component: 1250  -  total flux cleaned = 0.0121803 Jy
! Component: 1300  -  total flux cleaned = 0.0127256 Jy
! Component: 1350  -  total flux cleaned = 0.0131382 Jy
! Component: 1400  -  total flux cleaned = 0.0136258 Jy
! Component: 1450  -  total flux cleaned = 0.0141856 Jy
! Component: 1500  -  total flux cleaned = 0.0146973 Jy
! Component: 1550  -  total flux cleaned = 0.0152409 Jy
! Component: 1600  -  total flux cleaned = 0.0157376 Jy
! Component: 1650  -  total flux cleaned = 0.0162274 Jy
! Component: 1700  -  total flux cleaned = 0.0167844 Jy
! Component: 1750  -  total flux cleaned = 0.0171877 Jy
! Component: 1800  -  total flux cleaned = 0.017514 Jy
! Component: 1850  -  total flux cleaned = 0.0179075 Jy
! Component: 1900  -  total flux cleaned = 0.0180132 Jy
! Component: 1950  -  total flux cleaned = 0.0182585 Jy
! Component: 2000  -  total flux cleaned = 0.0184311 Jy
! Total flux subtracted in 2048 components = 0.0186024 Jy
! Clean residual min=-0.002096 max=0.002482 Jy/beam
! Clean residual mean=-0.000010 rms=0.000671 Jy/beam
! Combined flux in latest and established models = 0.100594 Jy
keep
! Adding 116 model components to the UV plane model.
! The established model now contains 162 components and 0.100594 Jy
![Exited script file: muppet]
wmap "J1213-1658_X_2006_12_18_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.241 x 4.774 at -12.82 degrees (North through East)
! Clean map  min=-0.0029148  max=0.064712 Jy/beam
! Writing clean map to FITS file: J1213-1658_X_2006_12_18_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0647125 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000679117 
device "J1213-1658_X_2006_12_18_yyk\_map.eps/VPS"
! Attempting to open device: 'J1213-1658_X_2006_12_18_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.14831 3.14831 6.29663 12.5933 25.1865 50.373
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.064 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.241 x 4.774 at -12.82 degrees (North through East)
! Clean map  min=-0.0029148  max=0.064712 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1213-1658_X_2006_12_18_yyk\_map.gif/gif"
! Attempting to open device: 'J1213-1658_X_2006_12_18_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1213-1658_X_2006_12_18_yyk_uvs.log closed on Wed Apr  9 20:27:50 2008