! Started logfile: J0024-0811_X_2005_06_01_yyk_uvs.log on Sat Oct  8 16:46:12 2005
obs J0024-0811_X_2005_06_01_yyk_uve.fits
! Reading UV FITS file: J0024-0811_X_2005_06_01_yyk_uve.fits
! AN table 1: 18 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.998765 visibilities/baseline/integration-bin.
! Found source: J0024-0811
! 
! 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 1618 lines of history.
! 
! Reading 3236 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 J0024-0811_X_2005_06_01_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.116001 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.671 mas, bmaj=1.747 mas, bpa=-1.688 degrees
! Estimated noise=1.03325 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.0762613 Jy
! Component: 100  -  total flux cleaned = 0.0903342 Jy
! Total flux subtracted in 100 components = 0.0903342 Jy
! Clean residual min=-0.004524 max=0.005389 Jy/beam
! Clean residual mean=-0.000003 rms=0.001260 Jy/beam
! Combined flux in latest and established models = 0.0903342 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.0903342 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
!  A total of 4 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.070971Jy  sigma=1.078371
! Fit after  self-cal, rms=0.070924Jy  sigma=1.075512
! Inverting map and beam 
! Estimated beam: bmin=0.671 mas, bmaj=1.747 mas, bpa=-1.688 degrees
! Estimated noise=1.03325 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=0.861 mas, bmaj=2.135 mas, bpa=-1.663 degrees
! Estimated noise=0.645585 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.00750228 Jy
! Component: 100  -  total flux cleaned = 0.00986526 Jy
! Component: 150  -  total flux cleaned = 0.0108 Jy
! Component: 200  -  total flux cleaned = 0.0109999 Jy
! Total flux subtracted in 200 components = 0.0109999 Jy
! Clean residual min=-0.002548 max=0.003320 Jy/beam
! Clean residual mean=-0.000006 rms=0.000753 Jy/beam
! Combined flux in latest and established models = 0.101334 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 29 components and 0.101334 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070489Jy  sigma=1.063137
! Fit after  self-cal, rms=0.070480Jy  sigma=1.063024
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.861 x 2.135 at -1.663 degrees (North through East)
! Clean map  min=-0.0022813  max=0.091487 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.01376
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        0.99     HN        1.00     KP        0.99     
!   LA        0.95     MK        0.99     NL        1.05     OV        1.04     
!   PT        0.95     SC        0.95     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01892
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.03     HN        1.01     KP        0.94     
!   LA        0.97     MK        0.96     NL        1.02     OV        0.96     
!   PT        0.95     SC        0.95     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00306
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.11     FD        1.02     HN        0.95     KP        0.88     
!   LA        1.08     MK        1.01     NL        0.99     OV        1.01     
!   PT        1.04     SC        0.89     
! 
! 
! 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.070480Jy  sigma=1.063024
! Fit after  self-cal, rms=0.070222Jy  sigma=1.057996
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.070222Jy  sigma=1.057996
! Fit after  self-cal, rms=0.070223Jy  sigma=1.057971
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8483 mas, bmaj=2.107 mas, bpa=-0.7431 degrees
! Estimated noise=0.643536 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.00108348 Jy
! Component: 100  -  total flux cleaned = 0.00115588 Jy
! Component: 150  -  total flux cleaned = 0.00123141 Jy
! Component: 200  -  total flux cleaned = 0.00127619 Jy
! Total flux subtracted in 200 components = 0.00127619 Jy
! Clean residual min=-0.002558 max=0.003036 Jy/beam
! Clean residual mean=-0.000003 rms=0.000729 Jy/beam
! Combined flux in latest and established models = 0.10261 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 40 components and 0.10261 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070193Jy  sigma=1.057554
! Fit after  self-cal, rms=0.070191Jy  sigma=1.057523
! 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.070191Jy  sigma=1.057523
! Fit after  self-cal, rms=0.066940Jy  sigma=1.003227
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.00113505 Jy
! Component: 100  -  total flux cleaned = 0.00113944 Jy
! Component: 150  -  total flux cleaned = 0.00112447 Jy
! Component: 200  -  total flux cleaned = 0.00111058 Jy
! Total flux subtracted in 200 components = 0.00111058 Jy
! Clean residual min=-0.002651 max=0.003092 Jy/beam
! Clean residual mean=-0.000003 rms=0.000719 Jy/beam
! Combined flux in latest and established models = 0.103721 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 45 components and 0.103721 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066919Jy  sigma=1.002680
! Fit after  self-cal, rms=0.066814Jy  sigma=0.998509
! 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: 0.8483 x 2.107 at -0.7431 degrees (North through East)
! Clean map  min=-0.002497  max=0.092824 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.182 mas, bmaj=3.916 mas, bpa=0.7297 degrees
! Estimated noise=0.843575 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.000150325 Jy
! Component: 100  -  total flux cleaned = 0.000151523 Jy
! Component: 150  -  total flux cleaned = 0.000153419 Jy
! Component: 200  -  total flux cleaned = 0.000153828 Jy
! Total flux subtracted in 200 components = 0.000153828 Jy
! Clean residual min=-0.003158 max=0.003642 Jy/beam
! Clean residual mean=-0.000004 rms=0.000987 Jy/beam
! Combined flux in latest and established models = 0.103875 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 50 components and 0.103875 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066833Jy  sigma=0.998615
! Fit after  self-cal, rms=0.066917Jy  sigma=0.997837
! 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=0.6657 mas, bmaj=1.739 mas, bpa=-1.262 degrees
! Estimated noise=1.02725 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0788837 Jy
! Component: 100  -  total flux cleaned = 0.0926746 Jy
! Component: 150  -  total flux cleaned = 0.0985633 Jy
! Component: 200  -  total flux cleaned = 0.101431 Jy
! Total flux subtracted in 200 components = 0.101431 Jy
! Clean residual min=-0.003938 max=0.004601 Jy/beam
! Clean residual mean=-0.000002 rms=0.001047 Jy/beam
! Combined flux in latest and established models = 0.101431 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 17 model components to the UV plane model.
! The established model now contains 17 components and 0.101431 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8483 mas, bmaj=2.107 mas, bpa=-0.7431 degrees
! Estimated noise=0.643536 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.00191322 Jy
! Component: 100  -  total flux cleaned = 0.00207762 Jy
! Component: 150  -  total flux cleaned = 0.00210578 Jy
! Component: 200  -  total flux cleaned = 0.00210795 Jy
! Total flux subtracted in 200 components = 0.00210795 Jy
! Clean residual min=-0.002657 max=0.003003 Jy/beam
! Clean residual mean=-0.000003 rms=0.000722 Jy/beam
! Combined flux in latest and established models = 0.103539 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 27 components and 0.103539 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.182 mas, bmaj=3.916 mas, bpa=0.7297 degrees
! Estimated noise=0.843575 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.000184848 Jy
! Component: 100  -  total flux cleaned = 0.000183073 Jy
! Component: 150  -  total flux cleaned = 0.000182192 Jy
! Component: 200  -  total flux cleaned = 0.000183449 Jy
! Total flux subtracted in 200 components = 0.000183449 Jy
! Clean residual min=-0.003207 max=0.003692 Jy/beam
! Clean residual mean=-0.000004 rms=0.000990 Jy/beam
! Combined flux in latest and established models = 0.103723 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 34 components and 0.103723 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8483 mas, bmaj=2.107 mas, bpa=-0.7431 degrees
! Estimated noise=0.643536 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -7.59597e-05 Jy
! Component: 100  -  total flux cleaned = -0.000108938 Jy
! Component: 150  -  total flux cleaned = -0.000124039 Jy
! Component: 200  -  total flux cleaned = -0.000137537 Jy
! Total flux subtracted in 200 components = -0.000137537 Jy
! Clean residual min=-0.002646 max=0.002987 Jy/beam
! Clean residual mean=-0.000003 rms=0.000714 Jy/beam
! Combined flux in latest and established models = 0.103585 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 38 components and 0.103585 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066915Jy  sigma=0.997700
! Fit after  self-cal, rms=0.066977Jy  sigma=0.997511
wmodel J0024-0811_X_2005_06_01_yyk\_map.mod
! Writing 38 model components to file: J0024-0811_X_2005_06_01_yyk_map.mod
wobs J0024-0811_X_2005_06_01_yyk\_uvs.fits
! Writing UV FITS file: J0024-0811_X_2005_06_01_yyk_uvs.fits
wwins J0024-0811_X_2005_06_01_yyk\_map.win
! wwins: Wrote 1 windows to J0024-0811_X_2005_06_01_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.000305068 Jy
! Component: 100  -  total flux cleaned = -0.000316181 Jy
! Component: 150  -  total flux cleaned = -0.000986923 Jy
! Component: 200  -  total flux cleaned = -0.00146831 Jy
! Component: 250  -  total flux cleaned = -0.001893 Jy
! Component: 300  -  total flux cleaned = -0.00219225 Jy
! Component: 350  -  total flux cleaned = -0.00241048 Jy
! Component: 400  -  total flux cleaned = -0.00258843 Jy
! Component: 450  -  total flux cleaned = -0.00269276 Jy
! Component: 500  -  total flux cleaned = -0.00286334 Jy
! Component: 550  -  total flux cleaned = -0.00296244 Jy
! Component: 600  -  total flux cleaned = -0.00302713 Jy
! Component: 650  -  total flux cleaned = -0.00312253 Jy
! Component: 700  -  total flux cleaned = -0.00321565 Jy
! Component: 750  -  total flux cleaned = -0.00327689 Jy
! Component: 800  -  total flux cleaned = -0.00342711 Jy
! Component: 850  -  total flux cleaned = -0.00354426 Jy
! Component: 900  -  total flux cleaned = -0.00360268 Jy
! Component: 950  -  total flux cleaned = -0.00380211 Jy
! Component: 1000  -  total flux cleaned = -0.0038857 Jy
! Component: 1050  -  total flux cleaned = -0.00410526 Jy
! Component: 1100  -  total flux cleaned = -0.00423989 Jy
! Component: 1150  -  total flux cleaned = -0.00437291 Jy
! Component: 1200  -  total flux cleaned = -0.00450452 Jy
! Component: 1250  -  total flux cleaned = -0.00465972 Jy
! Component: 1300  -  total flux cleaned = -0.00481238 Jy
! Component: 1350  -  total flux cleaned = -0.00488772 Jy
! Component: 1400  -  total flux cleaned = -0.00493761 Jy
! Component: 1450  -  total flux cleaned = -0.00501106 Jy
! Component: 1500  -  total flux cleaned = -0.00501141 Jy
! Component: 1550  -  total flux cleaned = -0.00517882 Jy
! Component: 1600  -  total flux cleaned = -0.00522595 Jy
! Component: 1650  -  total flux cleaned = -0.00520269 Jy
! Component: 1700  -  total flux cleaned = -0.0052951 Jy
! Component: 1750  -  total flux cleaned = -0.00536309 Jy
! Component: 1800  -  total flux cleaned = -0.00531847 Jy
! Component: 1850  -  total flux cleaned = -0.00536328 Jy
! Component: 1900  -  total flux cleaned = -0.00549575 Jy
! Component: 1950  -  total flux cleaned = -0.0056045 Jy
! Component: 2000  -  total flux cleaned = -0.00558316 Jy
! Total flux subtracted in 2048 components = -0.00560445 Jy
! Clean residual min=-0.001154 max=0.001071 Jy/beam
! Clean residual mean=-0.000002 rms=0.000398 Jy/beam
! Combined flux in latest and established models = 0.0979807 Jy
keep
! Adding 145 model components to the UV plane model.
! The established model now contains 183 components and 0.0979807 Jy
![Exited script file: muppet]
wmap "J0024-0811_X_2005_06_01_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8483 x 2.107 at -0.7431 degrees (North through East)
! Clean map  min=-0.0018277  max=0.092957 Jy/beam
! Writing clean map to FITS file: J0024-0811_X_2005_06_01_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0929567 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00039757 
device "J0024-0811_X_2005_06_01_yyk\_map.eps/VPS"
! Attempting to open device: 'J0024-0811_X_2005_06_01_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.28308 1.28308 2.56616 5.13233 10.2647 20.5293 41.0586 82.1172
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
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: 0.8483 x 2.107 at -0.7431 degrees (North through East)
! Clean map  min=-0.0018277  max=0.092957 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0024-0811_X_2005_06_01_yyk\_map.gif/gif"
! Attempting to open device: 'J0024-0811_X_2005_06_01_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0024-0811_X_2005_06_01_yyk_uvs.log closed on Sat Oct  8 16:46:16 2005