! Started logfile: J1556+1825_S_2005_07_20_yyk_uvs.log on Fri Jan 20 10:40:56 2006
obs J1556+1825_S_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J1556+1825_S_2005_07_20_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.688889 visibilities/baseline/integration-bin.
! Found source: J1556+1825
! 
! 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 1527 lines of history.
! 
! Reading 1240 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 J1556+1825_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.10792 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.99 mas, bmaj=10.5 mas, bpa=-18.58 degrees
! Estimated noise=1.79608 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.051365 Jy
! Component: 100  -  total flux cleaned = 0.0642098 Jy
! Total flux subtracted in 100 components = 0.0642098 Jy
! Clean residual min=-0.010309 max=0.011637 Jy/beam
! Clean residual mean=-0.000075 rms=0.002902 Jy/beam
! Combined flux in latest and established models = 0.0642098 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.0642098 Jy
! 
! Correcting IF 1.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 18 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.088520Jy  sigma=1.409420
! Fit after  self-cal, rms=0.082663Jy  sigma=1.268210
! Inverting map and beam 
! Estimated beam: bmin=2.992 mas, bmaj=10.51 mas, bpa=-18.59 degrees
! Estimated noise=1.79863 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=3.592 mas, bmaj=11 mas, bpa=-18.72 degrees
! Estimated noise=1.16042 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.016751 Jy
! Component: 100  -  total flux cleaned = 0.0226486 Jy
! Component: 150  -  total flux cleaned = 0.02426 Jy
! Component: 200  -  total flux cleaned = 0.0250723 Jy
! Total flux subtracted in 200 components = 0.0250723 Jy
! Clean residual min=-0.004513 max=0.005190 Jy/beam
! Clean residual mean=-0.000006 rms=0.001352 Jy/beam
! Combined flux in latest and established models = 0.089282 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 56 components and 0.089282 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081143Jy  sigma=1.213564
! Fit after  self-cal, rms=0.081101Jy  sigma=1.213353
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.592 x 11 at -18.72 degrees (North through East)
! Clean map  min=-0.0043744  max=0.072485 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.00068
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.87     FD        0.98     HN        0.93     KP        0.96     
!   LA        0.96     MK        1.14     NL        1.02     OV        1.00     
!   PT        1.14     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.081101Jy  sigma=1.213353
! Fit after  self-cal, rms=0.081176Jy  sigma=1.210757
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.081176Jy  sigma=1.210757
! Fit after  self-cal, rms=0.081175Jy  sigma=1.210710
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.675 mas, bmaj=10.72 mas, bpa=-18.7 degrees
! Estimated noise=1.16499 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.00158707 Jy
! Component: 100  -  total flux cleaned = 0.00204593 Jy
! Component: 150  -  total flux cleaned = 0.0023504 Jy
! Component: 200  -  total flux cleaned = 0.00259484 Jy
! Total flux subtracted in 200 components = 0.00259484 Jy
! Clean residual min=-0.004232 max=0.004925 Jy/beam
! Clean residual mean=-0.000003 rms=0.001345 Jy/beam
! Combined flux in latest and established models = 0.0918769 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 67 components and 0.0918769 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081178Jy  sigma=1.208998
! Fit after  self-cal, rms=0.081155Jy  sigma=1.208912
! 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.081155Jy  sigma=1.208912
! Fit after  self-cal, rms=0.067233Jy  sigma=1.027208
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.00687712 Jy
! Component: 100  -  total flux cleaned = 0.00821708 Jy
! Component: 150  -  total flux cleaned = 0.00859421 Jy
! Component: 200  -  total flux cleaned = 0.00863506 Jy
! Total flux subtracted in 200 components = 0.00863506 Jy
! Clean residual min=-0.004250 max=0.004634 Jy/beam
! Clean residual mean=0.000001 rms=0.001203 Jy/beam
! Combined flux in latest and established models = 0.100512 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 91 components and 0.100512 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066459Jy  sigma=1.016105
! Fit after  self-cal, rms=0.065055Jy  sigma=1.004551
! 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: 3.675 x 10.72 at -18.7 degrees (North through East)
! Clean map  min=-0.0044464  max=0.08024 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=8.331 mas, bmaj=11.36 mas, bpa=-10.6 degrees
! Estimated noise=1.37964 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.000656846 Jy
! Component: 100  -  total flux cleaned = 0.000572281 Jy
! Component: 150  -  total flux cleaned = 0.000449219 Jy
! Component: 200  -  total flux cleaned = 0.000397494 Jy
! Total flux subtracted in 200 components = 0.000397494 Jy
! Clean residual min=-0.004880 max=0.003873 Jy/beam
! Clean residual mean=0.000002 rms=0.001345 Jy/beam
! Combined flux in latest and established models = 0.100909 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 103 components and 0.100909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.065015Jy  sigma=1.004603
! Fit after  self-cal, rms=0.064794Jy  sigma=1.002971
! 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=3.018 mas, bmaj=10.41 mas, bpa=-18.63 degrees
! Estimated noise=1.80236 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0711222 Jy
! Component: 100  -  total flux cleaned = 0.0862153 Jy
! Component: 150  -  total flux cleaned = 0.0934726 Jy
! Component: 200  -  total flux cleaned = 0.096564 Jy
! Total flux subtracted in 200 components = 0.096564 Jy
! Clean residual min=-0.005422 max=0.005753 Jy/beam
! Clean residual mean=-0.000006 rms=0.001599 Jy/beam
! Combined flux in latest and established models = 0.096564 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 33 model components to the UV plane model.
! The established model now contains 33 components and 0.096564 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.675 mas, bmaj=10.72 mas, bpa=-18.7 degrees
! Estimated noise=1.16499 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.00265631 Jy
! Component: 100  -  total flux cleaned = 0.00299495 Jy
! Component: 150  -  total flux cleaned = 0.00327383 Jy
! Component: 200  -  total flux cleaned = 0.00350569 Jy
! Total flux subtracted in 200 components = 0.00350569 Jy
! Clean residual min=-0.004383 max=0.004701 Jy/beam
! Clean residual mean=0.000003 rms=0.001225 Jy/beam
! Combined flux in latest and established models = 0.10007 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 55 components and 0.10007 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=8.331 mas, bmaj=11.36 mas, bpa=-10.6 degrees
! Estimated noise=1.37964 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.00116825 Jy
! Component: 100  -  total flux cleaned = 0.00106594 Jy
! Component: 150  -  total flux cleaned = 0.000954386 Jy
! Component: 200  -  total flux cleaned = 0.000860741 Jy
! Total flux subtracted in 200 components = 0.000860741 Jy
! Clean residual min=-0.004920 max=0.003841 Jy/beam
! Clean residual mean=0.000003 rms=0.001349 Jy/beam
! Combined flux in latest and established models = 0.10093 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 70 components and 0.10093 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.675 mas, bmaj=10.72 mas, bpa=-18.7 degrees
! Estimated noise=1.16499 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000333826 Jy
! Component: 100  -  total flux cleaned = -0.000342231 Jy
! Component: 150  -  total flux cleaned = -0.000268767 Jy
! Component: 200  -  total flux cleaned = -0.000234764 Jy
! Total flux subtracted in 200 components = -0.000234764 Jy
! Clean residual min=-0.004374 max=0.004672 Jy/beam
! Clean residual mean=0.000002 rms=0.001202 Jy/beam
! Combined flux in latest and established models = 0.100696 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 89 components and 0.100696 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064672Jy  sigma=1.002522
! Fit after  self-cal, rms=0.064641Jy  sigma=1.002105
wmodel J1556+1825_S_2005_07_20_yyk\_map.mod
! Writing 89 model components to file: J1556+1825_S_2005_07_20_yyk_map.mod
wobs J1556+1825_S_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J1556+1825_S_2005_07_20_yyk_uvs.fits
wwins J1556+1825_S_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J1556+1825_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 = -2.32159e-06 Jy
! Component: 100  -  total flux cleaned = -0.0010475 Jy
! Component: 150  -  total flux cleaned = -0.00144174 Jy
! Component: 200  -  total flux cleaned = -0.00193894 Jy
! Component: 250  -  total flux cleaned = -0.00223287 Jy
! Component: 300  -  total flux cleaned = -0.00251504 Jy
! Component: 350  -  total flux cleaned = -0.00273068 Jy
! Component: 400  -  total flux cleaned = -0.00299147 Jy
! Component: 450  -  total flux cleaned = -0.00319444 Jy
! Component: 500  -  total flux cleaned = -0.00334124 Jy
! Component: 550  -  total flux cleaned = -0.00348357 Jy
! Component: 600  -  total flux cleaned = -0.00366835 Jy
! Component: 650  -  total flux cleaned = -0.00398292 Jy
! Component: 700  -  total flux cleaned = -0.00437663 Jy
! Component: 750  -  total flux cleaned = -0.00458924 Jy
! Component: 800  -  total flux cleaned = -0.00479842 Jy
! Component: 850  -  total flux cleaned = -0.0050046 Jy
! Component: 900  -  total flux cleaned = -0.00536804 Jy
! Component: 950  -  total flux cleaned = -0.00556585 Jy
! Component: 1000  -  total flux cleaned = -0.00595435 Jy
! Component: 1050  -  total flux cleaned = -0.0061068 Jy
! Component: 1100  -  total flux cleaned = -0.00625694 Jy
! Component: 1150  -  total flux cleaned = -0.00655209 Jy
! Component: 1200  -  total flux cleaned = -0.00666086 Jy
! Component: 1250  -  total flux cleaned = -0.00687532 Jy
! Component: 1300  -  total flux cleaned = -0.00701646 Jy
! Component: 1350  -  total flux cleaned = -0.00726025 Jy
! Component: 1400  -  total flux cleaned = -0.00743182 Jy
! Component: 1450  -  total flux cleaned = -0.00753403 Jy
! Component: 1500  -  total flux cleaned = -0.00783587 Jy
! Component: 1550  -  total flux cleaned = -0.0080351 Jy
! Component: 1600  -  total flux cleaned = -0.00810085 Jy
! Component: 1650  -  total flux cleaned = -0.00832768 Jy
! Component: 1700  -  total flux cleaned = -0.00848776 Jy
! Component: 1750  -  total flux cleaned = -0.00864601 Jy
! Component: 1800  -  total flux cleaned = -0.00883384 Jy
! Component: 1850  -  total flux cleaned = -0.00902008 Jy
! Component: 1900  -  total flux cleaned = -0.00920414 Jy
! Component: 1950  -  total flux cleaned = -0.00932565 Jy
! Component: 2000  -  total flux cleaned = -0.00962697 Jy
! Total flux subtracted in 2048 components = -0.00977622 Jy
! Clean residual min=-0.002674 max=0.001632 Jy/beam
! Clean residual mean=-0.000005 rms=0.000656 Jy/beam
! Combined flux in latest and established models = 0.0909194 Jy
keep
! Adding 144 model components to the UV plane model.
! The established model now contains 233 components and 0.0909194 Jy
![Exited script file: muppet]
wmap "J1556+1825_S_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.675 x 10.72 at -18.7 degrees (North through East)
! Clean map  min=-0.0035802  max=0.081802 Jy/beam
! Writing clean map to FITS file: J1556+1825_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.0818023 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000657358 
device "J1556+1825_S_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J1556+1825_S_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.41078 2.41078 4.82156 9.64312 19.2862 38.5725 77.145
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.081 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.675 x 10.72 at -18.7 degrees (North through East)
! Clean map  min=-0.0035802  max=0.081802 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1556+1825_S_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J1556+1825_S_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1556+1825_S_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:41:00 2006