! Started logfile: J1934+1732_S_2002_01_31_yyk_uvs.log on Tue Jun 26 23:08:38 2007
obs J1934+1732_S_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J1934+1732_S_2002_01_31_yyk_uva.fits
! AN table 1: 74 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.501502 visibilities/baseline/integration-bin.
! Found source: J1934+1732
! 
! 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.22947e+09        8e+06          1        8e+06
!  02        2  2.25947e+09        8e+06          1        8e+06
!  03        3  2.34947e+09        8e+06          1        8e+06
!  04        4  2.36947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1225 lines of history.
! 
! Reading 6680 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 J1934+1732_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.194931 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=3.577 mas, bmaj=10.97 mas, bpa=28.55 degrees
! Estimated noise=1690.91 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, -0.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.057951 Jy
! Component: 100  -  total flux cleaned = 0.0832037 Jy
! Total flux subtracted in 100 components = 0.0832037 Jy
! Clean residual min=-0.017356 max=0.020465 Jy/beam
! Clean residual mean=0.000107 rms=0.006220 Jy/beam
! Combined flux in latest and established models = 0.0832037 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 26 components and 0.0832037 Jy
! 
! Correcting IF 1.
!  A total of 217 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 312 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 217 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 217 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.177318Jy  sigma=0.001566
! Fit after  self-cal, rms=0.176610Jy  sigma=0.001556
! Inverting map and beam 
! Estimated beam: bmin=3.577 mas, bmaj=10.97 mas, bpa=28.55 degrees
! Estimated noise=1691.01 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=4.988 mas, bmaj=10.96 mas, bpa=29.08 degrees
! Estimated noise=979.581 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.0284186 Jy
! Component: 100  -  total flux cleaned = 0.0417942 Jy
! Component: 150  -  total flux cleaned = 0.0457781 Jy
! Component: 200  -  total flux cleaned = 0.0472756 Jy
! Total flux subtracted in 200 components = 0.0472756 Jy
! Clean residual min=-0.022949 max=0.027774 Jy/beam
! Clean residual mean=0.000107 rms=0.007989 Jy/beam
! Combined flux in latest and established models = 0.130479 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 44 model components to the UV plane model.
! The established model now contains 64 components and 0.130479 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.174180Jy  sigma=0.001524
! Fit after  self-cal, rms=0.174146Jy  sigma=0.001523
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.988 x 10.96 at 29.08 degrees (North through East)
! Clean map  min=-0.023265  max=0.07316 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.
!  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.
!  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 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.174146Jy  sigma=0.001523
! Fit after  self-cal, rms=0.174206Jy  sigma=0.001524
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.174206Jy  sigma=0.001524
! Fit after  self-cal, rms=0.174206Jy  sigma=0.001524
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.984 mas, bmaj=10.97 mas, bpa=29.08 degrees
! Estimated noise=980.357 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.0013902 Jy
! Component: 100  -  total flux cleaned = 0.00215122 Jy
! Component: 150  -  total flux cleaned = 0.0023107 Jy
! Component: 200  -  total flux cleaned = 0.0024638 Jy
! Total flux subtracted in 200 components = 0.0024638 Jy
! Clean residual min=-0.022791 max=0.027522 Jy/beam
! Clean residual mean=0.000102 rms=0.007896 Jy/beam
! Combined flux in latest and established models = 0.132943 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 75 components and 0.132943 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.174041Jy  sigma=0.001521
! Fit after  self-cal, rms=0.174018Jy  sigma=0.001521
! 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.174018Jy  sigma=0.001521
! Fit after  self-cal, rms=0.172895Jy  sigma=0.001511
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.00113504 Jy
! Component: 100  -  total flux cleaned = 0.00113768 Jy
! Component: 150  -  total flux cleaned = 0.0012804 Jy
! Component: 200  -  total flux cleaned = 0.00140039 Jy
! Total flux subtracted in 200 components = 0.00140039 Jy
! Clean residual min=-0.022504 max=0.026286 Jy/beam
! Clean residual mean=0.000098 rms=0.007717 Jy/beam
! Combined flux in latest and established models = 0.134343 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 89 components and 0.134344 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.172750Jy  sigma=0.001509
! Fit after  self-cal, rms=0.172507Jy  sigma=0.001507
! 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: 4.984 x 10.97 at 29.08 degrees (North through East)
! Clean map  min=-0.021965  max=0.072934 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=9.862 mas, bmaj=11.9 mas, bpa=17.72 degrees
! Estimated noise=1079.12 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.0028063 Jy
! Component: 100  -  total flux cleaned = 0.00307163 Jy
! Component: 150  -  total flux cleaned = 0.00306624 Jy
! Component: 200  -  total flux cleaned = 0.00324947 Jy
! Total flux subtracted in 200 components = 0.00324947 Jy
! Clean residual min=-0.028147 max=0.032043 Jy/beam
! Clean residual mean=0.000155 rms=0.010026 Jy/beam
! Combined flux in latest and established models = 0.137593 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 96 components and 0.137593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.172504Jy  sigma=0.001507
! Fit after  self-cal, rms=0.172411Jy  sigma=0.001506
! 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=3.577 mas, bmaj=10.97 mas, bpa=28.55 degrees
! Estimated noise=1691.2 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0628241 Jy
! Component: 100  -  total flux cleaned = 0.0908116 Jy
! Component: 150  -  total flux cleaned = 0.102181 Jy
! Component: 200  -  total flux cleaned = 0.110369 Jy
! Total flux subtracted in 200 components = 0.110369 Jy
! Clean residual min=-0.018062 max=0.018646 Jy/beam
! Clean residual mean=0.000058 rms=0.005676 Jy/beam
! Combined flux in latest and established models = 0.110369 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 31 model components to the UV plane model.
! The established model now contains 31 components and 0.110369 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.984 mas, bmaj=10.97 mas, bpa=29.08 degrees
! Estimated noise=980.357 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.0185173 Jy
! Component: 100  -  total flux cleaned = 0.0218324 Jy
! Component: 150  -  total flux cleaned = 0.0228704 Jy
! Component: 200  -  total flux cleaned = 0.0232723 Jy
! Total flux subtracted in 200 components = 0.0232723 Jy
! Clean residual min=-0.022086 max=0.025712 Jy/beam
! Clean residual mean=0.000090 rms=0.007707 Jy/beam
! Combined flux in latest and established models = 0.133642 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 58 components and 0.133642 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=9.862 mas, bmaj=11.9 mas, bpa=17.72 degrees
! Estimated noise=1079.12 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.00268163 Jy
! Component: 100  -  total flux cleaned = 0.00283771 Jy
! Component: 150  -  total flux cleaned = 0.00284203 Jy
! Component: 200  -  total flux cleaned = 0.00295999 Jy
! Total flux subtracted in 200 components = 0.00295999 Jy
! Clean residual min=-0.028531 max=0.031855 Jy/beam
! Clean residual mean=0.000152 rms=0.010057 Jy/beam
! Combined flux in latest and established models = 0.136602 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 65 components and 0.136602 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.984 mas, bmaj=10.97 mas, bpa=29.08 degrees
! Estimated noise=980.357 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00144302 Jy
! Component: 100  -  total flux cleaned = -0.00172113 Jy
! Component: 150  -  total flux cleaned = -0.00160831 Jy
! Component: 200  -  total flux cleaned = -0.00130069 Jy
! Total flux subtracted in 200 components = -0.00130069 Jy
! Clean residual min=-0.021733 max=0.025389 Jy/beam
! Clean residual mean=0.000089 rms=0.007605 Jy/beam
! Combined flux in latest and established models = 0.135301 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 81 components and 0.135301 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.172392Jy  sigma=0.001505
! Fit after  self-cal, rms=0.172345Jy  sigma=0.001505
wmodel J1934+1732_S_2002_01_31_yyk\_map.mod
! Writing 81 model components to file: J1934+1732_S_2002_01_31_yyk_map.mod
wobs J1934+1732_S_2002_01_31_yyk\_uvs.fits
! Writing UV FITS file: J1934+1732_S_2002_01_31_yyk_uvs.fits
wwins J1934+1732_S_2002_01_31_yyk\_map.win
! wwins: Wrote 1 windows to J1934+1732_S_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.0104782 Jy
! Component: 100  -  total flux cleaned = 0.0135757 Jy
! Component: 150  -  total flux cleaned = 0.0170606 Jy
! Component: 200  -  total flux cleaned = 0.020858 Jy
! Component: 250  -  total flux cleaned = 0.0237495 Jy
! Component: 300  -  total flux cleaned = 0.0269913 Jy
! Component: 350  -  total flux cleaned = 0.0302665 Jy
! Component: 400  -  total flux cleaned = 0.0331101 Jy
! Component: 450  -  total flux cleaned = 0.0351317 Jy
! Component: 500  -  total flux cleaned = 0.0364165 Jy
! Component: 550  -  total flux cleaned = 0.0374472 Jy
! Component: 600  -  total flux cleaned = 0.0384302 Jy
! Component: 650  -  total flux cleaned = 0.038995 Jy
! Component: 700  -  total flux cleaned = 0.0393616 Jy
! Component: 750  -  total flux cleaned = 0.0397129 Jy
! Component: 800  -  total flux cleaned = 0.0407295 Jy
! Component: 850  -  total flux cleaned = 0.0407263 Jy
! Component: 900  -  total flux cleaned = 0.0412072 Jy
! Component: 950  -  total flux cleaned = 0.0415187 Jy
! Component: 1000  -  total flux cleaned = 0.0416663 Jy
! Component: 1050  -  total flux cleaned = 0.0415178 Jy
! Component: 1100  -  total flux cleaned = 0.0418058 Jy
! Component: 1150  -  total flux cleaned = 0.0419465 Jy
! Component: 1200  -  total flux cleaned = 0.042082 Jy
! Component: 1250  -  total flux cleaned = 0.0420815 Jy
! Component: 1300  -  total flux cleaned = 0.0426066 Jy
! Component: 1350  -  total flux cleaned = 0.0428621 Jy
! Component: 1400  -  total flux cleaned = 0.0427362 Jy
! Component: 1450  -  total flux cleaned = 0.043235 Jy
! Component: 1500  -  total flux cleaned = 0.0433556 Jy
! Component: 1550  -  total flux cleaned = 0.0433568 Jy
! Component: 1600  -  total flux cleaned = 0.0438267 Jy
! Component: 1650  -  total flux cleaned = 0.0445143 Jy
! Component: 1700  -  total flux cleaned = 0.0444007 Jy
! Component: 1750  -  total flux cleaned = 0.0448491 Jy
! Component: 1800  -  total flux cleaned = 0.0452856 Jy
! Component: 1850  -  total flux cleaned = 0.0457177 Jy
! Component: 1900  -  total flux cleaned = 0.0460363 Jy
! Component: 1950  -  total flux cleaned = 0.0466631 Jy
! Component: 2000  -  total flux cleaned = 0.0467661 Jy
! Total flux subtracted in 2048 components = 0.0472747 Jy
! Clean residual min=-0.005810 max=0.007037 Jy/beam
! Clean residual mean=-0.000025 rms=0.002479 Jy/beam
! Combined flux in latest and established models = 0.182576 Jy
keep
! Adding 256 model components to the UV plane model.
! The established model now contains 337 components and 0.182576 Jy
![Exited script file: muppet]
wmap "J1934+1732_S_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.984 x 10.97 at 29.08 degrees (North through East)
! Clean map  min=-0.015136  max=0.06923 Jy/beam
! Writing clean map to FITS file: J1934+1732_S_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.0692305 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00250918 
device "J1934+1732_S_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J1934+1732_S_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -10.8731 10.8731 21.7463 43.4926 86.9852
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0075 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.069 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.984 x 10.97 at 29.08 degrees (North through East)
! Clean map  min=-0.015136  max=0.06923 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1934+1732_S_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J1934+1732_S_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1934+1732_S_2002_01_31_yyk_uvs.log closed on Tue Jun 26 23:08:44 2007