! Started logfile: J1722+2458_X_1996_05_15_yyk_uvs.log on Mon Jan  8 07:19:48 2007
obs J1722+2458_X_1996_05_15_yyk_uva.fits
! Reading UV FITS file: J1722+2458_X_1996_05_15_yyk_uva.fits
! AN table 1: 143 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.929293 visibilities/baseline/integration-bin.
! Found source: J1722+2458
! 
! 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  8.15049e+09        8e+06          1        8e+06
!  02        2  8.23424e+09        8e+06          1        8e+06
!  03        3  8.41424e+09        8e+06          1        8e+06
!  04        4  8.55424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 617 lines of history.
! 
! Reading 23920 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 J1722+2458_X_1996_05_15_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.45732 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=0.7855 mas, bmaj=1.784 mas, bpa=-9.933 degrees
! Estimated noise=1146.55 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.0525629 Jy
! Component: 100  -  total flux cleaned = 0.0795421 Jy
! Total flux subtracted in 100 components = 0.0795421 Jy
! Clean residual min=-0.012207 max=0.023122 Jy/beam
! Clean residual mean=-0.000126 rms=0.003650 Jy/beam
! Combined flux in latest and established models = 0.0795421 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 18 components and 0.0795421 Jy
! 
! Correcting IF 1.
!  A total of 60 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 78 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 130 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 190 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.451597Jy  sigma=0.003013
! Fit after  self-cal, rms=0.451458Jy  sigma=0.003012
! Inverting map and beam 
! Estimated beam: bmin=0.7855 mas, bmaj=1.784 mas, bpa=-9.933 degrees
! Estimated noise=1146.55 mJy/beam.
! Added new window around map position (-0.2, -3.2).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0253937 Jy
! Component: 100  -  total flux cleaned = 0.0408183 Jy
! Total flux subtracted in 100 components = 0.0408183 Jy
! Clean residual min=-0.011466 max=0.014695 Jy/beam
! Clean residual mean=-0.000088 rms=0.003061 Jy/beam
! Combined flux in latest and established models = 0.12036 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 32 components and 0.12036 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.450164Jy  sigma=0.002998
! Fit after  self-cal, rms=0.450034Jy  sigma=0.002997
! 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=1.04 mas, bmaj=2.178 mas, bpa=-8.041 degrees
! Estimated noise=651.956 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.2, 2.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0251164 Jy
! Component: 100  -  total flux cleaned = 0.0406741 Jy
! Component: 150  -  total flux cleaned = 0.0515773 Jy
! Component: 200  -  total flux cleaned = 0.0594382 Jy
! Total flux subtracted in 200 components = 0.0594382 Jy
! Clean residual min=-0.007615 max=0.008517 Jy/beam
! Clean residual mean=-0.000105 rms=0.001989 Jy/beam
! Combined flux in latest and established models = 0.179799 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 53 model components to the UV plane model.
! The established model now contains 79 components and 0.179799 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.449156Jy  sigma=0.002988
! Fit after  self-cal, rms=0.449135Jy  sigma=0.002987
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.04 x 2.178 at -8.041 degrees (North through East)
! Clean map  min=-0.0065556  max=0.055428 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.449135Jy  sigma=0.002987
! Fit after  self-cal, rms=0.449189Jy  sigma=0.002988
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.449189Jy  sigma=0.002988
! Fit after  self-cal, rms=0.449189Jy  sigma=0.002988
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.04 mas, bmaj=2.178 mas, bpa=-8.038 degrees
! Estimated noise=652.108 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.00700511 Jy
! Component: 100  -  total flux cleaned = 0.0110952 Jy
! Component: 150  -  total flux cleaned = 0.013279 Jy
! Component: 200  -  total flux cleaned = 0.0149573 Jy
! Total flux subtracted in 200 components = 0.0149573 Jy
! Clean residual min=-0.007692 max=0.007272 Jy/beam
! Clean residual mean=-0.000066 rms=0.001795 Jy/beam
! Combined flux in latest and established models = 0.194756 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 104 components and 0.194756 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.449102Jy  sigma=0.002987
! Fit after  self-cal, rms=0.449090Jy  sigma=0.002987
! 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.449090Jy  sigma=0.002987
! Fit after  self-cal, rms=0.447873Jy  sigma=0.002978
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.00761825 Jy
! Component: 100  -  total flux cleaned = 0.00892661 Jy
! Component: 150  -  total flux cleaned = 0.00930113 Jy
! Component: 200  -  total flux cleaned = 0.00963882 Jy
! Total flux subtracted in 200 components = 0.00963882 Jy
! Clean residual min=-0.006809 max=0.006335 Jy/beam
! Clean residual mean=-0.000042 rms=0.001854 Jy/beam
! Combined flux in latest and established models = 0.204395 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 115 components and 0.204395 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.447721Jy  sigma=0.002977
! Fit after  self-cal, rms=0.447443Jy  sigma=0.002975
! 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: 1.04 x 2.178 at -8.038 degrees (North through East)
! Clean map  min=-0.0065307  max=0.058856 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 = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.369 mas, bmaj=3.005 mas, bpa=-10.48 degrees
! Estimated noise=790.998 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.00352311 Jy
! Component: 100  -  total flux cleaned = 0.00405345 Jy
! Component: 150  -  total flux cleaned = 0.00419742 Jy
! Component: 200  -  total flux cleaned = 0.00437817 Jy
! Total flux subtracted in 200 components = 0.00437817 Jy
! Clean residual min=-0.005430 max=0.004533 Jy/beam
! Clean residual mean=-0.000053 rms=0.001525 Jy/beam
! Combined flux in latest and established models = 0.208773 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 128 components and 0.208773 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.447430Jy  sigma=0.002975
! Fit after  self-cal, rms=0.447370Jy  sigma=0.002974
! 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=0.7855 mas, bmaj=1.784 mas, bpa=-9.933 degrees
! Estimated noise=1146.71 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0627124 Jy
! Component: 100  -  total flux cleaned = 0.0975387 Jy
! Component: 150  -  total flux cleaned = 0.122334 Jy
! Component: 200  -  total flux cleaned = 0.141818 Jy
! Total flux subtracted in 200 components = 0.141818 Jy
! Clean residual min=-0.013472 max=0.012694 Jy/beam
! Clean residual mean=-0.000072 rms=0.003768 Jy/beam
! Combined flux in latest and established models = 0.141818 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 31 model components to the UV plane model.
! The established model now contains 31 components and 0.141818 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.04 mas, bmaj=2.178 mas, bpa=-8.038 degrees
! Estimated noise=652.108 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)
! Added new window around map position (-0.8, -1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0236157 Jy
! Component: 100  -  total flux cleaned = 0.0385296 Jy
! Component: 150  -  total flux cleaned = 0.0485383 Jy
! Component: 200  -  total flux cleaned = 0.0530527 Jy
! Total flux subtracted in 200 components = 0.0530527 Jy
! Clean residual min=-0.007178 max=0.008284 Jy/beam
! Clean residual mean=-0.000071 rms=0.002113 Jy/beam
! Combined flux in latest and established models = 0.194871 Jy
! Adding 44 model components to the UV plane model.
! The established model now contains 67 components and 0.194871 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.369 mas, bmaj=3.005 mas, bpa=-10.48 degrees
! Estimated noise=790.998 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.00701859 Jy
! Component: 100  -  total flux cleaned = 0.011261 Jy
! Component: 150  -  total flux cleaned = 0.0140866 Jy
! Component: 200  -  total flux cleaned = 0.0154071 Jy
! Total flux subtracted in 200 components = 0.0154071 Jy
! Clean residual min=-0.005552 max=0.005071 Jy/beam
! Clean residual mean=-0.000051 rms=0.001498 Jy/beam
! Combined flux in latest and established models = 0.210278 Jy
! Adding 32 model components to the UV plane model.
! The established model now contains 94 components and 0.210278 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.04 mas, bmaj=2.178 mas, bpa=-8.038 degrees
! Estimated noise=652.108 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00294593 Jy
! Component: 100  -  total flux cleaned = -0.00275232 Jy
! Component: 150  -  total flux cleaned = -0.00240535 Jy
! Component: 200  -  total flux cleaned = -0.00208318 Jy
! Total flux subtracted in 200 components = -0.00208318 Jy
! Clean residual min=-0.006762 max=0.007435 Jy/beam
! Clean residual mean=-0.000034 rms=0.001986 Jy/beam
! Combined flux in latest and established models = 0.208195 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 107 components and 0.208195 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.447212Jy  sigma=0.002973
! Fit after  self-cal, rms=0.447129Jy  sigma=0.002973
wmodel J1722+2458_X_1996_05_15_yyk\_map.mod
! Writing 107 model components to file: J1722+2458_X_1996_05_15_yyk_map.mod
wobs J1722+2458_X_1996_05_15_yyk\_uvs.fits
! Writing UV FITS file: J1722+2458_X_1996_05_15_yyk_uvs.fits
wwins J1722+2458_X_1996_05_15_yyk\_map.win
! wwins: Wrote 4 windows to J1722+2458_X_1996_05_15_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.00170299 Jy
! Component: 100  -  total flux cleaned = 0.0022032 Jy
! Component: 150  -  total flux cleaned = 0.00267622 Jy
! Component: 200  -  total flux cleaned = 0.00335893 Jy
! Component: 250  -  total flux cleaned = 0.00369033 Jy
! Component: 300  -  total flux cleaned = 0.0035847 Jy
! Component: 350  -  total flux cleaned = 0.00337683 Jy
! Component: 400  -  total flux cleaned = 0.00286554 Jy
! Component: 450  -  total flux cleaned = 0.00256475 Jy
! Component: 500  -  total flux cleaned = 0.0021718 Jy
! Component: 550  -  total flux cleaned = 0.00159292 Jy
! Component: 600  -  total flux cleaned = 0.00111608 Jy
! Component: 650  -  total flux cleaned = 0.000649967 Jy
! Component: 700  -  total flux cleaned = 0.00074148 Jy
! Component: 750  -  total flux cleaned = 0.000106094 Jy
! Component: 800  -  total flux cleaned = -0.000249866 Jy
! Component: 850  -  total flux cleaned = -0.000513473 Jy
! Component: 900  -  total flux cleaned = -0.000601797 Jy
! Component: 950  -  total flux cleaned = -0.00094817 Jy
! Component: 1000  -  total flux cleaned = -0.00120467 Jy
! Component: 1050  -  total flux cleaned = -0.00179586 Jy
! Component: 1100  -  total flux cleaned = -0.00213154 Jy
! Component: 1150  -  total flux cleaned = -0.00262772 Jy
! Component: 1200  -  total flux cleaned = -0.00312 Jy
! Component: 1250  -  total flux cleaned = -0.00328108 Jy
! Component: 1300  -  total flux cleaned = -0.00376249 Jy
! Component: 1350  -  total flux cleaned = -0.00400031 Jy
! Component: 1400  -  total flux cleaned = -0.004157 Jy
! Component: 1450  -  total flux cleaned = -0.00439113 Jy
! Component: 1500  -  total flux cleaned = -0.00470063 Jy
! Component: 1550  -  total flux cleaned = -0.00508419 Jy
! Component: 1600  -  total flux cleaned = -0.00508505 Jy
! Component: 1650  -  total flux cleaned = -0.0055363 Jy
! Component: 1700  -  total flux cleaned = -0.0056104 Jy
! Component: 1750  -  total flux cleaned = -0.00561053 Jy
! Component: 1800  -  total flux cleaned = -0.00575758 Jy
! Component: 1850  -  total flux cleaned = -0.0061946 Jy
! Component: 1900  -  total flux cleaned = -0.00619434 Jy
! Component: 1950  -  total flux cleaned = -0.00633859 Jy
! Component: 2000  -  total flux cleaned = -0.00669359 Jy
! Total flux subtracted in 2048 components = -0.00704572 Jy
! Clean residual min=-0.003967 max=0.003716 Jy/beam
! Clean residual mean=-0.000025 rms=0.001469 Jy/beam
! Combined flux in latest and established models = 0.201149 Jy
keep
! Adding 155 model components to the UV plane model.
! The established model now contains 262 components and 0.201149 Jy
![Exited script file: muppet]
wmap "J1722+2458_X_1996_05_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.04 x 2.178 at -8.038 degrees (North through East)
! Clean map  min=-0.0053136  max=0.05981 Jy/beam
! Writing clean map to FITS file: J1722+2458_X_1996_05_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0598103 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00146333 
device "J1722+2458_X_1996_05_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J1722+2458_X_1996_05_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -7.33987 7.33987 14.6797 29.3595 58.719
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0043 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.059 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.04 x 2.178 at -8.038 degrees (North through East)
! Clean map  min=-0.0053136  max=0.05981 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1722+2458_X_1996_05_15_yyk\_map.gif/gif"
! Attempting to open device: 'J1722+2458_X_1996_05_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1722+2458_X_1996_05_15_yyk_uvs.log closed on Mon Jan  8 07:19:57 2007