! Started logfile: J2208+1808_S_2005_07_20_yyk_uvs.log on Fri Jan 20 11:05:43 2006
obs J2208+1808_S_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J2208+1808_S_2005_07_20_yyk_uve.fits
! AN table 1: 9 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.780247 visibilities/baseline/integration-bin.
! Found source: J2208+1808
! 
! 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 1526 lines of history.
! 
! Reading 1264 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 J2208+1808_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.108861 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.801 mas, bmaj=6.502 mas, bpa=-6.7 degrees
! Estimated noise=1.25572 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.0730265 Jy
! Component: 100  -  total flux cleaned = 0.0895733 Jy
! Total flux subtracted in 100 components = 0.0895733 Jy
! Clean residual min=-0.006803 max=0.007754 Jy/beam
! Clean residual mean=0.000015 rms=0.002244 Jy/beam
! Combined flux in latest and established models = 0.0895733 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 18 components and 0.0895733 Jy
! 
! Correcting IF 1.
!  A total of 11 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 11 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 10 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.062694Jy  sigma=1.153183
! Fit after  self-cal, rms=0.058087Jy  sigma=1.079780
! Inverting map and beam 
! Estimated beam: bmin=2.801 mas, bmaj=6.502 mas, bpa=-6.7 degrees
! Estimated noise=1.25572 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.299 mas, bmaj=7.374 mas, bpa=-8.545 degrees
! Estimated noise=0.96861 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.0120441 Jy
! Component: 100  -  total flux cleaned = 0.0165124 Jy
! Component: 150  -  total flux cleaned = 0.0177517 Jy
! Component: 200  -  total flux cleaned = 0.0183597 Jy
! Total flux subtracted in 200 components = 0.0183597 Jy
! Clean residual min=-0.003703 max=0.003294 Jy/beam
! Clean residual mean=-0.000014 rms=0.001017 Jy/beam
! Combined flux in latest and established models = 0.107933 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 48 components and 0.107933 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056428Jy  sigma=1.040791
! Fit after  self-cal, rms=0.056420Jy  sigma=1.040738
! 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.299 x 7.374 at -8.545 degrees (North through East)
! Clean map  min=-0.0035358  max=0.091827 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.01981
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.11     FD        1.00     HN        1.01     KP        0.97     
!   LA        0.90     MK        0.93     NL        1.02     OV        1.00     
!   PT        0.99     SC        0.88     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.0749
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.00     HN        0.92     KP        0.94     
!   LA        0.84     MK        0.97     NL        0.98     OV        0.91     
!   PT        0.92     SC        0.89     
! 
! 
! Fit before self-cal, rms=0.056420Jy  sigma=1.040738
! Fit after  self-cal, rms=0.056774Jy  sigma=1.039096
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.056774Jy  sigma=1.039096
! Fit after  self-cal, rms=0.056771Jy  sigma=1.039026
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.255 mas, bmaj=7.322 mas, bpa=-7.929 degrees
! Estimated noise=0.979136 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.00147669 Jy
! Component: 100  -  total flux cleaned = 0.00147521 Jy
! Component: 150  -  total flux cleaned = 0.0014778 Jy
! Component: 200  -  total flux cleaned = 0.00151627 Jy
! Total flux subtracted in 200 components = 0.00151627 Jy
! Clean residual min=-0.003709 max=0.003355 Jy/beam
! Clean residual mean=-0.000016 rms=0.001015 Jy/beam
! Combined flux in latest and established models = 0.109449 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 61 components and 0.109449 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056677Jy  sigma=1.037378
! Fit after  self-cal, rms=0.056673Jy  sigma=1.037316
! 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.056673Jy  sigma=1.037316
! Fit after  self-cal, rms=0.054183Jy  sigma=0.994084
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.000953598 Jy
! Component: 100  -  total flux cleaned = 0.00104771 Jy
! Component: 150  -  total flux cleaned = 0.00102381 Jy
! Component: 200  -  total flux cleaned = 0.000979413 Jy
! Total flux subtracted in 200 components = 0.000979413 Jy
! Clean residual min=-0.003457 max=0.003238 Jy/beam
! Clean residual mean=-0.000016 rms=0.000986 Jy/beam
! Combined flux in latest and established models = 0.110429 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 67 components and 0.110429 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054150Jy  sigma=0.993358
! Fit after  self-cal, rms=0.054055Jy  sigma=0.990537
! 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.255 x 7.322 at -7.929 degrees (North through East)
! Clean map  min=-0.0032629  max=0.094118 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=7.536 mas, bmaj=10.29 mas, bpa=-4.605 degrees
! Estimated noise=1.24786 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.000410239 Jy
! Component: 100  -  total flux cleaned = -0.00054492 Jy
! Component: 150  -  total flux cleaned = -0.000619756 Jy
! Component: 200  -  total flux cleaned = -0.000654412 Jy
! Total flux subtracted in 200 components = -0.000654412 Jy
! Clean residual min=-0.003394 max=0.002933 Jy/beam
! Clean residual mean=-0.000034 rms=0.001080 Jy/beam
! Combined flux in latest and established models = 0.109774 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 74 components and 0.109774 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054057Jy  sigma=0.990661
! Fit after  self-cal, rms=0.054065Jy  sigma=0.990406
! 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.78 mas, bmaj=6.479 mas, bpa=-6.311 degrees
! Estimated noise=1.26597 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0792197 Jy
! Component: 100  -  total flux cleaned = 0.0968621 Jy
! Component: 150  -  total flux cleaned = 0.104772 Jy
! Component: 200  -  total flux cleaned = 0.108724 Jy
! Total flux subtracted in 200 components = 0.108724 Jy
! Clean residual min=-0.004999 max=0.004954 Jy/beam
! Clean residual mean=-0.000009 rms=0.001349 Jy/beam
! Combined flux in latest and established models = 0.108723 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 25 model components to the UV plane model.
! The established model now contains 25 components and 0.108723 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.255 mas, bmaj=7.322 mas, bpa=-7.929 degrees
! Estimated noise=0.979136 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.00123647 Jy
! Component: 100  -  total flux cleaned = 0.00152635 Jy
! Component: 150  -  total flux cleaned = 0.00157177 Jy
! Component: 200  -  total flux cleaned = 0.00164433 Jy
! Total flux subtracted in 200 components = 0.00164433 Jy
! Clean residual min=-0.003468 max=0.003179 Jy/beam
! Clean residual mean=-0.000016 rms=0.000988 Jy/beam
! Combined flux in latest and established models = 0.110368 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 46 components and 0.110368 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=7.536 mas, bmaj=10.29 mas, bpa=-4.605 degrees
! Estimated noise=1.24786 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.000309243 Jy
! Component: 100  -  total flux cleaned = -0.000462384 Jy
! Component: 150  -  total flux cleaned = -0.000526477 Jy
! Component: 200  -  total flux cleaned = -0.000566662 Jy
! Total flux subtracted in 200 components = -0.000566662 Jy
! Clean residual min=-0.003420 max=0.003001 Jy/beam
! Clean residual mean=-0.000034 rms=0.001082 Jy/beam
! Combined flux in latest and established models = 0.109801 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 51 components and 0.109801 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.255 mas, bmaj=7.322 mas, bpa=-7.929 degrees
! Estimated noise=0.979136 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000521861 Jy
! Component: 100  -  total flux cleaned = 0.000608797 Jy
! Component: 150  -  total flux cleaned = 0.000628783 Jy
! Component: 200  -  total flux cleaned = 0.000628453 Jy
! Total flux subtracted in 200 components = 0.000628453 Jy
! Clean residual min=-0.003496 max=0.003183 Jy/beam
! Clean residual mean=-0.000016 rms=0.000981 Jy/beam
! Combined flux in latest and established models = 0.11043 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 63 components and 0.11043 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054080Jy  sigma=0.990517
! Fit after  self-cal, rms=0.054090Jy  sigma=0.990467
wmodel J2208+1808_S_2005_07_20_yyk\_map.mod
! Writing 63 model components to file: J2208+1808_S_2005_07_20_yyk_map.mod
wobs J2208+1808_S_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J2208+1808_S_2005_07_20_yyk_uvs.fits
wwins J2208+1808_S_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J2208+1808_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.00148655 Jy
! Component: 100  -  total flux cleaned = -0.00238544 Jy
! Component: 150  -  total flux cleaned = -0.00341101 Jy
! Component: 200  -  total flux cleaned = -0.0040126 Jy
! Component: 250  -  total flux cleaned = -0.00448728 Jy
! Component: 300  -  total flux cleaned = -0.00474025 Jy
! Component: 350  -  total flux cleaned = -0.00493497 Jy
! Component: 400  -  total flux cleaned = -0.00493373 Jy
! Component: 450  -  total flux cleaned = -0.00525913 Jy
! Component: 500  -  total flux cleaned = -0.00530345 Jy
! Component: 550  -  total flux cleaned = -0.00534722 Jy
! Component: 600  -  total flux cleaned = -0.00552114 Jy
! Component: 650  -  total flux cleaned = -0.00569145 Jy
! Component: 700  -  total flux cleaned = -0.00577448 Jy
! Component: 750  -  total flux cleaned = -0.00593937 Jy
! Component: 800  -  total flux cleaned = -0.00610045 Jy
! Component: 850  -  total flux cleaned = -0.00625858 Jy
! Component: 900  -  total flux cleaned = -0.00633589 Jy
! Component: 950  -  total flux cleaned = -0.00641332 Jy
! Component: 1000  -  total flux cleaned = -0.0064888 Jy
! Component: 1050  -  total flux cleaned = -0.00648911 Jy
! Component: 1100  -  total flux cleaned = -0.0065262 Jy
! Component: 1150  -  total flux cleaned = -0.00659859 Jy
! Component: 1200  -  total flux cleaned = -0.0065983 Jy
! Component: 1250  -  total flux cleaned = -0.00652806 Jy
! Component: 1300  -  total flux cleaned = -0.0063555 Jy
! Component: 1350  -  total flux cleaned = -0.0063554 Jy
! Component: 1400  -  total flux cleaned = -0.0062206 Jy
! Component: 1450  -  total flux cleaned = -0.00625323 Jy
! Component: 1500  -  total flux cleaned = -0.00615477 Jy
! Component: 1550  -  total flux cleaned = -0.00608992 Jy
! Component: 1600  -  total flux cleaned = -0.00605827 Jy
! Component: 1650  -  total flux cleaned = -0.00605808 Jy
! Component: 1700  -  total flux cleaned = -0.00608972 Jy
! Component: 1750  -  total flux cleaned = -0.0060593 Jy
! Component: 1800  -  total flux cleaned = -0.00605917 Jy
! Component: 1850  -  total flux cleaned = -0.00611936 Jy
! Component: 1900  -  total flux cleaned = -0.00605916 Jy
! Component: 1950  -  total flux cleaned = -0.00597075 Jy
! Component: 2000  -  total flux cleaned = -0.0058824 Jy
! Total flux subtracted in 2048 components = -0.00570913 Jy
! Clean residual min=-0.001845 max=0.001709 Jy/beam
! Clean residual mean=-0.000009 rms=0.000581 Jy/beam
! Combined flux in latest and established models = 0.104721 Jy
keep
! Adding 133 model components to the UV plane model.
! The established model now contains 196 components and 0.104721 Jy
![Exited script file: muppet]
wmap "J2208+1808_S_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.255 x 7.322 at -7.929 degrees (North through East)
! Clean map  min=-0.0032733  max=0.094596 Jy/beam
! Writing clean map to FITS file: J2208+1808_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.0945958 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000584462 
device "J2208+1808_S_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J2208+1808_S_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.85356 1.85356 3.70711 7.41422 14.8284 29.6569 59.3138
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.094 
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.255 x 7.322 at -7.929 degrees (North through East)
! Clean map  min=-0.0032733  max=0.094596 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2208+1808_S_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J2208+1808_S_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2208+1808_S_2005_07_20_yyk_uvs.log closed on Fri Jan 20 11:05:46 2006