! Started logfile: J2042-2223_X_2005_07_20_yyk_uvs.log on Fri Jan 20 11:00:49 2006
obs J2042-2223_X_2005_07_20_yyk_uve.fits
! Reading UV FITS file: J2042-2223_X_2005_07_20_yyk_uve.fits
! AN table 1: 13 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.654701 visibilities/baseline/integration-bin.
! Found source: J2042-2223
! 
! 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 1532 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 J2042-2223_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.115585 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.9788 mas, bmaj=3.503 mas, bpa=17.28 degrees
! Estimated noise=1.96364 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.0814515 Jy
! Component: 100  -  total flux cleaned = 0.0944956 Jy
! Total flux subtracted in 100 components = 0.0944956 Jy
! Clean residual min=-0.011201 max=0.009878 Jy/beam
! Clean residual mean=-0.000020 rms=0.002608 Jy/beam
! Combined flux in latest and established models = 0.0944956 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.0944956 Jy
! 
! Correcting IF 1.
!  A total of 32 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 44 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 44 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 130 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.062931Jy  sigma=1.082443
! Fit after  self-cal, rms=0.062646Jy  sigma=1.076154
! Inverting map and beam 
! Estimated beam: bmin=0.9788 mas, bmaj=3.503 mas, bpa=17.28 degrees
! Estimated noise=1.96364 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.317 mas, bmaj=4.222 mas, bpa=12.83 degrees
! Estimated noise=1.31896 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.00756548 Jy
! Component: 100  -  total flux cleaned = 0.00963703 Jy
! Component: 150  -  total flux cleaned = 0.00979539 Jy
! Component: 200  -  total flux cleaned = 0.00986791 Jy
! Total flux subtracted in 200 components = 0.00986791 Jy
! Clean residual min=-0.006667 max=0.008640 Jy/beam
! Clean residual mean=-0.000008 rms=0.001986 Jy/beam
! Combined flux in latest and established models = 0.104363 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 26 components and 0.104363 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062181Jy  sigma=1.063116
! Fit after  self-cal, rms=0.062170Jy  sigma=1.063048
! 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.317 x 4.222 at 12.83 degrees (North through East)
! Clean map  min=-0.0064826  max=0.096536 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.0175
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.87     HN        0.99     KP        1.00     
!   LA        1.00*    MK        1.00*    NL        0.96     OV        0.95     
!   PT        1.12     SC        0.95     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.0012
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.13     FD        0.93     HN        1.08     KP        0.88     
!   LA        1.00*    MK        1.00*    NL        0.95     OV        0.93     
!   PT        1.09     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        0.00*    FD        0.00*    HN        0.00*    KP        0.00*    
!   LA        0.00*    MK        0.00*    NL        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    
! 
! 
! Fit before self-cal, rms=0.062170Jy  sigma=1.063048
! Fit after  self-cal, rms=0.061010Jy  sigma=1.049101
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.061010Jy  sigma=1.049101
! Fit after  self-cal, rms=0.061016Jy  sigma=1.049060
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.319 mas, bmaj=4.203 mas, bpa=13.05 degrees
! Estimated noise=1.29673 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.00202719 Jy
! Component: 100  -  total flux cleaned = -0.00223106 Jy
! Component: 150  -  total flux cleaned = -0.00229055 Jy
! Component: 200  -  total flux cleaned = -0.0023495 Jy
! Total flux subtracted in 200 components = -0.0023495 Jy
! Clean residual min=-0.005664 max=0.005868 Jy/beam
! Clean residual mean=-0.000014 rms=0.001641 Jy/beam
! Combined flux in latest and established models = 0.102014 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 32 components and 0.102014 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060940Jy  sigma=1.046845
! Fit after  self-cal, rms=0.060930Jy  sigma=1.046809
! 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.060930Jy  sigma=1.046809
! Fit after  self-cal, rms=0.057066Jy  sigma=0.985577
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.00113418 Jy
! Component: 100  -  total flux cleaned = 0.00109225 Jy
! Component: 150  -  total flux cleaned = 0.00104522 Jy
! Component: 200  -  total flux cleaned = 0.00104489 Jy
! Total flux subtracted in 200 components = 0.00104489 Jy
! Clean residual min=-0.005136 max=0.005706 Jy/beam
! Clean residual mean=-0.000011 rms=0.001578 Jy/beam
! Combined flux in latest and established models = 0.103059 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 41 components and 0.103059 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057009Jy  sigma=0.983792
! Fit after  self-cal, rms=0.056753Jy  sigma=0.979643
! 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.319 x 4.203 at 13.05 degrees (North through East)
! Clean map  min=-0.0050035  max=0.097102 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.259 mas, bmaj=5.659 mas, bpa=6.768 degrees
! Estimated noise=1.44152 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.00020743 Jy
! Component: 100  -  total flux cleaned = -0.000271809 Jy
! Component: 150  -  total flux cleaned = -0.000355123 Jy
! Component: 200  -  total flux cleaned = -0.000432853 Jy
! Total flux subtracted in 200 components = -0.000432853 Jy
! Clean residual min=-0.005101 max=0.005792 Jy/beam
! Clean residual mean=-0.000012 rms=0.001690 Jy/beam
! Combined flux in latest and established models = 0.102626 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 55 components and 0.102626 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056752Jy  sigma=0.979170
! Fit after  self-cal, rms=0.056744Jy  sigma=0.978729
! 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.9778 mas, bmaj=3.501 mas, bpa=17.41 degrees
! Estimated noise=1.93234 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0818598 Jy
! Component: 100  -  total flux cleaned = 0.0952387 Jy
! Component: 150  -  total flux cleaned = 0.0978258 Jy
! Component: 200  -  total flux cleaned = 0.0987487 Jy
! Total flux subtracted in 200 components = 0.0987487 Jy
! Clean residual min=-0.009086 max=0.008873 Jy/beam
! Clean residual mean=-0.000018 rms=0.002240 Jy/beam
! Combined flux in latest and established models = 0.0987487 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.0987487 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.319 mas, bmaj=4.203 mas, bpa=13.05 degrees
! Estimated noise=1.29673 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.0039812 Jy
! Component: 100  -  total flux cleaned = 0.00453102 Jy
! Component: 150  -  total flux cleaned = 0.00453479 Jy
! Component: 200  -  total flux cleaned = 0.00453728 Jy
! Total flux subtracted in 200 components = 0.00453728 Jy
! Clean residual min=-0.005399 max=0.005902 Jy/beam
! Clean residual mean=-0.000011 rms=0.001611 Jy/beam
! Combined flux in latest and established models = 0.103286 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 36 components and 0.103286 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.259 mas, bmaj=5.659 mas, bpa=6.768 degrees
! Estimated noise=1.44152 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 = 4.50707e-05 Jy
! Component: 100  -  total flux cleaned = -0.000135708 Jy
! Component: 150  -  total flux cleaned = -0.000384652 Jy
! Component: 200  -  total flux cleaned = -0.000516763 Jy
! Total flux subtracted in 200 components = -0.000516763 Jy
! Clean residual min=-0.005240 max=0.005920 Jy/beam
! Clean residual mean=-0.000012 rms=0.001712 Jy/beam
! Combined flux in latest and established models = 0.102769 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 48 components and 0.102769 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.319 mas, bmaj=4.203 mas, bpa=13.05 degrees
! Estimated noise=1.29673 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -7.71745e-05 Jy
! Component: 100  -  total flux cleaned = 1.80336e-05 Jy
! Component: 150  -  total flux cleaned = 6.44023e-05 Jy
! Component: 200  -  total flux cleaned = 6.8358e-05 Jy
! Total flux subtracted in 200 components = 6.83581e-05 Jy
! Clean residual min=-0.005122 max=0.005676 Jy/beam
! Clean residual mean=-0.000010 rms=0.001564 Jy/beam
! Combined flux in latest and established models = 0.102838 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 57 components and 0.102838 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.056690Jy  sigma=0.978881
! Fit after  self-cal, rms=0.056688Jy  sigma=0.978793
wmodel J2042-2223_X_2005_07_20_yyk\_map.mod
! Writing 57 model components to file: J2042-2223_X_2005_07_20_yyk_map.mod
wobs J2042-2223_X_2005_07_20_yyk\_uvs.fits
! Writing UV FITS file: J2042-2223_X_2005_07_20_yyk_uvs.fits
wwins J2042-2223_X_2005_07_20_yyk\_map.win
! wwins: Wrote 1 windows to J2042-2223_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.00215143 Jy
! Component: 100  -  total flux cleaned = 0.00358778 Jy
! Component: 150  -  total flux cleaned = 0.00424533 Jy
! Component: 200  -  total flux cleaned = 0.00462537 Jy
! Component: 250  -  total flux cleaned = 0.00498199 Jy
! Component: 300  -  total flux cleaned = 0.00552649 Jy
! Component: 350  -  total flux cleaned = 0.00604183 Jy
! Component: 400  -  total flux cleaned = 0.00653059 Jy
! Component: 450  -  total flux cleaned = 0.00682394 Jy
! Component: 500  -  total flux cleaned = 0.00722151 Jy
! Component: 550  -  total flux cleaned = 0.00771287 Jy
! Component: 600  -  total flux cleaned = 0.00808179 Jy
! Component: 650  -  total flux cleaned = 0.00843663 Jy
! Component: 700  -  total flux cleaned = 0.00858332 Jy
! Component: 750  -  total flux cleaned = 0.00863181 Jy
! Component: 800  -  total flux cleaned = 0.00891168 Jy
! Component: 850  -  total flux cleaned = 0.00913742 Jy
! Component: 900  -  total flux cleaned = 0.0093566 Jy
! Component: 950  -  total flux cleaned = 0.00952714 Jy
! Component: 1000  -  total flux cleaned = 0.00961077 Jy
! Component: 1050  -  total flux cleaned = 0.00985467 Jy
! Component: 1100  -  total flux cleaned = 0.00997388 Jy
! Component: 1150  -  total flux cleaned = 0.0100904 Jy
! Component: 1200  -  total flux cleaned = 0.0102053 Jy
! Component: 1250  -  total flux cleaned = 0.0103549 Jy
! Component: 1300  -  total flux cleaned = 0.0106113 Jy
! Component: 1350  -  total flux cleaned = 0.0107551 Jy
! Component: 1400  -  total flux cleaned = 0.0110366 Jy
! Component: 1450  -  total flux cleaned = 0.0110366 Jy
! Component: 1500  -  total flux cleaned = 0.0111392 Jy
! Component: 1550  -  total flux cleaned = 0.0112729 Jy
! Component: 1600  -  total flux cleaned = 0.0113381 Jy
! Component: 1650  -  total flux cleaned = 0.0113056 Jy
! Component: 1700  -  total flux cleaned = 0.0113699 Jy
! Component: 1750  -  total flux cleaned = 0.0113697 Jy
! Component: 1800  -  total flux cleaned = 0.0113391 Jy
! Component: 1850  -  total flux cleaned = 0.0112793 Jy
! Component: 1900  -  total flux cleaned = 0.0112497 Jy
! Component: 1950  -  total flux cleaned = 0.0112201 Jy
! Component: 2000  -  total flux cleaned = 0.0112201 Jy
! Total flux subtracted in 2048 components = 0.0111627 Jy
! Clean residual min=-0.001580 max=0.001875 Jy/beam
! Clean residual mean=-0.000009 rms=0.000590 Jy/beam
! Combined flux in latest and established models = 0.114 Jy
keep
! Adding 130 model components to the UV plane model.
! The established model now contains 187 components and 0.114 Jy
![Exited script file: muppet]
wmap "J2042-2223_X_2005_07_20_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.319 x 4.203 at 13.05 degrees (North through East)
! Clean map  min=-0.0027642  max=0.096086 Jy/beam
! Writing clean map to FITS file: J2042-2223_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.0960861 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000578299 
device "J2042-2223_X_2005_07_20_yyk\_map.eps/VPS"
! Attempting to open device: 'J2042-2223_X_2005_07_20_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.80556 1.80556 3.61113 7.22225 14.4445 28.889 57.778
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
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: 1.319 x 4.203 at 13.05 degrees (North through East)
! Clean map  min=-0.0027642  max=0.096086 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2042-2223_X_2005_07_20_yyk\_map.gif/gif"
! Attempting to open device: 'J2042-2223_X_2005_07_20_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2042-2223_X_2005_07_20_yyk_uvs.log closed on Fri Jan 20 11:00:52 2006