! Started logfile: J0603+2159_S_2002_05_14_yyk_uvs.log on Tue Jun 26 22:19:20 2007
obs J0603+2159_S_2002_05_14_yyk_uva.fits
! Reading UV FITS file: J0603+2159_S_2002_05_14_yyk_uva.fits
! AN table 1: 80 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.689722 visibilities/baseline/integration-bin.
! Found source: J0603+2159
! 
! 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 1154 lines of history.
! 
! Reading 9932 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 J0603+2159_S_2002_05_14_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.265758 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.501 mas, bmaj=6.389 mas, bpa=-13.47 degrees
! Estimated noise=1355.31 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.0604999 Jy
! Component: 100  -  total flux cleaned = 0.0918801 Jy
! Total flux subtracted in 100 components = 0.0918801 Jy
! Clean residual min=-0.013801 max=0.018777 Jy/beam
! Clean residual mean=0.000327 rms=0.005148 Jy/beam
! Combined flux in latest and established models = 0.0918801 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 48 model components to the UV plane model.
! The established model now contains 48 components and 0.0918801 Jy
! 
! Correcting IF 1.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 217 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.254827Jy  sigma=0.001793
! Fit after  self-cal, rms=0.252780Jy  sigma=0.001778
! Inverting map and beam 
! Estimated beam: bmin=3.501 mas, bmaj=6.389 mas, bpa=-13.47 degrees
! Estimated noise=1355.35 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.739 mas, bmaj=7.844 mas, bpa=-15.99 degrees
! Estimated noise=911.366 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.0350282 Jy
! Component: 100  -  total flux cleaned = 0.0546255 Jy
! Component: 150  -  total flux cleaned = 0.0659817 Jy
! Component: 200  -  total flux cleaned = 0.072583 Jy
! Total flux subtracted in 200 components = 0.072583 Jy
! Clean residual min=-0.019799 max=0.020099 Jy/beam
! Clean residual mean=0.000482 rms=0.007068 Jy/beam
! Combined flux in latest and established models = 0.164463 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 71 components and 0.164463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.250773Jy  sigma=0.001745
! Fit after  self-cal, rms=0.250369Jy  sigma=0.001742
! 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.739 x 7.844 at -15.99 degrees (North through East)
! Clean map  min=-0.019699  max=0.061228 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*    NL        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    MK        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*    NL        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    MK        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*    NL        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    MK        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*    NL        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    MK        1.00*    
! 
! 
! Fit before self-cal, rms=0.250369Jy  sigma=0.001742
! Fit after  self-cal, rms=0.250344Jy  sigma=0.001743
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.250344Jy  sigma=0.001743
! Fit after  self-cal, rms=0.250345Jy  sigma=0.001743
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.738 mas, bmaj=7.842 mas, bpa=-16 degrees
! Estimated noise=911.717 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.00532177 Jy
! Component: 100  -  total flux cleaned = 0.00728039 Jy
! Component: 150  -  total flux cleaned = 0.00853729 Jy
! Component: 200  -  total flux cleaned = 0.00947595 Jy
! Total flux subtracted in 200 components = 0.00947595 Jy
! Clean residual min=-0.020248 max=0.018835 Jy/beam
! Clean residual mean=0.000461 rms=0.006938 Jy/beam
! Combined flux in latest and established models = 0.173939 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 83 components and 0.173939 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.250220Jy  sigma=0.001741
! Fit after  self-cal, rms=0.250165Jy  sigma=0.001740
! 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.250165Jy  sigma=0.001740
! Fit after  self-cal, rms=0.248297Jy  sigma=0.001725
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.00608884 Jy
! Component: 100  -  total flux cleaned = 0.00788182 Jy
! Component: 150  -  total flux cleaned = 0.00872911 Jy
! Component: 200  -  total flux cleaned = 0.00909295 Jy
! Total flux subtracted in 200 components = 0.00909295 Jy
! Clean residual min=-0.019299 max=0.019506 Jy/beam
! Clean residual mean=0.000453 rms=0.006724 Jy/beam
! Combined flux in latest and established models = 0.183032 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 87 components and 0.183032 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.248223Jy  sigma=0.001724
! Fit after  self-cal, rms=0.247823Jy  sigma=0.001721
! 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.738 x 7.842 at -16 degrees (North through East)
! Clean map  min=-0.018978  max=0.062221 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=8.303 mas, bmaj=10.25 mas, bpa=-5.912 degrees
! Estimated noise=1035.25 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.00818316 Jy
! Component: 100  -  total flux cleaned = 0.00988913 Jy
! Component: 150  -  total flux cleaned = 0.0106851 Jy
! Component: 200  -  total flux cleaned = 0.0113982 Jy
! Total flux subtracted in 200 components = 0.0113982 Jy
! Clean residual min=-0.029213 max=0.029919 Jy/beam
! Clean residual mean=0.000742 rms=0.010524 Jy/beam
! Combined flux in latest and established models = 0.19443 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 89 components and 0.19443 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.247917Jy  sigma=0.001721
! Fit after  self-cal, rms=0.247588Jy  sigma=0.001719
! 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.501 mas, bmaj=6.389 mas, bpa=-13.47 degrees
! Estimated noise=1355.67 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0666859 Jy
! Component: 100  -  total flux cleaned = 0.102844 Jy
! Component: 150  -  total flux cleaned = 0.126123 Jy
! Component: 200  -  total flux cleaned = 0.141922 Jy
! Total flux subtracted in 200 components = 0.141922 Jy
! Clean residual min=-0.014538 max=0.013395 Jy/beam
! Clean residual mean=0.000313 rms=0.004541 Jy/beam
! Combined flux in latest and established models = 0.141922 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 54 model components to the UV plane model.
! The established model now contains 54 components and 0.141922 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.738 mas, bmaj=7.842 mas, bpa=-16 degrees
! Estimated noise=911.717 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.0199498 Jy
! Component: 100  -  total flux cleaned = 0.0309987 Jy
! Component: 150  -  total flux cleaned = 0.0373857 Jy
! Component: 200  -  total flux cleaned = 0.0411042 Jy
! Total flux subtracted in 200 components = 0.0411042 Jy
! Clean residual min=-0.019576 max=0.019427 Jy/beam
! Clean residual mean=0.000456 rms=0.006666 Jy/beam
! Combined flux in latest and established models = 0.183026 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 62 components and 0.183026 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=8.303 mas, bmaj=10.25 mas, bpa=-5.912 degrees
! Estimated noise=1035.25 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.00871337 Jy
! Component: 100  -  total flux cleaned = 0.0108863 Jy
! Component: 150  -  total flux cleaned = 0.0118202 Jy
! Component: 200  -  total flux cleaned = 0.0123778 Jy
! Total flux subtracted in 200 components = 0.0123778 Jy
! Clean residual min=-0.029101 max=0.030071 Jy/beam
! Clean residual mean=0.000734 rms=0.010492 Jy/beam
! Combined flux in latest and established models = 0.195404 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 73 components and 0.195404 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.738 mas, bmaj=7.842 mas, bpa=-16 degrees
! Estimated noise=911.717 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00554267 Jy
! Component: 100  -  total flux cleaned = -0.00634161 Jy
! Component: 150  -  total flux cleaned = -0.00650968 Jy
! Component: 200  -  total flux cleaned = -0.00678702 Jy
! Total flux subtracted in 200 components = -0.00678702 Jy
! Clean residual min=-0.019660 max=0.020309 Jy/beam
! Clean residual mean=0.000443 rms=0.006612 Jy/beam
! Combined flux in latest and established models = 0.188617 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 77 components and 0.188617 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.247431Jy  sigma=0.001718
! Fit after  self-cal, rms=0.247258Jy  sigma=0.001717
wmodel J0603+2159_S_2002_05_14_yyk\_map.mod
! Writing 77 model components to file: J0603+2159_S_2002_05_14_yyk_map.mod
wobs J0603+2159_S_2002_05_14_yyk\_uvs.fits
! Writing UV FITS file: J0603+2159_S_2002_05_14_yyk_uvs.fits
wwins J0603+2159_S_2002_05_14_yyk\_map.win
! wwins: Wrote 1 windows to J0603+2159_S_2002_05_14_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.00348855 Jy
! Component: 100  -  total flux cleaned = -0.00602374 Jy
! Component: 150  -  total flux cleaned = -0.00572274 Jy
! Component: 200  -  total flux cleaned = -0.00543336 Jy
! Component: 250  -  total flux cleaned = -0.00542589 Jy
! Component: 300  -  total flux cleaned = -0.00517771 Jy
! Component: 350  -  total flux cleaned = -0.00518165 Jy
! Component: 400  -  total flux cleaned = -0.00427081 Jy
! Component: 450  -  total flux cleaned = -0.00361186 Jy
! Component: 500  -  total flux cleaned = -0.00318413 Jy
! Component: 550  -  total flux cleaned = -0.00297284 Jy
! Component: 600  -  total flux cleaned = -0.00256452 Jy
! Component: 650  -  total flux cleaned = -0.00236573 Jy
! Component: 700  -  total flux cleaned = -0.00256058 Jy
! Component: 750  -  total flux cleaned = -0.00236665 Jy
! Component: 800  -  total flux cleaned = -0.0018138 Jy
! Component: 850  -  total flux cleaned = -0.00199085 Jy
! Component: 900  -  total flux cleaned = -0.00128715 Jy
! Component: 950  -  total flux cleaned = -0.0012893 Jy
! Component: 1000  -  total flux cleaned = -0.00128845 Jy
! Component: 1050  -  total flux cleaned = -0.00112487 Jy
! Component: 1100  -  total flux cleaned = -0.00161413 Jy
! Component: 1150  -  total flux cleaned = -0.001933 Jy
! Component: 1200  -  total flux cleaned = -0.00240589 Jy
! Component: 1250  -  total flux cleaned = -0.002871 Jy
! Component: 1300  -  total flux cleaned = -0.0030233 Jy
! Component: 1350  -  total flux cleaned = -0.00362316 Jy
! Component: 1400  -  total flux cleaned = -0.00391663 Jy
! Component: 1450  -  total flux cleaned = -0.00420837 Jy
! Component: 1500  -  total flux cleaned = -0.00463786 Jy
! Component: 1550  -  total flux cleaned = -0.00506017 Jy
! Component: 1600  -  total flux cleaned = -0.00519919 Jy
! Component: 1650  -  total flux cleaned = -0.00561157 Jy
! Component: 1700  -  total flux cleaned = -0.00574789 Jy
! Component: 1750  -  total flux cleaned = -0.0058824 Jy
! Component: 1800  -  total flux cleaned = -0.0061493 Jy
! Component: 1850  -  total flux cleaned = -0.0066713 Jy
! Component: 1900  -  total flux cleaned = -0.00692781 Jy
! Component: 1950  -  total flux cleaned = -0.00692834 Jy
! Component: 2000  -  total flux cleaned = -0.00705413 Jy
! Total flux subtracted in 2048 components = -0.00730155 Jy
! Clean residual min=-0.006730 max=0.006727 Jy/beam
! Clean residual mean=0.000284 rms=0.003440 Jy/beam
! Combined flux in latest and established models = 0.181315 Jy
keep
! Adding 312 model components to the UV plane model.
! The established model now contains 389 components and 0.181315 Jy
![Exited script file: muppet]
wmap "J0603+2159_S_2002_05_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.738 x 7.842 at -16 degrees (North through East)
! Clean map  min=-0.015046  max=0.063534 Jy/beam
! Writing clean map to FITS file: J0603+2159_S_2002_05_14_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0635339 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00336254 
device "J0603+2159_S_2002_05_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J0603+2159_S_2002_05_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -15.8775 15.8775 31.7551 63.5102
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.01 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.063 
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.738 x 7.842 at -16 degrees (North through East)
! Clean map  min=-0.015046  max=0.063534 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0603+2159_S_2002_05_14_yyk\_map.gif/gif"
! Attempting to open device: 'J0603+2159_S_2002_05_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0603+2159_S_2002_05_14_yyk_uvs.log closed on Tue Jun 26 22:19:27 2007