! Started logfile: J1254-1317_S_2005_07_08_yyk_uvs.log on Fri Jan 20 10:28:33 2006
obs J1254-1317_S_2005_07_08_yyk_uve.fits
! Reading UV FITS file: J1254-1317_S_2005_07_08_yyk_uve.fits
! AN table 1: 11 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.864646 visibilities/baseline/integration-bin.
! Found source: J1254-1317
! 
! 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 1412 lines of history.
! 
! Reading 1712 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 J1254-1317_S_2005_07_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.127942 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=2.547 mas, bmaj=6.746 mas, bpa=-1.342 degrees
! Estimated noise=1.63305 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.0733301 Jy
! Component: 100  -  total flux cleaned = 0.0942329 Jy
! Total flux subtracted in 100 components = 0.0942329 Jy
! Clean residual min=-0.009586 max=0.013356 Jy/beam
! Clean residual mean=0.000020 rms=0.002740 Jy/beam
! Combined flux in latest and established models = 0.0942329 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 30 components and 0.0942329 Jy
! 
! Correcting IF 1.
!  A total of 14 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 13 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 15 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.087538Jy  sigma=1.214784
! Fit after  self-cal, rms=0.085107Jy  sigma=1.192613
! Inverting map and beam 
! Estimated beam: bmin=2.547 mas, bmaj=6.746 mas, bpa=-1.342 degrees
! Estimated noise=1.63305 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=3.267 mas, bmaj=8.219 mas, bpa=-1.294 degrees
! Estimated noise=1.08869 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.0165592 Jy
! Component: 100  -  total flux cleaned = 0.0220265 Jy
! Component: 150  -  total flux cleaned = 0.0241255 Jy
! Component: 200  -  total flux cleaned = 0.0246367 Jy
! Total flux subtracted in 200 components = 0.0246367 Jy
! Clean residual min=-0.005141 max=0.006200 Jy/beam
! Clean residual mean=-0.000022 rms=0.001473 Jy/beam
! Combined flux in latest and established models = 0.11887 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 58 components and 0.11887 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.083244Jy  sigma=1.151959
! Fit after  self-cal, rms=0.083237Jy  sigma=1.151811
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.267 x 8.219 at -1.294 degrees (North through East)
! Clean map  min=-0.0049863  max=0.094611 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
!  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.10014
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.92     HN        0.89     KP        0.88     
!   LA        0.86     MK        0.88     NL        0.94     OV        0.88     
!   PT        0.94     SC        0.91     
! 
! 
! Fit before self-cal, rms=0.083237Jy  sigma=1.151811
! Fit after  self-cal, rms=0.082867Jy  sigma=1.151397
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.082867Jy  sigma=1.151397
! Fit after  self-cal, rms=0.082873Jy  sigma=1.151387
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.253 mas, bmaj=8.237 mas, bpa=-1.524 degrees
! Estimated noise=1.08946 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.000236829 Jy
! Component: 100  -  total flux cleaned = 0.000240877 Jy
! Component: 150  -  total flux cleaned = 0.000211813 Jy
! Component: 200  -  total flux cleaned = 0.000183614 Jy
! Total flux subtracted in 200 components = 0.000183614 Jy
! Clean residual min=-0.005160 max=0.006244 Jy/beam
! Clean residual mean=-0.000025 rms=0.001470 Jy/beam
! Combined flux in latest and established models = 0.119053 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 60 components and 0.119053 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082852Jy  sigma=1.150984
! Fit after  self-cal, rms=0.082844Jy  sigma=1.150945
! 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.082844Jy  sigma=1.150945
! Fit after  self-cal, rms=0.077432Jy  sigma=1.068475
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)
! Added new window around map position (36, 47.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00279204 Jy
! Component: 100  -  total flux cleaned = 0.00279876 Jy
! Component: 150  -  total flux cleaned = 0.00316204 Jy
! Component: 200  -  total flux cleaned = 0.00326995 Jy
! Total flux subtracted in 200 components = 0.00326995 Jy
! Clean residual min=-0.005049 max=0.004481 Jy/beam
! Clean residual mean=-0.000011 rms=0.001284 Jy/beam
! Combined flux in latest and established models = 0.122323 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 77 components and 0.122323 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.076758Jy  sigma=1.057504
! Fit after  self-cal, rms=0.076108Jy  sigma=1.047839
! 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: 3.253 x 8.237 at -1.524 degrees (North through East)
! Clean map  min=-0.0047046  max=0.098237 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=8.403 mas, bmaj=15.79 mas, bpa=1.911 degrees
! Estimated noise=1.37052 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.00118822 Jy
! Component: 100  -  total flux cleaned = 0.00143117 Jy
! Component: 150  -  total flux cleaned = 0.00143053 Jy
! Component: 200  -  total flux cleaned = 0.00143354 Jy
! Total flux subtracted in 200 components = 0.00143354 Jy
! Clean residual min=-0.005049 max=0.004240 Jy/beam
! Clean residual mean=-0.000016 rms=0.001475 Jy/beam
! Combined flux in latest and established models = 0.123757 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 86 components and 0.123757 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.076070Jy  sigma=1.046795
! Fit after  self-cal, rms=0.075997Jy  sigma=1.045744
! 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=2.538 mas, bmaj=6.745 mas, bpa=-1.475 degrees
! Estimated noise=1.63608 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0821587 Jy
! Component: 100  -  total flux cleaned = 0.105156 Jy
! Component: 150  -  total flux cleaned = 0.114025 Jy
! Component: 200  -  total flux cleaned = 0.118028 Jy
! Total flux subtracted in 200 components = 0.118028 Jy
! Clean residual min=-0.007521 max=0.006806 Jy/beam
! Clean residual mean=0.000021 rms=0.001763 Jy/beam
! Combined flux in latest and established models = 0.118028 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 39 model components to the UV plane model.
! The established model now contains 39 components and 0.118028 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.253 mas, bmaj=8.237 mas, bpa=-1.524 degrees
! Estimated noise=1.08946 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.00235849 Jy
! Component: 100  -  total flux cleaned = 0.0031116 Jy
! Component: 150  -  total flux cleaned = 0.00371972 Jy
! Component: 200  -  total flux cleaned = 0.00422192 Jy
! Total flux subtracted in 200 components = 0.00422192 Jy
! Clean residual min=-0.004642 max=0.004426 Jy/beam
! Clean residual mean=-0.000001 rms=0.001244 Jy/beam
! Combined flux in latest and established models = 0.12225 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 59 components and 0.12225 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=8.403 mas, bmaj=15.79 mas, bpa=1.911 degrees
! Estimated noise=1.37052 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.00103291 Jy
! Component: 100  -  total flux cleaned = 0.00122815 Jy
! Component: 150  -  total flux cleaned = 0.00139215 Jy
! Component: 200  -  total flux cleaned = 0.00153408 Jy
! Total flux subtracted in 200 components = 0.00153408 Jy
! Clean residual min=-0.005007 max=0.004381 Jy/beam
! Clean residual mean=-0.000011 rms=0.001474 Jy/beam
! Combined flux in latest and established models = 0.123784 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 81 components and 0.123784 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.253 mas, bmaj=8.237 mas, bpa=-1.524 degrees
! Estimated noise=1.08946 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.57903e-05 Jy
! Component: 100  -  total flux cleaned = 0.000320939 Jy
! Component: 150  -  total flux cleaned = 0.000438129 Jy
! Component: 200  -  total flux cleaned = 0.000495307 Jy
! Total flux subtracted in 200 components = 0.000495307 Jy
! Clean residual min=-0.004645 max=0.004180 Jy/beam
! Clean residual mean=-0.000003 rms=0.001211 Jy/beam
! Combined flux in latest and established models = 0.124279 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 96 components and 0.124279 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075783Jy  sigma=1.042189
! Fit after  self-cal, rms=0.075757Jy  sigma=1.041693
wmodel J1254-1317_S_2005_07_08_yyk\_map.mod
! Writing 96 model components to file: J1254-1317_S_2005_07_08_yyk_map.mod
wobs J1254-1317_S_2005_07_08_yyk\_uvs.fits
! Writing UV FITS file: J1254-1317_S_2005_07_08_yyk_uvs.fits
wwins J1254-1317_S_2005_07_08_yyk\_map.win
! wwins: Wrote 2 windows to J1254-1317_S_2005_07_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.0010053 Jy
! Component: 100  -  total flux cleaned = -0.00153259 Jy
! Component: 150  -  total flux cleaned = -0.00181653 Jy
! Component: 200  -  total flux cleaned = -0.00195058 Jy
! Component: 250  -  total flux cleaned = -0.00207955 Jy
! Component: 300  -  total flux cleaned = -0.00207852 Jy
! Component: 350  -  total flux cleaned = -0.0018404 Jy
! Component: 400  -  total flux cleaned = -0.00149359 Jy
! Component: 450  -  total flux cleaned = -0.00104308 Jy
! Component: 500  -  total flux cleaned = -0.000549291 Jy
! Component: 550  -  total flux cleaned = -1.41461e-05 Jy
! Component: 600  -  total flux cleaned = 0.000717028 Jy
! Component: 650  -  total flux cleaned = 0.00132926 Jy
! Component: 700  -  total flux cleaned = 0.00187891 Jy
! Component: 750  -  total flux cleaned = 0.00232031 Jy
! Component: 800  -  total flux cleaned = 0.00289685 Jy
! Component: 850  -  total flux cleaned = 0.00341501 Jy
! Component: 900  -  total flux cleaned = 0.0038319 Jy
! Component: 950  -  total flux cleaned = 0.00424184 Jy
! Component: 1000  -  total flux cleaned = 0.00468927 Jy
! Component: 1050  -  total flux cleaned = 0.00512957 Jy
! Component: 1100  -  total flux cleaned = 0.00551894 Jy
! Component: 1150  -  total flux cleaned = 0.00590192 Jy
! Component: 1200  -  total flux cleaned = 0.00619511 Jy
! Component: 1250  -  total flux cleaned = 0.00652534 Jy
! Component: 1300  -  total flux cleaned = 0.00681022 Jy
! Component: 1350  -  total flux cleaned = 0.00705117 Jy
! Component: 1400  -  total flux cleaned = 0.00728904 Jy
! Component: 1450  -  total flux cleaned = 0.00752269 Jy
! Component: 1500  -  total flux cleaned = 0.00763773 Jy
! Component: 1550  -  total flux cleaned = 0.00775192 Jy
! Component: 1600  -  total flux cleaned = 0.00797666 Jy
! Component: 1650  -  total flux cleaned = 0.00805052 Jy
! Component: 1700  -  total flux cleaned = 0.00816031 Jy
! Component: 1750  -  total flux cleaned = 0.0083053 Jy
! Component: 1800  -  total flux cleaned = 0.00848386 Jy
! Component: 1850  -  total flux cleaned = 0.00869522 Jy
! Component: 1900  -  total flux cleaned = 0.00872965 Jy
! Component: 1950  -  total flux cleaned = 0.00890283 Jy
! Component: 2000  -  total flux cleaned = 0.00904008 Jy
! Total flux subtracted in 2048 components = 0.00924362 Jy
! Clean residual min=-0.001777 max=0.002079 Jy/beam
! Clean residual mean=0.000015 rms=0.000688 Jy/beam
! Combined flux in latest and established models = 0.133523 Jy
keep
! Adding 120 model components to the UV plane model.
! The established model now contains 216 components and 0.133523 Jy
![Exited script file: muppet]
wmap "J1254-1317_S_2005_07_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.253 x 8.237 at -1.524 degrees (North through East)
! Clean map  min=-0.0042381  max=0.097735 Jy/beam
! Writing clean map to FITS file: J1254-1317_S_2005_07_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0977347 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000683416 
device "J1254-1317_S_2005_07_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1254-1317_S_2005_07_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.09777 2.09777 4.19554 8.39107 16.7821 33.5643 67.1286
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.002 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.097 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.253 x 8.237 at -1.524 degrees (North through East)
! Clean map  min=-0.0042381  max=0.097735 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1254-1317_S_2005_07_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1254-1317_S_2005_07_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1254-1317_S_2005_07_08_yyk_uvs.log closed on Fri Jan 20 10:28:36 2006