! Started logfile: J1858-2510_S_2004_05_27_yyk_uvs.log on Wed Dec  7 00:45:48 2005
obs J1858-2510_S_2004_05_27_yyk_uve.fits
! Reading UV FITS file: J1858-2510_S_2004_05_27_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.655556 visibilities/baseline/integration-bin.
! Found source: J1858-2510
! 
! 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 1392 lines of history.
! 
! Reading 1888 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 J1858-2510_S_2004_05_27_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.115209 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 73 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 53 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 53 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 93 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.931820Jy  sigma=15.056040
! Fit after  self-cal, rms=0.919749Jy  sigma=14.905764
! 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=3.117 mas, bmaj=8.794 mas, bpa=-6.746 degrees
! Estimated noise=2.99786 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.0699862 Jy
! Component: 100  -  total flux cleaned = 0.0839303 Jy
! Total flux subtracted in 100 components = 0.0839303 Jy
! Clean residual min=-0.012192 max=0.010452 Jy/beam
! Clean residual mean=0.000067 rms=0.003258 Jy/beam
! Combined flux in latest and established models = 0.0839303 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 0.0839303 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078684Jy  sigma=1.065518
! Fit after  self-cal, rms=0.078568Jy  sigma=1.063953
! 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=5.512 mas, bmaj=17.2 mas, bpa=-9.428 degrees
! Estimated noise=1.36726 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.00814446 Jy
! Component: 100  -  total flux cleaned = 0.0106441 Jy
! Component: 150  -  total flux cleaned = 0.0110481 Jy
! Component: 200  -  total flux cleaned = 0.0112004 Jy
! Total flux subtracted in 200 components = 0.0112004 Jy
! Clean residual min=-0.006204 max=0.006945 Jy/beam
! Clean residual mean=0.000083 rms=0.002128 Jy/beam
! Combined flux in latest and established models = 0.0951307 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 33 components and 0.0951307 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078397Jy  sigma=1.053634
! Fit after  self-cal, rms=0.078313Jy  sigma=1.052618
! 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.00576
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.07     HN        0.92     KP        1.01     
!   LA        1.10     MK        1.00*    NL        0.98     OV        0.90     
!   PT        1.02     SC        1.00*    
! 
! 
! 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: 0.98122
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.86     HN        1.19     KP        1.05     
!   LA        0.99     MK        1.01     NL        1.06     OV        1.01     
!   PT        1.01     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.078313Jy  sigma=1.052618
! Fit after  self-cal, rms=0.077762Jy  sigma=1.048690
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.077762Jy  sigma=1.048690
! Fit after  self-cal, rms=0.077701Jy  sigma=1.047592
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.47 mas, bmaj=17.14 mas, bpa=-9.571 degrees
! Estimated noise=1.35819 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.000129655 Jy
! Component: 100  -  total flux cleaned = 3.92372e-05 Jy
! Component: 150  -  total flux cleaned = 0.000154813 Jy
! Component: 200  -  total flux cleaned = 0.00026445 Jy
! Total flux subtracted in 200 components = 0.00026445 Jy
! Clean residual min=-0.005631 max=0.006537 Jy/beam
! Clean residual mean=0.000077 rms=0.002009 Jy/beam
! Combined flux in latest and established models = 0.0953951 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 36 components and 0.0953951 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077651Jy  sigma=1.047049
! Fit after  self-cal, rms=0.077587Jy  sigma=1.046182
! 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.077587Jy  sigma=1.046182
! Fit after  self-cal, rms=0.070201Jy  sigma=0.921870
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.00446582 Jy
! Component: 100  -  total flux cleaned = 0.00528514 Jy
! Component: 150  -  total flux cleaned = 0.00532748 Jy
! Component: 200  -  total flux cleaned = 0.00534789 Jy
! Total flux subtracted in 200 components = 0.00534789 Jy
! Clean residual min=-0.005256 max=0.005683 Jy/beam
! Clean residual mean=0.000063 rms=0.001658 Jy/beam
! Combined flux in latest and established models = 0.100743 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 48 components and 0.100743 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070133Jy  sigma=0.918049
! Fit after  self-cal, rms=0.069564Jy  sigma=0.911638
! 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: 5.47 x 17.14 at -9.571 degrees (North through East)
! Clean map  min=-0.005077  max=0.08823 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=9.842 mas, bmaj=28.19 mas, bpa=-1.075 degrees
! Estimated noise=1.45237 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.00036495 Jy
! Component: 100  -  total flux cleaned = 0.000451243 Jy
! Component: 150  -  total flux cleaned = 0.000495204 Jy
! Component: 200  -  total flux cleaned = 0.000513859 Jy
! Total flux subtracted in 200 components = 0.000513859 Jy
! Clean residual min=-0.004519 max=0.005561 Jy/beam
! Clean residual mean=0.000088 rms=0.001731 Jy/beam
! Combined flux in latest and established models = 0.101257 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 49 components and 0.101257 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069600Jy  sigma=0.911628
! Fit after  self-cal, rms=0.069489Jy  sigma=0.910538
! 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=3.132 mas, bmaj=8.815 mas, bpa=-6.661 degrees
! Estimated noise=2.98108 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0750597 Jy
! Component: 100  -  total flux cleaned = 0.0896292 Jy
! Component: 150  -  total flux cleaned = 0.0953893 Jy
! Component: 200  -  total flux cleaned = 0.0965778 Jy
! Total flux subtracted in 200 components = 0.0965778 Jy
! Clean residual min=-0.012205 max=0.011803 Jy/beam
! Clean residual mean=0.000069 rms=0.003126 Jy/beam
! Combined flux in latest and established models = 0.0965778 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.0965778 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.47 mas, bmaj=17.14 mas, bpa=-9.571 degrees
! Estimated noise=1.35819 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.00315095 Jy
! Component: 100  -  total flux cleaned = 0.00334833 Jy
! Component: 150  -  total flux cleaned = 0.00346 Jy
! Component: 200  -  total flux cleaned = 0.003524 Jy
! Total flux subtracted in 200 components = 0.003524 Jy
! Clean residual min=-0.005241 max=0.005591 Jy/beam
! Clean residual mean=0.000059 rms=0.001658 Jy/beam
! Combined flux in latest and established models = 0.100102 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 26 components and 0.100102 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=9.842 mas, bmaj=28.19 mas, bpa=-1.075 degrees
! Estimated noise=1.45237 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.000302163 Jy
! Component: 100  -  total flux cleaned = 0.000395897 Jy
! Component: 150  -  total flux cleaned = 0.000420457 Jy
! Component: 200  -  total flux cleaned = 0.000466891 Jy
! Total flux subtracted in 200 components = 0.000466891 Jy
! Clean residual min=-0.004487 max=0.005452 Jy/beam
! Clean residual mean=0.000086 rms=0.001749 Jy/beam
! Combined flux in latest and established models = 0.100569 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 29 components and 0.100569 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.47 mas, bmaj=17.14 mas, bpa=-9.571 degrees
! Estimated noise=1.35819 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00026392 Jy
! Component: 100  -  total flux cleaned = -0.000246395 Jy
! Component: 150  -  total flux cleaned = -0.000246915 Jy
! Component: 200  -  total flux cleaned = -0.000231513 Jy
! Total flux subtracted in 200 components = -0.000231513 Jy
! Clean residual min=-0.005124 max=0.005551 Jy/beam
! Clean residual mean=0.000060 rms=0.001637 Jy/beam
! Combined flux in latest and established models = 0.100337 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 34 components and 0.100337 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069417Jy  sigma=0.910165
! Fit after  self-cal, rms=0.069394Jy  sigma=0.909730
wmodel J1858-2510_S_2004_05_27_yyk\_map.mod
! Writing 34 model components to file: J1858-2510_S_2004_05_27_yyk_map.mod
wobs J1858-2510_S_2004_05_27_yyk\_uvs.fits
! Writing UV FITS file: J1858-2510_S_2004_05_27_yyk_uvs.fits
wwins J1858-2510_S_2004_05_27_yyk\_map.win
! wwins: Wrote 1 windows to J1858-2510_S_2004_05_27_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.000882147 Jy
! Component: 100  -  total flux cleaned = 0.00112817 Jy
! Component: 150  -  total flux cleaned = 0.00134411 Jy
! Component: 200  -  total flux cleaned = 0.0017462 Jy
! Component: 250  -  total flux cleaned = 0.00212283 Jy
! Component: 300  -  total flux cleaned = 0.00248137 Jy
! Component: 350  -  total flux cleaned = 0.00282676 Jy
! Component: 400  -  total flux cleaned = 0.00343567 Jy
! Component: 450  -  total flux cleaned = 0.00391579 Jy
! Component: 500  -  total flux cleaned = 0.00438044 Jy
! Component: 550  -  total flux cleaned = 0.00492873 Jy
! Component: 600  -  total flux cleaned = 0.00521828 Jy
! Component: 650  -  total flux cleaned = 0.00559399 Jy
! Component: 700  -  total flux cleaned = 0.00582299 Jy
! Component: 750  -  total flux cleaned = 0.00617598 Jy
! Component: 800  -  total flux cleaned = 0.00634651 Jy
! Component: 850  -  total flux cleaned = 0.00647226 Jy
! Component: 900  -  total flux cleaned = 0.00675792 Jy
! Component: 950  -  total flux cleaned = 0.00703547 Jy
! Component: 1000  -  total flux cleaned = 0.00726707 Jy
! Component: 1050  -  total flux cleaned = 0.00753074 Jy
! Component: 1100  -  total flux cleaned = 0.00786187 Jy
! Component: 1150  -  total flux cleaned = 0.00814868 Jy
! Component: 1200  -  total flux cleaned = 0.00842794 Jy
! Component: 1250  -  total flux cleaned = 0.00863261 Jy
! Component: 1300  -  total flux cleaned = 0.00883261 Jy
! Component: 1350  -  total flux cleaned = 0.00896337 Jy
! Component: 1400  -  total flux cleaned = 0.00922089 Jy
! Component: 1450  -  total flux cleaned = 0.00941033 Jy
! Component: 1500  -  total flux cleaned = 0.0095965 Jy
! Component: 1550  -  total flux cleaned = 0.0097797 Jy
! Component: 1600  -  total flux cleaned = 0.00999056 Jy
! Component: 1650  -  total flux cleaned = 0.0100504 Jy
! Component: 1700  -  total flux cleaned = 0.0103142 Jy
! Component: 1750  -  total flux cleaned = 0.0104292 Jy
! Component: 1800  -  total flux cleaned = 0.0105999 Jy
! Component: 1850  -  total flux cleaned = 0.0106841 Jy
! Component: 1900  -  total flux cleaned = 0.0107673 Jy
! Component: 1950  -  total flux cleaned = 0.0108495 Jy
! Component: 2000  -  total flux cleaned = 0.0109572 Jy
! Total flux subtracted in 2048 components = 0.0109569 Jy
! Clean residual min=-0.001467 max=0.001597 Jy/beam
! Clean residual mean=0.000030 rms=0.000543 Jy/beam
! Combined flux in latest and established models = 0.111294 Jy
keep
! Adding 107 model components to the UV plane model.
! The established model now contains 141 components and 0.111294 Jy
![Exited script file: muppet]
wmap "J1858-2510_S_2004_05_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.47 x 17.14 at -9.571 degrees (North through East)
! Clean map  min=-0.0033423  max=0.090055 Jy/beam
! Writing clean map to FITS file: J1858-2510_S_2004_05_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0900554 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000531905 
device "J1858-2510_S_2004_05_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J1858-2510_S_2004_05_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.77193 1.77193 3.54385 7.0877 14.1754 28.3508 56.7016
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.09 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.47 x 17.14 at -9.571 degrees (North through East)
! Clean map  min=-0.0033423  max=0.090055 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1858-2510_S_2004_05_27_yyk\_map.gif/gif"
! Attempting to open device: 'J1858-2510_S_2004_05_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1858-2510_S_2004_05_27_yyk_uvs.log closed on Wed Dec  7 00:45:52 2005