! Started logfile: J0552+1913_S_2002_01_31_yyk_uvs.log on Tue Jun 26 22:18:33 2007
obs J0552+1913_S_2002_01_31_yyk_uva.fits
! Reading UV FITS file: J0552+1913_S_2002_01_31_yyk_uva.fits
! AN table 1: 77 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.714286 visibilities/baseline/integration-bin.
! Found source: J0552+1913
! 
! 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 1224 lines of history.
! 
! Reading 9900 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 J0552+1913_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.16472 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=2.739 mas, bmaj=6.367 mas, bpa=3.124 degrees
! Estimated noise=1293.11 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.0809483 Jy
! Component: 100  -  total flux cleaned = 0.105309 Jy
! Total flux subtracted in 100 components = 0.105309 Jy
! Clean residual min=-0.007136 max=0.009369 Jy/beam
! Clean residual mean=0.000084 rms=0.002171 Jy/beam
! Combined flux in latest and established models = 0.105309 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 17 components and 0.105309 Jy
! 
! Correcting IF 1.
!  A total of 133 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 207 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 132 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 132 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.132537Jy  sigma=0.001243
! Fit after  self-cal, rms=0.132379Jy  sigma=0.001242
! Inverting map and beam 
! Estimated beam: bmin=2.739 mas, bmaj=6.367 mas, bpa=3.124 degrees
! Estimated noise=1293.38 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=3.383 mas, bmaj=7.413 mas, bpa=-0.5359 degrees
! Estimated noise=735.133 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 (3.5, -1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0149017 Jy
! Component: 100  -  total flux cleaned = 0.0223891 Jy
! Component: 150  -  total flux cleaned = 0.0270719 Jy
! Component: 200  -  total flux cleaned = 0.0301554 Jy
! Total flux subtracted in 200 components = 0.0301554 Jy
! Clean residual min=-0.004601 max=0.005867 Jy/beam
! Clean residual mean=0.000072 rms=0.001290 Jy/beam
! Combined flux in latest and established models = 0.135464 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 59 model components to the UV plane model.
! The established model now contains 75 components and 0.135464 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.131174Jy  sigma=0.001229
! Fit after  self-cal, rms=0.131101Jy  sigma=0.001228
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.383 x 7.413 at -0.5359 degrees (North through East)
! Clean map  min=-0.0047366  max=0.089536 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.02241
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        1.14     HN        1.00*    KP        0.91     
!   LA        0.93     MK        0.88     NL        1.06     OV        1.02     
!   PT        0.99     SC        0.96     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01504
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.86     FD        1.05     HN        1.00*    KP        1.00*    
!   LA        0.92     MK        1.01     NL        1.06     OV        1.02     
!   PT        0.94     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.131101Jy  sigma=0.001228
! Fit after  self-cal, rms=0.130357Jy  sigma=0.001225
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.130357Jy  sigma=0.001225
! Fit after  self-cal, rms=0.130357Jy  sigma=0.001225
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.362 mas, bmaj=7.303 mas, bpa=-0.5612 degrees
! Estimated noise=731.526 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.00369743 Jy
! Component: 100  -  total flux cleaned = 0.00484097 Jy
! Component: 150  -  total flux cleaned = 0.0056387 Jy
! Component: 200  -  total flux cleaned = 0.00621645 Jy
! Total flux subtracted in 200 components = 0.00621645 Jy
! Clean residual min=-0.004082 max=0.003509 Jy/beam
! Clean residual mean=0.000044 rms=0.001054 Jy/beam
! Combined flux in latest and established models = 0.141681 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 108 components and 0.141681 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.130255Jy  sigma=0.001225
! Fit after  self-cal, rms=0.130248Jy  sigma=0.001224
! 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.130248Jy  sigma=0.001224
! Fit after  self-cal, rms=0.129388Jy  sigma=0.001215
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.00210717 Jy
! Component: 100  -  total flux cleaned = 0.00247714 Jy
! Component: 150  -  total flux cleaned = 0.00275684 Jy
! Component: 200  -  total flux cleaned = 0.00285809 Jy
! Total flux subtracted in 200 components = 0.00285809 Jy
! Clean residual min=-0.004007 max=0.003641 Jy/beam
! Clean residual mean=0.000037 rms=0.001014 Jy/beam
! Combined flux in latest and established models = 0.144539 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 125 components and 0.144539 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.129340Jy  sigma=0.001215
! Fit after  self-cal, rms=0.129208Jy  sigma=0.001214
! 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: 3.362 x 7.303 at -0.5612 degrees (North through East)
! Clean map  min=-0.0038752  max=0.08928 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.354 mas, bmaj=11.25 mas, bpa=9.965 degrees
! Estimated noise=921.109 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.00115909 Jy
! Component: 100  -  total flux cleaned = 0.00122768 Jy
! Component: 150  -  total flux cleaned = 0.00130879 Jy
! Component: 200  -  total flux cleaned = 0.00133094 Jy
! Total flux subtracted in 200 components = 0.00133094 Jy
! Clean residual min=-0.004415 max=0.004454 Jy/beam
! Clean residual mean=0.000065 rms=0.001403 Jy/beam
! Combined flux in latest and established models = 0.14587 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 137 components and 0.14587 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.129206Jy  sigma=0.001214
! Fit after  self-cal, rms=0.129193Jy  sigma=0.001213
! 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=2.734 mas, bmaj=6.32 mas, bpa=3.149 degrees
! Estimated noise=1276.91 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0813665 Jy
! Component: 100  -  total flux cleaned = 0.105881 Jy
! Component: 150  -  total flux cleaned = 0.119138 Jy
! Component: 200  -  total flux cleaned = 0.127559 Jy
! Total flux subtracted in 200 components = 0.127559 Jy
! Clean residual min=-0.005919 max=0.005659 Jy/beam
! Clean residual mean=0.000049 rms=0.001558 Jy/beam
! Combined flux in latest and established models = 0.127559 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 45 model components to the UV plane model.
! The established model now contains 45 components and 0.127559 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.362 mas, bmaj=7.303 mas, bpa=-0.5612 degrees
! Estimated noise=731.526 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.0070493 Jy
! Component: 100  -  total flux cleaned = 0.0113093 Jy
! Component: 150  -  total flux cleaned = 0.0140853 Jy
! Component: 200  -  total flux cleaned = 0.0153403 Jy
! Total flux subtracted in 200 components = 0.0153403 Jy
! Clean residual min=-0.004158 max=0.003847 Jy/beam
! Clean residual mean=0.000041 rms=0.001028 Jy/beam
! Combined flux in latest and established models = 0.142899 Jy
! Adding 46 model components to the UV plane model.
! The established model now contains 90 components and 0.142899 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.354 mas, bmaj=11.25 mas, bpa=9.965 degrees
! Estimated noise=921.109 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.00230461 Jy
! Component: 100  -  total flux cleaned = 0.00282164 Jy
! Component: 150  -  total flux cleaned = 0.00293887 Jy
! Component: 200  -  total flux cleaned = 0.0029873 Jy
! Total flux subtracted in 200 components = 0.0029873 Jy
! Clean residual min=-0.004420 max=0.004468 Jy/beam
! Clean residual mean=0.000066 rms=0.001403 Jy/beam
! Combined flux in latest and established models = 0.145887 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 114 components and 0.145887 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.362 mas, bmaj=7.303 mas, bpa=-0.5612 degrees
! Estimated noise=731.526 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -3.17263e-05 Jy
! Component: 100  -  total flux cleaned = -7.70711e-05 Jy
! Component: 150  -  total flux cleaned = -4.67209e-05 Jy
! Component: 200  -  total flux cleaned = -1.79693e-05 Jy
! Total flux subtracted in 200 components = -1.79693e-05 Jy
! Clean residual min=-0.004078 max=0.003901 Jy/beam
! Clean residual mean=0.000034 rms=0.001008 Jy/beam
! Combined flux in latest and established models = 0.145869 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 129 components and 0.145869 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.129186Jy  sigma=0.001213
! Fit after  self-cal, rms=0.129187Jy  sigma=0.001213
wmodel J0552+1913_S_2002_01_31_yyk\_map.mod
! Writing 129 model components to file: J0552+1913_S_2002_01_31_yyk_map.mod
wobs J0552+1913_S_2002_01_31_yyk\_uvs.fits
! Writing UV FITS file: J0552+1913_S_2002_01_31_yyk_uvs.fits
wwins J0552+1913_S_2002_01_31_yyk\_map.win
! wwins: Wrote 2 windows to J0552+1913_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.000285355 Jy
! Component: 100  -  total flux cleaned = -0.000714245 Jy
! Component: 150  -  total flux cleaned = -0.00117251 Jy
! Component: 200  -  total flux cleaned = -0.00122817 Jy
! Component: 250  -  total flux cleaned = -0.00117705 Jy
! Component: 300  -  total flux cleaned = -0.00132468 Jy
! Component: 350  -  total flux cleaned = -0.00137279 Jy
! Component: 400  -  total flux cleaned = -0.00151215 Jy
! Component: 450  -  total flux cleaned = -0.00160171 Jy
! Component: 500  -  total flux cleaned = -0.00164442 Jy
! Component: 550  -  total flux cleaned = -0.00176835 Jy
! Component: 600  -  total flux cleaned = -0.00172609 Jy
! Component: 650  -  total flux cleaned = -0.00180523 Jy
! Component: 700  -  total flux cleaned = -0.00184429 Jy
! Component: 750  -  total flux cleaned = -0.00192044 Jy
! Component: 800  -  total flux cleaned = -0.00195831 Jy
! Component: 850  -  total flux cleaned = -0.00210211 Jy
! Component: 900  -  total flux cleaned = -0.00220694 Jy
! Component: 950  -  total flux cleaned = -0.00231026 Jy
! Component: 1000  -  total flux cleaned = -0.0025451 Jy
! Component: 1050  -  total flux cleaned = -0.0026433 Jy
! Component: 1100  -  total flux cleaned = -0.00277187 Jy
! Component: 1150  -  total flux cleaned = -0.00274087 Jy
! Component: 1200  -  total flux cleaned = -0.00286481 Jy
! Component: 1250  -  total flux cleaned = -0.00292547 Jy
! Component: 1300  -  total flux cleaned = -0.00295559 Jy
! Component: 1350  -  total flux cleaned = -0.00301445 Jy
! Component: 1400  -  total flux cleaned = -0.00298534 Jy
! Component: 1450  -  total flux cleaned = -0.0029853 Jy
! Component: 1500  -  total flux cleaned = -0.00304152 Jy
! Component: 1550  -  total flux cleaned = -0.00306927 Jy
! Component: 1600  -  total flux cleaned = -0.00320554 Jy
! Component: 1650  -  total flux cleaned = -0.00315163 Jy
! Component: 1700  -  total flux cleaned = -0.0032583 Jy
! Component: 1750  -  total flux cleaned = -0.00320568 Jy
! Component: 1800  -  total flux cleaned = -0.00330976 Jy
! Component: 1850  -  total flux cleaned = -0.00328415 Jy
! Component: 1900  -  total flux cleaned = -0.00328387 Jy
! Component: 1950  -  total flux cleaned = -0.00323355 Jy
! Component: 2000  -  total flux cleaned = -0.00325816 Jy
! Total flux subtracted in 2048 components = -0.00318448 Jy
! Clean residual min=-0.001439 max=0.001508 Jy/beam
! Clean residual mean=0.000014 rms=0.000506 Jy/beam
! Combined flux in latest and established models = 0.142684 Jy
keep
! Adding 156 model components to the UV plane model.
! The established model now contains 285 components and 0.142684 Jy
![Exited script file: muppet]
wmap "J0552+1913_S_2002_01_31_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.362 x 7.303 at -0.5612 degrees (North through East)
! Clean map  min=-0.0025349  max=0.08952 Jy/beam
! Writing clean map to FITS file: J0552+1913_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.0895196 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000506071 
device "J0552+1913_S_2002_01_31_yyk\_map.eps/VPS"
! Attempting to open device: 'J0552+1913_S_2002_01_31_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.69596 1.69596 3.39191 6.78382 13.5676 27.1353 54.2706
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.089 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.362 x 7.303 at -0.5612 degrees (North through East)
! Clean map  min=-0.0025349  max=0.08952 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0552+1913_S_2002_01_31_yyk\_map.gif/gif"
! Attempting to open device: 'J0552+1913_S_2002_01_31_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0552+1913_S_2002_01_31_yyk_uvs.log closed on Tue Jun 26 22:18:39 2007