! Started logfile: J1124-1501_X_2005_07_20_yyk_uvs.log on Fri Jan 20 10:21:27 2006
obs J1124-1501_X_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J1124-1501_X_2005_07_20_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.806061 visibilities/baseline/integration-bin.
! Found source: J1124-1501
! 
! 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 1488 lines of history.
! 
! Reading 1596 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 J1124-1501_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.131523 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.756 mas, bmaj=1.869 mas, bpa=1.428 degrees
! Estimated noise=2.05161 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.0740945 Jy
! Component: 100  -  total flux cleaned = 0.100567 Jy
! Total flux subtracted in 100 components = 0.100567 Jy
! Clean residual min=-0.010343 max=0.011459 Jy/beam
! Clean residual mean=0.000077 rms=0.003082 Jy/beam
! Combined flux in latest and established models = 0.100567 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 23 components and 0.100567 Jy
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 42 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 39 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.091640Jy  sigma=1.403783
! Fit after  self-cal, rms=0.085695Jy  sigma=1.288355
! Inverting map and beam 
! Estimated beam: bmin=0.7559 mas, bmaj=1.869 mas, bpa=1.44 degrees
! Estimated noise=2.05221 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=1.035 mas, bmaj=2.48 mas, bpa=6.139 degrees
! Estimated noise=1.23403 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.0241349 Jy
! Component: 100  -  total flux cleaned = 0.0310396 Jy
! Component: 150  -  total flux cleaned = 0.0332873 Jy
! Component: 200  -  total flux cleaned = 0.0335432 Jy
! Total flux subtracted in 200 components = 0.0335432 Jy
! Clean residual min=-0.006413 max=0.007751 Jy/beam
! Clean residual mean=0.000024 rms=0.001960 Jy/beam
! Combined flux in latest and established models = 0.13411 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 37 components and 0.13411 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082541Jy  sigma=1.200694
! Fit after  self-cal, rms=0.082501Jy  sigma=1.200180
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.035 x 2.48 at 6.139 degrees (North through East)
! Clean map  min=-0.0063042  max=0.095802 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.0266
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        0.95     HN        0.92     KP        0.84     
!   LA        1.00*    MK        1.10     NL        0.96     OV        1.00     
!   PT        1.12     SC        0.89     
! 
! 
! 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.082501Jy  sigma=1.200180
! Fit after  self-cal, rms=0.082222Jy  sigma=1.195150
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.082222Jy  sigma=1.195150
! Fit after  self-cal, rms=0.082204Jy  sigma=1.195127
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.039 mas, bmaj=2.506 mas, bpa=7.523 degrees
! Estimated noise=1.23112 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.000365521 Jy
! Component: 100  -  total flux cleaned = 0.000492682 Jy
! Component: 150  -  total flux cleaned = 0.000597528 Jy
! Component: 200  -  total flux cleaned = 0.000695072 Jy
! Total flux subtracted in 200 components = 0.000695072 Jy
! Clean residual min=-0.006109 max=0.007057 Jy/beam
! Clean residual mean=0.000016 rms=0.001885 Jy/beam
! Combined flux in latest and established models = 0.134805 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 41 components and 0.134805 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082108Jy  sigma=1.193851
! Fit after  self-cal, rms=0.082086Jy  sigma=1.193726
! 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.082086Jy  sigma=1.193726
! Fit after  self-cal, rms=0.075135Jy  sigma=1.103334
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.0027248 Jy
! Component: 100  -  total flux cleaned = 0.00300786 Jy
! Component: 150  -  total flux cleaned = 0.0030615 Jy
! Component: 200  -  total flux cleaned = 0.00305972 Jy
! Total flux subtracted in 200 components = 0.00305972 Jy
! Clean residual min=-0.005638 max=0.006683 Jy/beam
! Clean residual mean=0.000019 rms=0.001711 Jy/beam
! Combined flux in latest and established models = 0.137865 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 48 components and 0.137865 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074975Jy  sigma=1.100773
! Fit after  self-cal, rms=0.074187Jy  sigma=1.091838
! 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: 1.039 x 2.506 at 7.523 degrees (North through East)
! Clean map  min=-0.0051461  max=0.099667 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.351 mas, bmaj=4.469 mas, bpa=4.229 degrees
! Estimated noise=1.46297 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.000556223 Jy
! Component: 100  -  total flux cleaned = -0.000634062 Jy
! Component: 150  -  total flux cleaned = -0.000739343 Jy
! Component: 200  -  total flux cleaned = -0.000832067 Jy
! Total flux subtracted in 200 components = -0.000832067 Jy
! Clean residual min=-0.006120 max=0.007339 Jy/beam
! Clean residual mean=0.000028 rms=0.002024 Jy/beam
! Combined flux in latest and established models = 0.137033 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 52 components and 0.137033 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074199Jy  sigma=1.091835
! Fit after  self-cal, rms=0.074069Jy  sigma=1.090426
! 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=0.758 mas, bmaj=1.876 mas, bpa=1.959 degrees
! Estimated noise=2.0486 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0830504 Jy
! Component: 100  -  total flux cleaned = 0.110031 Jy
! Component: 150  -  total flux cleaned = 0.122794 Jy
! Component: 200  -  total flux cleaned = 0.129657 Jy
! Total flux subtracted in 200 components = 0.129657 Jy
! Clean residual min=-0.008278 max=0.008948 Jy/beam
! Clean residual mean=0.000063 rms=0.002344 Jy/beam
! Combined flux in latest and established models = 0.129657 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 28 model components to the UV plane model.
! The established model now contains 28 components and 0.129657 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.039 mas, bmaj=2.506 mas, bpa=7.523 degrees
! Estimated noise=1.23112 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.00687927 Jy
! Component: 100  -  total flux cleaned = 0.00775732 Jy
! Component: 150  -  total flux cleaned = 0.00775877 Jy
! Component: 200  -  total flux cleaned = 0.00776014 Jy
! Total flux subtracted in 200 components = 0.00776014 Jy
! Clean residual min=-0.005484 max=0.006616 Jy/beam
! Clean residual mean=0.000017 rms=0.001697 Jy/beam
! Combined flux in latest and established models = 0.137417 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 38 components and 0.137417 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.351 mas, bmaj=4.469 mas, bpa=4.229 degrees
! Estimated noise=1.46297 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.000367055 Jy
! Component: 100  -  total flux cleaned = -0.000410698 Jy
! Component: 150  -  total flux cleaned = -0.000481252 Jy
! Component: 200  -  total flux cleaned = -0.000563638 Jy
! Total flux subtracted in 200 components = -0.000563638 Jy
! Clean residual min=-0.006010 max=0.007333 Jy/beam
! Clean residual mean=0.000027 rms=0.002019 Jy/beam
! Combined flux in latest and established models = 0.136853 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 41 components and 0.136853 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.039 mas, bmaj=2.506 mas, bpa=7.523 degrees
! Estimated noise=1.23112 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -8.84399e-06 Jy
! Component: 100  -  total flux cleaned = -8.39068e-06 Jy
! Component: 150  -  total flux cleaned = -7.01041e-06 Jy
! Component: 200  -  total flux cleaned = -5.23996e-06 Jy
! Total flux subtracted in 200 components = -5.23996e-06 Jy
! Clean residual min=-0.005477 max=0.006414 Jy/beam
! Clean residual mean=0.000017 rms=0.001678 Jy/beam
! Combined flux in latest and established models = 0.136848 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 44 components and 0.136848 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073896Jy  sigma=1.089472
! Fit after  self-cal, rms=0.073834Jy  sigma=1.089042
wmodel J1124-1501_X_2005_07_20_yyk\_map.mod
! Writing 44 model components to file: J1124-1501_X_2005_07_20_yyk_map.mod
wobs J1124-1501_X_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J1124-1501_X_2005_07_20_yyk_uvs.fits
wwins J1124-1501_X_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J1124-1501_X_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.00284005 Jy
! Component: 100  -  total flux cleaned = 0.0045647 Jy
! Component: 150  -  total flux cleaned = 0.00475429 Jy
! Component: 200  -  total flux cleaned = 0.0052898 Jy
! Component: 250  -  total flux cleaned = 0.00597303 Jy
! Component: 300  -  total flux cleaned = 0.00662622 Jy
! Component: 350  -  total flux cleaned = 0.00694273 Jy
! Component: 400  -  total flux cleaned = 0.00770938 Jy
! Component: 450  -  total flux cleaned = 0.00823036 Jy
! Component: 500  -  total flux cleaned = 0.00859028 Jy
! Component: 550  -  total flux cleaned = 0.00865952 Jy
! Component: 600  -  total flux cleaned = 0.00900341 Jy
! Component: 650  -  total flux cleaned = 0.00907009 Jy
! Component: 700  -  total flux cleaned = 0.00920047 Jy
! Component: 750  -  total flux cleaned = 0.00900781 Jy
! Component: 800  -  total flux cleaned = 0.00913202 Jy
! Component: 850  -  total flux cleaned = 0.00888402 Jy
! Component: 900  -  total flux cleaned = 0.00888394 Jy
! Component: 950  -  total flux cleaned = 0.00882403 Jy
! Component: 1000  -  total flux cleaned = 0.00882449 Jy
! Component: 1050  -  total flux cleaned = 0.00876743 Jy
! Component: 1100  -  total flux cleaned = 0.0088241 Jy
! Component: 1150  -  total flux cleaned = 0.00854558 Jy
! Component: 1200  -  total flux cleaned = 0.00843698 Jy
! Component: 1250  -  total flux cleaned = 0.00827476 Jy
! Component: 1300  -  total flux cleaned = 0.00816858 Jy
! Component: 1350  -  total flux cleaned = 0.00801071 Jy
! Component: 1400  -  total flux cleaned = 0.00785581 Jy
! Component: 1450  -  total flux cleaned = 0.00780465 Jy
! Component: 1500  -  total flux cleaned = 0.00780435 Jy
! Component: 1550  -  total flux cleaned = 0.00770499 Jy
! Component: 1600  -  total flux cleaned = 0.00746026 Jy
! Component: 1650  -  total flux cleaned = 0.0074124 Jy
! Component: 1700  -  total flux cleaned = 0.00722204 Jy
! Component: 1750  -  total flux cleaned = 0.00727018 Jy
! Component: 1800  -  total flux cleaned = 0.00731684 Jy
! Component: 1850  -  total flux cleaned = 0.00717948 Jy
! Component: 1900  -  total flux cleaned = 0.00713419 Jy
! Component: 1950  -  total flux cleaned = 0.0072691 Jy
! Component: 2000  -  total flux cleaned = 0.00713594 Jy
! Total flux subtracted in 2048 components = 0.00718051 Jy
! Clean residual min=-0.002631 max=0.003009 Jy/beam
! Clean residual mean=0.000014 rms=0.000866 Jy/beam
! Combined flux in latest and established models = 0.144029 Jy
keep
! Adding 156 model components to the UV plane model.
! The established model now contains 200 components and 0.144029 Jy
![Exited script file: muppet]
wmap "J1124-1501_X_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.039 x 2.506 at 7.523 degrees (North through East)
! Clean map  min=-0.0040856  max=0.10047 Jy/beam
! Writing clean map to FITS file: J1124-1501_X_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.100472 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000859341 
device "J1124-1501_X_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J1124-1501_X_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.56592 2.56592 5.13184 10.2637 20.5273 41.0547 82.1094
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.1 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.039 x 2.506 at 7.523 degrees (North through East)
! Clean map  min=-0.0040856  max=0.10047 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1124-1501_X_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J1124-1501_X_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1124-1501_X_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:21:31 2006