! Started logfile: J1639+1632_X_2005_07_09_yyk_uvs.log on Fri Jan 20 10:44:28 2006
obs J1639+1632_X_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J1639+1632_X_2005_07_09_yyk_uve.fits
! AN table 1: 9 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.883951 visibilities/baseline/integration-bin.
! Found source: J1639+1632
! 
! 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 1480 lines of history.
! 
! Reading 1432 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 J1639+1632_X_2005_07_09_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.0895127 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.8273 mas, bmaj=2.063 mas, bpa=3.19 degrees
! Estimated noise=1.68387 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.0477952 Jy
! Component: 100  -  total flux cleaned = 0.0594806 Jy
! Total flux subtracted in 100 components = 0.0594806 Jy
! Clean residual min=-0.007484 max=0.009826 Jy/beam
! Clean residual mean=-0.000004 rms=0.002135 Jy/beam
! Combined flux in latest and established models = 0.0594806 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.0594806 Jy
! 
! Correcting IF 1.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.069936Jy  sigma=1.258235
! Fit after  self-cal, rms=0.068024Jy  sigma=1.203766
! Inverting map and beam 
! Estimated beam: bmin=0.8261 mas, bmaj=2.062 mas, bpa=3.215 degrees
! Estimated noise=1.68996 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.06 mas, bmaj=2.529 mas, bpa=0.3978 degrees
! Estimated noise=1.18026 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.0120741 Jy
! Component: 100  -  total flux cleaned = 0.0156571 Jy
! Component: 150  -  total flux cleaned = 0.0171056 Jy
! Component: 200  -  total flux cleaned = 0.0173665 Jy
! Total flux subtracted in 200 components = 0.0173665 Jy
! Clean residual min=-0.005724 max=0.005422 Jy/beam
! Clean residual mean=-0.000014 rms=0.001561 Jy/beam
! Combined flux in latest and established models = 0.0768471 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 29 components and 0.0768471 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067839Jy  sigma=1.169987
! Fit after  self-cal, rms=0.067822Jy  sigma=1.169872
! 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.06 x 2.529 at 0.3978 degrees (North through East)
! Clean map  min=-0.0054627  max=0.063221 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 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 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.
!  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.067822Jy  sigma=1.169872
! Fit after  self-cal, rms=0.067574Jy  sigma=1.168761
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.067574Jy  sigma=1.168761
! Fit after  self-cal, rms=0.067558Jy  sigma=1.168690
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.06 mas, bmaj=2.528 mas, bpa=0.3912 degrees
! Estimated noise=1.18089 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 = 4.30313e-05 Jy
! Component: 100  -  total flux cleaned = 6.97779e-05 Jy
! Component: 150  -  total flux cleaned = 7.02511e-05 Jy
! Component: 200  -  total flux cleaned = 9.84157e-05 Jy
! Total flux subtracted in 200 components = 9.84157e-05 Jy
! Clean residual min=-0.005735 max=0.005497 Jy/beam
! Clean residual mean=-0.000014 rms=0.001558 Jy/beam
! Combined flux in latest and established models = 0.0769456 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 31 components and 0.0769456 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067537Jy  sigma=1.168344
! Fit after  self-cal, rms=0.067534Jy  sigma=1.168334
! 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.067534Jy  sigma=1.168334
! Fit after  self-cal, rms=0.060998Jy  sigma=1.026721
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.00550945 Jy
! Component: 100  -  total flux cleaned = 0.00739149 Jy
! Component: 150  -  total flux cleaned = 0.00798726 Jy
! Component: 200  -  total flux cleaned = 0.00803851 Jy
! Total flux subtracted in 200 components = 0.00803851 Jy
! Clean residual min=-0.004790 max=0.004297 Jy/beam
! Clean residual mean=-0.000010 rms=0.001318 Jy/beam
! Combined flux in latest and established models = 0.0849841 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 42 components and 0.084984 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061088Jy  sigma=1.018529
! Fit after  self-cal, rms=0.059742Jy  sigma=1.003176
! 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.06 x 2.528 at 0.3912 degrees (North through East)
! Clean map  min=-0.0044822  max=0.06811 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.635 mas, bmaj=3.687 mas, bpa=7.708 degrees
! Estimated noise=1.38865 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.00216367 Jy
! Component: 100  -  total flux cleaned = 0.00229455 Jy
! Component: 150  -  total flux cleaned = 0.00234945 Jy
! Component: 200  -  total flux cleaned = 0.00239886 Jy
! Total flux subtracted in 200 components = 0.00239886 Jy
! Clean residual min=-0.005048 max=0.005053 Jy/beam
! Clean residual mean=-0.000016 rms=0.001580 Jy/beam
! Combined flux in latest and established models = 0.0873829 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 44 components and 0.0873829 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059779Jy  sigma=1.003732
! Fit after  self-cal, rms=0.059604Jy  sigma=1.002071
! 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.8264 mas, bmaj=2.062 mas, bpa=3.22 degrees
! Estimated noise=1.68956 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.05447 Jy
! Component: 100  -  total flux cleaned = 0.066906 Jy
! Component: 150  -  total flux cleaned = 0.0731373 Jy
! Component: 200  -  total flux cleaned = 0.0768672 Jy
! Total flux subtracted in 200 components = 0.0768671 Jy
! Clean residual min=-0.006806 max=0.008491 Jy/beam
! Clean residual mean=0.000001 rms=0.001789 Jy/beam
! Combined flux in latest and established models = 0.0768672 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 24 model components to the UV plane model.
! The established model now contains 24 components and 0.0768672 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.06 mas, bmaj=2.528 mas, bpa=0.3912 degrees
! Estimated noise=1.18089 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.00649841 Jy
! Component: 100  -  total flux cleaned = 0.00835557 Jy
! Component: 150  -  total flux cleaned = 0.00865938 Jy
! Component: 200  -  total flux cleaned = 0.00884484 Jy
! Total flux subtracted in 200 components = 0.00884484 Jy
! Clean residual min=-0.004867 max=0.004457 Jy/beam
! Clean residual mean=-0.000010 rms=0.001301 Jy/beam
! Combined flux in latest and established models = 0.085712 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 32 components and 0.085712 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.635 mas, bmaj=3.687 mas, bpa=7.708 degrees
! Estimated noise=1.38865 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.00169687 Jy
! Component: 100  -  total flux cleaned = 0.00169665 Jy
! Component: 150  -  total flux cleaned = 0.00172915 Jy
! Component: 200  -  total flux cleaned = 0.00175736 Jy
! Total flux subtracted in 200 components = 0.00175736 Jy
! Clean residual min=-0.005064 max=0.005066 Jy/beam
! Clean residual mean=-0.000016 rms=0.001573 Jy/beam
! Combined flux in latest and established models = 0.0874694 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 33 components and 0.0874694 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.06 mas, bmaj=2.528 mas, bpa=0.3912 degrees
! Estimated noise=1.18089 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00121338 Jy
! Component: 100  -  total flux cleaned = -0.00126003 Jy
! Component: 150  -  total flux cleaned = -0.00129405 Jy
! Component: 200  -  total flux cleaned = -0.00126933 Jy
! Total flux subtracted in 200 components = -0.00126933 Jy
! Clean residual min=-0.004828 max=0.004501 Jy/beam
! Clean residual mean=-0.000010 rms=0.001290 Jy/beam
! Combined flux in latest and established models = 0.0862 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 40 components and 0.0862001 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059593Jy  sigma=1.001567
! Fit after  self-cal, rms=0.059540Jy  sigma=1.001296
wmodel J1639+1632_X_2005_07_09_yyk\_map.mod
! Writing 40 model components to file: J1639+1632_X_2005_07_09_yyk_map.mod
wobs J1639+1632_X_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J1639+1632_X_2005_07_09_yyk_uvs.fits
wwins J1639+1632_X_2005_07_09_yyk\_map.win
! wwins: Wrote 1 windows to J1639+1632_X_2005_07_09_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.000450452 Jy
! Component: 100  -  total flux cleaned = -0.000990318 Jy
! Component: 150  -  total flux cleaned = -0.00135236 Jy
! Component: 200  -  total flux cleaned = -0.00148731 Jy
! Component: 250  -  total flux cleaned = -0.00148716 Jy
! Component: 300  -  total flux cleaned = -0.00167179 Jy
! Component: 350  -  total flux cleaned = -0.00173084 Jy
! Component: 400  -  total flux cleaned = -0.00201891 Jy
! Component: 450  -  total flux cleaned = -0.00257834 Jy
! Component: 500  -  total flux cleaned = -0.00279401 Jy
! Component: 550  -  total flux cleaned = -0.00279411 Jy
! Component: 600  -  total flux cleaned = -0.00310318 Jy
! Component: 650  -  total flux cleaned = -0.00315155 Jy
! Component: 700  -  total flux cleaned = -0.0032004 Jy
! Component: 750  -  total flux cleaned = -0.00329574 Jy
! Component: 800  -  total flux cleaned = -0.00338911 Jy
! Component: 850  -  total flux cleaned = -0.0034348 Jy
! Component: 900  -  total flux cleaned = -0.0036132 Jy
! Component: 950  -  total flux cleaned = -0.00361283 Jy
! Component: 1000  -  total flux cleaned = -0.0035699 Jy
! Component: 1050  -  total flux cleaned = -0.00365489 Jy
! Component: 1100  -  total flux cleaned = -0.00377962 Jy
! Component: 1150  -  total flux cleaned = -0.00373907 Jy
! Component: 1200  -  total flux cleaned = -0.00373907 Jy
! Component: 1250  -  total flux cleaned = -0.00373871 Jy
! Component: 1300  -  total flux cleaned = -0.00358356 Jy
! Component: 1350  -  total flux cleaned = -0.00358374 Jy
! Component: 1400  -  total flux cleaned = -0.00354566 Jy
! Component: 1450  -  total flux cleaned = -0.00350833 Jy
! Component: 1500  -  total flux cleaned = -0.00343468 Jy
! Component: 1550  -  total flux cleaned = -0.00347091 Jy
! Component: 1600  -  total flux cleaned = -0.00336321 Jy
! Component: 1650  -  total flux cleaned = -0.00346984 Jy
! Component: 1700  -  total flux cleaned = -0.00343455 Jy
! Component: 1750  -  total flux cleaned = -0.00353871 Jy
! Component: 1800  -  total flux cleaned = -0.0035036 Jy
! Component: 1850  -  total flux cleaned = -0.00343537 Jy
! Component: 1900  -  total flux cleaned = -0.00346959 Jy
! Component: 1950  -  total flux cleaned = -0.00353571 Jy
! Component: 2000  -  total flux cleaned = -0.00346996 Jy
! Total flux subtracted in 2048 components = -0.00350216 Jy
! Clean residual min=-0.001897 max=0.001930 Jy/beam
! Clean residual mean=-0.000011 rms=0.000633 Jy/beam
! Combined flux in latest and established models = 0.0826979 Jy
keep
! Adding 134 model components to the UV plane model.
! The established model now contains 174 components and 0.0826979 Jy
![Exited script file: muppet]
wmap "J1639+1632_X_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.06 x 2.528 at 0.3912 degrees (North through East)
! Clean map  min=-0.0034638  max=0.067375 Jy/beam
! Writing clean map to FITS file: J1639+1632_X_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0673745 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000635843 
device "J1639+1632_X_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J1639+1632_X_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.83123 2.83123 5.66246 11.3249 22.6498 45.2997 90.5993
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.067 
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.06 x 2.528 at 0.3912 degrees (North through East)
! Clean map  min=-0.0034638  max=0.067375 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1639+1632_X_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J1639+1632_X_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1639+1632_X_2005_07_09_yyk_uvs.log closed on Fri Jan 20 10:44:32 2006