! Started logfile: J1439+2114_S_2005_07_08_yyk_uvs.log on Fri Jan 20 10:35:16 2006
obs J1439+2114_S_2005_07_08_yyk_uve.fits
! Reading UV FITS file: J1439+2114_S_2005_07_08_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.874747 visibilities/baseline/integration-bin.
! Found source: J1439+2114
! 
! 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 1412 lines of history.
! 
! Reading 1732 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 J1439+2114_S_2005_07_08_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.0943032 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.614 mas, bmaj=6.686 mas, bpa=3.074 degrees
! Estimated noise=1.26573 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.0637859 Jy
! Component: 100  -  total flux cleaned = 0.0764356 Jy
! Total flux subtracted in 100 components = 0.0764356 Jy
! Clean residual min=-0.005662 max=0.005791 Jy/beam
! Clean residual mean=-0.000001 rms=0.001458 Jy/beam
! Combined flux in latest and established models = 0.0764356 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.0764356 Jy
! 
! Correcting IF 1.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.056811Jy  sigma=1.089243
! Fit after  self-cal, rms=0.056348Jy  sigma=1.079196
! Inverting map and beam 
! Estimated beam: bmin=2.614 mas, bmaj=6.686 mas, bpa=3.074 degrees
! Estimated noise=1.26573 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.366 mas, bmaj=7.712 mas, bpa=0.2201 degrees
! Estimated noise=0.859166 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.00571761 Jy
! Component: 100  -  total flux cleaned = 0.00766212 Jy
! Component: 150  -  total flux cleaned = 0.00767024 Jy
! Component: 200  -  total flux cleaned = 0.0075893 Jy
! Total flux subtracted in 200 components = 0.0075893 Jy
! Clean residual min=-0.004745 max=0.004087 Jy/beam
! Clean residual mean=-0.000024 rms=0.001114 Jy/beam
! Combined flux in latest and established models = 0.0840249 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 41 components and 0.0840249 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055968Jy  sigma=1.069746
! Fit after  self-cal, rms=0.055962Jy  sigma=1.069694
! 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.366 x 7.712 at 0.2201 degrees (North through East)
! Clean map  min=-0.0045401  max=0.075867 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.04126
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.88     FD        1.00     HN        1.00*    KP        0.89     
!   LA        1.09     MK        0.86     NL        0.93     OV        0.98     
!   PT        1.07     SC        0.91     
! 
! 
! Correcting IF 2.
!  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.
!  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.055962Jy  sigma=1.069694
! Fit after  self-cal, rms=0.055428Jy  sigma=1.066005
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.055428Jy  sigma=1.066005
! Fit after  self-cal, rms=0.055427Jy  sigma=1.066000
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.309 mas, bmaj=7.596 mas, bpa=0.0466 degrees
! Estimated noise=0.858625 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.00162908 Jy
! Component: 100  -  total flux cleaned = 0.00197589 Jy
! Component: 150  -  total flux cleaned = 0.00200003 Jy
! Component: 200  -  total flux cleaned = 0.00199971 Jy
! Total flux subtracted in 200 components = 0.00199971 Jy
! Clean residual min=-0.004508 max=0.004021 Jy/beam
! Clean residual mean=-0.000010 rms=0.001075 Jy/beam
! Combined flux in latest and established models = 0.0860246 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 48 components and 0.0860246 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055380Jy  sigma=1.065084
! Fit after  self-cal, rms=0.055374Jy  sigma=1.065060
! 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.055374Jy  sigma=1.065060
! Fit after  self-cal, rms=0.052952Jy  sigma=1.018451
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.000948662 Jy
! Component: 100  -  total flux cleaned = 0.000950049 Jy
! Component: 150  -  total flux cleaned = 0.000932439 Jy
! Component: 200  -  total flux cleaned = 0.000931562 Jy
! Total flux subtracted in 200 components = 0.000931562 Jy
! Clean residual min=-0.004247 max=0.003867 Jy/beam
! Clean residual mean=-0.000011 rms=0.001054 Jy/beam
! Combined flux in latest and established models = 0.0869562 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 61 components and 0.0869562 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052944Jy  sigma=1.017970
! Fit after  self-cal, rms=0.052765Jy  sigma=1.014510
! 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.309 x 7.596 at 0.0466 degrees (North through East)
! Clean map  min=-0.0040543  max=0.07727 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.203 mas, bmaj=11.02 mas, bpa=11.35 degrees
! Estimated noise=1.07816 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.000100944 Jy
! Component: 100  -  total flux cleaned = -0.000118363 Jy
! Component: 150  -  total flux cleaned = -0.000179793 Jy
! Component: 200  -  total flux cleaned = -0.000227781 Jy
! Total flux subtracted in 200 components = -0.000227781 Jy
! Clean residual min=-0.004344 max=0.003547 Jy/beam
! Clean residual mean=-0.000029 rms=0.001227 Jy/beam
! Combined flux in latest and established models = 0.0867284 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 64 components and 0.0867284 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052775Jy  sigma=1.014632
! Fit after  self-cal, rms=0.052763Jy  sigma=1.014212
! 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.598 mas, bmaj=6.651 mas, bpa=2.955 degrees
! Estimated noise=1.25148 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0647509 Jy
! Component: 100  -  total flux cleaned = 0.0779696 Jy
! Component: 150  -  total flux cleaned = 0.08371 Jy
! Component: 200  -  total flux cleaned = 0.0865468 Jy
! Total flux subtracted in 200 components = 0.0865468 Jy
! Clean residual min=-0.005581 max=0.005240 Jy/beam
! Clean residual mean=0.000010 rms=0.001285 Jy/beam
! Combined flux in latest and established models = 0.0865468 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 28 model components to the UV plane model.
! The established model now contains 28 components and 0.0865468 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.309 mas, bmaj=7.596 mas, bpa=0.0466 degrees
! Estimated noise=0.858625 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.000535861 Jy
! Component: 100  -  total flux cleaned = 0.00075612 Jy
! Component: 150  -  total flux cleaned = 0.000782532 Jy
! Component: 200  -  total flux cleaned = 0.000740162 Jy
! Total flux subtracted in 200 components = 0.000740163 Jy
! Clean residual min=-0.004196 max=0.003840 Jy/beam
! Clean residual mean=-0.000011 rms=0.001049 Jy/beam
! Combined flux in latest and established models = 0.087287 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 40 components and 0.087287 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.203 mas, bmaj=11.02 mas, bpa=11.35 degrees
! Estimated noise=1.07816 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.000221245 Jy
! Component: 100  -  total flux cleaned = -0.000347677 Jy
! Component: 150  -  total flux cleaned = -0.000436076 Jy
! Component: 200  -  total flux cleaned = -0.000489773 Jy
! Total flux subtracted in 200 components = -0.000489773 Jy
! Clean residual min=-0.004324 max=0.003516 Jy/beam
! Clean residual mean=-0.000029 rms=0.001228 Jy/beam
! Combined flux in latest and established models = 0.0867972 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 43 components and 0.0867972 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.309 mas, bmaj=7.596 mas, bpa=0.0466 degrees
! Estimated noise=0.858625 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.88024e-05 Jy
! Component: 100  -  total flux cleaned = 7.46624e-05 Jy
! Component: 150  -  total flux cleaned = 7.62912e-05 Jy
! Component: 200  -  total flux cleaned = 9.09887e-05 Jy
! Total flux subtracted in 200 components = 9.09887e-05 Jy
! Clean residual min=-0.004125 max=0.003833 Jy/beam
! Clean residual mean=-0.000011 rms=0.001046 Jy/beam
! Combined flux in latest and established models = 0.0868882 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 55 components and 0.0868882 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052761Jy  sigma=1.013956
! Fit after  self-cal, rms=0.052766Jy  sigma=1.013897
wmodel J1439+2114_S_2005_07_08_yyk\_map.mod
! Writing 55 model components to file: J1439+2114_S_2005_07_08_yyk_map.mod
wobs J1439+2114_S_2005_07_08_yyk\_uvs.fits
! Writing UV FITS file: J1439+2114_S_2005_07_08_yyk_uvs.fits
wwins J1439+2114_S_2005_07_08_yyk\_map.win
! wwins: Wrote 1 windows to J1439+2114_S_2005_07_08_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.00118993 Jy
! Component: 100  -  total flux cleaned = -0.00132996 Jy
! Component: 150  -  total flux cleaned = -0.000838691 Jy
! Component: 200  -  total flux cleaned = -0.000606741 Jy
! Component: 250  -  total flux cleaned = -0.000550907 Jy
! Component: 300  -  total flux cleaned = -0.000389074 Jy
! Component: 350  -  total flux cleaned = -0.000284274 Jy
! Component: 400  -  total flux cleaned = -0.000132619 Jy
! Component: 450  -  total flux cleaned = 6.27066e-05 Jy
! Component: 500  -  total flux cleaned = 6.31173e-05 Jy
! Component: 550  -  total flux cleaned = 0.000155757 Jy
! Component: 600  -  total flux cleaned = 0.000200758 Jy
! Component: 650  -  total flux cleaned = 0.000244839 Jy
! Component: 700  -  total flux cleaned = 0.000586992 Jy
! Component: 750  -  total flux cleaned = 0.000629529 Jy
! Component: 800  -  total flux cleaned = 0.000875272 Jy
! Component: 850  -  total flux cleaned = 0.000994925 Jy
! Component: 900  -  total flux cleaned = 0.00103378 Jy
! Component: 950  -  total flux cleaned = 0.000995393 Jy
! Component: 1000  -  total flux cleaned = 0.00103367 Jy
! Component: 1050  -  total flux cleaned = 0.00107074 Jy
! Component: 1100  -  total flux cleaned = 0.0011436 Jy
! Component: 1150  -  total flux cleaned = 0.00114341 Jy
! Component: 1200  -  total flux cleaned = 0.00117848 Jy
! Component: 1250  -  total flux cleaned = 0.0012132 Jy
! Component: 1300  -  total flux cleaned = 0.00121351 Jy
! Component: 1350  -  total flux cleaned = 0.00114656 Jy
! Component: 1400  -  total flux cleaned = 0.00111408 Jy
! Component: 1450  -  total flux cleaned = 0.00117875 Jy
! Component: 1500  -  total flux cleaned = 0.00121009 Jy
! Component: 1550  -  total flux cleaned = 0.00121003 Jy
! Component: 1600  -  total flux cleaned = 0.0012405 Jy
! Component: 1650  -  total flux cleaned = 0.00121001 Jy
! Component: 1700  -  total flux cleaned = 0.00124087 Jy
! Component: 1750  -  total flux cleaned = 0.00130071 Jy
! Component: 1800  -  total flux cleaned = 0.00135921 Jy
! Component: 1850  -  total flux cleaned = 0.00138843 Jy
! Component: 1900  -  total flux cleaned = 0.00147394 Jy
! Component: 1950  -  total flux cleaned = 0.0014733 Jy
! Component: 2000  -  total flux cleaned = 0.00155672 Jy
! Total flux subtracted in 2048 components = 0.00161125 Jy
! Clean residual min=-0.001463 max=0.001514 Jy/beam
! Clean residual mean=-0.000005 rms=0.000565 Jy/beam
! Combined flux in latest and established models = 0.0884994 Jy
keep
! Adding 139 model components to the UV plane model.
! The established model now contains 194 components and 0.0884994 Jy
![Exited script file: muppet]
wmap "J1439+2114_S_2005_07_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.309 x 7.596 at 0.0466 degrees (North through East)
! Clean map  min=-0.0031574  max=0.07687 Jy/beam
! Writing clean map to FITS file: J1439+2114_S_2005_07_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0768704 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000560854 
device "J1439+2114_S_2005_07_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1439+2114_S_2005_07_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.18883 2.18883 4.37765 8.75531 17.5106 35.0212 70.0425
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.076 
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.309 x 7.596 at 0.0466 degrees (North through East)
! Clean map  min=-0.0031574  max=0.07687 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1439+2114_S_2005_07_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1439+2114_S_2005_07_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1439+2114_S_2005_07_08_yyk_uvs.log closed on Fri Jan 20 10:35:20 2006