! Started logfile: J1317-2031_X_2004_05_08_yyk_uvs.log on Wed Dec  7 00:27:07 2005
obs J1317-2031_X_2004_05_08_yyk_uve.fits
! Reading UV FITS file: J1317-2031_X_2004_05_08_yyk_uve.fits
! AN table 1: 16 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.668056 visibilities/baseline/integration-bin.
! Found source: J1317-2031
! 
! 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 1437 lines of history.
! 
! Reading 1924 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 J1317-2031_X_2004_05_08_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.101166 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 44 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 52 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 63 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.925908Jy  sigma=18.201306
! Fit after  self-cal, rms=0.924332Jy  sigma=18.181214
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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=1.299 mas, bmaj=5.808 mas, bpa=-2.493 degrees
! Estimated noise=1.47132 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.0666288 Jy
! Component: 100  -  total flux cleaned = 0.0822184 Jy
! Total flux subtracted in 100 components = 0.0822184 Jy
! Clean residual min=-0.005198 max=0.005579 Jy/beam
! Clean residual mean=-0.000015 rms=0.001604 Jy/beam
! Combined flux in latest and established models = 0.0822184 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.0822184 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.063282Jy  sigma=1.066067
! Fit after  self-cal, rms=0.063270Jy  sigma=1.065692
! Inverting map 
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.682 mas, bmaj=6.48 mas, bpa=-3.494 degrees
! Estimated noise=0.974449 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.00743378 Jy
! Component: 100  -  total flux cleaned = 0.0100038 Jy
! Component: 150  -  total flux cleaned = 0.0111551 Jy
! Component: 200  -  total flux cleaned = 0.0118016 Jy
! Total flux subtracted in 200 components = 0.0118016 Jy
! Clean residual min=-0.003819 max=0.003548 Jy/beam
! Clean residual mean=0.000028 rms=0.001056 Jy/beam
! Combined flux in latest and established models = 0.0940201 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 51 components and 0.0940201 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062919Jy  sigma=1.053034
! Fit after  self-cal, rms=0.062893Jy  sigma=1.052853
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! 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.01654
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.96     HN        0.97     KP        0.98     
!   LA        1.04     MK        1.00*    NL        0.94     OV        1.01     
!   PT        0.95     SC        1.00*    
! 
! 
! Correcting IF 2.
!  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 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.062893Jy  sigma=1.052853
! Fit after  self-cal, rms=0.062690Jy  sigma=1.051595
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.062690Jy  sigma=1.051595
! Fit after  self-cal, rms=0.062692Jy  sigma=1.051592
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.68 mas, bmaj=6.481 mas, bpa=-3.602 degrees
! Estimated noise=0.970502 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.000234944 Jy
! Component: 100  -  total flux cleaned = 0.000315497 Jy
! Component: 150  -  total flux cleaned = 0.000317012 Jy
! Component: 200  -  total flux cleaned = 0.000317862 Jy
! Total flux subtracted in 200 components = 0.000317862 Jy
! Clean residual min=-0.003706 max=0.003471 Jy/beam
! Clean residual mean=0.000028 rms=0.001043 Jy/beam
! Combined flux in latest and established models = 0.0943379 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 60 components and 0.0943379 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062700Jy  sigma=1.051402
! Fit after  self-cal, rms=0.062691Jy  sigma=1.051376
! 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.062691Jy  sigma=1.051376
! Fit after  self-cal, rms=0.058258Jy  sigma=0.962667
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.00233373 Jy
! Component: 100  -  total flux cleaned = 0.00236708 Jy
! Component: 150  -  total flux cleaned = 0.00237166 Jy
! Component: 200  -  total flux cleaned = 0.00235377 Jy
! Total flux subtracted in 200 components = 0.00235377 Jy
! Clean residual min=-0.003421 max=0.003230 Jy/beam
! Clean residual mean=0.000026 rms=0.000986 Jy/beam
! Combined flux in latest and established models = 0.0966917 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 86 components and 0.0966917 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058160Jy  sigma=0.960786
! Fit after  self-cal, rms=0.057758Jy  sigma=0.955898
! 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.68 x 6.481 at -3.602 degrees (North through East)
! Clean map  min=-0.0034866  max=0.081422 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.436 mas, bmaj=6.617 mas, bpa=-1.997 degrees
! Estimated noise=1.03871 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 = 1.30605e-05 Jy
! Component: 100  -  total flux cleaned = 2.64501e-05 Jy
! Component: 150  -  total flux cleaned = 2.0705e-07 Jy
! Component: 200  -  total flux cleaned = -1.14687e-05 Jy
! Total flux subtracted in 200 components = -1.14687e-05 Jy
! Clean residual min=-0.003575 max=0.003225 Jy/beam
! Clean residual mean=0.000036 rms=0.001027 Jy/beam
! Combined flux in latest and established models = 0.0966802 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 93 components and 0.0966802 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057761Jy  sigma=0.955836
! Fit after  self-cal, rms=0.057612Jy  sigma=0.955062
! 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=1.298 mas, bmaj=5.812 mas, bpa=-2.554 degrees
! Estimated noise=1.46662 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0692757 Jy
! Component: 100  -  total flux cleaned = 0.0850739 Jy
! Component: 150  -  total flux cleaned = 0.0912656 Jy
! Component: 200  -  total flux cleaned = 0.0928084 Jy
! Total flux subtracted in 200 components = 0.0928084 Jy
! Clean residual min=-0.004803 max=0.005612 Jy/beam
! Clean residual mean=-0.000002 rms=0.001407 Jy/beam
! Combined flux in latest and established models = 0.0928084 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.0928084 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.68 mas, bmaj=6.481 mas, bpa=-3.602 degrees
! Estimated noise=0.970502 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.0022097 Jy
! Component: 100  -  total flux cleaned = 0.00290598 Jy
! Component: 150  -  total flux cleaned = 0.00316559 Jy
! Component: 200  -  total flux cleaned = 0.00331434 Jy
! Total flux subtracted in 200 components = 0.00331434 Jy
! Clean residual min=-0.003394 max=0.003143 Jy/beam
! Clean residual mean=0.000023 rms=0.000984 Jy/beam
! Combined flux in latest and established models = 0.0961228 Jy
! Adding 28 model components to the UV plane model.
! The established model now contains 51 components and 0.0961228 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.436 mas, bmaj=6.617 mas, bpa=-1.997 degrees
! Estimated noise=1.03871 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.000507965 Jy
! Component: 100  -  total flux cleaned = 0.000489663 Jy
! Component: 150  -  total flux cleaned = 0.000515324 Jy
! Component: 200  -  total flux cleaned = 0.000528255 Jy
! Total flux subtracted in 200 components = 0.000528255 Jy
! Clean residual min=-0.003689 max=0.003189 Jy/beam
! Clean residual mean=0.000036 rms=0.001031 Jy/beam
! Combined flux in latest and established models = 0.096651 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 58 components and 0.096651 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.68 mas, bmaj=6.481 mas, bpa=-3.602 degrees
! Estimated noise=0.970502 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000275146 Jy
! Component: 100  -  total flux cleaned = -0.00019151 Jy
! Component: 150  -  total flux cleaned = -0.000170653 Jy
! Component: 200  -  total flux cleaned = -0.000169546 Jy
! Total flux subtracted in 200 components = -0.000169546 Jy
! Clean residual min=-0.003408 max=0.003150 Jy/beam
! Clean residual mean=0.000025 rms=0.000980 Jy/beam
! Combined flux in latest and established models = 0.0964815 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 71 components and 0.0964815 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057598Jy  sigma=0.955101
! Fit after  self-cal, rms=0.057531Jy  sigma=0.954910
wmodel J1317-2031_X_2004_05_08_yyk\_map.mod
! Writing 71 model components to file: J1317-2031_X_2004_05_08_yyk_map.mod
wobs J1317-2031_X_2004_05_08_yyk\_uvs.fits
! Writing UV FITS file: J1317-2031_X_2004_05_08_yyk_uvs.fits
wwins J1317-2031_X_2004_05_08_yyk\_map.win
! wwins: Wrote 1 windows to J1317-2031_X_2004_05_08_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.000559 Jy
! Component: 100  -  total flux cleaned = -0.000996434 Jy
! Component: 150  -  total flux cleaned = -0.00119624 Jy
! Component: 200  -  total flux cleaned = -0.00138641 Jy
! Component: 250  -  total flux cleaned = -0.00120466 Jy
! Component: 300  -  total flux cleaned = -0.000988519 Jy
! Component: 350  -  total flux cleaned = -0.000861951 Jy
! Component: 400  -  total flux cleaned = -0.00094021 Jy
! Component: 450  -  total flux cleaned = -0.00109488 Jy
! Component: 500  -  total flux cleaned = -0.00139531 Jy
! Component: 550  -  total flux cleaned = -0.00165111 Jy
! Component: 600  -  total flux cleaned = -0.00189879 Jy
! Component: 650  -  total flux cleaned = -0.00203704 Jy
! Component: 700  -  total flux cleaned = -0.00210554 Jy
! Component: 750  -  total flux cleaned = -0.00233559 Jy
! Component: 800  -  total flux cleaned = -0.002528 Jy
! Component: 850  -  total flux cleaned = -0.00262244 Jy
! Component: 900  -  total flux cleaned = -0.0028074 Jy
! Component: 950  -  total flux cleaned = -0.00304817 Jy
! Component: 1000  -  total flux cleaned = -0.00319528 Jy
! Component: 1050  -  total flux cleaned = -0.00325338 Jy
! Component: 1100  -  total flux cleaned = -0.00331032 Jy
! Component: 1150  -  total flux cleaned = -0.00331025 Jy
! Component: 1200  -  total flux cleaned = -0.00333757 Jy
! Component: 1250  -  total flux cleaned = -0.00331068 Jy
! Component: 1300  -  total flux cleaned = -0.00333731 Jy
! Component: 1350  -  total flux cleaned = -0.00331121 Jy
! Component: 1400  -  total flux cleaned = -0.00336306 Jy
! Component: 1450  -  total flux cleaned = -0.00338858 Jy
! Component: 1500  -  total flux cleaned = -0.00336362 Jy
! Component: 1550  -  total flux cleaned = -0.00341335 Jy
! Component: 1600  -  total flux cleaned = -0.00341351 Jy
! Component: 1650  -  total flux cleaned = -0.00336514 Jy
! Component: 1700  -  total flux cleaned = -0.00329375 Jy
! Component: 1750  -  total flux cleaned = -0.00329386 Jy
! Component: 1800  -  total flux cleaned = -0.00320025 Jy
! Component: 1850  -  total flux cleaned = -0.0030845 Jy
! Component: 1900  -  total flux cleaned = -0.00292414 Jy
! Component: 1950  -  total flux cleaned = -0.00287924 Jy
! Component: 2000  -  total flux cleaned = -0.00278972 Jy
! Total flux subtracted in 2048 components = -0.00270039 Jy
! Clean residual min=-0.001189 max=0.001185 Jy/beam
! Clean residual mean=0.000009 rms=0.000484 Jy/beam
! Combined flux in latest and established models = 0.0937811 Jy
keep
! Adding 163 model components to the UV plane model.
! The established model now contains 234 components and 0.0937811 Jy
![Exited script file: muppet]
wmap "J1317-2031_X_2004_05_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.68 x 6.481 at -3.602 degrees (North through East)
! Clean map  min=-0.0029497  max=0.081868 Jy/beam
! Writing clean map to FITS file: J1317-2031_X_2004_05_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0818683 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000469647 
device "J1317-2031_X_2004_05_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1317-2031_X_2004_05_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.72098 1.72098 3.44197 6.88394 13.7679 27.5358 55.0715
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.081 
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.68 x 6.481 at -3.602 degrees (North through East)
! Clean map  min=-0.0029497  max=0.081868 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1317-2031_X_2004_05_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1317-2031_X_2004_05_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1317-2031_X_2004_05_08_yyk_uvs.log closed on Wed Dec  7 00:27:11 2005