! Started logfile: J1305-1033_X_1997_05_07_yyk_uvs.log on Mon Jan  8 05:55:37 2007
obs J1305-1033_X_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J1305-1033_X_1997_05_07_yyk_uva.fits
! AN table 1: 139 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.68697 visibilities/baseline/integration-bin.
! Found source: J1305-1033
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 613 lines of history.
! 
! Reading 17188 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 J1305-1033_X_1997_05_07_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.884461 Jy 
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9509 mas, bmaj=2.312 mas, bpa=12.74 degrees
! Estimated noise=1333.13 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.709404 Jy
! Component: 100  -  total flux cleaned = 0.85295 Jy
! Total flux subtracted in 100 components = 0.85295 Jy
! Clean residual min=-0.019587 max=0.039064 Jy/beam
! Clean residual mean=0.000502 rms=0.006868 Jy/beam
! Combined flux in latest and established models = 0.85295 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 16 components and 0.85295 Jy
! 
! Correcting IF 1.
!  A total of 232 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 232 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 232 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 232 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.231939Jy  sigma=0.001549
! Fit after  self-cal, rms=0.231322Jy  sigma=0.001545
! Inverting map and beam 
! Estimated beam: bmin=0.9509 mas, bmaj=2.312 mas, bpa=12.74 degrees
! Estimated noise=1333.13 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0561402 Jy
! Component: 100  -  total flux cleaned = 0.0824748 Jy
! Total flux subtracted in 100 components = 0.0824748 Jy
! Clean residual min=-0.014402 max=0.019268 Jy/beam
! Clean residual mean=0.000182 rms=0.004454 Jy/beam
! Combined flux in latest and established models = 0.935425 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 34 components and 0.935425 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220150Jy  sigma=0.001453
! Fit after  self-cal, rms=0.219861Jy  sigma=0.001451
! 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.261 mas, bmaj=2.905 mas, bpa=6.91 degrees
! Estimated noise=781.137 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.0191334 Jy
! Component: 100  -  total flux cleaned = 0.0262372 Jy
! Component: 150  -  total flux cleaned = 0.0280215 Jy
! Component: 200  -  total flux cleaned = 0.0283035 Jy
! Total flux subtracted in 200 components = 0.0283035 Jy
! Clean residual min=-0.010124 max=0.010074 Jy/beam
! Clean residual mean=0.000173 rms=0.002635 Jy/beam
! Combined flux in latest and established models = 0.963729 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 51 components and 0.963729 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.219029Jy  sigma=0.001443
! Fit after  self-cal, rms=0.218990Jy  sigma=0.001443
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.261 x 2.905 at 6.91 degrees (North through East)
! Clean map  min=-0.0097804  max=0.82672 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00168
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        1.01     KP        1.01     
!   LA        1.01     MK        1.01     NL        1.04     OV        0.99     
!   PT        0.96     SC        0.96     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00644
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.99     HN        1.02     KP        1.00     
!   LA        1.00     MK        0.97     NL        1.03     OV        1.04     
!   PT        0.91     SC        1.01     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.991679
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.03     HN        1.03     KP        1.00     
!   LA        1.01     MK        1.00     NL        1.01     OV        0.99     
!   PT        0.98     SC        1.05     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.985363
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.01     HN        1.06     KP        1.01     
!   LA        1.01     MK        0.97     NL        1.03     OV        1.00     
!   PT        0.99     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.218990Jy  sigma=0.001443
! Fit after  self-cal, rms=0.217600Jy  sigma=0.001430
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.217600Jy  sigma=0.001430
! Fit after  self-cal, rms=0.217601Jy  sigma=0.001430
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.264 mas, bmaj=2.909 mas, bpa=6.488 degrees
! Estimated noise=776.472 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.00752742 Jy
! Component: 100  -  total flux cleaned = -0.00972193 Jy
! Component: 150  -  total flux cleaned = -0.00983763 Jy
! Component: 200  -  total flux cleaned = -0.00988475 Jy
! Total flux subtracted in 200 components = -0.00988475 Jy
! Clean residual min=-0.005403 max=0.005772 Jy/beam
! Clean residual mean=-0.000019 rms=0.001503 Jy/beam
! Combined flux in latest and established models = 0.953844 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 59 components and 0.953844 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217414Jy  sigma=0.001429
! Fit after  self-cal, rms=0.217385Jy  sigma=0.001429
! 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.217385Jy  sigma=0.001429
! Fit after  self-cal, rms=0.192485Jy  sigma=0.001282
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.00159043 Jy
! Component: 100  -  total flux cleaned = 0.00114357 Jy
! Component: 150  -  total flux cleaned = 0.000758908 Jy
! Component: 200  -  total flux cleaned = 0.000933682 Jy
! Total flux subtracted in 200 components = 0.000933682 Jy
! Clean residual min=-0.005644 max=0.005678 Jy/beam
! Clean residual mean=-0.000025 rms=0.001470 Jy/beam
! Combined flux in latest and established models = 0.954778 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 68 components and 0.954778 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.192099Jy  sigma=0.001279
! Fit after  self-cal, rms=0.188149Jy  sigma=0.001256
! 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.264 x 2.909 at 6.488 degrees (North through East)
! Clean map  min=-0.0052662  max=0.82851 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.188149Jy  sigma=0.001256
! Fit after  self-cal, rms=0.186675Jy  sigma=0.001249
! 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.186675Jy  sigma=0.001249
! Fit after  self-cal, rms=0.185791Jy  sigma=0.001243
! Inverting map and beam 
! Estimated beam: bmin=1.256 mas, bmaj=2.891 mas, bpa=7.142 degrees
! Estimated noise=774.254 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000321389 Jy
! Component: 100  -  total flux cleaned = -0.000175664 Jy
! Component: 150  -  total flux cleaned = -0.000172629 Jy
! Component: 200  -  total flux cleaned = -0.000215396 Jy
! Total flux subtracted in 200 components = -0.000215396 Jy
! Clean residual min=-0.003767 max=0.003783 Jy/beam
! Clean residual mean=0.000016 rms=0.001036 Jy/beam
! Combined flux in latest and established models = 0.954562 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 73 components and 0.954562 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185755Jy  sigma=0.001243
! Fit after  self-cal, rms=0.185466Jy  sigma=0.001242
! 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.185466Jy  sigma=0.001242
! Fit after  self-cal, rms=0.185271Jy  sigma=0.001240
! 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.185271Jy  sigma=0.001240
! Fit after  self-cal, rms=0.185180Jy  sigma=0.001239
! Inverting map and beam 
! Estimated beam: bmin=1.257 mas, bmaj=2.893 mas, bpa=7.14 degrees
! Estimated noise=774.367 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000151894 Jy
! Component: 100  -  total flux cleaned = -8.42123e-05 Jy
! Component: 150  -  total flux cleaned = -8.63897e-05 Jy
! Component: 200  -  total flux cleaned = -0.00012755 Jy
! Total flux subtracted in 200 components = -0.00012755 Jy
! Clean residual min=-0.003617 max=0.003643 Jy/beam
! Clean residual mean=0.000017 rms=0.001003 Jy/beam
! Combined flux in latest and established models = 0.954435 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 75 components and 0.954435 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185152Jy  sigma=0.001239
! Fit after  self-cal, rms=0.185104Jy  sigma=0.001239
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
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.473 mas, bmaj=4.74 mas, bpa=12.12 degrees
! Estimated noise=892.549 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.000405942 Jy
! Component: 100  -  total flux cleaned = -0.000532417 Jy
! Component: 150  -  total flux cleaned = -0.000627612 Jy
! Component: 200  -  total flux cleaned = -0.00065687 Jy
! Total flux subtracted in 200 components = -0.00065687 Jy
! Clean residual min=-0.003499 max=0.003113 Jy/beam
! Clean residual mean=0.000036 rms=0.000974 Jy/beam
! Combined flux in latest and established models = 0.953778 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 80 components and 0.953778 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185092Jy  sigma=0.001239
! Fit after  self-cal, rms=0.185058Jy  sigma=0.001239
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9491 mas, bmaj=2.308 mas, bpa=12.88 degrees
! Estimated noise=1348.28 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.717986 Jy
! Component: 100  -  total flux cleaned = 0.862111 Jy
! Component: 150  -  total flux cleaned = 0.909595 Jy
! Component: 200  -  total flux cleaned = 0.930683 Jy
! Total flux subtracted in 200 components = 0.930683 Jy
! Clean residual min=-0.006701 max=0.008255 Jy/beam
! Clean residual mean=0.000098 rms=0.001803 Jy/beam
! Combined flux in latest and established models = 0.930682 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 30 model components to the UV plane model.
! The established model now contains 30 components and 0.930682 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.257 mas, bmaj=2.893 mas, bpa=7.14 degrees
! Estimated noise=774.367 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.0138679 Jy
! Component: 100  -  total flux cleaned = 0.0189677 Jy
! Component: 150  -  total flux cleaned = 0.021024 Jy
! Component: 200  -  total flux cleaned = 0.02123 Jy
! Total flux subtracted in 200 components = 0.02123 Jy
! Clean residual min=-0.003637 max=0.004244 Jy/beam
! Clean residual mean=0.000035 rms=0.000970 Jy/beam
! Combined flux in latest and established models = 0.951912 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 52 components and 0.951912 Jy
! Inverting map 
! Added new window around map position (2, 2.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00326479 Jy
! Component: 100  -  total flux cleaned = 0.00337975 Jy
! Component: 150  -  total flux cleaned = 0.0032213 Jy
! Component: 200  -  total flux cleaned = 0.00294027 Jy
! Total flux subtracted in 200 components = 0.00294027 Jy
! Clean residual min=-0.003340 max=0.003327 Jy/beam
! Clean residual mean=0.000016 rms=0.000879 Jy/beam
! Combined flux in latest and established models = 0.954853 Jy
! Adding 19 model components to the UV plane model.
! The established model now contains 70 components and 0.954853 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.473 mas, bmaj=4.74 mas, bpa=12.12 degrees
! Estimated noise=892.549 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.000689536 Jy
! Component: 100  -  total flux cleaned = -0.00100039 Jy
! Component: 150  -  total flux cleaned = -0.00111393 Jy
! Component: 200  -  total flux cleaned = -0.00116507 Jy
! Total flux subtracted in 200 components = -0.00116507 Jy
! Clean residual min=-0.003246 max=0.003153 Jy/beam
! Clean residual mean=0.000038 rms=0.000942 Jy/beam
! Combined flux in latest and established models = 0.953688 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 83 components and 0.953688 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.257 mas, bmaj=2.893 mas, bpa=7.14 degrees
! Estimated noise=774.367 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -1.60277e-06 Jy
! Component: 100  -  total flux cleaned = 0.000169979 Jy
! Component: 150  -  total flux cleaned = 0.000276005 Jy
! Component: 200  -  total flux cleaned = 0.000420202 Jy
! Total flux subtracted in 200 components = 0.000420202 Jy
! Clean residual min=-0.003321 max=0.003159 Jy/beam
! Clean residual mean=0.000021 rms=0.000855 Jy/beam
! Combined flux in latest and established models = 0.954108 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 96 components and 0.954108 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184887Jy  sigma=0.001237
! Fit after  self-cal, rms=0.184869Jy  sigma=0.001237
wmodel J1305-1033_X_1997_05_07_yyk\_map.mod
! Writing 96 model components to file: J1305-1033_X_1997_05_07_yyk_map.mod
wobs J1305-1033_X_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J1305-1033_X_1997_05_07_yyk_uvs.fits
wwins J1305-1033_X_1997_05_07_yyk\_map.win
! wwins: Wrote 2 windows to J1305-1033_X_1997_05_07_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.000753508 Jy
! Component: 100  -  total flux cleaned = -0.000751383 Jy
! Component: 150  -  total flux cleaned = -0.000800804 Jy
! Component: 200  -  total flux cleaned = -0.000845751 Jy
! Component: 250  -  total flux cleaned = -0.000889487 Jy
! Component: 300  -  total flux cleaned = -0.00084869 Jy
! Component: 350  -  total flux cleaned = -0.000809837 Jy
! Component: 400  -  total flux cleaned = -0.000847991 Jy
! Component: 450  -  total flux cleaned = -0.000774339 Jy
! Component: 500  -  total flux cleaned = -0.000703409 Jy
! Component: 550  -  total flux cleaned = -0.000873373 Jy
! Component: 600  -  total flux cleaned = -0.000938518 Jy
! Component: 650  -  total flux cleaned = -0.00106811 Jy
! Component: 700  -  total flux cleaned = -0.00125703 Jy
! Component: 750  -  total flux cleaned = -0.00134937 Jy
! Component: 800  -  total flux cleaned = -0.00140946 Jy
! Component: 850  -  total flux cleaned = -0.00152713 Jy
! Component: 900  -  total flux cleaned = -0.00155561 Jy
! Component: 950  -  total flux cleaned = -0.00169695 Jy
! Component: 1000  -  total flux cleaned = -0.00180805 Jy
! Component: 1050  -  total flux cleaned = -0.00197256 Jy
! Component: 1100  -  total flux cleaned = -0.00208107 Jy
! Component: 1150  -  total flux cleaned = -0.00229405 Jy
! Component: 1200  -  total flux cleaned = -0.00245172 Jy
! Component: 1250  -  total flux cleaned = -0.00265843 Jy
! Component: 1300  -  total flux cleaned = -0.00283627 Jy
! Component: 1350  -  total flux cleaned = -0.00296179 Jy
! Component: 1400  -  total flux cleaned = -0.00320892 Jy
! Component: 1450  -  total flux cleaned = -0.00345183 Jy
! Component: 1500  -  total flux cleaned = -0.00359554 Jy
! Component: 1550  -  total flux cleaned = -0.00373765 Jy
! Component: 1600  -  total flux cleaned = -0.00385472 Jy
! Component: 1650  -  total flux cleaned = -0.00403908 Jy
! Component: 1700  -  total flux cleaned = -0.0040845 Jy
! Component: 1750  -  total flux cleaned = -0.00415237 Jy
! Component: 1800  -  total flux cleaned = -0.00428578 Jy
! Component: 1850  -  total flux cleaned = -0.00439569 Jy
! Component: 1900  -  total flux cleaned = -0.00452543 Jy
! Component: 1950  -  total flux cleaned = -0.00465371 Jy
! Component: 2000  -  total flux cleaned = -0.00473839 Jy
! Total flux subtracted in 2048 components = -0.004822 Jy
! Clean residual min=-0.001188 max=0.001067 Jy/beam
! Clean residual mean=0.000019 rms=0.000417 Jy/beam
! Combined flux in latest and established models = 0.949286 Jy
keep
! Adding 125 model components to the UV plane model.
! The established model now contains 221 components and 0.949286 Jy
![Exited script file: muppet]
wmap "J1305-1033_X_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.257 x 2.893 at 7.14 degrees (North through East)
! Clean map  min=-0.0024872  max=0.82832 Jy/beam
! Writing clean map to FITS file: J1305-1033_X_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.828319 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000412668 
device "J1305-1033_X_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J1305-1033_X_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.14946 0.14946 0.29892 0.597839 1.19568 2.39136 4.78271 9.56543 19.1309 38.2617 76.5234
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.828 
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.257 x 2.893 at 7.14 degrees (North through East)
! Clean map  min=-0.0024872  max=0.82832 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1305-1033_X_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J1305-1033_X_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1305-1033_X_1997_05_07_yyk_uvs.log closed on Mon Jan  8 05:55:46 2007