! Started logfile: J0728-2231_S_2004_05_08_yyk_uvs.log on Wed Dec  7 00:07:15 2005
obs J0728-2231_S_2004_05_08_yyk_uve.fits
! Reading UV FITS file: J0728-2231_S_2004_05_08_yyk_uve.fits
! AN table 1: 14 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.552381 visibilities/baseline/integration-bin.
! Found source: J0728-2231
! 
! 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 1433 lines of history.
! 
! Reading 1392 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 J0728-2231_S_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.146926 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 40 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 58 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.896093Jy  sigma=14.052966
! Fit after  self-cal, rms=0.893838Jy  sigma=14.048229
! 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=2.969 mas, bmaj=8.315 mas, bpa=-7.593 degrees
! Estimated noise=2.37956 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.0881768 Jy
! Component: 100  -  total flux cleaned = 0.117768 Jy
! Total flux subtracted in 100 components = 0.117768 Jy
! Clean residual min=-0.010331 max=0.011126 Jy/beam
! Clean residual mean=-0.000092 rms=0.003099 Jy/beam
! Combined flux in latest and established models = 0.117768 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 31 components and 0.117768 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.091585Jy  sigma=1.182134
! Fit after  self-cal, rms=0.091624Jy  sigma=1.180880
! 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=4.308 mas, bmaj=12.82 mas, bpa=-8.035 degrees
! Estimated noise=1.27727 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.0226177 Jy
! Component: 100  -  total flux cleaned = 0.0302963 Jy
! Component: 150  -  total flux cleaned = 0.0339418 Jy
! Component: 200  -  total flux cleaned = 0.0354724 Jy
! Total flux subtracted in 200 components = 0.0354724 Jy
! Clean residual min=-0.006166 max=0.006236 Jy/beam
! Clean residual mean=-0.000021 rms=0.001834 Jy/beam
! Combined flux in latest and established models = 0.153241 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 68 components and 0.153241 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088880Jy  sigma=1.108828
! Fit after  self-cal, rms=0.088926Jy  sigma=1.108532
! 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
!  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
!  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.088926Jy  sigma=1.108532
! Fit after  self-cal, rms=0.088926Jy  sigma=1.108532
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.088926Jy  sigma=1.108532
! Fit after  self-cal, rms=0.088927Jy  sigma=1.108531
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.308 mas, bmaj=12.82 mas, bpa=-8.035 degrees
! Estimated noise=1.27727 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.000495679 Jy
! Component: 100  -  total flux cleaned = 0.000603085 Jy
! Component: 150  -  total flux cleaned = 0.000793525 Jy
! Component: 200  -  total flux cleaned = 0.00101004 Jy
! Total flux subtracted in 200 components = 0.00101004 Jy
! Clean residual min=-0.005956 max=0.006183 Jy/beam
! Clean residual mean=-0.000019 rms=0.001808 Jy/beam
! Combined flux in latest and established models = 0.154251 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 76 components and 0.154251 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088879Jy  sigma=1.107725
! Fit after  self-cal, rms=0.088873Jy  sigma=1.107670
! 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.088873Jy  sigma=1.107670
! Fit after  self-cal, rms=0.082723Jy  sigma=1.031831
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.00274132 Jy
! Component: 100  -  total flux cleaned = 0.00342587 Jy
! Component: 150  -  total flux cleaned = 0.00367701 Jy
! Component: 200  -  total flux cleaned = 0.00384612 Jy
! Total flux subtracted in 200 components = 0.00384612 Jy
! Clean residual min=-0.005306 max=0.005862 Jy/beam
! Clean residual mean=-0.000019 rms=0.001698 Jy/beam
! Combined flux in latest and established models = 0.158097 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 77 components and 0.158097 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.082581Jy  sigma=1.030499
! Fit after  self-cal, rms=0.082023Jy  sigma=1.024888
! 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: 4.308 x 12.82 at -8.035 degrees (North through East)
! Clean map  min=-0.0049771  max=0.11464 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
! Performing amp+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.082023Jy  sigma=1.024888
! Fit after  self-cal, rms=0.082023Jy  sigma=1.024888
! 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.082023Jy  sigma=1.024888
! Fit after  self-cal, rms=0.081992Jy  sigma=1.024305
! Inverting map and beam 
! Estimated beam: bmin=4.308 mas, bmaj=12.82 mas, bpa=-8.035 degrees
! Estimated noise=1.27727 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000303888 Jy
! Component: 100  -  total flux cleaned = 0.000379933 Jy
! Component: 150  -  total flux cleaned = 0.000445961 Jy
! Component: 200  -  total flux cleaned = 0.00048573 Jy
! Total flux subtracted in 200 components = 0.00048573 Jy
! Clean residual min=-0.005106 max=0.005750 Jy/beam
! Clean residual mean=-0.000018 rms=0.001669 Jy/beam
! Combined flux in latest and established models = 0.158583 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 80 components and 0.158583 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081967Jy  sigma=1.024105
! Fit after  self-cal, rms=0.081972Jy  sigma=1.024013
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081972Jy  sigma=1.024013
! Fit after  self-cal, rms=0.081979Jy  sigma=1.022931
! 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.081979Jy  sigma=1.022931
! Fit after  self-cal, rms=0.081985Jy  sigma=1.022878
! Inverting map and beam 
! Estimated beam: bmin=4.366 mas, bmaj=12.88 mas, bpa=-7.679 degrees
! Estimated noise=1.27655 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00069653 Jy
! Component: 100  -  total flux cleaned = -0.000673183 Jy
! Component: 150  -  total flux cleaned = -0.000652718 Jy
! Component: 200  -  total flux cleaned = -0.000615797 Jy
! Total flux subtracted in 200 components = -0.000615797 Jy
! Clean residual min=-0.005086 max=0.005650 Jy/beam
! Clean residual mean=-0.000017 rms=0.001655 Jy/beam
! Combined flux in latest and established models = 0.157967 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 80 components and 0.157967 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081958Jy  sigma=1.022657
! Fit after  self-cal, rms=0.081962Jy  sigma=1.022639
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
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.128 mas, bmaj=18.76 mas, bpa=3.812 degrees
! Estimated noise=1.44232 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.000888516 Jy
! Component: 100  -  total flux cleaned = 0.000970598 Jy
! Component: 150  -  total flux cleaned = 0.00102149 Jy
! Component: 200  -  total flux cleaned = 0.00108873 Jy
! Total flux subtracted in 200 components = 0.00108873 Jy
! Clean residual min=-0.005284 max=0.005583 Jy/beam
! Clean residual mean=-0.000028 rms=0.001876 Jy/beam
! Combined flux in latest and established models = 0.159056 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 82 components and 0.159056 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081958Jy  sigma=1.022744
! Fit after  self-cal, rms=0.081970Jy  sigma=1.022676
! 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=2.984 mas, bmaj=8.313 mas, bpa=-7.405 degrees
! Estimated noise=2.38836 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0929444 Jy
! Component: 100  -  total flux cleaned = 0.123658 Jy
! Component: 150  -  total flux cleaned = 0.139229 Jy
! Component: 200  -  total flux cleaned = 0.147954 Jy
! Total flux subtracted in 200 components = 0.147954 Jy
! Clean residual min=-0.008752 max=0.009557 Jy/beam
! Clean residual mean=-0.000018 rms=0.002435 Jy/beam
! Combined flux in latest and established models = 0.147954 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 29 model components to the UV plane model.
! The established model now contains 29 components and 0.147954 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.366 mas, bmaj=12.88 mas, bpa=-7.679 degrees
! Estimated noise=1.27655 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.00699213 Jy
! Component: 100  -  total flux cleaned = 0.00907867 Jy
! Component: 150  -  total flux cleaned = 0.00972274 Jy
! Component: 200  -  total flux cleaned = 0.00980879 Jy
! Total flux subtracted in 200 components = 0.00980879 Jy
! Clean residual min=-0.005100 max=0.005728 Jy/beam
! Clean residual mean=-0.000018 rms=0.001665 Jy/beam
! Combined flux in latest and established models = 0.157763 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 54 components and 0.157763 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.128 mas, bmaj=18.76 mas, bpa=3.812 degrees
! Estimated noise=1.44232 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.000763512 Jy
! Component: 100  -  total flux cleaned = 0.00089816 Jy
! Component: 150  -  total flux cleaned = 0.000952559 Jy
! Component: 200  -  total flux cleaned = 0.00102725 Jy
! Total flux subtracted in 200 components = 0.00102725 Jy
! Clean residual min=-0.005324 max=0.005617 Jy/beam
! Clean residual mean=-0.000029 rms=0.001887 Jy/beam
! Combined flux in latest and established models = 0.15879 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 58 components and 0.15879 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.366 mas, bmaj=12.88 mas, bpa=-7.679 degrees
! Estimated noise=1.27655 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000759462 Jy
! Component: 100  -  total flux cleaned = -0.000779721 Jy
! Component: 150  -  total flux cleaned = -0.000820739 Jy
! Component: 200  -  total flux cleaned = -0.000840389 Jy
! Total flux subtracted in 200 components = -0.000840389 Jy
! Clean residual min=-0.005045 max=0.005726 Jy/beam
! Clean residual mean=-0.000018 rms=0.001658 Jy/beam
! Combined flux in latest and established models = 0.15795 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 67 components and 0.15795 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.081952Jy  sigma=1.022648
! Fit after  self-cal, rms=0.081939Jy  sigma=1.022569
wmodel J0728-2231_S_2004_05_08_yyk\_map.mod
! Writing 67 model components to file: J0728-2231_S_2004_05_08_yyk_map.mod
wobs J0728-2231_S_2004_05_08_yyk\_uvs.fits
! Writing UV FITS file: J0728-2231_S_2004_05_08_yyk_uvs.fits
wwins J0728-2231_S_2004_05_08_yyk\_map.win
! wwins: Wrote 1 windows to J0728-2231_S_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.000676083 Jy
! Component: 100  -  total flux cleaned = -0.000397716 Jy
! Component: 150  -  total flux cleaned = -0.000816293 Jy
! Component: 200  -  total flux cleaned = -0.000897747 Jy
! Component: 250  -  total flux cleaned = -0.00105091 Jy
! Component: 300  -  total flux cleaned = -0.00119845 Jy
! Component: 350  -  total flux cleaned = -0.00154959 Jy
! Component: 400  -  total flux cleaned = -0.00181852 Jy
! Component: 450  -  total flux cleaned = -0.00201383 Jy
! Component: 500  -  total flux cleaned = -0.00220526 Jy
! Component: 550  -  total flux cleaned = -0.00238979 Jy
! Component: 600  -  total flux cleaned = -0.00257039 Jy
! Component: 650  -  total flux cleaned = -0.00274557 Jy
! Component: 700  -  total flux cleaned = -0.00263106 Jy
! Component: 750  -  total flux cleaned = -0.00268964 Jy
! Component: 800  -  total flux cleaned = -0.00301986 Jy
! Component: 850  -  total flux cleaned = -0.00312867 Jy
! Component: 900  -  total flux cleaned = -0.00333957 Jy
! Component: 950  -  total flux cleaned = -0.00354642 Jy
! Component: 1000  -  total flux cleaned = -0.00379814 Jy
! Component: 1050  -  total flux cleaned = -0.00394662 Jy
! Component: 1100  -  total flux cleaned = -0.00418961 Jy
! Component: 1150  -  total flux cleaned = -0.00452188 Jy
! Component: 1200  -  total flux cleaned = -0.00466215 Jy
! Component: 1250  -  total flux cleaned = -0.00475417 Jy
! Component: 1300  -  total flux cleaned = -0.00493398 Jy
! Component: 1350  -  total flux cleaned = -0.00506601 Jy
! Component: 1400  -  total flux cleaned = -0.00528305 Jy
! Component: 1450  -  total flux cleaned = -0.00536834 Jy
! Component: 1500  -  total flux cleaned = -0.00562065 Jy
! Component: 1550  -  total flux cleaned = -0.00566227 Jy
! Component: 1600  -  total flux cleaned = -0.00574513 Jy
! Component: 1650  -  total flux cleaned = -0.00598554 Jy
! Component: 1700  -  total flux cleaned = -0.00598604 Jy
! Component: 1750  -  total flux cleaned = -0.00606444 Jy
! Component: 1800  -  total flux cleaned = -0.00602538 Jy
! Component: 1850  -  total flux cleaned = -0.00591214 Jy
! Component: 1900  -  total flux cleaned = -0.00583689 Jy
! Component: 1950  -  total flux cleaned = -0.00576271 Jy
! Component: 2000  -  total flux cleaned = -0.00550676 Jy
! Total flux subtracted in 2048 components = -0.0054701 Jy
! Clean residual min=-0.002104 max=0.002924 Jy/beam
! Clean residual mean=0.000001 rms=0.000778 Jy/beam
! Combined flux in latest and established models = 0.152479 Jy
keep
! Adding 121 model components to the UV plane model.
! The established model now contains 188 components and 0.152479 Jy
![Exited script file: muppet]
wmap "J0728-2231_S_2004_05_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.366 x 12.88 at -7.679 degrees (North through East)
! Clean map  min=-0.004257  max=0.11506 Jy/beam
! Writing clean map to FITS file: J0728-2231_S_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.115063 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000790576 
device "J0728-2231_S_2004_05_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J0728-2231_S_2004_05_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -2.06124 2.06124 4.12247 8.24494 16.4899 32.9798 65.9595
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.115 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.366 x 12.88 at -7.679 degrees (North through East)
! Clean map  min=-0.004257  max=0.11506 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0728-2231_S_2004_05_08_yyk\_map.gif/gif"
! Attempting to open device: 'J0728-2231_S_2004_05_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0728-2231_S_2004_05_08_yyk_uvs.log closed on Wed Dec  7 00:07:19 2005