! Started logfile: J1306+8019_S_2006_02_14_yyk_uvs.log on Wed Jul  5 12:21:58 2006
obs J1306+8019_S_2006_02_14_yyk_uva.fits
! Reading UV FITS file: J1306+8019_S_2006_02_14_yyk_uva.fits
! AN table 1: 876 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.791806 visibilities/baseline/integration-bin.
! Found source: J1306+8019
! 
! 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.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2683 lines of history.
! 
! Reading 124852 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 J1306+8019_S_2006_02_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.100104 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.455 mas, bmaj=9.306 mas, bpa=0.5572 degrees
! Estimated noise=1.38459 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.0603085 Jy
! Component: 100  -  total flux cleaned = 0.0817411 Jy
! Total flux subtracted in 100 components = 0.0817411 Jy
! Clean residual min=-0.008603 max=0.009451 Jy/beam
! Clean residual mean=0.000224 rms=0.002972 Jy/beam
! Combined flux in latest and established models = 0.0817411 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 40 components and 0.0817411 Jy
! 
! Correcting IF 1.
!  A total of 16 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.061741Jy  sigma=1.169468
! Fit after  self-cal, rms=0.061597Jy  sigma=1.166543
! Inverting map and beam 
! Estimated beam: bmin=3.455 mas, bmaj=9.306 mas, bpa=0.5572 degrees
! Estimated noise=1.38459 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.908 mas, bmaj=10.17 mas, bpa=-4.211 degrees
! Estimated noise=0.78991 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.0174351 Jy
! Component: 100  -  total flux cleaned = 0.0267549 Jy
! Component: 150  -  total flux cleaned = 0.0320979 Jy
! Component: 200  -  total flux cleaned = 0.0352722 Jy
! Total flux subtracted in 200 components = 0.0352722 Jy
! Clean residual min=-0.006185 max=0.011651 Jy/beam
! Clean residual mean=0.000098 rms=0.002683 Jy/beam
! Combined flux in latest and established models = 0.117013 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 47 model components to the UV plane model.
! The established model now contains 84 components and 0.117013 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057580Jy  sigma=1.085739
! Fit after  self-cal, rms=0.057520Jy  sigma=1.084832
! 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.908 x 10.17 at -4.211 degrees (North through East)
! Clean map  min=-0.0059832  max=0.069495 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.01005
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        0.89     HN        1.04     KP        1.08     
!   LA        1.03     MK        0.92     NL        1.00     OV        1.08     
!   PT        0.95     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.986239
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.90     HN        1.14     KP        1.07     
!   LA        1.05     MK        1.00*    NL        0.94     OV        1.05     
!   PT        0.95     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.057520Jy  sigma=1.084832
! Fit after  self-cal, rms=0.057552Jy  sigma=1.079799
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.057552Jy  sigma=1.079799
! Fit after  self-cal, rms=0.057556Jy  sigma=1.079760
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.9 mas, bmaj=10.07 mas, bpa=-2.414 degrees
! Estimated noise=0.782919 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.00159111 Jy
! Component: 100  -  total flux cleaned = 0.00189222 Jy
! Component: 150  -  total flux cleaned = 0.00215034 Jy
! Component: 200  -  total flux cleaned = 0.00237623 Jy
! Total flux subtracted in 200 components = 0.00237623 Jy
! Clean residual min=-0.005575 max=0.011316 Jy/beam
! Clean residual mean=0.000079 rms=0.002521 Jy/beam
! Combined flux in latest and established models = 0.11939 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 94 components and 0.11939 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057478Jy  sigma=1.077741
! Fit after  self-cal, rms=0.057461Jy  sigma=1.077636
! 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.057461Jy  sigma=1.077636
! Fit after  self-cal, rms=0.055109Jy  sigma=1.028509
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.0018169 Jy
! Component: 100  -  total flux cleaned = 0.00222323 Jy
! Component: 150  -  total flux cleaned = 0.00252629 Jy
! Component: 200  -  total flux cleaned = 0.0026645 Jy
! Total flux subtracted in 200 components = 0.0026645 Jy
! Clean residual min=-0.005301 max=0.010975 Jy/beam
! Clean residual mean=0.000074 rms=0.002413 Jy/beam
! Combined flux in latest and established models = 0.122054 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 107 components and 0.122054 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054994Jy  sigma=1.027185
! Fit after  self-cal, rms=0.054873Jy  sigma=1.024811
! Inverting map 
! Added new window around map position (-20.5, -16.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0114034 Jy
! Component: 100  -  total flux cleaned = 0.0148597 Jy
! Component: 150  -  total flux cleaned = 0.0163397 Jy
! Component: 200  -  total flux cleaned = 0.017333 Jy
! Total flux subtracted in 200 components = 0.017333 Jy
! Clean residual min=-0.004662 max=0.005862 Jy/beam
! Clean residual mean=0.000010 rms=0.001470 Jy/beam
! Combined flux in latest and established models = 0.139387 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 144 components and 0.139387 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052970Jy  sigma=0.984272
! Fit after  self-cal, rms=0.052837Jy  sigma=0.981304
! 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.9 x 10.07 at -2.414 degrees (North through East)
! Clean map  min=-0.0038714  max=0.070616 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.232 mas, bmaj=11.38 mas, bpa=3.25 degrees
! Estimated noise=0.874619 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.00413789 Jy
! Component: 100  -  total flux cleaned = 0.00572013 Jy
! Component: 150  -  total flux cleaned = 0.00680715 Jy
! Component: 200  -  total flux cleaned = 0.00734568 Jy
! Total flux subtracted in 200 components = 0.00734568 Jy
! Clean residual min=-0.004164 max=0.005542 Jy/beam
! Clean residual mean=-0.000038 rms=0.001646 Jy/beam
! Combined flux in latest and established models = 0.146733 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 169 components and 0.146733 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052573Jy  sigma=0.976633
! Fit after  self-cal, rms=0.052543Jy  sigma=0.975881
! 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.43 mas, bmaj=9.291 mas, bpa=1.266 degrees
! Estimated noise=1.3653 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0609886 Jy
! Component: 100  -  total flux cleaned = 0.0833267 Jy
! Component: 150  -  total flux cleaned = 0.0975703 Jy
! Component: 200  -  total flux cleaned = 0.107592 Jy
! Total flux subtracted in 200 components = 0.107592 Jy
! Clean residual min=-0.006226 max=0.006278 Jy/beam
! Clean residual mean=0.000126 rms=0.002047 Jy/beam
! Combined flux in latest and established models = 0.107592 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 62 model components to the UV plane model.
! The established model now contains 62 components and 0.107592 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.9 mas, bmaj=10.07 mas, bpa=-2.414 degrees
! Estimated noise=0.782919 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.0116013 Jy
! Component: 100  -  total flux cleaned = 0.0190097 Jy
! Component: 150  -  total flux cleaned = 0.0241997 Jy
! Component: 200  -  total flux cleaned = 0.0275772 Jy
! Total flux subtracted in 200 components = 0.0275772 Jy
! Clean residual min=-0.004106 max=0.006328 Jy/beam
! Clean residual mean=0.000001 rms=0.001635 Jy/beam
! Combined flux in latest and established models = 0.135169 Jy
! Adding 44 model components to the UV plane model.
! The established model now contains 104 components and 0.135169 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.232 mas, bmaj=11.38 mas, bpa=3.25 degrees
! Estimated noise=0.874619 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.00545838 Jy
! Component: 100  -  total flux cleaned = 0.00756776 Jy
! Component: 150  -  total flux cleaned = 0.00926167 Jy
! Component: 200  -  total flux cleaned = 0.0103584 Jy
! Total flux subtracted in 200 components = 0.0103584 Jy
! Clean residual min=-0.004174 max=0.006254 Jy/beam
! Clean residual mean=-0.000043 rms=0.001703 Jy/beam
! Combined flux in latest and established models = 0.145528 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 131 components and 0.145528 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.9 mas, bmaj=10.07 mas, bpa=-2.414 degrees
! Estimated noise=0.782919 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -2.35662e-05 Jy
! Component: 100  -  total flux cleaned = 0.000537813 Jy
! Component: 150  -  total flux cleaned = 0.000989714 Jy
! Component: 200  -  total flux cleaned = 0.00138674 Jy
! Total flux subtracted in 200 components = 0.00138674 Jy
! Clean residual min=-0.003874 max=0.005254 Jy/beam
! Clean residual mean=-0.000024 rms=0.001268 Jy/beam
! Combined flux in latest and established models = 0.146915 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 158 components and 0.146915 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052492Jy  sigma=0.974526
! Fit after  self-cal, rms=0.052470Jy  sigma=0.973953
wmodel J1306+8019_S_2006_02_14_yyk\_map.mod
! Writing 158 model components to file: J1306+8019_S_2006_02_14_yyk_map.mod
wobs J1306+8019_S_2006_02_14_yyk\_uvs.fits
! Writing UV FITS file: J1306+8019_S_2006_02_14_yyk_uvs.fits
wwins J1306+8019_S_2006_02_14_yyk\_map.win
! wwins: Wrote 2 windows to J1306+8019_S_2006_02_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.00169205 Jy
! Component: 100  -  total flux cleaned = 0.00183489 Jy
! Component: 150  -  total flux cleaned = 0.00177573 Jy
! Component: 200  -  total flux cleaned = 0.0019922 Jy
! Component: 250  -  total flux cleaned = 0.00223969 Jy
! Component: 300  -  total flux cleaned = 0.0025165 Jy
! Component: 350  -  total flux cleaned = 0.00269189 Jy
! Component: 400  -  total flux cleaned = 0.00289805 Jy
! Component: 450  -  total flux cleaned = 0.00286096 Jy
! Component: 500  -  total flux cleaned = 0.00271511 Jy
! Component: 550  -  total flux cleaned = 0.00268124 Jy
! Component: 600  -  total flux cleaned = 0.00258044 Jy
! Component: 650  -  total flux cleaned = 0.00241991 Jy
! Component: 700  -  total flux cleaned = 0.00226655 Jy
! Component: 750  -  total flux cleaned = 0.00220752 Jy
! Component: 800  -  total flux cleaned = 0.0021215 Jy
! Component: 850  -  total flux cleaned = 0.002094 Jy
! Component: 900  -  total flux cleaned = 0.00206803 Jy
! Component: 950  -  total flux cleaned = 0.00199009 Jy
! Component: 1000  -  total flux cleaned = 0.00183933 Jy
! Component: 1050  -  total flux cleaned = 0.00166898 Jy
! Component: 1100  -  total flux cleaned = 0.00150337 Jy
! Component: 1150  -  total flux cleaned = 0.00136466 Jy
! Component: 1200  -  total flux cleaned = 0.00122992 Jy
! Component: 1250  -  total flux cleaned = 0.00105484 Jy
! Component: 1300  -  total flux cleaned = 0.000842159 Jy
! Component: 1350  -  total flux cleaned = 0.000634823 Jy
! Component: 1400  -  total flux cleaned = 0.000452678 Jy
! Component: 1450  -  total flux cleaned = 0.000155784 Jy
! Component: 1500  -  total flux cleaned = -0.000134045 Jy
! Component: 1550  -  total flux cleaned = -0.000379575 Jy
! Component: 1600  -  total flux cleaned = -0.000564585 Jy
! Component: 1650  -  total flux cleaned = -0.000818801 Jy
! Component: 1700  -  total flux cleaned = -0.00103205 Jy
! Component: 1750  -  total flux cleaned = -0.00124078 Jy
! Component: 1800  -  total flux cleaned = -0.0013776 Jy
! Component: 1850  -  total flux cleaned = -0.00157891 Jy
! Component: 1900  -  total flux cleaned = -0.00175995 Jy
! Component: 1950  -  total flux cleaned = -0.00188969 Jy
! Component: 2000  -  total flux cleaned = -0.00204932 Jy
! Total flux subtracted in 2048 components = -0.00217533 Jy
! Clean residual min=-0.000934 max=0.001244 Jy/beam
! Clean residual mean=-0.000013 rms=0.000341 Jy/beam
! Combined flux in latest and established models = 0.144739 Jy
keep
! Adding 167 model components to the UV plane model.
! The established model now contains 325 components and 0.144739 Jy
![Exited script file: muppet]
wmap "J1306+8019_S_2006_02_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.9 x 10.07 at -2.414 degrees (North through East)
! Clean map  min=-0.002874  max=0.071228 Jy/beam
! Writing clean map to FITS file: J1306+8019_S_2006_02_14_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.071228 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000340568 
device "J1306+8019_S_2006_02_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J1306+8019_S_2006_02_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.43442 1.43442 2.86883 5.73766 11.4753 22.9507 45.9013 91.8026
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.071 
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.9 x 10.07 at -2.414 degrees (North through East)
! Clean map  min=-0.002874  max=0.071228 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1306+8019_S_2006_02_14_yyk\_map.gif/gif"
! Attempting to open device: 'J1306+8019_S_2006_02_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1306+8019_S_2006_02_14_yyk_uvs.log closed on Wed Jul  5 12:22:37 2006