! Started logfile: J0836+2139_S_2006_12_18_yyk_uvs.log on Wed Apr  9 20:21:30 2008
obs J0836+2139_S_2006_12_18_yyk_uve.fits
! Reading UV FITS file: J0836+2139_S_2006_12_18_yyk_uve.fits
! AN table 1: 19 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.783626 visibilities/baseline/integration-bin.
! Found source: J0836+2139
! 
! 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 2469 lines of history.
! 
! Reading 2680 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 J0836+2139_S_2006_12_18_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.113125 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.861 mas, bmaj=6.229 mas, bpa=-1.735 degrees
! Estimated noise=1.23774 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.0807153 Jy
! Component: 100  -  total flux cleaned = 0.096494 Jy
! Total flux subtracted in 100 components = 0.096494 Jy
! Clean residual min=-0.005330 max=0.004791 Jy/beam
! Clean residual mean=0.000024 rms=0.001424 Jy/beam
! Combined flux in latest and established models = 0.096494 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.096494 Jy
! 
! Correcting IF 1.
!  A total of 36 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 31 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 27 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.061341Jy  sigma=1.022474
! Fit after  self-cal, rms=0.061153Jy  sigma=1.018427
! Inverting map and beam 
! Estimated beam: bmin=2.861 mas, bmaj=6.229 mas, bpa=-1.735 degrees
! Estimated noise=1.23774 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.701 mas, bmaj=7.491 mas, bpa=-0.6315 degrees
! Estimated noise=0.739911 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.00754756 Jy
! Component: 100  -  total flux cleaned = 0.0101181 Jy
! Component: 150  -  total flux cleaned = 0.0106908 Jy
! Component: 200  -  total flux cleaned = 0.0107243 Jy
! Total flux subtracted in 200 components = 0.0107243 Jy
! Clean residual min=-0.003533 max=0.003592 Jy/beam
! Clean residual mean=0.000014 rms=0.000879 Jy/beam
! Combined flux in latest and established models = 0.107218 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 44 components and 0.107218 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060579Jy  sigma=1.005825
! Fit after  self-cal, rms=0.060575Jy  sigma=1.005667
! 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.701 x 7.491 at -0.6315 degrees (North through East)
! Clean map  min=-0.0034318  max=0.095391 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.02398
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.00*    HN        0.94     KP        0.90     
!   LA        1.09     MK        1.04     NL        0.98     OV        0.96     
!   PT        0.97     SC        0.90     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.993853
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.92     HN        0.99     KP        0.98     
!   LA        1.04     MK        1.03     NL        1.04     OV        1.06     
!   PT        1.01     SC        1.00     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.973433
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.01     HN        0.99     KP        0.98     
!   LA        0.97     MK        1.03     NL        1.11     OV        1.01     
!   PT        1.04     SC        1.13     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.01235
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        0.94     HN        0.91     KP        0.92     
!   LA        1.02     MK        1.07     NL        1.02     OV        1.02     
!   PT        0.94     SC        1.10     
! 
! 
! Fit before self-cal, rms=0.060575Jy  sigma=1.005667
! Fit after  self-cal, rms=0.060329Jy  sigma=0.998658
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.060329Jy  sigma=0.998658
! Fit after  self-cal, rms=0.060321Jy  sigma=0.998556
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.778 mas, bmaj=7.552 mas, bpa=-0.7481 degrees
! Estimated noise=0.736996 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.000442767 Jy
! Component: 100  -  total flux cleaned = -0.000442366 Jy
! Component: 150  -  total flux cleaned = -0.000421694 Jy
! Component: 200  -  total flux cleaned = -0.000441546 Jy
! Total flux subtracted in 200 components = -0.000441546 Jy
! Clean residual min=-0.003034 max=0.003480 Jy/beam
! Clean residual mean=0.000028 rms=0.000792 Jy/beam
! Combined flux in latest and established models = 0.106777 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 49 components and 0.106777 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060306Jy  sigma=0.998282
! Fit after  self-cal, rms=0.060300Jy  sigma=0.998200
! 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.060300Jy  sigma=0.998200
! Fit after  self-cal, rms=0.057503Jy  sigma=0.948777
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.00111451 Jy
! Component: 100  -  total flux cleaned = 0.00104512 Jy
! Component: 150  -  total flux cleaned = 0.000984616 Jy
! Component: 200  -  total flux cleaned = 0.000946454 Jy
! Total flux subtracted in 200 components = 0.000946454 Jy
! Clean residual min=-0.003069 max=0.003509 Jy/beam
! Clean residual mean=0.000027 rms=0.000785 Jy/beam
! Combined flux in latest and established models = 0.107723 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 54 components and 0.107723 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057473Jy  sigma=0.948190
! Fit after  self-cal, rms=0.057276Jy  sigma=0.945669
! 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.778 x 7.552 at -0.7481 degrees (North through East)
! Clean map  min=-0.0030499  max=0.096786 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.788 mas, bmaj=10.72 mas, bpa=-6.084 degrees
! Estimated noise=0.89475 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.000548844 Jy
! Component: 100  -  total flux cleaned = 0.000621809 Jy
! Component: 150  -  total flux cleaned = 0.000621804 Jy
! Component: 200  -  total flux cleaned = 0.000637472 Jy
! Total flux subtracted in 200 components = 0.000637472 Jy
! Clean residual min=-0.002850 max=0.003405 Jy/beam
! Clean residual mean=0.000047 rms=0.000973 Jy/beam
! Combined flux in latest and established models = 0.108361 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 66 components and 0.108361 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057290Jy  sigma=0.945988
! Fit after  self-cal, rms=0.057233Jy  sigma=0.945639
! 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.887 mas, bmaj=6.248 mas, bpa=-1.573 degrees
! Estimated noise=1.24212 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0827325 Jy
! Component: 100  -  total flux cleaned = 0.0981916 Jy
! Component: 150  -  total flux cleaned = 0.103873 Jy
! Component: 200  -  total flux cleaned = 0.105588 Jy
! Total flux subtracted in 200 components = 0.105588 Jy
! Clean residual min=-0.004424 max=0.004512 Jy/beam
! Clean residual mean=0.000023 rms=0.001257 Jy/beam
! Combined flux in latest and established models = 0.105588 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 34 model components to the UV plane model.
! The established model now contains 34 components and 0.105588 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.778 mas, bmaj=7.552 mas, bpa=-0.7481 degrees
! Estimated noise=0.736996 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)
! Added new window around map position (10.5, -2.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00408443 Jy
! Component: 100  -  total flux cleaned = 0.00518427 Jy
! Component: 150  -  total flux cleaned = 0.00547194 Jy
! Component: 200  -  total flux cleaned = 0.00565361 Jy
! Total flux subtracted in 200 components = 0.00565361 Jy
! Clean residual min=-0.002791 max=0.002381 Jy/beam
! Clean residual mean=0.000022 rms=0.000706 Jy/beam
! Combined flux in latest and established models = 0.111242 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 60 components and 0.111242 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.788 mas, bmaj=10.72 mas, bpa=-6.084 degrees
! Estimated noise=0.89475 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.000341212 Jy
! Component: 100  -  total flux cleaned = 0.000338146 Jy
! Component: 150  -  total flux cleaned = 0.000374149 Jy
! Component: 200  -  total flux cleaned = 0.000373981 Jy
! Total flux subtracted in 200 components = 0.000373981 Jy
! Clean residual min=-0.002504 max=0.002810 Jy/beam
! Clean residual mean=0.000037 rms=0.000820 Jy/beam
! Combined flux in latest and established models = 0.111616 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 74 components and 0.111616 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.778 mas, bmaj=7.552 mas, bpa=-0.7481 degrees
! Estimated noise=0.736996 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000136513 Jy
! Component: 100  -  total flux cleaned = -0.000136726 Jy
! Component: 150  -  total flux cleaned = -0.000135321 Jy
! Component: 200  -  total flux cleaned = -0.000248608 Jy
! Total flux subtracted in 200 components = -0.000248608 Jy
! Clean residual min=-0.002762 max=0.002375 Jy/beam
! Clean residual mean=0.000022 rms=0.000681 Jy/beam
! Combined flux in latest and established models = 0.111367 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 89 components and 0.111367 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056972Jy  sigma=0.940596
! Fit after  self-cal, rms=0.056937Jy  sigma=0.940125
wmodel J0836+2139_S_2006_12_18_yyk\_map.mod
! Writing 89 model components to file: J0836+2139_S_2006_12_18_yyk_map.mod
wobs J0836+2139_S_2006_12_18_yyk\_uvs.fits
! Writing UV FITS file: J0836+2139_S_2006_12_18_yyk_uvs.fits
wwins J0836+2139_S_2006_12_18_yyk\_map.win
! wwins: Wrote 2 windows to J0836+2139_S_2006_12_18_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.000965045 Jy
! Component: 100  -  total flux cleaned = -0.000837827 Jy
! Component: 150  -  total flux cleaned = -0.000991932 Jy
! Component: 200  -  total flux cleaned = -0.00117688 Jy
! Component: 250  -  total flux cleaned = -0.00153045 Jy
! Component: 300  -  total flux cleaned = -0.00170028 Jy
! Component: 350  -  total flux cleaned = -0.00183194 Jy
! Component: 400  -  total flux cleaned = -0.00192683 Jy
! Component: 450  -  total flux cleaned = -0.00208062 Jy
! Component: 500  -  total flux cleaned = -0.00217021 Jy
! Component: 550  -  total flux cleaned = -0.00222827 Jy
! Component: 600  -  total flux cleaned = -0.00222797 Jy
! Component: 650  -  total flux cleaned = -0.00225606 Jy
! Component: 700  -  total flux cleaned = -0.00222881 Jy
! Component: 750  -  total flux cleaned = -0.00220206 Jy
! Component: 800  -  total flux cleaned = -0.00217617 Jy
! Component: 850  -  total flux cleaned = -0.00215068 Jy
! Component: 900  -  total flux cleaned = -0.00222686 Jy
! Component: 950  -  total flux cleaned = -0.00215087 Jy
! Component: 1000  -  total flux cleaned = -0.00220073 Jy
! Component: 1050  -  total flux cleaned = -0.00222488 Jy
! Component: 1100  -  total flux cleaned = -0.0022719 Jy
! Component: 1150  -  total flux cleaned = -0.00220116 Jy
! Component: 1200  -  total flux cleaned = -0.00231776 Jy
! Component: 1250  -  total flux cleaned = -0.00236314 Jy
! Component: 1300  -  total flux cleaned = -0.00236302 Jy
! Component: 1350  -  total flux cleaned = -0.00238481 Jy
! Component: 1400  -  total flux cleaned = -0.00238511 Jy
! Component: 1450  -  total flux cleaned = -0.00240681 Jy
! Component: 1500  -  total flux cleaned = -0.0024924 Jy
! Component: 1550  -  total flux cleaned = -0.00255547 Jy
! Component: 1600  -  total flux cleaned = -0.00255554 Jy
! Component: 1650  -  total flux cleaned = -0.00261758 Jy
! Component: 1700  -  total flux cleaned = -0.00267835 Jy
! Component: 1750  -  total flux cleaned = -0.00271854 Jy
! Component: 1800  -  total flux cleaned = -0.00279794 Jy
! Component: 1850  -  total flux cleaned = -0.00283726 Jy
! Component: 1900  -  total flux cleaned = -0.00281782 Jy
! Component: 1950  -  total flux cleaned = -0.00287565 Jy
! Component: 2000  -  total flux cleaned = -0.00295188 Jy
! Total flux subtracted in 2048 components = -0.00293283 Jy
! Clean residual min=-0.001095 max=0.001173 Jy/beam
! Clean residual mean=0.000016 rms=0.000391 Jy/beam
! Combined flux in latest and established models = 0.108434 Jy
keep
! Adding 126 model components to the UV plane model.
! The established model now contains 215 components and 0.108434 Jy
![Exited script file: muppet]
wmap "J0836+2139_S_2006_12_18_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.778 x 7.552 at -0.7481 degrees (North through East)
! Clean map  min=-0.0022406  max=0.096688 Jy/beam
! Writing clean map to FITS file: J0836+2139_S_2006_12_18_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0966875 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000388674 
device "J0836+2139_S_2006_12_18_yyk\_map.eps/VPS"
! Attempting to open device: 'J0836+2139_S_2006_12_18_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.20597 1.20597 2.41194 4.82388 9.64777 19.2955 38.5911 77.1821
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.096 
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.778 x 7.552 at -0.7481 degrees (North through East)
! Clean map  min=-0.0022406  max=0.096688 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0836+2139_S_2006_12_18_yyk\_map.gif/gif"
! Attempting to open device: 'J0836+2139_S_2006_12_18_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0836+2139_S_2006_12_18_yyk_uvs.log closed on Wed Apr  9 20:21:34 2008