! Started logfile: J1845-2200_X_2005_07_08_yyk_uvs.log on Fri Jan 20 10:53:09 2006
obs J1845-2200_X_2005_07_08_yyk_uve.fits
! Reading UV FITS file: J1845-2200_X_2005_07_08_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.814141 visibilities/baseline/integration-bin.
! Found source: J1845-2200
! 
! 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 1407 lines of history.
! 
! Reading 1612 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 J1845-2200_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.12254 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.6821 mas, bmaj=1.7 mas, bpa=1.215 degrees
! Estimated noise=1.72441 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.0672073 Jy
! Component: 100  -  total flux cleaned = 0.0878362 Jy
! Total flux subtracted in 100 components = 0.0878362 Jy
! Clean residual min=-0.009209 max=0.012128 Jy/beam
! Clean residual mean=-0.000007 rms=0.002536 Jy/beam
! Combined flux in latest and established models = 0.0878362 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 21 components and 0.0878362 Jy
! 
! Correcting IF 1.
!  A total of 27 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 27 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.089198Jy  sigma=1.275399
! Fit after  self-cal, rms=0.088309Jy  sigma=1.249253
! Inverting map and beam 
! Estimated beam: bmin=0.6821 mas, bmaj=1.7 mas, bpa=1.215 degrees
! Estimated noise=1.72441 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.9112 mas, bmaj=2.291 mas, bpa=-4.578 degrees
! Estimated noise=1.1482 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.0180052 Jy
! Component: 100  -  total flux cleaned = 0.0236225 Jy
! Component: 150  -  total flux cleaned = 0.0245933 Jy
! Component: 200  -  total flux cleaned = 0.0246703 Jy
! Total flux subtracted in 200 components = 0.0246703 Jy
! Clean residual min=-0.006083 max=0.005993 Jy/beam
! Clean residual mean=-0.000024 rms=0.001672 Jy/beam
! Combined flux in latest and established models = 0.112506 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 41 components and 0.112506 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.087474Jy  sigma=1.196089
! Fit after  self-cal, rms=0.087458Jy  sigma=1.195393
! 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.9112 x 2.291 at -4.578 degrees (North through East)
! Clean map  min=-0.0058511  max=0.088697 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.087458Jy  sigma=1.195393
! Fit after  self-cal, rms=0.087458Jy  sigma=1.195393
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.087458Jy  sigma=1.195393
! Fit after  self-cal, rms=0.087438Jy  sigma=1.194875
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9112 mas, bmaj=2.291 mas, bpa=-4.578 degrees
! Estimated noise=1.1482 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.000334412 Jy
! Component: 100  -  total flux cleaned = 0.000268894 Jy
! Component: 150  -  total flux cleaned = 0.000209329 Jy
! Component: 200  -  total flux cleaned = 0.000157912 Jy
! Total flux subtracted in 200 components = 0.000157912 Jy
! Clean residual min=-0.006002 max=0.006121 Jy/beam
! Clean residual mean=-0.000024 rms=0.001653 Jy/beam
! Combined flux in latest and established models = 0.112664 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 43 components and 0.112664 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.087347Jy  sigma=1.193416
! Fit after  self-cal, rms=0.087321Jy  sigma=1.192808
! 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.087321Jy  sigma=1.192808
! Fit after  self-cal, rms=0.080498Jy  sigma=1.097936
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.0031188 Jy
! Component: 100  -  total flux cleaned = 0.00278252 Jy
! Component: 150  -  total flux cleaned = 0.00253842 Jy
! Component: 200  -  total flux cleaned = 0.00244617 Jy
! Total flux subtracted in 200 components = 0.00244617 Jy
! Clean residual min=-0.005311 max=0.005241 Jy/beam
! Clean residual mean=-0.000021 rms=0.001504 Jy/beam
! Combined flux in latest and established models = 0.115111 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 46 components and 0.115111 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.080494Jy  sigma=1.093350
! Fit after  self-cal, rms=0.079393Jy  sigma=1.082460
! 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.9112 x 2.291 at -4.578 degrees (North through East)
! Clean map  min=-0.0048289  max=0.094928 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.564 mas, bmaj=5.67 mas, bpa=4.493 degrees
! Estimated noise=1.42214 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.000991673 Jy
! Component: 100  -  total flux cleaned = 0.00111159 Jy
! Component: 150  -  total flux cleaned = 0.00117896 Jy
! Component: 200  -  total flux cleaned = 0.001238 Jy
! Total flux subtracted in 200 components = 0.001238 Jy
! Clean residual min=-0.005716 max=0.005490 Jy/beam
! Clean residual mean=-0.000038 rms=0.001829 Jy/beam
! Combined flux in latest and established models = 0.116349 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.116349 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079444Jy  sigma=1.082429
! Fit after  self-cal, rms=0.079153Jy  sigma=1.080093
! 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=0.6821 mas, bmaj=1.7 mas, bpa=1.215 degrees
! Estimated noise=1.72441 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0745882 Jy
! Component: 100  -  total flux cleaned = 0.0943383 Jy
! Component: 150  -  total flux cleaned = 0.103362 Jy
! Component: 200  -  total flux cleaned = 0.10801 Jy
! Total flux subtracted in 200 components = 0.10801 Jy
! Clean residual min=-0.008844 max=0.008432 Jy/beam
! Clean residual mean=-0.000003 rms=0.001936 Jy/beam
! Combined flux in latest and established models = 0.10801 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 29 model components to the UV plane model.
! The established model now contains 29 components and 0.10801 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9112 mas, bmaj=2.291 mas, bpa=-4.578 degrees
! Estimated noise=1.1482 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.00627336 Jy
! Component: 100  -  total flux cleaned = 0.0068059 Jy
! Component: 150  -  total flux cleaned = 0.00711314 Jy
! Component: 200  -  total flux cleaned = 0.00729622 Jy
! Total flux subtracted in 200 components = 0.00729622 Jy
! Clean residual min=-0.005005 max=0.005436 Jy/beam
! Clean residual mean=-0.000019 rms=0.001496 Jy/beam
! Combined flux in latest and established models = 0.115306 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 40 components and 0.115306 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.564 mas, bmaj=5.67 mas, bpa=4.493 degrees
! Estimated noise=1.42214 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.00111543 Jy
! Component: 100  -  total flux cleaned = 0.00122098 Jy
! Component: 150  -  total flux cleaned = 0.00134554 Jy
! Component: 200  -  total flux cleaned = 0.00144335 Jy
! Total flux subtracted in 200 components = 0.00144335 Jy
! Clean residual min=-0.005608 max=0.005455 Jy/beam
! Clean residual mean=-0.000035 rms=0.001819 Jy/beam
! Combined flux in latest and established models = 0.11675 Jy
! Adding 5 model components to the UV plane model.
! The established model now contains 43 components and 0.11675 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9112 mas, bmaj=2.291 mas, bpa=-4.578 degrees
! Estimated noise=1.1482 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000817702 Jy
! Component: 100  -  total flux cleaned = -0.0007028 Jy
! Component: 150  -  total flux cleaned = -0.00067879 Jy
! Component: 200  -  total flux cleaned = -0.000698796 Jy
! Total flux subtracted in 200 components = -0.000698796 Jy
! Clean residual min=-0.004952 max=0.005346 Jy/beam
! Clean residual mean=-0.000017 rms=0.001477 Jy/beam
! Combined flux in latest and established models = 0.116051 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 49 components and 0.116051 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.079087Jy  sigma=1.078712
! Fit after  self-cal, rms=0.078966Jy  sigma=1.077871
wmodel J1845-2200_X_2005_07_08_yyk\_map.mod
! Writing 49 model components to file: J1845-2200_X_2005_07_08_yyk_map.mod
wobs J1845-2200_X_2005_07_08_yyk\_uvs.fits
! Writing UV FITS file: J1845-2200_X_2005_07_08_yyk_uvs.fits
wwins J1845-2200_X_2005_07_08_yyk\_map.win
! wwins: Wrote 1 windows to J1845-2200_X_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.00145619 Jy
! Component: 100  -  total flux cleaned = 0.00163248 Jy
! Component: 150  -  total flux cleaned = 0.00205564 Jy
! Component: 200  -  total flux cleaned = 0.00246063 Jy
! Component: 250  -  total flux cleaned = 0.0026948 Jy
! Component: 300  -  total flux cleaned = 0.00284613 Jy
! Component: 350  -  total flux cleaned = 0.00313954 Jy
! Component: 400  -  total flux cleaned = 0.00328098 Jy
! Component: 450  -  total flux cleaned = 0.00335083 Jy
! Component: 500  -  total flux cleaned = 0.00335106 Jy
! Component: 550  -  total flux cleaned = 0.0034843 Jy
! Component: 600  -  total flux cleaned = 0.00367891 Jy
! Component: 650  -  total flux cleaned = 0.00386678 Jy
! Component: 700  -  total flux cleaned = 0.00398948 Jy
! Component: 750  -  total flux cleaned = 0.0038674 Jy
! Component: 800  -  total flux cleaned = 0.00380872 Jy
! Component: 850  -  total flux cleaned = 0.0036925 Jy
! Component: 900  -  total flux cleaned = 0.0035773 Jy
! Component: 950  -  total flux cleaned = 0.0035206 Jy
! Component: 1000  -  total flux cleaned = 0.00324663 Jy
! Component: 1050  -  total flux cleaned = 0.00346374 Jy
! Component: 1100  -  total flux cleaned = 0.00330459 Jy
! Component: 1150  -  total flux cleaned = 0.0034622 Jy
! Component: 1200  -  total flux cleaned = 0.00356529 Jy
! Component: 1250  -  total flux cleaned = 0.00356366 Jy
! Component: 1300  -  total flux cleaned = 0.00346433 Jy
! Component: 1350  -  total flux cleaned = 0.00351411 Jy
! Component: 1400  -  total flux cleaned = 0.00341881 Jy
! Component: 1450  -  total flux cleaned = 0.0033726 Jy
! Component: 1500  -  total flux cleaned = 0.00332696 Jy
! Component: 1550  -  total flux cleaned = 0.00328155 Jy
! Component: 1600  -  total flux cleaned = 0.00319044 Jy
! Component: 1650  -  total flux cleaned = 0.00319111 Jy
! Component: 1700  -  total flux cleaned = 0.00323603 Jy
! Component: 1750  -  total flux cleaned = 0.00327923 Jy
! Component: 1800  -  total flux cleaned = 0.00332163 Jy
! Component: 1850  -  total flux cleaned = 0.00306625 Jy
! Component: 1900  -  total flux cleaned = 0.00323458 Jy
! Component: 1950  -  total flux cleaned = 0.00323446 Jy
! Component: 2000  -  total flux cleaned = 0.00323397 Jy
! Total flux subtracted in 2048 components = 0.00319286 Jy
! Clean residual min=-0.002106 max=0.002033 Jy/beam
! Clean residual mean=-0.000010 rms=0.000779 Jy/beam
! Combined flux in latest and established models = 0.119244 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 190 components and 0.119244 Jy
![Exited script file: muppet]
wmap "J1845-2200_X_2005_07_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9112 x 2.291 at -4.578 degrees (North through East)
! Clean map  min=-0.0045414  max=0.092874 Jy/beam
! Writing clean map to FITS file: J1845-2200_X_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.092874 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000778262 
device "J1845-2200_X_2005_07_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1845-2200_X_2005_07_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.51393 2.51393 5.02785 10.0557 20.1114 40.2228 80.4457
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
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.9112 x 2.291 at -4.578 degrees (North through East)
! Clean map  min=-0.0045414  max=0.092874 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1845-2200_X_2005_07_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1845-2200_X_2005_07_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1845-2200_X_2005_07_08_yyk_uvs.log closed on Fri Jan 20 10:53:13 2006