! Started logfile: J1029-1852_S_1997_07_02_yyk_uvs.log on Sun Jan  7 17:29:49 2007
obs J1029-1852_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J1029-1852_S_1997_07_02_yyk_uva.fits
! AN table 1: 145 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.630958 visibilities/baseline/integration-bin.
! Found source: J1029-1852
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 754 lines of history.
! 
! Reading 16468 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 J1029-1852_S_1997_07_02_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.608846 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.873 mas, bmaj=7.512 mas, bpa=-5.81 degrees
! Estimated noise=2973.1 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.414997 Jy
! Component: 100  -  total flux cleaned = 0.473213 Jy
! Total flux subtracted in 100 components = 0.473213 Jy
! Clean residual min=-0.019661 max=0.028286 Jy/beam
! Clean residual mean=0.000001 rms=0.006556 Jy/beam
! Combined flux in latest and established models = 0.473213 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.473213 Jy
! 
! Correcting IF 1.
!  A total of 434 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 296 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 296 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 296 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.358773Jy  sigma=0.001249
! Fit after  self-cal, rms=0.358555Jy  sigma=0.001248
! Inverting map and beam 
! Estimated beam: bmin=2.873 mas, bmaj=7.512 mas, bpa=-5.81 degrees
! Estimated noise=2973.1 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.493 mas, bmaj=9.234 mas, bpa=-6.853 degrees
! Estimated noise=1521.92 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.00666314 Jy
! Component: 100  -  total flux cleaned = 0.00737168 Jy
! Component: 150  -  total flux cleaned = 0.00762202 Jy
! Component: 200  -  total flux cleaned = 0.00781482 Jy
! Total flux subtracted in 200 components = 0.00781482 Jy
! Clean residual min=-0.015583 max=0.029418 Jy/beam
! Clean residual mean=0.000245 rms=0.005852 Jy/beam
! Combined flux in latest and established models = 0.481028 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 20 components and 0.481028 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.357782Jy  sigma=0.001247
! Fit after  self-cal, rms=0.357745Jy  sigma=0.001247
! 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.493 x 9.234 at -6.853 degrees (North through East)
! Clean map  min=-0.015234  max=0.47488 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.02913
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.13     HN        0.89     KP        0.88     
!   LA        0.99     MK        1.02     NL        1.00*    OV        1.10     
!   PT        0.92     SC        0.85     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.983987
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.19     HN        1.01     KP        0.95     
!   LA        1.11     MK        1.01     NL        1.04     OV        1.01     
!   PT        0.90     SC        0.90     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.04649
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.07     HN        0.92     KP        0.91     
!   LA        0.82     MK        0.86     NL        1.00     OV        0.94     
!   PT        1.05     SC        1.01     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.996352
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.13     HN        1.12     KP        0.94     
!   LA        0.89     MK        1.04     NL        1.12     OV        0.91     
!   PT        0.92     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.357745Jy  sigma=0.001247
! Fit after  self-cal, rms=0.348844Jy  sigma=0.001229
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.348844Jy  sigma=0.001229
! Fit after  self-cal, rms=0.348842Jy  sigma=0.001229
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.428 mas, bmaj=9.03 mas, bpa=-5.811 degrees
! Estimated noise=1535.89 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.0123363 Jy
! Component: 100  -  total flux cleaned = 0.0150954 Jy
! Component: 150  -  total flux cleaned = 0.015759 Jy
! Component: 200  -  total flux cleaned = 0.016083 Jy
! Total flux subtracted in 200 components = 0.016083 Jy
! Clean residual min=-0.011262 max=0.020045 Jy/beam
! Clean residual mean=0.000141 rms=0.004243 Jy/beam
! Combined flux in latest and established models = 0.497111 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 36 components and 0.497111 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.348462Jy  sigma=0.001227
! Fit after  self-cal, rms=0.348441Jy  sigma=0.001227
! 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.348441Jy  sigma=0.001227
! Fit after  self-cal, rms=0.344032Jy  sigma=0.001212
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 (9.5, -2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0218502 Jy
! Component: 100  -  total flux cleaned = 0.0251704 Jy
! Component: 150  -  total flux cleaned = 0.0248903 Jy
! Component: 200  -  total flux cleaned = 0.0244037 Jy
! Total flux subtracted in 200 components = 0.0244037 Jy
! Clean residual min=-0.008888 max=0.014464 Jy/beam
! Clean residual mean=0.000205 rms=0.003397 Jy/beam
! Combined flux in latest and established models = 0.521514 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 45 model components to the UV plane model.
! The established model now contains 81 components and 0.521514 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.343119Jy  sigma=0.001208
! Fit after  self-cal, rms=0.342440Jy  sigma=0.001206
! 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.428 x 9.03 at -5.811 degrees (North through East)
! Clean map  min=-0.0091209  max=0.48154 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.342440Jy  sigma=0.001206
! Fit after  self-cal, rms=0.336138Jy  sigma=0.001201
! 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.336138Jy  sigma=0.001201
! Fit after  self-cal, rms=0.336016Jy  sigma=0.001200
! Inverting map and beam 
! Estimated beam: bmin=3.395 mas, bmaj=8.94 mas, bpa=-5.811 degrees
! Estimated noise=1527.29 mJy/beam.
! Added new window around map position (33.5, -6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0157604 Jy
! Component: 100  -  total flux cleaned = 0.0250546 Jy
! Component: 150  -  total flux cleaned = 0.0301938 Jy
! Component: 200  -  total flux cleaned = 0.0331179 Jy
! Total flux subtracted in 200 components = 0.0331179 Jy
! Clean residual min=-0.007306 max=0.006806 Jy/beam
! Clean residual mean=0.000076 rms=0.002029 Jy/beam
! Combined flux in latest and established models = 0.554632 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 54 model components to the UV plane model.
! The established model now contains 133 components and 0.554632 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.335385Jy  sigma=0.001198
! Fit after  self-cal, rms=0.335320Jy  sigma=0.001198
! 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.335320Jy  sigma=0.001198
! Fit after  self-cal, rms=0.335315Jy  sigma=0.001196
! 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.335315Jy  sigma=0.001196
! Fit after  self-cal, rms=0.335323Jy  sigma=0.001196
! Inverting map and beam 
! Estimated beam: bmin=3.395 mas, bmaj=8.935 mas, bpa=-5.925 degrees
! Estimated noise=1526.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00594379 Jy
! Component: 100  -  total flux cleaned = 0.00826839 Jy
! Component: 150  -  total flux cleaned = 0.00951065 Jy
! Component: 200  -  total flux cleaned = 0.0104634 Jy
! Total flux subtracted in 200 components = 0.0104634 Jy
! Clean residual min=-0.006625 max=0.005511 Jy/beam
! Clean residual mean=0.000085 rms=0.001792 Jy/beam
! Combined flux in latest and established models = 0.565096 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 51 model components to the UV plane model.
! The established model now contains 163 components and 0.565096 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.335215Jy  sigma=0.001196
! Fit after  self-cal, rms=0.335223Jy  sigma=0.001196
! 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=7.372 mas, bmaj=14.97 mas, bpa=-6.994 degrees
! Estimated noise=1928.07 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.00377957 Jy
! Component: 100  -  total flux cleaned = 0.00423066 Jy
! Component: 150  -  total flux cleaned = 0.00446801 Jy
! Component: 200  -  total flux cleaned = 0.00467251 Jy
! Total flux subtracted in 200 components = 0.00467251 Jy
! Clean residual min=-0.006521 max=0.007193 Jy/beam
! Clean residual mean=0.000134 rms=0.002470 Jy/beam
! Combined flux in latest and established models = 0.569768 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 178 components and 0.569768 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.335199Jy  sigma=0.001196
! Fit after  self-cal, rms=0.335211Jy  sigma=0.001196
! 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.847 mas, bmaj=7.424 mas, bpa=-5.279 degrees
! Estimated noise=2962.87 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.416217 Jy
! Component: 100  -  total flux cleaned = 0.479527 Jy
! Component: 150  -  total flux cleaned = 0.505428 Jy
! Component: 200  -  total flux cleaned = 0.523073 Jy
! Total flux subtracted in 200 components = 0.523073 Jy
! Clean residual min=-0.012836 max=0.011583 Jy/beam
! Clean residual mean=-0.000067 rms=0.003286 Jy/beam
! Combined flux in latest and established models = 0.523073 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 27 model components to the UV plane model.
! The established model now contains 27 components and 0.523073 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.395 mas, bmaj=8.935 mas, bpa=-5.925 degrees
! Estimated noise=1526.6 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.0173871 Jy
! Component: 100  -  total flux cleaned = 0.0287379 Jy
! Component: 150  -  total flux cleaned = 0.0352146 Jy
! Component: 200  -  total flux cleaned = 0.0377043 Jy
! Total flux subtracted in 200 components = 0.0377043 Jy
! Clean residual min=-0.007170 max=0.007529 Jy/beam
! Clean residual mean=0.000091 rms=0.002139 Jy/beam
! Combined flux in latest and established models = 0.560778 Jy
! Adding 36 model components to the UV plane model.
! The established model now contains 63 components and 0.560778 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=7.372 mas, bmaj=14.97 mas, bpa=-6.994 degrees
! Estimated noise=1928.07 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.005287 Jy
! Component: 100  -  total flux cleaned = 0.00783849 Jy
! Component: 150  -  total flux cleaned = 0.00866468 Jy
! Component: 200  -  total flux cleaned = 0.00935686 Jy
! Total flux subtracted in 200 components = 0.00935686 Jy
! Clean residual min=-0.006895 max=0.007484 Jy/beam
! Clean residual mean=0.000137 rms=0.002627 Jy/beam
! Combined flux in latest and established models = 0.570135 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 93 components and 0.570135 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.395 mas, bmaj=8.935 mas, bpa=-5.925 degrees
! Estimated noise=1526.6 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000388864 Jy
! Component: 100  -  total flux cleaned = -0.000583563 Jy
! Component: 150  -  total flux cleaned = -0.00107953 Jy
! Component: 200  -  total flux cleaned = -0.00108109 Jy
! Total flux subtracted in 200 components = -0.00108109 Jy
! Clean residual min=-0.006827 max=0.006413 Jy/beam
! Clean residual mean=0.000082 rms=0.001813 Jy/beam
! Combined flux in latest and established models = 0.569054 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 111 components and 0.569054 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.335310Jy  sigma=0.001196
! Fit after  self-cal, rms=0.335323Jy  sigma=0.001196
wmodel J1029-1852_S_1997_07_02_yyk\_map.mod
! Writing 111 model components to file: J1029-1852_S_1997_07_02_yyk_map.mod
wobs J1029-1852_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J1029-1852_S_1997_07_02_yyk_uvs.fits
wwins J1029-1852_S_1997_07_02_yyk\_map.win
! wwins: Wrote 3 windows to J1029-1852_S_1997_07_02_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.000421313 Jy
! Component: 100  -  total flux cleaned = 0.000322665 Jy
! Component: 150  -  total flux cleaned = 0.000817652 Jy
! Component: 200  -  total flux cleaned = 0.0010081 Jy
! Component: 250  -  total flux cleaned = 0.00162222 Jy
! Component: 300  -  total flux cleaned = 0.00204221 Jy
! Component: 350  -  total flux cleaned = 0.00228411 Jy
! Component: 400  -  total flux cleaned = 0.00252088 Jy
! Component: 450  -  total flux cleaned = 0.00296788 Jy
! Component: 500  -  total flux cleaned = 0.00332614 Jy
! Component: 550  -  total flux cleaned = 0.00381139 Jy
! Component: 600  -  total flux cleaned = 0.00394717 Jy
! Component: 650  -  total flux cleaned = 0.0042723 Jy
! Component: 700  -  total flux cleaned = 0.00439884 Jy
! Component: 750  -  total flux cleaned = 0.00446011 Jy
! Component: 800  -  total flux cleaned = 0.00451965 Jy
! Component: 850  -  total flux cleaned = 0.00463541 Jy
! Component: 900  -  total flux cleaned = 0.00446366 Jy
! Component: 950  -  total flux cleaned = 0.00446368 Jy
! Component: 1000  -  total flux cleaned = 0.00440869 Jy
! Component: 1050  -  total flux cleaned = 0.00430118 Jy
! Component: 1100  -  total flux cleaned = 0.00435128 Jy
! Component: 1150  -  total flux cleaned = 0.00424964 Jy
! Component: 1200  -  total flux cleaned = 0.00435024 Jy
! Component: 1250  -  total flux cleaned = 0.00430264 Jy
! Component: 1300  -  total flux cleaned = 0.00435042 Jy
! Component: 1350  -  total flux cleaned = 0.00434985 Jy
! Component: 1400  -  total flux cleaned = 0.00425881 Jy
! Component: 1450  -  total flux cleaned = 0.00430452 Jy
! Component: 1500  -  total flux cleaned = 0.00434908 Jy
! Component: 1550  -  total flux cleaned = 0.00439185 Jy
! Component: 1600  -  total flux cleaned = 0.00434901 Jy
! Component: 1650  -  total flux cleaned = 0.00430665 Jy
! Component: 1700  -  total flux cleaned = 0.00434755 Jy
! Component: 1750  -  total flux cleaned = 0.00426646 Jy
! Component: 1800  -  total flux cleaned = 0.00414738 Jy
! Component: 1850  -  total flux cleaned = 0.00410872 Jy
! Component: 1900  -  total flux cleaned = 0.00407065 Jy
! Component: 1950  -  total flux cleaned = 0.0039951 Jy
! Component: 2000  -  total flux cleaned = 0.00395722 Jy
! Total flux subtracted in 2048 components = 0.00384552 Jy
! Clean residual min=-0.002041 max=0.002142 Jy/beam
! Clean residual mean=0.000010 rms=0.000791 Jy/beam
! Combined flux in latest and established models = 0.572899 Jy
keep
! Adding 159 model components to the UV plane model.
! The established model now contains 270 components and 0.572899 Jy
![Exited script file: muppet]
wmap "J1029-1852_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.395 x 8.935 at -5.925 degrees (North through East)
! Clean map  min=-0.0064728  max=0.47952 Jy/beam
! Writing clean map to FITS file: J1029-1852_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.479522 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000784362 
device "J1029-1852_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1029-1852_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.490715 0.490715 0.981429 1.96286 3.92572 7.85143 15.7029 31.4057 62.8115
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.479 
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.395 x 8.935 at -5.925 degrees (North through East)
! Clean map  min=-0.0064728  max=0.47952 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1029-1852_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1029-1852_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1029-1852_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 17:29:57 2007