! Started logfile: J2031-2615_S_2005_07_20_yyk_uvs.log on Fri Jan 20 10:59:30 2006
obs J2031-2615_S_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J2031-2615_S_2005_07_20_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.527273 visibilities/baseline/integration-bin.
! Found source: J2031-2615
! 
! 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 1531 lines of history.
! 
! Reading 1044 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 J2031-2615_S_2005_07_20_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.13652 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.915 mas, bmaj=7.526 mas, bpa=-6.615 degrees
! Estimated noise=3.53766 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.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0625801 Jy
! Component: 100  -  total flux cleaned = 0.0716331 Jy
! Total flux subtracted in 100 components = 0.0716331 Jy
! Clean residual min=-0.016610 max=0.016254 Jy/beam
! Clean residual mean=-0.000116 rms=0.004276 Jy/beam
! Combined flux in latest and established models = 0.0716331 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.0716331 Jy
! 
! Correcting IF 1.
!  A total of 46 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 44 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 39 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 50 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.117139Jy  sigma=1.322034
! Fit after  self-cal, rms=0.111544Jy  sigma=1.209607
! Inverting map and beam 
! Estimated beam: bmin=2.915 mas, bmaj=7.526 mas, bpa=-6.615 degrees
! Estimated noise=3.53766 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=4.46 mas, bmaj=12.26 mas, bpa=-10.76 degrees
! Estimated noise=1.91849 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.0153993 Jy
! Component: 100  -  total flux cleaned = 0.0203107 Jy
! Component: 150  -  total flux cleaned = 0.021503 Jy
! Component: 200  -  total flux cleaned = 0.0217262 Jy
! Total flux subtracted in 200 components = 0.0217262 Jy
! Clean residual min=-0.009886 max=0.008830 Jy/beam
! Clean residual mean=-0.000112 rms=0.002792 Jy/beam
! Combined flux in latest and established models = 0.0933593 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 31 components and 0.0933593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111301Jy  sigma=1.181213
! Fit after  self-cal, rms=0.111296Jy  sigma=1.180936
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.46 x 12.26 at -10.76 degrees (North through East)
! Clean map  min=-0.0097478  max=0.082489 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
!  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.
!  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.111296Jy  sigma=1.180936
! Fit after  self-cal, rms=0.111296Jy  sigma=1.180936
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.111296Jy  sigma=1.180936
! Fit after  self-cal, rms=0.111295Jy  sigma=1.180935
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.46 mas, bmaj=12.26 mas, bpa=-10.76 degrees
! Estimated noise=1.91849 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.000272743 Jy
! Component: 100  -  total flux cleaned = 0.000273038 Jy
! Component: 150  -  total flux cleaned = 0.000343065 Jy
! Component: 200  -  total flux cleaned = 0.000470375 Jy
! Total flux subtracted in 200 components = 0.000470375 Jy
! Clean residual min=-0.009902 max=0.008480 Jy/beam
! Clean residual mean=-0.000107 rms=0.002764 Jy/beam
! Combined flux in latest and established models = 0.0938297 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 33 components and 0.0938297 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111345Jy  sigma=1.179762
! Fit after  self-cal, rms=0.111336Jy  sigma=1.179676
! 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.111336Jy  sigma=1.179676
! Fit after  self-cal, rms=0.101207Jy  sigma=1.063070
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.00677848 Jy
! Component: 100  -  total flux cleaned = 0.00791068 Jy
! Component: 150  -  total flux cleaned = 0.00791494 Jy
! Component: 200  -  total flux cleaned = 0.00792543 Jy
! Total flux subtracted in 200 components = 0.00792543 Jy
! Clean residual min=-0.008270 max=0.007473 Jy/beam
! Clean residual mean=-0.000128 rms=0.002442 Jy/beam
! Combined flux in latest and established models = 0.101755 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 42 components and 0.101755 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101130Jy  sigma=1.056391
! Fit after  self-cal, rms=0.099248Jy  sigma=1.041747
! 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: 4.46 x 12.26 at -10.76 degrees (North through East)
! Clean map  min=-0.0077864  max=0.091237 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.202 mas, bmaj=23 mas, bpa=11.79 degrees
! Estimated noise=2.14663 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.000818262 Jy
! Component: 100  -  total flux cleaned = 0.000886709 Jy
! Component: 150  -  total flux cleaned = 0.000933008 Jy
! Component: 200  -  total flux cleaned = 0.000951922 Jy
! Total flux subtracted in 200 components = 0.000951922 Jy
! Clean residual min=-0.009424 max=0.007416 Jy/beam
! Clean residual mean=-0.000170 rms=0.002760 Jy/beam
! Combined flux in latest and established models = 0.102707 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 51 components and 0.102707 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099189Jy  sigma=1.041782
! Fit after  self-cal, rms=0.098845Jy  sigma=1.039519
! 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.915 mas, bmaj=7.526 mas, bpa=-6.615 degrees
! Estimated noise=3.53766 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0799218 Jy
! Component: 100  -  total flux cleaned = 0.0946026 Jy
! Component: 150  -  total flux cleaned = 0.0964367 Jy
! Component: 200  -  total flux cleaned = 0.096598 Jy
! Total flux subtracted in 200 components = 0.096598 Jy
! Clean residual min=-0.010374 max=0.011284 Jy/beam
! Clean residual mean=-0.000041 rms=0.002974 Jy/beam
! Combined flux in latest and established models = 0.096598 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.096598 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.46 mas, bmaj=12.26 mas, bpa=-10.76 degrees
! Estimated noise=1.91849 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.00217731 Jy
! Component: 100  -  total flux cleaned = 0.00294649 Jy
! Component: 150  -  total flux cleaned = 0.00341912 Jy
! Component: 200  -  total flux cleaned = 0.00367344 Jy
! Total flux subtracted in 200 components = 0.00367344 Jy
! Clean residual min=-0.008423 max=0.007696 Jy/beam
! Clean residual mean=-0.000141 rms=0.002439 Jy/beam
! Combined flux in latest and established models = 0.100271 Jy
! Adding 6 model components to the UV plane model.
! The established model now contains 24 components and 0.100271 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.202 mas, bmaj=23 mas, bpa=11.79 degrees
! Estimated noise=2.14663 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.000770172 Jy
! Component: 100  -  total flux cleaned = 0.000852777 Jy
! Component: 150  -  total flux cleaned = 0.000965034 Jy
! Component: 200  -  total flux cleaned = 0.00110217 Jy
! Total flux subtracted in 200 components = 0.00110217 Jy
! Clean residual min=-0.009446 max=0.007531 Jy/beam
! Clean residual mean=-0.000183 rms=0.002790 Jy/beam
! Combined flux in latest and established models = 0.101374 Jy
! Adding 6 model components to the UV plane model.
! The established model now contains 29 components and 0.101374 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.46 mas, bmaj=12.26 mas, bpa=-10.76 degrees
! Estimated noise=1.91849 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000288792 Jy
! Component: 100  -  total flux cleaned = -8.77311e-05 Jy
! Component: 150  -  total flux cleaned = 3.58062e-05 Jy
! Component: 200  -  total flux cleaned = 0.000146387 Jy
! Total flux subtracted in 200 components = 0.000146387 Jy
! Clean residual min=-0.008075 max=0.007400 Jy/beam
! Clean residual mean=-0.000129 rms=0.002381 Jy/beam
! Combined flux in latest and established models = 0.10152 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 35 components and 0.10152 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.098907Jy  sigma=1.038819
! Fit after  self-cal, rms=0.098802Jy  sigma=1.038218
wmodel J2031-2615_S_2005_07_20_yyk\_map.mod
! Writing 35 model components to file: J2031-2615_S_2005_07_20_yyk_map.mod
wobs J2031-2615_S_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J2031-2615_S_2005_07_20_yyk_uvs.fits
wwins J2031-2615_S_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J2031-2615_S_2005_07_20_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.00216094 Jy
! Component: 100  -  total flux cleaned = -0.00410215 Jy
! Component: 150  -  total flux cleaned = -0.00585866 Jy
! Component: 200  -  total flux cleaned = -0.00676619 Jy
! Component: 250  -  total flux cleaned = -0.00733248 Jy
! Component: 300  -  total flux cleaned = -0.00751192 Jy
! Component: 350  -  total flux cleaned = -0.00768591 Jy
! Component: 400  -  total flux cleaned = -0.00768563 Jy
! Component: 450  -  total flux cleaned = -0.00784538 Jy
! Component: 500  -  total flux cleaned = -0.00800184 Jy
! Component: 550  -  total flux cleaned = -0.00852189 Jy
! Component: 600  -  total flux cleaned = -0.00880795 Jy
! Component: 650  -  total flux cleaned = -0.0090158 Jy
! Component: 700  -  total flux cleaned = -0.00935116 Jy
! Component: 750  -  total flux cleaned = -0.0094798 Jy
! Component: 800  -  total flux cleaned = -0.00935575 Jy
! Component: 850  -  total flux cleaned = -0.00929451 Jy
! Component: 900  -  total flux cleaned = -0.00929428 Jy
! Component: 950  -  total flux cleaned = -0.00929417 Jy
! Component: 1000  -  total flux cleaned = -0.00923721 Jy
! Component: 1050  -  total flux cleaned = -0.00929371 Jy
! Component: 1100  -  total flux cleaned = -0.00934895 Jy
! Component: 1150  -  total flux cleaned = -0.00924045 Jy
! Component: 1200  -  total flux cleaned = -0.00950566 Jy
! Component: 1250  -  total flux cleaned = -0.00966122 Jy
! Component: 1300  -  total flux cleaned = -0.00976347 Jy
! Component: 1350  -  total flux cleaned = -0.0097642 Jy
! Component: 1400  -  total flux cleaned = -0.0101127 Jy
! Component: 1450  -  total flux cleaned = -0.010357 Jy
! Component: 1500  -  total flux cleaned = -0.0106935 Jy
! Component: 1550  -  total flux cleaned = -0.010977 Jy
! Component: 1600  -  total flux cleaned = -0.0111633 Jy
! Component: 1650  -  total flux cleaned = -0.0113934 Jy
! Component: 1700  -  total flux cleaned = -0.0117099 Jy
! Component: 1750  -  total flux cleaned = -0.011976 Jy
! Component: 1800  -  total flux cleaned = -0.0121942 Jy
! Component: 1850  -  total flux cleaned = -0.0124528 Jy
! Component: 1900  -  total flux cleaned = -0.012538 Jy
! Component: 1950  -  total flux cleaned = -0.0129152 Jy
! Component: 2000  -  total flux cleaned = -0.0128323 Jy
! Total flux subtracted in 2048 components = -0.0129967 Jy
! Clean residual min=-0.002517 max=0.002318 Jy/beam
! Clean residual mean=-0.000027 rms=0.000854 Jy/beam
! Combined flux in latest and established models = 0.0885233 Jy
keep
! Adding 137 model components to the UV plane model.
! The established model now contains 172 components and 0.0885233 Jy
![Exited script file: muppet]
wmap "J2031-2615_S_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.46 x 12.26 at -10.76 degrees (North through East)
! Clean map  min=-0.0054422  max=0.092105 Jy/beam
! Writing clean map to FITS file: J2031-2615_S_2005_07_20_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0921046 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000818387 
device "J2031-2615_S_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J2031-2615_S_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.66562 2.66562 5.33124 10.6625 21.325 42.6499 85.2999
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0024 
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: 4.46 x 12.26 at -10.76 degrees (North through East)
! Clean map  min=-0.0054422  max=0.092105 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2031-2615_S_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J2031-2615_S_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2031-2615_S_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:59:34 2006