! Started logfile: J1356-1724_S_2005_07_20_yyk_uvs.log on Fri Jan 20 10:32:31 2006
obs J1356-1724_S_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J1356-1724_S_2005_07_20_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.795556 visibilities/baseline/integration-bin.
! Found source: J1356-1724
! 
! 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 1432 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 J1356-1724_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.120258 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=3.922 mas, bmaj=13.78 mas, bpa=-18.25 degrees
! Estimated noise=2.71472 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.0717803 Jy
! Component: 100  -  total flux cleaned = 0.0892265 Jy
! Total flux subtracted in 100 components = 0.0892265 Jy
! Clean residual min=-0.011727 max=0.013637 Jy/beam
! Clean residual mean=0.000027 rms=0.003523 Jy/beam
! Combined flux in latest and established models = 0.0892265 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 28 components and 0.0892265 Jy
! 
! Correcting IF 1.
!  A total of 26 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 48 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 25 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.087184Jy  sigma=1.256396
! Fit after  self-cal, rms=0.079826Jy  sigma=1.134328
! Inverting map and beam 
! Estimated beam: bmin=3.922 mas, bmaj=13.78 mas, bpa=-18.25 degrees
! Estimated noise=2.71472 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=5.956 mas, bmaj=16.38 mas, bpa=-12.82 degrees
! Estimated noise=1.48968 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.0159241 Jy
! Component: 100  -  total flux cleaned = 0.0225112 Jy
! Component: 150  -  total flux cleaned = 0.0258701 Jy
! Component: 200  -  total flux cleaned = 0.0277287 Jy
! Total flux subtracted in 200 components = 0.0277287 Jy
! Clean residual min=-0.005384 max=0.005300 Jy/beam
! Clean residual mean=0.000009 rms=0.001573 Jy/beam
! Combined flux in latest and established models = 0.116955 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 70 components and 0.116955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.078018Jy  sigma=1.093478
! Fit after  self-cal, rms=0.078024Jy  sigma=1.093210
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.956 x 16.38 at -12.82 degrees (North through East)
! Clean map  min=-0.0053428  max=0.088232 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.00763
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.85     FD        1.11     HN        1.00*    KP        1.03     
!   LA        0.86     MK        1.00*    NL        0.96     OV        1.14     
!   PT        0.97     SC        1.00*    
! 
! 
! 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.078024Jy  sigma=1.093210
! Fit after  self-cal, rms=0.077809Jy  sigma=1.088643
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.077809Jy  sigma=1.088643
! Fit after  self-cal, rms=0.077814Jy  sigma=1.088614
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.983 mas, bmaj=16.24 mas, bpa=-12.65 degrees
! Estimated noise=1.48079 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.000442245 Jy
! Component: 100  -  total flux cleaned = 0.000600976 Jy
! Component: 150  -  total flux cleaned = 0.000793042 Jy
! Component: 200  -  total flux cleaned = 0.000923436 Jy
! Total flux subtracted in 200 components = 0.000923436 Jy
! Clean residual min=-0.005075 max=0.005376 Jy/beam
! Clean residual mean=-0.000049 rms=0.001542 Jy/beam
! Combined flux in latest and established models = 0.117879 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 78 components and 0.117879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077744Jy  sigma=1.087672
! Fit after  self-cal, rms=0.077762Jy  sigma=1.087625
! 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.077762Jy  sigma=1.087625
! Fit after  self-cal, rms=0.070599Jy  sigma=0.993146
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.00276742 Jy
! Component: 100  -  total flux cleaned = 0.00296599 Jy
! Component: 150  -  total flux cleaned = 0.00296909 Jy
! Component: 200  -  total flux cleaned = 0.00301242 Jy
! Total flux subtracted in 200 components = 0.00301242 Jy
! Clean residual min=-0.004979 max=0.004759 Jy/beam
! Clean residual mean=-0.000038 rms=0.001523 Jy/beam
! Combined flux in latest and established models = 0.120891 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 89 components and 0.120891 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070264Jy  sigma=0.990200
! Fit after  self-cal, rms=0.069664Jy  sigma=0.983063
! 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: 5.983 x 16.24 at -12.65 degrees (North through East)
! Clean map  min=-0.0049734  max=0.091916 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=10.37 mas, bmaj=19.99 mas, bpa=5.949 degrees
! Estimated noise=1.56258 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.000572246 Jy
! Component: 100  -  total flux cleaned = 0.000651436 Jy
! Component: 150  -  total flux cleaned = 0.000718845 Jy
! Component: 200  -  total flux cleaned = 0.000778094 Jy
! Total flux subtracted in 200 components = 0.000778094 Jy
! Clean residual min=-0.004663 max=0.004743 Jy/beam
! Clean residual mean=-0.000056 rms=0.001522 Jy/beam
! Combined flux in latest and established models = 0.121669 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 97 components and 0.121669 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069623Jy  sigma=0.982743
! Fit after  self-cal, rms=0.069595Jy  sigma=0.981916
! 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.933 mas, bmaj=13.71 mas, bpa=-18.2 degrees
! Estimated noise=2.6983 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0822974 Jy
! Component: 100  -  total flux cleaned = 0.101395 Jy
! Component: 150  -  total flux cleaned = 0.11127 Jy
! Component: 200  -  total flux cleaned = 0.117436 Jy
! Total flux subtracted in 200 components = 0.117436 Jy
! Clean residual min=-0.010217 max=0.009290 Jy/beam
! Clean residual mean=0.000001 rms=0.002843 Jy/beam
! Combined flux in latest and established models = 0.117436 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 27 model components to the UV plane model.
! The established model now contains 27 components and 0.117436 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.983 mas, bmaj=16.24 mas, bpa=-12.65 degrees
! Estimated noise=1.48079 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.000819368 Jy
! Component: 100  -  total flux cleaned = 0.00200606 Jy
! Component: 150  -  total flux cleaned = 0.00277173 Jy
! Component: 200  -  total flux cleaned = 0.00328274 Jy
! Total flux subtracted in 200 components = 0.00328274 Jy
! Clean residual min=-0.004919 max=0.004774 Jy/beam
! Clean residual mean=-0.000034 rms=0.001564 Jy/beam
! Combined flux in latest and established models = 0.120719 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 53 components and 0.120719 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=10.37 mas, bmaj=19.99 mas, bpa=5.949 degrees
! Estimated noise=1.56258 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.000257555 Jy
! Component: 100  -  total flux cleaned = 0.000445522 Jy
! Component: 150  -  total flux cleaned = 0.000542194 Jy
! Component: 200  -  total flux cleaned = 0.000664034 Jy
! Total flux subtracted in 200 components = 0.000664034 Jy
! Clean residual min=-0.004558 max=0.004597 Jy/beam
! Clean residual mean=-0.000052 rms=0.001517 Jy/beam
! Combined flux in latest and established models = 0.121383 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 69 components and 0.121383 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.983 mas, bmaj=16.24 mas, bpa=-12.65 degrees
! Estimated noise=1.48079 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000101673 Jy
! Component: 100  -  total flux cleaned = 0.000148025 Jy
! Component: 150  -  total flux cleaned = 0.000227383 Jy
! Component: 200  -  total flux cleaned = 0.000301093 Jy
! Total flux subtracted in 200 components = 0.000301093 Jy
! Clean residual min=-0.004782 max=0.004709 Jy/beam
! Clean residual mean=-0.000040 rms=0.001522 Jy/beam
! Combined flux in latest and established models = 0.121684 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 81 components and 0.121684 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069356Jy  sigma=0.981562
! Fit after  self-cal, rms=0.069392Jy  sigma=0.981270
wmodel J1356-1724_S_2005_07_20_yyk\_map.mod
! Writing 81 model components to file: J1356-1724_S_2005_07_20_yyk_map.mod
wobs J1356-1724_S_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J1356-1724_S_2005_07_20_yyk_uvs.fits
wwins J1356-1724_S_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J1356-1724_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.00105878 Jy
! Component: 100  -  total flux cleaned = -0.00199802 Jy
! Component: 150  -  total flux cleaned = -0.00258409 Jy
! Component: 200  -  total flux cleaned = -0.00251597 Jy
! Component: 250  -  total flux cleaned = -0.00238527 Jy
! Component: 300  -  total flux cleaned = -0.00226341 Jy
! Component: 350  -  total flux cleaned = -0.00196937 Jy
! Component: 400  -  total flux cleaned = -0.00162778 Jy
! Component: 450  -  total flux cleaned = -0.00124528 Jy
! Component: 500  -  total flux cleaned = -0.000982592 Jy
! Component: 550  -  total flux cleaned = -0.000729248 Jy
! Component: 600  -  total flux cleaned = -0.000531569 Jy
! Component: 650  -  total flux cleaned = -0.000339965 Jy
! Component: 700  -  total flux cleaned = -1.4997e-05 Jy
! Component: 750  -  total flux cleaned = 7.3772e-05 Jy
! Component: 800  -  total flux cleaned = 0.000204875 Jy
! Component: 850  -  total flux cleaned = 0.000118182 Jy
! Component: 900  -  total flux cleaned = 7.72995e-05 Jy
! Component: 950  -  total flux cleaned = 0.000200347 Jy
! Component: 1000  -  total flux cleaned = 0.000159381 Jy
! Component: 1050  -  total flux cleaned = 3.8571e-06 Jy
! Component: 1100  -  total flux cleaned = -0.00022447 Jy
! Component: 1150  -  total flux cleaned = -0.000187138 Jy
! Component: 1200  -  total flux cleaned = -0.000297308 Jy
! Component: 1250  -  total flux cleaned = -0.000333638 Jy
! Component: 1300  -  total flux cleaned = -0.000440157 Jy
! Component: 1350  -  total flux cleaned = -0.000613427 Jy
! Component: 1400  -  total flux cleaned = -0.000783806 Jy
! Component: 1450  -  total flux cleaned = -0.000850748 Jy
! Component: 1500  -  total flux cleaned = -0.0010803 Jy
! Component: 1550  -  total flux cleaned = -0.00120948 Jy
! Component: 1600  -  total flux cleaned = -0.00133631 Jy
! Component: 1650  -  total flux cleaned = -0.00149196 Jy
! Component: 1700  -  total flux cleaned = -0.00167545 Jy
! Component: 1750  -  total flux cleaned = -0.00182581 Jy
! Component: 1800  -  total flux cleaned = -0.00191504 Jy
! Component: 1850  -  total flux cleaned = -0.00203223 Jy
! Component: 1900  -  total flux cleaned = -0.0022058 Jy
! Component: 1950  -  total flux cleaned = -0.00232009 Jy
! Component: 2000  -  total flux cleaned = -0.00240466 Jy
! Total flux subtracted in 2048 components = -0.00248841 Jy
! Clean residual min=-0.001628 max=0.001531 Jy/beam
! Clean residual mean=-0.000020 rms=0.000632 Jy/beam
! Combined flux in latest and established models = 0.119196 Jy
keep
! Adding 149 model components to the UV plane model.
! The established model now contains 230 components and 0.119196 Jy
![Exited script file: muppet]
wmap "J1356-1724_S_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.983 x 16.24 at -12.65 degrees (North through East)
! Clean map  min=-0.0045054  max=0.093153 Jy/beam
! Writing clean map to FITS file: J1356-1724_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.0931531 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000646259 
device "J1356-1724_S_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J1356-1724_S_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.08128 2.08128 4.16256 8.32511 16.6502 33.3005 66.6009
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.093 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.983 x 16.24 at -12.65 degrees (North through East)
! Clean map  min=-0.0045054  max=0.093153 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1356-1724_S_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J1356-1724_S_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1356-1724_S_2005_07_20_yyk_uvs.log closed on Fri Jan 20 10:32:35 2006