! Started logfile: J2236+2828_S_1994_08_12_yyk_uvs.log on Sun Jan  7 20:12:44 2007
obs J2236+2828_S_1994_08_12_yyk_uva.fits
! Reading UV FITS file: J2236+2828_S_1994_08_12_yyk_uva.fits
! AN table 1: 108 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.612757 visibilities/baseline/integration-bin.
! Found source: J2236+2828
! 
! 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.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 783 lines of history.
! 
! Reading 11912 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 J2236+2828_S_1994_08_12_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)= 1.59282 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=3.116 mas, bmaj=5.241 mas, bpa=-10.15 degrees
! Estimated noise=1666.59 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 = 1.2771 Jy
! Component: 100  -  total flux cleaned = 1.44514 Jy
! Total flux subtracted in 100 components = 1.44514 Jy
! Clean residual min=-0.075996 max=0.108041 Jy/beam
! Clean residual mean=0.000291 rms=0.023658 Jy/beam
! Combined flux in latest and established models = 1.44514 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 1.44514 Jy
! 
! Correcting IF 1.
!  A total of 277 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 277 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 277 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 277 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.732108Jy  sigma=0.004096
! Fit after  self-cal, rms=0.728495Jy  sigma=0.004079
! Inverting map and beam 
! Estimated beam: bmin=3.116 mas, bmaj=5.24 mas, bpa=-10.15 degrees
! Estimated noise=1670.92 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=4.286 mas, bmaj=7.034 mas, bpa=-10.68 degrees
! Estimated noise=923.919 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.0589032 Jy
! Component: 100  -  total flux cleaned = 0.0560691 Jy
! Component: 150  -  total flux cleaned = 0.0537169 Jy
! Component: 200  -  total flux cleaned = 0.050931 Jy
! Total flux subtracted in 200 components = 0.050931 Jy
! Clean residual min=-0.059352 max=0.092875 Jy/beam
! Clean residual mean=0.000555 rms=0.023315 Jy/beam
! Combined flux in latest and established models = 1.49607 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 15 components and 1.49607 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.727690Jy  sigma=0.004028
! Fit after  self-cal, rms=0.727366Jy  sigma=0.004028
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.286 x 7.034 at -10.68 degrees (North through East)
! Clean map  min=-0.058567  max=1.4928 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.975639
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.90     FD        1.01     HN        1.01     KP        0.87     
!   LA        0.93     MK        1.89     NL        0.85     OV        0.94     
!   PT        0.93     SC        0.94     
! 
! 
! Correcting IF 2.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.944641
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        1.08     HN        1.03     KP        0.89     
!   LA        1.01     MK        1.99     NL        0.82     OV        0.92     
!   PT        0.90     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.969489
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.89     FD        1.03     HN        1.00     KP        0.90     
!   LA        0.79     MK        1.73     NL        0.88     OV        1.00     
!   PT        1.06     SC        1.04     
! 
! 
! Correcting IF 4.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.919183
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.06     HN        1.06     KP        0.95     
!   LA        0.84     MK        2.01     NL        0.87     OV        1.25     
!   PT        0.91     SC        0.97     
! 
! 
! Fit before self-cal, rms=0.727366Jy  sigma=0.004028
! Fit after  self-cal, rms=0.772609Jy  sigma=0.003443
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.772609Jy  sigma=0.003443
! Fit after  self-cal, rms=0.773552Jy  sigma=0.003442
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.397 mas, bmaj=7.398 mas, bpa=2.114 degrees
! Estimated noise=820.276 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.166526 Jy
! Component: 100  -  total flux cleaned = -0.213125 Jy
! Component: 150  -  total flux cleaned = -0.217016 Jy
! Component: 200  -  total flux cleaned = -0.21881 Jy
! Total flux subtracted in 200 components = -0.21881 Jy
! Clean residual min=-0.032162 max=0.049854 Jy/beam
! Clean residual mean=0.000191 rms=0.010618 Jy/beam
! Combined flux in latest and established models = 1.27726 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 32 components and 1.27726 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.709551Jy  sigma=0.003106
! Fit after  self-cal, rms=0.709543Jy  sigma=0.003106
! 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.709543Jy  sigma=0.003106
! Fit after  self-cal, rms=0.703729Jy  sigma=0.003077
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 (-6.5, -1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0554333 Jy
! Component: 100  -  total flux cleaned = 0.0570459 Jy
! Component: 150  -  total flux cleaned = 0.0570965 Jy
! Component: 200  -  total flux cleaned = 0.0583566 Jy
! Total flux subtracted in 200 components = 0.0583566 Jy
! Clean residual min=-0.028352 max=0.047327 Jy/beam
! Clean residual mean=-0.000048 rms=0.009693 Jy/beam
! Combined flux in latest and established models = 1.33562 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 57 components and 1.33561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.687101Jy  sigma=0.003001
! Fit after  self-cal, rms=0.685981Jy  sigma=0.002992
! 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: 5.397 x 7.398 at 2.114 degrees (North through East)
! Clean map  min=-0.030447  max=1.37 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.685981Jy  sigma=0.002992
! Fit after  self-cal, rms=34.659466Jy  sigma=0.001987
! 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=34.659466Jy  sigma=0.001987
! Fit after  self-cal, rms=34.657272Jy  sigma=0.001985
! Inverting map and beam 
! Estimated beam: bmin=4.934 mas, bmaj=7.149 mas, bpa=-2.862 degrees
! Estimated noise=799.159 mJy/beam.
! Added new window around map position (4.5, 3.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00674256 Jy
! Component: 100  -  total flux cleaned = 0.0067698 Jy
! Component: 150  -  total flux cleaned = 0.00634542 Jy
! Component: 200  -  total flux cleaned = 0.0059508 Jy
! Total flux subtracted in 200 components = 0.0059508 Jy
! Clean residual min=-0.009103 max=0.010442 Jy/beam
! Clean residual mean=0.000016 rms=0.002723 Jy/beam
! Combined flux in latest and established models = 1.34157 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 89 components and 1.34157 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=34.657249Jy  sigma=0.001972
! Fit after  self-cal, rms=34.657825Jy  sigma=0.001970
! 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=34.657825Jy  sigma=0.001970
! Fit after  self-cal, rms=33.529423Jy  sigma=0.001965
! 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=33.529423Jy  sigma=0.001965
! Fit after  self-cal, rms=33.527088Jy  sigma=0.001964
! Inverting map and beam 
! Estimated beam: bmin=4.904 mas, bmaj=7.131 mas, bpa=-2.952 degrees
! Estimated noise=801.981 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00691052 Jy
! Component: 100  -  total flux cleaned = 0.00583373 Jy
! Component: 150  -  total flux cleaned = 0.00519254 Jy
! Component: 200  -  total flux cleaned = 0.00489524 Jy
! Total flux subtracted in 200 components = 0.00489524 Jy
! Clean residual min=-0.008553 max=0.010252 Jy/beam
! Clean residual mean=0.000022 rms=0.002515 Jy/beam
! Combined flux in latest and established models = 1.34646 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 103 components and 1.34646 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=33.527103Jy  sigma=0.001958
! Fit after  self-cal, rms=33.527302Jy  sigma=0.001957
! 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=9.521 mas, bmaj=10.1 mas, bpa=-8.125 degrees
! Estimated noise=913.596 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.000985651 Jy
! Component: 100  -  total flux cleaned = -0.00157943 Jy
! Component: 150  -  total flux cleaned = -0.00190012 Jy
! Component: 200  -  total flux cleaned = -0.00188745 Jy
! Total flux subtracted in 200 components = -0.00188745 Jy
! Clean residual min=-0.007566 max=0.008606 Jy/beam
! Clean residual mean=0.000070 rms=0.002160 Jy/beam
! Combined flux in latest and established models = 1.34457 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 124 components and 1.34457 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=33.527367Jy  sigma=0.001956
! Fit after  self-cal, rms=33.527515Jy  sigma=0.001956
! 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=3.295 mas, bmaj=5.266 mas, bpa=-5.835 degrees
! Estimated noise=1585.22 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.21703 Jy
! Component: 100  -  total flux cleaned = 1.35709 Jy
! Component: 150  -  total flux cleaned = 1.35245 Jy
! Component: 200  -  total flux cleaned = 1.35222 Jy
! Total flux subtracted in 200 components = 1.35222 Jy
! Clean residual min=-0.022627 max=0.023917 Jy/beam
! Clean residual mean=-0.000000 rms=0.005538 Jy/beam
! Combined flux in latest and established models = 1.35222 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 21 model components to the UV plane model.
! The established model now contains 21 components and 1.35222 Jy
! Inverting map and beam 
! Estimated beam: bmin=4.904 mas, bmaj=7.131 mas, bpa=-2.952 degrees
! Estimated noise=801.981 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.00888156 Jy
! Component: 100  -  total flux cleaned = -0.00817313 Jy
! Component: 150  -  total flux cleaned = -0.00876593 Jy
! Component: 200  -  total flux cleaned = -0.00821979 Jy
! Total flux subtracted in 200 components = -0.00821979 Jy
! Clean residual min=-0.009089 max=0.010476 Jy/beam
! Clean residual mean=0.000027 rms=0.002642 Jy/beam
! Combined flux in latest and established models = 1.344 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 40 components and 1.344 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=9.521 mas, bmaj=10.1 mas, bpa=-8.125 degrees
! Estimated noise=913.596 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.000971678 Jy
! Component: 100  -  total flux cleaned = -0.000610671 Jy
! Component: 150  -  total flux cleaned = -0.000289306 Jy
! Component: 200  -  total flux cleaned = 0.000145663 Jy
! Total flux subtracted in 200 components = 0.000145663 Jy
! Clean residual min=-0.006619 max=0.008346 Jy/beam
! Clean residual mean=0.000073 rms=0.002121 Jy/beam
! Combined flux in latest and established models = 1.34414 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 66 components and 1.34414 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=4.904 mas, bmaj=7.131 mas, bpa=-2.952 degrees
! Estimated noise=801.981 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000688746 Jy
! Component: 100  -  total flux cleaned = 0.00110864 Jy
! Component: 150  -  total flux cleaned = 0.000714687 Jy
! Component: 200  -  total flux cleaned = 0.000732221 Jy
! Total flux subtracted in 200 components = 0.000732221 Jy
! Clean residual min=-0.007848 max=0.009659 Jy/beam
! Clean residual mean=0.000026 rms=0.002451 Jy/beam
! Combined flux in latest and established models = 1.34488 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 80 components and 1.34488 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=33.527622Jy  sigma=0.001961
! Fit after  self-cal, rms=33.527054Jy  sigma=0.001961
wmodel J2236+2828_S_1994_08_12_yyk\_map.mod
! Writing 80 model components to file: J2236+2828_S_1994_08_12_yyk_map.mod
wobs J2236+2828_S_1994_08_12_yyk\_uvs.fits
! Writing UV FITS file: J2236+2828_S_1994_08_12_yyk_uvs.fits
wwins J2236+2828_S_1994_08_12_yyk\_map.win
! wwins: Wrote 3 windows to J2236+2828_S_1994_08_12_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.00441838 Jy
! Component: 100  -  total flux cleaned = 0.00695637 Jy
! Component: 150  -  total flux cleaned = 0.00800013 Jy
! Component: 200  -  total flux cleaned = 0.00913822 Jy
! Component: 250  -  total flux cleaned = 0.0103734 Jy
! Component: 300  -  total flux cleaned = 0.0118305 Jy
! Component: 350  -  total flux cleaned = 0.0128581 Jy
! Component: 400  -  total flux cleaned = 0.013861 Jy
! Component: 450  -  total flux cleaned = 0.0148407 Jy
! Component: 500  -  total flux cleaned = 0.0157957 Jy
! Component: 550  -  total flux cleaned = 0.0163789 Jy
! Component: 600  -  total flux cleaned = 0.0164952 Jy
! Component: 650  -  total flux cleaned = 0.0169482 Jy
! Component: 700  -  total flux cleaned = 0.0173907 Jy
! Component: 750  -  total flux cleaned = 0.0181495 Jy
! Component: 800  -  total flux cleaned = 0.018577 Jy
! Component: 850  -  total flux cleaned = 0.0188918 Jy
! Component: 900  -  total flux cleaned = 0.0193067 Jy
! Component: 950  -  total flux cleaned = 0.0195114 Jy
! Component: 1000  -  total flux cleaned = 0.0199157 Jy
! Component: 1050  -  total flux cleaned = 0.0207109 Jy
! Component: 1100  -  total flux cleaned = 0.0209052 Jy
! Component: 1150  -  total flux cleaned = 0.0212917 Jy
! Component: 1200  -  total flux cleaned = 0.0213862 Jy
! Component: 1250  -  total flux cleaned = 0.0213847 Jy
! Component: 1300  -  total flux cleaned = 0.021198 Jy
! Component: 1350  -  total flux cleaned = 0.0218486 Jy
! Component: 1400  -  total flux cleaned = 0.0219408 Jy
! Component: 1450  -  total flux cleaned = 0.0223956 Jy
! Component: 1500  -  total flux cleaned = 0.0224836 Jy
! Component: 1550  -  total flux cleaned = 0.022484 Jy
! Component: 1600  -  total flux cleaned = 0.0228399 Jy
! Component: 1650  -  total flux cleaned = 0.0230151 Jy
! Component: 1700  -  total flux cleaned = 0.0229286 Jy
! Component: 1750  -  total flux cleaned = 0.0229289 Jy
! Component: 1800  -  total flux cleaned = 0.0231866 Jy
! Component: 1850  -  total flux cleaned = 0.0233569 Jy
! Component: 1900  -  total flux cleaned = 0.0236081 Jy
! Component: 1950  -  total flux cleaned = 0.0235246 Jy
! Component: 2000  -  total flux cleaned = 0.0236078 Jy
! Total flux subtracted in 2048 components = 0.0236903 Jy
! Clean residual min=-0.005150 max=0.004381 Jy/beam
! Clean residual mean=-0.000030 rms=0.001707 Jy/beam
! Combined flux in latest and established models = 1.36857 Jy
keep
! Adding 132 model components to the UV plane model.
! The established model now contains 210 components and 1.36857 Jy
![Exited script file: muppet]
wmap "J2236+2828_S_1994_08_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.904 x 7.131 at -2.952 degrees (North through East)
! Clean map  min=-0.0089045  max=1.3678 Jy/beam
! Writing clean map to FITS file: J2236+2828_S_1994_08_12_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.36782 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00170444 
device "J2236+2828_S_1994_08_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J2236+2828_S_1994_08_12_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.373831 0.373831 0.747663 1.49533 2.99065 5.9813 11.9626 23.9252 47.8504 95.7008
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0051 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.367 
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.904 x 7.131 at -2.952 degrees (North through East)
! Clean map  min=-0.0089045  max=1.3678 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2236+2828_S_1994_08_12_yyk\_map.gif/gif"
! Attempting to open device: 'J2236+2828_S_1994_08_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2236+2828_S_1994_08_12_yyk_uvs.log closed on Sun Jan  7 20:12:51 2007