! Started logfile: J1753-1843_X_2005_05_12_yyk_uvs.log on Sat Oct  8 17:33:19 2005
obs J1753-1843_X_2005_05_12_yyk_uve.fits
! Reading UV FITS file: J1753-1843_X_2005_05_12_yyk_uve.fits
! AN table 1: 19 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.928655 visibilities/baseline/integration-bin.
! Found source: J1753-1843
! 
! 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 1439 lines of history.
! 
! Reading 3176 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 J1753-1843_X_2005_05_12_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.109859 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.6626 mas, bmaj=1.773 mas, bpa=-3.435 degrees
! Estimated noise=1.19308 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.0702841 Jy
! Component: 100  -  total flux cleaned = 0.0887216 Jy
! Total flux subtracted in 100 components = 0.0887216 Jy
! Clean residual min=-0.006419 max=0.006005 Jy/beam
! Clean residual mean=0.000003 rms=0.001521 Jy/beam
! Combined flux in latest and established models = 0.0887216 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.0887216 Jy
! 
! Correcting IF 1.
!  A total of 17 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 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 43 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.064156Jy  sigma=1.199516
! Fit after  self-cal, rms=0.064546Jy  sigma=1.168465
! Inverting map and beam 
! Estimated beam: bmin=0.6626 mas, bmaj=1.773 mas, bpa=-3.435 degrees
! Estimated noise=1.19308 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.9191 mas, bmaj=2.466 mas, bpa=-7.073 degrees
! Estimated noise=0.704424 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.0112924 Jy
! Component: 100  -  total flux cleaned = 0.0146896 Jy
! Component: 150  -  total flux cleaned = 0.0156663 Jy
! Component: 200  -  total flux cleaned = 0.015813 Jy
! Total flux subtracted in 200 components = 0.015813 Jy
! Clean residual min=-0.004626 max=0.004557 Jy/beam
! Clean residual mean=0.000027 rms=0.001478 Jy/beam
! Combined flux in latest and established models = 0.104535 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 41 components and 0.104535 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063751Jy  sigma=1.141788
! Fit after  self-cal, rms=0.063740Jy  sigma=1.141670
! 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.9191 x 2.466 at -7.073 degrees (North through East)
! Clean map  min=-0.0044667  max=0.089733 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: 0.988012
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.98     HN        1.09     KP        0.96     
!   LA        0.98     MK        1.04     NL        1.01     OV        0.99     
!   PT        1.04     SC        1.00     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.981681
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.01     HN        1.08     KP        0.90     
!   LA        0.99     MK        0.96     NL        1.00     OV        1.01     
!   PT        1.04     SC        1.13     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.01187
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.03     HN        0.91     KP        0.88     
!   LA        0.98     MK        0.97     NL        0.97     OV        1.08     
!   PT        1.08     SC        0.93     
! 
! 
! 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.063740Jy  sigma=1.141670
! Fit after  self-cal, rms=0.063686Jy  sigma=1.137127
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.063686Jy  sigma=1.137127
! Fit after  self-cal, rms=0.063683Jy  sigma=1.137049
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9204 mas, bmaj=2.488 mas, bpa=-7.408 degrees
! Estimated noise=0.698517 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.00067574 Jy
! Component: 100  -  total flux cleaned = -0.000704919 Jy
! Component: 150  -  total flux cleaned = -0.0007321 Jy
! Component: 200  -  total flux cleaned = -0.000757899 Jy
! Total flux subtracted in 200 components = -0.000757899 Jy
! Clean residual min=-0.004333 max=0.004407 Jy/beam
! Clean residual mean=0.000020 rms=0.001431 Jy/beam
! Combined flux in latest and established models = 0.103777 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 44 components and 0.103777 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063656Jy  sigma=1.136613
! Fit after  self-cal, rms=0.063643Jy  sigma=1.136526
! 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.063643Jy  sigma=1.136526
! Fit after  self-cal, rms=0.060384Jy  sigma=1.063970
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.00201634 Jy
! Component: 100  -  total flux cleaned = 0.00201788 Jy
! Component: 150  -  total flux cleaned = 0.00196222 Jy
! Component: 200  -  total flux cleaned = 0.00191566 Jy
! Total flux subtracted in 200 components = 0.00191566 Jy
! Clean residual min=-0.004032 max=0.004033 Jy/beam
! Clean residual mean=0.000022 rms=0.001461 Jy/beam
! Combined flux in latest and established models = 0.105692 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 52 components and 0.105692 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060384Jy  sigma=1.062749
! Fit after  self-cal, rms=0.060231Jy  sigma=1.059496
! 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.9204 x 2.488 at -7.408 degrees (North through East)
! Clean map  min=-0.0037729  max=0.091698 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.454 mas, bmaj=5.11 mas, bpa=2.788 degrees
! Estimated noise=0.869301 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.00072704 Jy
! Component: 100  -  total flux cleaned = -0.000727902 Jy
! Component: 150  -  total flux cleaned = -0.00074993 Jy
! Component: 200  -  total flux cleaned = -0.000751337 Jy
! Total flux subtracted in 200 components = -0.000751337 Jy
! Clean residual min=-0.005134 max=0.005045 Jy/beam
! Clean residual mean=0.000035 rms=0.002046 Jy/beam
! Combined flux in latest and established models = 0.104941 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 55 components and 0.104941 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060254Jy  sigma=1.059737
! Fit after  self-cal, rms=0.060235Jy  sigma=1.059163
! 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=0.6618 mas, bmaj=1.775 mas, bpa=-3.568 degrees
! Estimated noise=1.1872 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0729351 Jy
! Component: 100  -  total flux cleaned = 0.0898414 Jy
! Component: 150  -  total flux cleaned = 0.0977573 Jy
! Component: 200  -  total flux cleaned = 0.100277 Jy
! Total flux subtracted in 200 components = 0.100277 Jy
! Clean residual min=-0.004637 max=0.004353 Jy/beam
! Clean residual mean=0.000007 rms=0.001187 Jy/beam
! Combined flux in latest and established models = 0.100277 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 24 model components to the UV plane model.
! The established model now contains 24 components and 0.100277 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9204 mas, bmaj=2.488 mas, bpa=-7.408 degrees
! Estimated noise=0.698517 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.00423935 Jy
! Component: 100  -  total flux cleaned = 0.00506626 Jy
! Component: 150  -  total flux cleaned = 0.005182 Jy
! Component: 200  -  total flux cleaned = 0.00521715 Jy
! Total flux subtracted in 200 components = 0.00521715 Jy
! Clean residual min=-0.004028 max=0.004114 Jy/beam
! Clean residual mean=0.000022 rms=0.001469 Jy/beam
! Combined flux in latest and established models = 0.105494 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 38 components and 0.105494 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.454 mas, bmaj=5.11 mas, bpa=2.788 degrees
! Estimated noise=0.869301 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.000601796 Jy
! Component: 100  -  total flux cleaned = -0.000573022 Jy
! Component: 150  -  total flux cleaned = -0.000570685 Jy
! Component: 200  -  total flux cleaned = -0.000570826 Jy
! Total flux subtracted in 200 components = -0.000570826 Jy
! Clean residual min=-0.005188 max=0.005063 Jy/beam
! Clean residual mean=0.000035 rms=0.002054 Jy/beam
! Combined flux in latest and established models = 0.104923 Jy
! Adding 7 model components to the UV plane model.
! The established model now contains 43 components and 0.104923 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9204 mas, bmaj=2.488 mas, bpa=-7.408 degrees
! Estimated noise=0.698517 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000389573 Jy
! Component: 100  -  total flux cleaned = 0.000355361 Jy
! Component: 150  -  total flux cleaned = 0.000381621 Jy
! Component: 200  -  total flux cleaned = 0.000381526 Jy
! Total flux subtracted in 200 components = 0.000381526 Jy
! Clean residual min=-0.004033 max=0.004076 Jy/beam
! Clean residual mean=0.000021 rms=0.001460 Jy/beam
! Combined flux in latest and established models = 0.105305 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 50 components and 0.105305 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060185Jy  sigma=1.058973
! Fit after  self-cal, rms=0.060179Jy  sigma=1.058880
wmodel J1753-1843_X_2005_05_12_yyk\_map.mod
! Writing 50 model components to file: J1753-1843_X_2005_05_12_yyk_map.mod
wobs J1753-1843_X_2005_05_12_yyk\_uvs.fits
! Writing UV FITS file: J1753-1843_X_2005_05_12_yyk_uvs.fits
wwins J1753-1843_X_2005_05_12_yyk\_map.win
! wwins: Wrote 1 windows to J1753-1843_X_2005_05_12_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 = 8.19002e-06 Jy
! Component: 100  -  total flux cleaned = -0.000130718 Jy
! Component: 150  -  total flux cleaned = -0.000132506 Jy
! Component: 200  -  total flux cleaned = 5.33981e-05 Jy
! Component: 250  -  total flux cleaned = 0.000172448 Jy
! Component: 300  -  total flux cleaned = 0.000171975 Jy
! Component: 350  -  total flux cleaned = 0.000394036 Jy
! Component: 400  -  total flux cleaned = 0.000340183 Jy
! Component: 450  -  total flux cleaned = 0.000447696 Jy
! Component: 500  -  total flux cleaned = 0.000550586 Jy
! Component: 550  -  total flux cleaned = 0.000650572 Jy
! Component: 600  -  total flux cleaned = 0.000699106 Jy
! Component: 650  -  total flux cleaned = 0.000841755 Jy
! Component: 700  -  total flux cleaned = 0.00093471 Jy
! Component: 750  -  total flux cleaned = 0.000979784 Jy
! Component: 800  -  total flux cleaned = 0.00116104 Jy
! Component: 850  -  total flux cleaned = 0.0014273 Jy
! Component: 900  -  total flux cleaned = 0.00173089 Jy
! Component: 950  -  total flux cleaned = 0.00181501 Jy
! Component: 1000  -  total flux cleaned = 0.00194156 Jy
! Component: 1050  -  total flux cleaned = 0.00210621 Jy
! Component: 1100  -  total flux cleaned = 0.00226787 Jy
! Component: 1150  -  total flux cleaned = 0.00222852 Jy
! Component: 1200  -  total flux cleaned = 0.00250407 Jy
! Component: 1250  -  total flux cleaned = 0.00254269 Jy
! Component: 1300  -  total flux cleaned = 0.00258062 Jy
! Component: 1350  -  total flux cleaned = 0.00280524 Jy
! Component: 1400  -  total flux cleaned = 0.00287883 Jy
! Component: 1450  -  total flux cleaned = 0.00284285 Jy
! Component: 1500  -  total flux cleaned = 0.00316621 Jy
! Component: 1550  -  total flux cleaned = 0.00316649 Jy
! Component: 1600  -  total flux cleaned = 0.00354932 Jy
! Component: 1650  -  total flux cleaned = 0.00337775 Jy
! Component: 1700  -  total flux cleaned = 0.00358203 Jy
! Component: 1750  -  total flux cleaned = 0.00368291 Jy
! Component: 1800  -  total flux cleaned = 0.00381574 Jy
! Component: 1850  -  total flux cleaned = 0.0038811 Jy
! Component: 1900  -  total flux cleaned = 0.00391355 Jy
! Component: 1950  -  total flux cleaned = 0.00397761 Jy
! Component: 2000  -  total flux cleaned = 0.00413401 Jy
! Total flux subtracted in 2048 components = 0.00419571 Jy
! Clean residual min=-0.001752 max=0.001732 Jy/beam
! Clean residual mean=0.000009 rms=0.000788 Jy/beam
! Combined flux in latest and established models = 0.109501 Jy
keep
! Adding 215 model components to the UV plane model.
! The established model now contains 265 components and 0.109501 Jy
![Exited script file: muppet]
wmap "J1753-1843_X_2005_05_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9204 x 2.488 at -7.408 degrees (North through East)
! Clean map  min=-0.0024789  max=0.092509 Jy/beam
! Writing clean map to FITS file: J1753-1843_X_2005_05_12_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0925093 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.0007731 
device "J1753-1843_X_2005_05_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J1753-1843_X_2005_05_12_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.5071 2.5071 5.0142 10.0284 20.0568 40.1136 80.2272
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.9204 x 2.488 at -7.408 degrees (North through East)
! Clean map  min=-0.0024789  max=0.092509 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1753-1843_X_2005_05_12_yyk\_map.gif/gif"
! Attempting to open device: 'J1753-1843_X_2005_05_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1753-1843_X_2005_05_12_yyk_uvs.log closed on Sat Oct  8 17:33:23 2005