! Started logfile: J1742-1903_S_2005_05_12_yyk_uvs.log on Sat Oct  8 17:32:54 2005
obs J1742-1903_S_2005_05_12_yyk_uve.fits
! Reading UV FITS file: J1742-1903_S_2005_05_12_yyk_uve.fits
! AN table 1: 19 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.831579 visibilities/baseline/integration-bin.
! Found source: J1742-1903
! 
! 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 1443 lines of history.
! 
! Reading 2844 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 J1742-1903_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.117227 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.25 mas, bmaj=13.51 mas, bpa=-19.86 degrees
! Estimated noise=1.75515 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.0695424 Jy
! Component: 100  -  total flux cleaned = 0.0882524 Jy
! Total flux subtracted in 100 components = 0.0882524 Jy
! Clean residual min=-0.008983 max=0.010112 Jy/beam
! Clean residual mean=0.000094 rms=0.002509 Jy/beam
! Combined flux in latest and established models = 0.0882524 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 19 components and 0.0882524 Jy
! 
! Correcting IF 1.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 51 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 65 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 67 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.078051Jy  sigma=1.219018
! Fit after  self-cal, rms=0.072966Jy  sigma=1.123802
! Inverting map and beam 
! Estimated beam: bmin=3.25 mas, bmaj=13.51 mas, bpa=-19.86 degrees
! Estimated noise=1.75515 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.248 mas, bmaj=16.51 mas, bpa=-14.23 degrees
! Estimated noise=0.960347 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.0111823 Jy
! Component: 100  -  total flux cleaned = 0.0145314 Jy
! Component: 150  -  total flux cleaned = 0.0154673 Jy
! Component: 200  -  total flux cleaned = 0.0156289 Jy
! Total flux subtracted in 200 components = 0.0156289 Jy
! Clean residual min=-0.004367 max=0.003537 Jy/beam
! Clean residual mean=0.000036 rms=0.001219 Jy/beam
! Combined flux in latest and established models = 0.103881 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 47 components and 0.103881 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.071540Jy  sigma=1.099404
! Fit after  self-cal, rms=0.071481Jy  sigma=1.098767
! 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.248 x 16.51 at -14.23 degrees (North through East)
! Clean map  min=-0.0042349  max=0.082494 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.0249
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.88     FD        1.06     HN        1.00*    KP        0.90     
!   LA        1.00     MK        0.91     NL        0.98     OV        1.00     
!   PT        1.03     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.995284
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.10     HN        1.00*    KP        1.01     
!   LA        0.91     MK        0.93     NL        0.97     OV        1.07     
!   PT        1.04     SC        1.00*    
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.969293
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.08     FD        1.15     HN        1.00*    KP        0.92     
!   LA        0.92     MK        0.96     NL        1.18     OV        0.99     
!   PT        1.12     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.071481Jy  sigma=1.098767
! Fit after  self-cal, rms=0.070140Jy  sigma=1.088256
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.070140Jy  sigma=1.088256
! Fit after  self-cal, rms=0.070089Jy  sigma=1.087649
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.021 mas, bmaj=16.36 mas, bpa=-15.01 degrees
! Estimated noise=0.968645 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.0019706 Jy
! Component: 100  -  total flux cleaned = 0.0022298 Jy
! Component: 150  -  total flux cleaned = 0.00235344 Jy
! Component: 200  -  total flux cleaned = 0.00238767 Jy
! Total flux subtracted in 200 components = 0.00238767 Jy
! Clean residual min=-0.003478 max=0.003360 Jy/beam
! Clean residual mean=0.000030 rms=0.001036 Jy/beam
! Combined flux in latest and established models = 0.106269 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 62 components and 0.106269 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.069931Jy  sigma=1.086263
! Fit after  self-cal, rms=0.069878Jy  sigma=1.085726
! 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.069878Jy  sigma=1.085726
! Fit after  self-cal, rms=0.063414Jy  sigma=0.968590
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.0034214 Jy
! Component: 100  -  total flux cleaned = 0.00332881 Jy
! Component: 150  -  total flux cleaned = 0.00332832 Jy
! Component: 200  -  total flux cleaned = 0.00332838 Jy
! Total flux subtracted in 200 components = 0.00332838 Jy
! Clean residual min=-0.003092 max=0.003454 Jy/beam
! Clean residual mean=0.000046 rms=0.001027 Jy/beam
! Combined flux in latest and established models = 0.109597 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 73 components and 0.109597 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063112Jy  sigma=0.964998
! Fit after  self-cal, rms=0.062798Jy  sigma=0.960278
! 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.021 x 16.36 at -15.01 degrees (North through East)
! Clean map  min=-0.003161  max=0.08767 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.23 mas, bmaj=20.51 mas, bpa=3.629 degrees
! Estimated noise=1.05017 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 = -4.56464e-05 Jy
! Component: 100  -  total flux cleaned = 4.03684e-05 Jy
! Component: 150  -  total flux cleaned = 5.86521e-05 Jy
! Component: 200  -  total flux cleaned = 4.3643e-05 Jy
! Total flux subtracted in 200 components = 4.3643e-05 Jy
! Clean residual min=-0.003079 max=0.003386 Jy/beam
! Clean residual mean=0.000068 rms=0.001085 Jy/beam
! Combined flux in latest and established models = 0.109641 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 80 components and 0.109641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062785Jy  sigma=0.960135
! Fit after  self-cal, rms=0.062750Jy  sigma=0.959598
! 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=3.192 mas, bmaj=13.5 mas, bpa=-20.04 degrees
! Estimated noise=1.73242 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0774647 Jy
! Component: 100  -  total flux cleaned = 0.0969929 Jy
! Component: 150  -  total flux cleaned = 0.104032 Jy
! Component: 200  -  total flux cleaned = 0.106017 Jy
! Total flux subtracted in 200 components = 0.106017 Jy
! Clean residual min=-0.005452 max=0.006298 Jy/beam
! Clean residual mean=0.000038 rms=0.001649 Jy/beam
! Combined flux in latest and established models = 0.106017 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 35 model components to the UV plane model.
! The established model now contains 35 components and 0.106017 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.021 mas, bmaj=16.36 mas, bpa=-15.01 degrees
! Estimated noise=0.968645 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.00248486 Jy
! Component: 100  -  total flux cleaned = 0.00308019 Jy
! Component: 150  -  total flux cleaned = 0.00333779 Jy
! Component: 200  -  total flux cleaned = 0.00352001 Jy
! Total flux subtracted in 200 components = 0.00352001 Jy
! Clean residual min=-0.003124 max=0.003609 Jy/beam
! Clean residual mean=0.000052 rms=0.001041 Jy/beam
! Combined flux in latest and established models = 0.109537 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 54 components and 0.109537 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.23 mas, bmaj=20.51 mas, bpa=3.629 degrees
! Estimated noise=1.05017 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 = -7.0609e-05 Jy
! Component: 100  -  total flux cleaned = -4.72977e-05 Jy
! Component: 150  -  total flux cleaned = -4.79283e-05 Jy
! Component: 200  -  total flux cleaned = -4.71369e-05 Jy
! Total flux subtracted in 200 components = -4.71369e-05 Jy
! Clean residual min=-0.003171 max=0.003560 Jy/beam
! Clean residual mean=0.000071 rms=0.001099 Jy/beam
! Combined flux in latest and established models = 0.10949 Jy
! Adding 9 model components to the UV plane model.
! The established model now contains 62 components and 0.10949 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.021 mas, bmaj=16.36 mas, bpa=-15.01 degrees
! Estimated noise=0.968645 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 2.59313e-05 Jy
! Component: 100  -  total flux cleaned = 5.2143e-05 Jy
! Component: 150  -  total flux cleaned = 9.97898e-05 Jy
! Component: 200  -  total flux cleaned = 0.000121543 Jy
! Total flux subtracted in 200 components = 0.000121543 Jy
! Clean residual min=-0.003135 max=0.003447 Jy/beam
! Clean residual mean=0.000052 rms=0.001025 Jy/beam
! Combined flux in latest and established models = 0.109612 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 80 components and 0.109612 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062659Jy  sigma=0.959447
! Fit after  self-cal, rms=0.062653Jy  sigma=0.959254
wmodel J1742-1903_S_2005_05_12_yyk\_map.mod
! Writing 80 model components to file: J1742-1903_S_2005_05_12_yyk_map.mod
wobs J1742-1903_S_2005_05_12_yyk\_uvs.fits
! Writing UV FITS file: J1742-1903_S_2005_05_12_yyk_uvs.fits
wwins J1742-1903_S_2005_05_12_yyk\_map.win
! wwins: Wrote 1 windows to J1742-1903_S_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 = 0.000751319 Jy
! Component: 100  -  total flux cleaned = 0.00100525 Jy
! Component: 150  -  total flux cleaned = 0.00134231 Jy
! Component: 200  -  total flux cleaned = 0.00165878 Jy
! Component: 250  -  total flux cleaned = 0.00187361 Jy
! Component: 300  -  total flux cleaned = 0.00191471 Jy
! Component: 350  -  total flux cleaned = 0.00187364 Jy
! Component: 400  -  total flux cleaned = 0.00171695 Jy
! Component: 450  -  total flux cleaned = 0.00149141 Jy
! Component: 500  -  total flux cleaned = 0.00145528 Jy
! Component: 550  -  total flux cleaned = 0.00142011 Jy
! Component: 600  -  total flux cleaned = 0.00145509 Jy
! Component: 650  -  total flux cleaned = 0.00142068 Jy
! Component: 700  -  total flux cleaned = 0.00141956 Jy
! Component: 750  -  total flux cleaned = 0.00132227 Jy
! Component: 800  -  total flux cleaned = 0.00129054 Jy
! Component: 850  -  total flux cleaned = 0.00119823 Jy
! Component: 900  -  total flux cleaned = 0.0010783 Jy
! Component: 950  -  total flux cleaned = 0.00101941 Jy
! Component: 1000  -  total flux cleaned = 0.000961817 Jy
! Component: 1050  -  total flux cleaned = 0.00107561 Jy
! Component: 1100  -  total flux cleaned = 0.000992141 Jy
! Component: 1150  -  total flux cleaned = 0.00101898 Jy
! Component: 1200  -  total flux cleaned = 0.000937998 Jy
! Component: 1250  -  total flux cleaned = 0.000911699 Jy
! Component: 1300  -  total flux cleaned = 0.000964039 Jy
! Component: 1350  -  total flux cleaned = 0.000912837 Jy
! Component: 1400  -  total flux cleaned = 0.000988526 Jy
! Component: 1450  -  total flux cleaned = 0.000963247 Jy
! Component: 1500  -  total flux cleaned = 0.00101224 Jy
! Component: 1550  -  total flux cleaned = 0.00103672 Jy
! Component: 1600  -  total flux cleaned = 0.00108432 Jy
! Component: 1650  -  total flux cleaned = 0.00113108 Jy
! Component: 1700  -  total flux cleaned = 0.00117711 Jy
! Component: 1750  -  total flux cleaned = 0.0012221 Jy
! Component: 1800  -  total flux cleaned = 0.00126661 Jy
! Component: 1850  -  total flux cleaned = 0.00131064 Jy
! Component: 1900  -  total flux cleaned = 0.0013108 Jy
! Component: 1950  -  total flux cleaned = 0.00135362 Jy
! Component: 2000  -  total flux cleaned = 0.00147988 Jy
! Total flux subtracted in 2048 components = 0.00154192 Jy
! Clean residual min=-0.001245 max=0.001380 Jy/beam
! Clean residual mean=0.000035 rms=0.000460 Jy/beam
! Combined flux in latest and established models = 0.111154 Jy
keep
! Adding 135 model components to the UV plane model.
! The established model now contains 215 components and 0.111154 Jy
![Exited script file: muppet]
wmap "J1742-1903_S_2005_05_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.021 x 16.36 at -15.01 degrees (North through East)
! Clean map  min=-0.0028647  max=0.088039 Jy/beam
! Writing clean map to FITS file: J1742-1903_S_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.0880393 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000468252 
device "J1742-1903_S_2005_05_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J1742-1903_S_2005_05_12_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.5956 1.5956 3.19121 6.38241 12.7648 25.5296 51.0593
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.088 
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.021 x 16.36 at -15.01 degrees (North through East)
! Clean map  min=-0.0028647  max=0.088039 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1742-1903_S_2005_05_12_yyk\_map.gif/gif"
! Attempting to open device: 'J1742-1903_S_2005_05_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1742-1903_S_2005_05_12_yyk_uvs.log closed on Sat Oct  8 17:32:58 2005