! Started logfile: J1912+0518_S_2002_05_14_yyk_uvs.log on Tue Jun 26 23:07:07 2007
obs J1912+0518_S_2002_05_14_yyk_uva.fits
! Reading UV FITS file: J1912+0518_S_2002_05_14_yyk_uva.fits
! AN table 1: 98 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.838095 visibilities/baseline/integration-bin.
! Found source: J1912+0518
! 
! 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 14784 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 J1912+0518_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.235713 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.716 mas, bmaj=6.784 mas, bpa=-4.262 degrees
! Estimated noise=1244.02 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.5, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0775939 Jy
! Component: 100  -  total flux cleaned = 0.116547 Jy
! Total flux subtracted in 100 components = 0.116547 Jy
! Clean residual min=-0.013212 max=0.030911 Jy/beam
! Clean residual mean=0.000478 rms=0.004122 Jy/beam
! Combined flux in latest and established models = 0.116547 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.116547 Jy
! 
! Correcting IF 1.
!  A total of 104 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 219 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 104 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 130 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.205649Jy  sigma=0.001508
! Fit after  self-cal, rms=0.204580Jy  sigma=0.001501
! Inverting map and beam 
! Estimated beam: bmin=2.716 mas, bmaj=6.784 mas, bpa=-4.262 degrees
! Estimated noise=1244.11 mJy/beam.
! Added new window around map position (4.5, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0324215 Jy
! Component: 100  -  total flux cleaned = 0.048919 Jy
! Total flux subtracted in 100 components = 0.048919 Jy
! Clean residual min=-0.009618 max=0.020890 Jy/beam
! Clean residual mean=0.000363 rms=0.003205 Jy/beam
! Combined flux in latest and established models = 0.165466 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 66 components and 0.165466 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198977Jy  sigma=0.001450
! Fit after  self-cal, rms=0.198572Jy  sigma=0.001446
! Inverting map 
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.677 mas, bmaj=8.442 mas, bpa=-3.918 degrees
! Estimated noise=777.561 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.0253237 Jy
! Component: 100  -  total flux cleaned = 0.0382995 Jy
! Component: 150  -  total flux cleaned = 0.0457091 Jy
! Component: 200  -  total flux cleaned = 0.050205 Jy
! Total flux subtracted in 200 components = 0.050205 Jy
! Clean residual min=-0.008201 max=0.019918 Jy/beam
! Clean residual mean=0.000370 rms=0.003708 Jy/beam
! Combined flux in latest and established models = 0.215671 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 60 model components to the UV plane model.
! The established model now contains 111 components and 0.215671 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196415Jy  sigma=0.001427
! Fit after  self-cal, rms=0.196243Jy  sigma=0.001425
! 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.677 x 8.442 at -3.918 degrees (North through East)
! Clean map  min=-0.0080119  max=0.086826 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 12 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.
!  A total of 12 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 3.
!  A total of 12 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 12 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.196243Jy  sigma=0.001425
! Fit after  self-cal, rms=0.196127Jy  sigma=0.001425
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.196127Jy  sigma=0.001425
! Fit after  self-cal, rms=0.196127Jy  sigma=0.001425
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.675 mas, bmaj=8.458 mas, bpa=-3.938 degrees
! Estimated noise=778.478 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 (-43.5, 7.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0242355 Jy
! Component: 100  -  total flux cleaned = 0.0378073 Jy
! Component: 150  -  total flux cleaned = 0.0476552 Jy
! Component: 200  -  total flux cleaned = 0.0551802 Jy
! Total flux subtracted in 200 components = 0.0551802 Jy
! Clean residual min=-0.006383 max=0.013116 Jy/beam
! Clean residual mean=0.000248 rms=0.002107 Jy/beam
! Combined flux in latest and established models = 0.270851 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 89 model components to the UV plane model.
! The established model now contains 196 components and 0.270851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194031Jy  sigma=0.001405
! Fit after  self-cal, rms=0.193942Jy  sigma=0.001404
! Inverting map 
! Added new window around map position (-5.5, 1.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0120883 Jy
! Component: 100  -  total flux cleaned = 0.0193565 Jy
! Component: 150  -  total flux cleaned = 0.0240787 Jy
! Component: 200  -  total flux cleaned = 0.0277212 Jy
! Total flux subtracted in 200 components = 0.0277212 Jy
! Clean residual min=-0.005629 max=0.005866 Jy/beam
! Clean residual mean=0.000144 rms=0.001543 Jy/beam
! Combined flux in latest and established models = 0.298572 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 63 model components to the UV plane model.
! The established model now contains 243 components and 0.298573 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193215Jy  sigma=0.001398
! Fit after  self-cal, rms=0.193167Jy  sigma=0.001398
! 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.193167Jy  sigma=0.001398
! Fit after  self-cal, rms=0.192166Jy  sigma=0.001390
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.00605832 Jy
! Component: 100  -  total flux cleaned = 0.00932702 Jy
! Component: 150  -  total flux cleaned = 0.0113577 Jy
! Component: 200  -  total flux cleaned = 0.0127718 Jy
! Total flux subtracted in 200 components = 0.0127718 Jy
! Clean residual min=-0.004888 max=0.005250 Jy/beam
! Clean residual mean=0.000093 rms=0.001349 Jy/beam
! Combined flux in latest and established models = 0.311344 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 265 components and 0.311344 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191949Jy  sigma=0.001388
! Fit after  self-cal, rms=0.191750Jy  sigma=0.001387
! 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.675 x 8.458 at -3.938 degrees (North through East)
! Clean map  min=-0.0047319  max=0.087419 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=7.791 mas, bmaj=12.28 mas, bpa=-2.135 degrees
! Estimated noise=944.963 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.00355553 Jy
! Component: 100  -  total flux cleaned = 0.0054397 Jy
! Component: 150  -  total flux cleaned = 0.00698411 Jy
! Component: 200  -  total flux cleaned = 0.00788832 Jy
! Total flux subtracted in 200 components = 0.00788832 Jy
! Clean residual min=-0.004724 max=0.005592 Jy/beam
! Clean residual mean=0.000126 rms=0.001626 Jy/beam
! Combined flux in latest and established models = 0.319232 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 44 model components to the UV plane model.
! The established model now contains 299 components and 0.319232 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191712Jy  sigma=0.001386
! Fit after  self-cal, rms=0.191647Jy  sigma=0.001386
! 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.716 mas, bmaj=6.783 mas, bpa=-4.261 degrees
! Estimated noise=1244.81 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0861665 Jy
! Component: 100  -  total flux cleaned = 0.130296 Jy
! Component: 150  -  total flux cleaned = 0.157495 Jy
! Component: 200  -  total flux cleaned = 0.177653 Jy
! Total flux subtracted in 200 components = 0.177653 Jy
! Clean residual min=-0.010222 max=0.009671 Jy/beam
! Clean residual mean=0.000321 rms=0.002745 Jy/beam
! Combined flux in latest and established models = 0.177653 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 49 model components to the UV plane model.
! The established model now contains 49 components and 0.177653 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.675 mas, bmaj=8.458 mas, bpa=-3.938 degrees
! Estimated noise=778.478 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.0279023 Jy
! Component: 100  -  total flux cleaned = 0.0475812 Jy
! Component: 150  -  total flux cleaned = 0.062994 Jy
! Component: 200  -  total flux cleaned = 0.0756418 Jy
! Total flux subtracted in 200 components = 0.0756418 Jy
! Clean residual min=-0.006145 max=0.007220 Jy/beam
! Clean residual mean=0.000290 rms=0.002189 Jy/beam
! Combined flux in latest and established models = 0.253295 Jy
! Adding 104 model components to the UV plane model.
! The established model now contains 149 components and 0.253295 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=7.791 mas, bmaj=12.28 mas, bpa=-2.135 degrees
! Estimated noise=944.963 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.0170646 Jy
! Component: 100  -  total flux cleaned = 0.0293585 Jy
! Component: 150  -  total flux cleaned = 0.0386475 Jy
! Component: 200  -  total flux cleaned = 0.0458003 Jy
! Total flux subtracted in 200 components = 0.0458003 Jy
! Clean residual min=-0.005012 max=0.006017 Jy/beam
! Clean residual mean=0.000254 rms=0.001883 Jy/beam
! Combined flux in latest and established models = 0.299095 Jy
! Adding 104 model components to the UV plane model.
! The established model now contains 244 components and 0.299095 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.675 mas, bmaj=8.458 mas, bpa=-3.938 degrees
! Estimated noise=778.478 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00489847 Jy
! Component: 100  -  total flux cleaned = 0.00859709 Jy
! Component: 150  -  total flux cleaned = 0.0110418 Jy
! Component: 200  -  total flux cleaned = 0.0131523 Jy
! Total flux subtracted in 200 components = 0.0131523 Jy
! Clean residual min=-0.005256 max=0.005648 Jy/beam
! Clean residual mean=0.000087 rms=0.001284 Jy/beam
! Combined flux in latest and established models = 0.312247 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 274 components and 0.312247 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191537Jy  sigma=0.001385
! Fit after  self-cal, rms=0.191386Jy  sigma=0.001384
wmodel J1912+0518_S_2002_05_14_yyk\_map.mod
! Writing 274 model components to file: J1912+0518_S_2002_05_14_yyk_map.mod
wobs J1912+0518_S_2002_05_14_yyk\_uvs.fits
! Writing UV FITS file: J1912+0518_S_2002_05_14_yyk_uvs.fits
wwins J1912+0518_S_2002_05_14_yyk\_map.win
! wwins: Wrote 4 windows to J1912+0518_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.00132877 Jy
! Component: 100  -  total flux cleaned = 0.000921613 Jy
! Component: 150  -  total flux cleaned = 0.000697139 Jy
! Component: 200  -  total flux cleaned = 0.0004127 Jy
! Component: 250  -  total flux cleaned = 0.000344284 Jy
! Component: 300  -  total flux cleaned = 0.000145169 Jy
! Component: 350  -  total flux cleaned = -0.000171747 Jy
! Component: 400  -  total flux cleaned = -0.000722111 Jy
! Component: 450  -  total flux cleaned = -0.00113635 Jy
! Component: 500  -  total flux cleaned = -0.00142479 Jy
! Component: 550  -  total flux cleaned = -0.00176057 Jy
! Component: 600  -  total flux cleaned = -0.00197901 Jy
! Component: 650  -  total flux cleaned = -0.0022449 Jy
! Component: 700  -  total flux cleaned = -0.00250573 Jy
! Component: 750  -  total flux cleaned = -0.00260802 Jy
! Component: 800  -  total flux cleaned = -0.00291102 Jy
! Component: 850  -  total flux cleaned = -0.00301033 Jy
! Component: 900  -  total flux cleaned = -0.00335094 Jy
! Component: 950  -  total flux cleaned = -0.00349446 Jy
! Component: 1000  -  total flux cleaned = -0.00358729 Jy
! Component: 1050  -  total flux cleaned = -0.00381726 Jy
! Component: 1100  -  total flux cleaned = -0.00381721 Jy
! Component: 1150  -  total flux cleaned = -0.00408538 Jy
! Component: 1200  -  total flux cleaned = -0.00421583 Jy
! Component: 1250  -  total flux cleaned = -0.00421463 Jy
! Component: 1300  -  total flux cleaned = -0.00438679 Jy
! Component: 1350  -  total flux cleaned = -0.00455544 Jy
! Component: 1400  -  total flux cleaned = -0.00484626 Jy
! Component: 1450  -  total flux cleaned = -0.00484673 Jy
! Component: 1500  -  total flux cleaned = -0.00525164 Jy
! Component: 1550  -  total flux cleaned = -0.00537114 Jy
! Component: 1600  -  total flux cleaned = -0.00549002 Jy
! Component: 1650  -  total flux cleaned = -0.00580238 Jy
! Component: 1700  -  total flux cleaned = -0.0060321 Jy
! Component: 1750  -  total flux cleaned = -0.00618344 Jy
! Component: 1800  -  total flux cleaned = -0.0063333 Jy
! Component: 1850  -  total flux cleaned = -0.00666588 Jy
! Component: 1900  -  total flux cleaned = -0.00670189 Jy
! Component: 1950  -  total flux cleaned = -0.00681002 Jy
! Component: 2000  -  total flux cleaned = -0.00680998 Jy
! Total flux subtracted in 2048 components = -0.00688066 Jy
! Clean residual min=-0.002353 max=0.002511 Jy/beam
! Clean residual mean=0.000043 rms=0.000721 Jy/beam
! Combined flux in latest and established models = 0.305367 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 416 components and 0.305367 Jy
![Exited script file: muppet]
wmap "J1912+0518_S_2002_05_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.675 x 8.458 at -3.938 degrees (North through East)
! Clean map  min=-0.0036864  max=0.092313 Jy/beam
! Writing clean map to FITS file: J1912+0518_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.0923126 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00072306 
device "J1912+0518_S_2002_05_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J1912+0518_S_2002_05_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.34982 2.34982 4.69964 9.39928 18.7986 37.5971 75.1942
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.092 
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.675 x 8.458 at -3.938 degrees (North through East)
! Clean map  min=-0.0036864  max=0.092313 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1912+0518_S_2002_05_14_yyk\_map.gif/gif"
! Attempting to open device: 'J1912+0518_S_2002_05_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1912+0518_S_2002_05_14_yyk_uvs.log closed on Tue Jun 26 23:07:16 2007