! Started logfile: J0006+3422_X_2004_04_30_yyk_uvs.log on Tue Dec  6 23:47:14 2005
obs J0006+3422_X_2004_04_30_yyk_uve.fits
! Reading UV FITS file: J0006+3422_X_2004_04_30_yyk_uve.fits
! AN table 1: 21 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.553439 visibilities/baseline/integration-bin.
! Found source: J0006+3422
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1550 lines of history.
! 
! Reading 2092 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 J0006+3422_X_2004_04_30_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.0817428 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 68 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 71 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 124 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 138 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.958975Jy  sigma=18.583555
! Fit after  self-cal, rms=0.956364Jy  sigma=18.575639
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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=1.186 mas, bmaj=1.96 mas, bpa=10.93 degrees
! Estimated noise=2.09383 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.0425127 Jy
! Component: 100  -  total flux cleaned = 0.0436048 Jy
! Total flux subtracted in 100 components = 0.0436048 Jy
! Clean residual min=-0.008843 max=0.007433 Jy/beam
! Clean residual mean=0.000006 rms=0.002120 Jy/beam
! Combined flux in latest and established models = 0.0436048 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 0.0436048 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067222Jy  sigma=1.067959
! Fit after  self-cal, rms=0.067409Jy  sigma=1.067483
! 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.582 mas, bmaj=2.945 mas, bpa=-0.4884 degrees
! Estimated noise=1.08911 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.00314374 Jy
! Component: 100  -  total flux cleaned = 0.00330623 Jy
! Component: 150  -  total flux cleaned = 0.00339439 Jy
! Component: 200  -  total flux cleaned = 0.00347177 Jy
! Total flux subtracted in 200 components = 0.00347177 Jy
! Clean residual min=-0.004087 max=0.004456 Jy/beam
! Clean residual mean=0.000011 rms=0.001183 Jy/beam
! Combined flux in latest and established models = 0.0470765 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 17 components and 0.0470765 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067494Jy  sigma=1.063669
! Fit after  self-cal, rms=0.067427Jy  sigma=1.062642
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! 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.01502
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        0.93     HN        1.04     KP        0.92     
!   LA        1.14     MK        1.00*    NL        1.08     OV        0.99     
!   PT        1.00     SC        0.85     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.03306
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        0.96     HN        0.88     KP        0.85     
!   LA        0.84     MK        1.00*    NL        0.95     OV        1.13     
!   PT        1.12     SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.02471
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.87     HN        0.92     KP        0.86     
!   LA        1.09     MK        1.00*    NL        0.95     OV        1.02     
!   PT        1.04     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.067427Jy  sigma=1.062642
! Fit after  self-cal, rms=0.066704Jy  sigma=1.055754
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.066704Jy  sigma=1.055754
! Fit after  self-cal, rms=0.066647Jy  sigma=1.054765
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.531 mas, bmaj=2.819 mas, bpa=0.2565 degrees
! Estimated noise=1.07498 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.000794904 Jy
! Component: 100  -  total flux cleaned = 0.000848853 Jy
! Component: 150  -  total flux cleaned = 0.000898768 Jy
! Component: 200  -  total flux cleaned = 0.000948223 Jy
! Total flux subtracted in 200 components = 0.000948223 Jy
! Clean residual min=-0.003633 max=0.003518 Jy/beam
! Clean residual mean=-0.000000 rms=0.001042 Jy/beam
! Combined flux in latest and established models = 0.0480248 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 24 components and 0.0480248 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066630Jy  sigma=1.054333
! Fit after  self-cal, rms=0.066566Jy  sigma=1.053520
! 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.066566Jy  sigma=1.053520
! Fit after  self-cal, rms=0.057522Jy  sigma=0.919013
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.00605731 Jy
! Component: 100  -  total flux cleaned = 0.00750217 Jy
! Component: 150  -  total flux cleaned = 0.00771567 Jy
! Component: 200  -  total flux cleaned = 0.00774275 Jy
! Total flux subtracted in 200 components = 0.00774275 Jy
! Clean residual min=-0.003978 max=0.003905 Jy/beam
! Clean residual mean=0.000007 rms=0.001066 Jy/beam
! Combined flux in latest and established models = 0.0557675 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 30 components and 0.0557675 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057061Jy  sigma=0.908377
! Fit after  self-cal, rms=0.055812Jy  sigma=0.895981
! 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.531 x 2.819 at 0.2565 degrees (North through East)
! Clean map  min=-0.0039913  max=0.057136 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.465 mas, bmaj=3.485 mas, bpa=-8.811 degrees
! Estimated noise=1.19021 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.00120937 Jy
! Component: 100  -  total flux cleaned = 0.00146325 Jy
! Component: 150  -  total flux cleaned = 0.00151051 Jy
! Component: 200  -  total flux cleaned = 0.00155035 Jy
! Total flux subtracted in 200 components = 0.00155035 Jy
! Clean residual min=-0.003698 max=0.004261 Jy/beam
! Clean residual mean=0.000012 rms=0.001297 Jy/beam
! Combined flux in latest and established models = 0.0573179 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 40 components and 0.0573179 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055779Jy  sigma=0.896107
! Fit after  self-cal, rms=0.055493Jy  sigma=0.894449
! Inverting map 
uvtaper 0,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=1.151 mas, bmaj=1.921 mas, bpa=12.63 degrees
! Estimated noise=2.01317 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0505633 Jy
! Component: 100  -  total flux cleaned = 0.0564981 Jy
! Component: 150  -  total flux cleaned = 0.0575282 Jy
! Component: 200  -  total flux cleaned = 0.0575569 Jy
! Total flux subtracted in 200 components = 0.0575569 Jy
! Clean residual min=-0.006128 max=0.005842 Jy/beam
! Clean residual mean=0.000003 rms=0.001615 Jy/beam
! Combined flux in latest and established models = 0.0575569 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 15 model components to the UV plane model.
! The established model now contains 15 components and 0.0575569 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.531 mas, bmaj=2.819 mas, bpa=0.2565 degrees
! Estimated noise=1.07498 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.000389423 Jy
! Component: 100  -  total flux cleaned = -0.000745076 Jy
! Component: 150  -  total flux cleaned = -0.000905684 Jy
! Component: 200  -  total flux cleaned = -0.00096555 Jy
! Total flux subtracted in 200 components = -0.00096555 Jy
! Clean residual min=-0.003973 max=0.003878 Jy/beam
! Clean residual mean=0.000008 rms=0.001078 Jy/beam
! Combined flux in latest and established models = 0.0565914 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 26 components and 0.0565914 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.465 mas, bmaj=3.485 mas, bpa=-8.811 degrees
! Estimated noise=1.19021 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.000502861 Jy
! Component: 100  -  total flux cleaned = 0.000615589 Jy
! Component: 150  -  total flux cleaned = 0.000663476 Jy
! Component: 200  -  total flux cleaned = 0.00070634 Jy
! Total flux subtracted in 200 components = 0.00070634 Jy
! Clean residual min=-0.003687 max=0.004296 Jy/beam
! Clean residual mean=0.000013 rms=0.001300 Jy/beam
! Combined flux in latest and established models = 0.0572977 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 29 components and 0.0572977 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.531 mas, bmaj=2.819 mas, bpa=0.2565 degrees
! Estimated noise=1.07498 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000468564 Jy
! Component: 100  -  total flux cleaned = -0.000577452 Jy
! Component: 150  -  total flux cleaned = -0.000599863 Jy
! Component: 200  -  total flux cleaned = -0.00063895 Jy
! Total flux subtracted in 200 components = -0.00063895 Jy
! Clean residual min=-0.003990 max=0.003852 Jy/beam
! Clean residual mean=0.000007 rms=0.001069 Jy/beam
! Combined flux in latest and established models = 0.0566588 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 34 components and 0.0566588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055447Jy  sigma=0.893451
! Fit after  self-cal, rms=0.055301Jy  sigma=0.892996
wmodel J0006+3422_X_2004_04_30_yyk\_map.mod
! Writing 34 model components to file: J0006+3422_X_2004_04_30_yyk_map.mod
wobs J0006+3422_X_2004_04_30_yyk\_uvs.fits
! Writing UV FITS file: J0006+3422_X_2004_04_30_yyk_uvs.fits
wwins J0006+3422_X_2004_04_30_yyk\_map.win
! wwins: Wrote 1 windows to J0006+3422_X_2004_04_30_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 = 4.73414e-05 Jy
! Component: 100  -  total flux cleaned = -0.000437649 Jy
! Component: 150  -  total flux cleaned = -0.000878704 Jy
! Component: 200  -  total flux cleaned = -0.00108469 Jy
! Component: 250  -  total flux cleaned = -0.00123354 Jy
! Component: 300  -  total flux cleaned = -0.00123305 Jy
! Component: 350  -  total flux cleaned = -0.00105484 Jy
! Component: 400  -  total flux cleaned = -0.00105516 Jy
! Component: 450  -  total flux cleaned = -0.00105546 Jy
! Component: 500  -  total flux cleaned = -0.00101712 Jy
! Component: 550  -  total flux cleaned = -0.000903487 Jy
! Component: 600  -  total flux cleaned = -0.000867308 Jy
! Component: 650  -  total flux cleaned = -0.000759388 Jy
! Component: 700  -  total flux cleaned = -0.000725092 Jy
! Component: 750  -  total flux cleaned = -0.000691894 Jy
! Component: 800  -  total flux cleaned = -0.000659533 Jy
! Component: 850  -  total flux cleaned = -0.000754603 Jy
! Component: 900  -  total flux cleaned = -0.00072354 Jy
! Component: 950  -  total flux cleaned = -0.000754154 Jy
! Component: 1000  -  total flux cleaned = -0.00084287 Jy
! Component: 1050  -  total flux cleaned = -0.000784571 Jy
! Component: 1100  -  total flux cleaned = -0.000841407 Jy
! Component: 1150  -  total flux cleaned = -0.00086854 Jy
! Component: 1200  -  total flux cleaned = -0.000813891 Jy
! Component: 1250  -  total flux cleaned = -0.000733976 Jy
! Component: 1300  -  total flux cleaned = -0.000681173 Jy
! Component: 1350  -  total flux cleaned = -0.000603944 Jy
! Component: 1400  -  total flux cleaned = -0.000578929 Jy
! Component: 1450  -  total flux cleaned = -0.000454916 Jy
! Component: 1500  -  total flux cleaned = -0.000406251 Jy
! Component: 1550  -  total flux cleaned = -0.000359098 Jy
! Component: 1600  -  total flux cleaned = -0.000288742 Jy
! Component: 1650  -  total flux cleaned = -0.000288392 Jy
! Component: 1700  -  total flux cleaned = -0.00021966 Jy
! Component: 1750  -  total flux cleaned = -6.23154e-05 Jy
! Component: 1800  -  total flux cleaned = 4.83532e-05 Jy
! Component: 1850  -  total flux cleaned = 0.000113972 Jy
! Component: 1900  -  total flux cleaned = 0.000286514 Jy
! Component: 1950  -  total flux cleaned = 0.000435509 Jy
! Component: 2000  -  total flux cleaned = 0.000540498 Jy
! Total flux subtracted in 2048 components = 0.000644295 Jy
! Clean residual min=-0.001103 max=0.001057 Jy/beam
! Clean residual mean=0.000005 rms=0.000422 Jy/beam
! Combined flux in latest and established models = 0.0573031 Jy
keep
! Adding 121 model components to the UV plane model.
! The established model now contains 155 components and 0.0573031 Jy
![Exited script file: muppet]
wmap "J0006+3422_X_2004_04_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.531 x 2.819 at 0.2565 degrees (North through East)
! Clean map  min=-0.0033606  max=0.057518 Jy/beam
! Writing clean map to FITS file: J0006+3422_X_2004_04_30_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.057518 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000425559 
device "J0006+3422_X_2004_04_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J0006+3422_X_2004_04_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.21961 2.21961 4.43922 8.87844 17.7569 35.5138 71.0275
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.057 
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.531 x 2.819 at 0.2565 degrees (North through East)
! Clean map  min=-0.0033606  max=0.057518 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0006+3422_X_2004_04_30_yyk\_map.gif/gif"
! Attempting to open device: 'J0006+3422_X_2004_04_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0006+3422_X_2004_04_30_yyk_uvs.log closed on Tue Dec  6 23:47:17 2005