! Started logfile: J1856-2236_S_2005_06_01_yyk_uvs.log on Sat Oct  8 17:37:49 2005
obs J1856-2236_S_2005_06_01_yyk_uve.fits
! Reading UV FITS file: J1856-2236_S_2005_06_01_yyk_uve.fits
! AN table 1: 14 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.515873 visibilities/baseline/integration-bin.
! Found source: J1856-2236
! 
! 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 1802 lines of history.
! 
! Reading 1300 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 J1856-2236_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.141693 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=3.609 mas, bmaj=13.48 mas, bpa=-14.83 degrees
! Estimated noise=2.12565 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.0872964 Jy
! Component: 100  -  total flux cleaned = 0.115529 Jy
! Total flux subtracted in 100 components = 0.115529 Jy
! Clean residual min=-0.009500 max=0.010427 Jy/beam
! Clean residual mean=0.000077 rms=0.002886 Jy/beam
! Combined flux in latest and established models = 0.115528 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.115528 Jy
! 
! Correcting IF 1.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 58 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.088696Jy  sigma=1.166685
! Fit after  self-cal, rms=0.085099Jy  sigma=1.123989
! Inverting map and beam 
! Estimated beam: bmin=3.609 mas, bmaj=13.48 mas, bpa=-14.83 degrees
! Estimated noise=2.12565 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=5.119 mas, bmaj=16.61 mas, bpa=-9.635 degrees
! Estimated noise=1.23421 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.0156512 Jy
! Component: 100  -  total flux cleaned = 0.0213738 Jy
! Component: 150  -  total flux cleaned = 0.0239505 Jy
! Component: 200  -  total flux cleaned = 0.0244351 Jy
! Total flux subtracted in 200 components = 0.0244351 Jy
! Clean residual min=-0.004803 max=0.005226 Jy/beam
! Clean residual mean=-0.000085 rms=0.001533 Jy/beam
! Combined flux in latest and established models = 0.139964 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 67 components and 0.139964 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082687Jy  sigma=1.079618
! Fit after  self-cal, rms=0.082698Jy  sigma=1.079139
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.119 x 16.61 at -9.635 degrees (North through East)
! Clean map  min=-0.004751  max=0.081228 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.082698Jy  sigma=1.079139
! Fit after  self-cal, rms=0.082698Jy  sigma=1.079139
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.082698Jy  sigma=1.079139
! Fit after  self-cal, rms=0.082682Jy  sigma=1.078766
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.119 mas, bmaj=16.61 mas, bpa=-9.635 degrees
! Estimated noise=1.23421 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.000298866 Jy
! Component: 100  -  total flux cleaned = 0.000449797 Jy
! Component: 150  -  total flux cleaned = 0.000543894 Jy
! Component: 200  -  total flux cleaned = 0.000635299 Jy
! Total flux subtracted in 200 components = 0.000635299 Jy
! Clean residual min=-0.004740 max=0.005127 Jy/beam
! Clean residual mean=-0.000094 rms=0.001510 Jy/beam
! Combined flux in latest and established models = 0.140599 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 73 components and 0.140599 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082592Jy  sigma=1.077886
! Fit after  self-cal, rms=0.082586Jy  sigma=1.077554
! 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.082586Jy  sigma=1.077554
! Fit after  self-cal, rms=0.077871Jy  sigma=1.010592
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.00235814 Jy
! Component: 100  -  total flux cleaned = 0.00272167 Jy
! Component: 150  -  total flux cleaned = 0.00285177 Jy
! Component: 200  -  total flux cleaned = 0.00297348 Jy
! Total flux subtracted in 200 components = 0.00297348 Jy
! Clean residual min=-0.004480 max=0.005326 Jy/beam
! Clean residual mean=-0.000116 rms=0.001432 Jy/beam
! Combined flux in latest and established models = 0.143572 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 89 components and 0.143572 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077675Jy  sigma=1.009129
! Fit after  self-cal, rms=0.077222Jy  sigma=1.004461
! 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.119 x 16.61 at -9.635 degrees (North through East)
! Clean map  min=-0.0044558  max=0.080944 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=10.07 mas, bmaj=25.13 mas, bpa=13.2 degrees
! Estimated noise=1.33484 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.000909166 Jy
! Component: 100  -  total flux cleaned = 0.00101215 Jy
! Component: 150  -  total flux cleaned = 0.00107003 Jy
! Component: 200  -  total flux cleaned = 0.00114242 Jy
! Total flux subtracted in 200 components = 0.00114242 Jy
! Clean residual min=-0.004365 max=0.005283 Jy/beam
! Clean residual mean=-0.000182 rms=0.001629 Jy/beam
! Combined flux in latest and established models = 0.144715 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 99 components and 0.144715 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077182Jy  sigma=1.004320
! Fit after  self-cal, rms=0.077078Jy  sigma=1.003674
! 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.609 mas, bmaj=13.48 mas, bpa=-14.83 degrees
! Estimated noise=2.12565 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0927901 Jy
! Component: 100  -  total flux cleaned = 0.120135 Jy
! Component: 150  -  total flux cleaned = 0.133227 Jy
! Component: 200  -  total flux cleaned = 0.141231 Jy
! Total flux subtracted in 200 components = 0.141231 Jy
! Clean residual min=-0.006712 max=0.008366 Jy/beam
! Clean residual mean=-0.000012 rms=0.002171 Jy/beam
! Combined flux in latest and established models = 0.141231 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 37 model components to the UV plane model.
! The established model now contains 37 components and 0.141231 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.119 mas, bmaj=16.61 mas, bpa=-9.635 degrees
! Estimated noise=1.23421 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.00152549 Jy
! Component: 100  -  total flux cleaned = 0.00171688 Jy
! Component: 150  -  total flux cleaned = 0.00192988 Jy
! Component: 200  -  total flux cleaned = 0.00205138 Jy
! Total flux subtracted in 200 components = 0.00205138 Jy
! Clean residual min=-0.004667 max=0.005245 Jy/beam
! Clean residual mean=-0.000113 rms=0.001443 Jy/beam
! Combined flux in latest and established models = 0.143282 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 54 components and 0.143282 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=10.07 mas, bmaj=25.13 mas, bpa=13.2 degrees
! Estimated noise=1.33484 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.000686978 Jy
! Component: 100  -  total flux cleaned = 0.000821718 Jy
! Component: 150  -  total flux cleaned = 0.000981604 Jy
! Component: 200  -  total flux cleaned = 0.00108786 Jy
! Total flux subtracted in 200 components = 0.00108786 Jy
! Clean residual min=-0.004533 max=0.005319 Jy/beam
! Clean residual mean=-0.000176 rms=0.001628 Jy/beam
! Combined flux in latest and established models = 0.14437 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 65 components and 0.14437 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.119 mas, bmaj=16.61 mas, bpa=-9.635 degrees
! Estimated noise=1.23421 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000238606 Jy
! Component: 100  -  total flux cleaned = -0.000148862 Jy
! Component: 150  -  total flux cleaned = -0.00010899 Jy
! Component: 200  -  total flux cleaned = -3.53752e-05 Jy
! Total flux subtracted in 200 components = -3.53752e-05 Jy
! Clean residual min=-0.004467 max=0.005227 Jy/beam
! Clean residual mean=-0.000126 rms=0.001413 Jy/beam
! Combined flux in latest and established models = 0.144334 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 75 components and 0.144334 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077029Jy  sigma=1.003343
! Fit after  self-cal, rms=0.076973Jy  sigma=1.002964
wmodel J1856-2236_S_2005_06_01_yyk\_map.mod
! Writing 75 model components to file: J1856-2236_S_2005_06_01_yyk_map.mod
wobs J1856-2236_S_2005_06_01_yyk\_uvs.fits
! Writing UV FITS file: J1856-2236_S_2005_06_01_yyk_uvs.fits
wwins J1856-2236_S_2005_06_01_yyk\_map.win
! wwins: Wrote 1 windows to J1856-2236_S_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.00127965 Jy
! Component: 100  -  total flux cleaned = 0.00173978 Jy
! Component: 150  -  total flux cleaned = 0.00194028 Jy
! Component: 200  -  total flux cleaned = 0.00199742 Jy
! Component: 250  -  total flux cleaned = 0.00199564 Jy
! Component: 300  -  total flux cleaned = 0.00199328 Jy
! Component: 350  -  total flux cleaned = 0.00189601 Jy
! Component: 400  -  total flux cleaned = 0.00166504 Jy
! Component: 450  -  total flux cleaned = 0.00135825 Jy
! Component: 500  -  total flux cleaned = 0.00114815 Jy
! Component: 550  -  total flux cleaned = 0.000946359 Jy
! Component: 600  -  total flux cleaned = 0.000829504 Jy
! Component: 650  -  total flux cleaned = 0.000491463 Jy
! Component: 700  -  total flux cleaned = 5.52133e-05 Jy
! Component: 750  -  total flux cleaned = -0.000261783 Jy
! Component: 800  -  total flux cleaned = -0.000569808 Jy
! Component: 850  -  total flux cleaned = -0.000803564 Jy
! Component: 900  -  total flux cleaned = -0.000965454 Jy
! Component: 950  -  total flux cleaned = -0.00115463 Jy
! Component: 1000  -  total flux cleaned = -0.00136989 Jy
! Component: 1050  -  total flux cleaned = -0.00154981 Jy
! Component: 1100  -  total flux cleaned = -0.00172552 Jy
! Component: 1150  -  total flux cleaned = -0.00178335 Jy
! Component: 1200  -  total flux cleaned = -0.00183934 Jy
! Component: 1250  -  total flux cleaned = -0.00186717 Jy
! Component: 1300  -  total flux cleaned = -0.00200451 Jy
! Component: 1350  -  total flux cleaned = -0.00211279 Jy
! Component: 1400  -  total flux cleaned = -0.00227351 Jy
! Component: 1450  -  total flux cleaned = -0.00240579 Jy
! Component: 1500  -  total flux cleaned = -0.00256219 Jy
! Component: 1550  -  total flux cleaned = -0.00276809 Jy
! Component: 1600  -  total flux cleaned = -0.00289517 Jy
! Component: 1650  -  total flux cleaned = -0.00302087 Jy
! Component: 1700  -  total flux cleaned = -0.00321953 Jy
! Component: 1750  -  total flux cleaned = -0.00336684 Jy
! Component: 1800  -  total flux cleaned = -0.00353651 Jy
! Component: 1850  -  total flux cleaned = -0.00370411 Jy
! Component: 1900  -  total flux cleaned = -0.00384632 Jy
! Component: 1950  -  total flux cleaned = -0.00403404 Jy
! Component: 2000  -  total flux cleaned = -0.00419661 Jy
! Total flux subtracted in 2048 components = -0.0043348 Jy
! Clean residual min=-0.001349 max=0.001807 Jy/beam
! Clean residual mean=-0.000026 rms=0.000511 Jy/beam
! Combined flux in latest and established models = 0.14 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 217 components and 0.14 Jy
![Exited script file: muppet]
wmap "J1856-2236_S_2005_06_01_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.119 x 16.61 at -9.635 degrees (North through East)
! Clean map  min=-0.0033189  max=0.084029 Jy/beam
! Writing clean map to FITS file: J1856-2236_S_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.0840291 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000516525 
device "J1856-2236_S_2005_06_01_yyk\_map.eps/VPS"
! Attempting to open device: 'J1856-2236_S_2005_06_01_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.84409 1.84409 3.68819 7.37638 14.7528 29.5055 59.011
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.084 
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.119 x 16.61 at -9.635 degrees (North through East)
! Clean map  min=-0.0033189  max=0.084029 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1856-2236_S_2005_06_01_yyk\_map.gif/gif"
! Attempting to open device: 'J1856-2236_S_2005_06_01_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1856-2236_S_2005_06_01_yyk_uvs.log closed on Sat Oct  8 17:37:52 2005