! Started logfile: J2236+2828_S_1997_08_27_yyk_uvs.log on Sun Jan  7 20:13:56 2007
obs J2236+2828_S_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J2236+2828_S_1997_08_27_yyk_uva.fits
! AN table 1: 108 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.619342 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.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 702 lines of history.
! 
! Reading 12040 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_1997_08_27_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.33771 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.978 mas, bmaj=8.132 mas, bpa=13.83 degrees
! Estimated noise=2532.29 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.10649 Jy
! Component: 100  -  total flux cleaned = 1.25535 Jy
! Total flux subtracted in 100 components = 1.25535 Jy
! Clean residual min=-0.041610 max=0.054386 Jy/beam
! Clean residual mean=0.000026 rms=0.012210 Jy/beam
! Combined flux in latest and established models = 1.25535 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 1.25535 Jy
! 
! Correcting IF 1.
!  A total of 333 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 255 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 231 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 231 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.345270Jy  sigma=0.001457
! Fit after  self-cal, rms=0.344895Jy  sigma=0.001456
! Inverting map and beam 
! Estimated beam: bmin=2.978 mas, bmaj=8.133 mas, bpa=13.83 degrees
! Estimated noise=2531.64 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.735 mas, bmaj=8.776 mas, bpa=14.68 degrees
! Estimated noise=1379.26 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.0277657 Jy
! Component: 100  -  total flux cleaned = -0.0270324 Jy
! Component: 150  -  total flux cleaned = -0.025573 Jy
! Component: 200  -  total flux cleaned = -0.0255709 Jy
! Total flux subtracted in 200 components = -0.0255709 Jy
! Clean residual min=-0.028108 max=0.047562 Jy/beam
! Clean residual mean=0.000122 rms=0.010306 Jy/beam
! Combined flux in latest and established models = 1.22978 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 18 components and 1.22978 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.341186Jy  sigma=0.001438
! Fit after  self-cal, rms=0.341152Jy  sigma=0.001438
! 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.735 x 8.776 at 14.68 degrees (North through East)
! Clean map  min=-0.027365  max=1.2486 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.02019
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.10     HN        0.91     KP        0.93     
!   LA        1.02     MK        1.03     NL        1.00*    OV        1.07     
!   PT        0.95     SC        0.81     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.981688
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.16     HN        1.01     KP        0.97     
!   LA        1.11     MK        1.10     NL        0.94     OV        1.04     
!   PT        0.95     SC        0.89     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.04602
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.07     HN        0.93     KP        0.92     
!   LA        0.79     MK        0.95     NL        0.92     OV        0.94     
!   PT        1.10     SC        0.99     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.995144
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.14     HN        1.13     KP        0.97     
!   LA        0.87     MK        1.09     NL        1.01     OV        0.94     
!   PT        0.92     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.341152Jy  sigma=0.001438
! Fit after  self-cal, rms=0.297861Jy  sigma=0.001275
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.297861Jy  sigma=0.001275
! Fit after  self-cal, rms=0.297856Jy  sigma=0.001275
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.647 mas, bmaj=8.793 mas, bpa=15.71 degrees
! Estimated noise=1390.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)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0261809 Jy
! Component: 100  -  total flux cleaned = 0.0263049 Jy
! Component: 150  -  total flux cleaned = 0.0263471 Jy
! Component: 200  -  total flux cleaned = 0.0258303 Jy
! Total flux subtracted in 200 components = 0.0258303 Jy
! Clean residual min=-0.010354 max=0.012223 Jy/beam
! Clean residual mean=-0.000104 rms=0.003256 Jy/beam
! Combined flux in latest and established models = 1.25561 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 34 components and 1.25561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.295516Jy  sigma=0.001266
! Fit after  self-cal, rms=0.295487Jy  sigma=0.001266
! 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.295487Jy  sigma=0.001266
! Fit after  self-cal, rms=0.289754Jy  sigma=0.001239
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.000991665 Jy
! Component: 100  -  total flux cleaned = -0.000783928 Jy
! Component: 150  -  total flux cleaned = -0.000412107 Jy
! Component: 200  -  total flux cleaned = -5.71758e-05 Jy
! Total flux subtracted in 200 components = -5.71758e-05 Jy
! Clean residual min=-0.010417 max=0.012369 Jy/beam
! Clean residual mean=-0.000105 rms=0.003241 Jy/beam
! Combined flux in latest and established models = 1.25555 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 40 components and 1.25555 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289442Jy  sigma=0.001238
! Fit after  self-cal, rms=0.288522Jy  sigma=0.001233
! 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.647 x 8.793 at 15.71 degrees (North through East)
! Clean map  min=-0.010134  max=1.2688 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.288522Jy  sigma=0.001233
! Fit after  self-cal, rms=0.278044Jy  sigma=0.001193
! 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.278044Jy  sigma=0.001193
! Fit after  self-cal, rms=0.277836Jy  sigma=0.001192
! Inverting map and beam 
! Estimated beam: bmin=3.603 mas, bmaj=8.77 mas, bpa=15.75 degrees
! Estimated noise=1388.53 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00805763 Jy
! Component: 100  -  total flux cleaned = 0.00846516 Jy
! Component: 150  -  total flux cleaned = 0.0084646 Jy
! Component: 200  -  total flux cleaned = 0.00877068 Jy
! Total flux subtracted in 200 components = 0.00877068 Jy
! Clean residual min=-0.009505 max=0.009850 Jy/beam
! Clean residual mean=-0.000096 rms=0.002794 Jy/beam
! Combined flux in latest and established models = 1.26432 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 54 components and 1.26432 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.277460Jy  sigma=0.001191
! Fit after  self-cal, rms=0.277379Jy  sigma=0.001190
! 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.277379Jy  sigma=0.001190
! Fit after  self-cal, rms=0.275716Jy  sigma=0.001184
! 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.275716Jy  sigma=0.001184
! Fit after  self-cal, rms=0.275694Jy  sigma=0.001184
! Inverting map and beam 
! Estimated beam: bmin=3.577 mas, bmaj=8.756 mas, bpa=15.75 degrees
! Estimated noise=1389.72 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00644217 Jy
! Component: 100  -  total flux cleaned = 0.00734719 Jy
! Component: 150  -  total flux cleaned = 0.00825522 Jy
! Component: 200  -  total flux cleaned = 0.00865854 Jy
! Total flux subtracted in 200 components = 0.00865854 Jy
! Clean residual min=-0.008935 max=0.008833 Jy/beam
! Clean residual mean=-0.000093 rms=0.002573 Jy/beam
! Combined flux in latest and established models = 1.27298 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 56 components and 1.27298 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.275421Jy  sigma=0.001183
! Fit after  self-cal, rms=0.275407Jy  sigma=0.001183
! 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.666 mas, bmaj=10.51 mas, bpa=22.41 degrees
! Estimated noise=1691.84 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.00237443 Jy
! Component: 100  -  total flux cleaned = -0.00279478 Jy
! Component: 150  -  total flux cleaned = -0.00288791 Jy
! Component: 200  -  total flux cleaned = -0.00293184 Jy
! Total flux subtracted in 200 components = -0.00293184 Jy
! Clean residual min=-0.008311 max=0.008041 Jy/beam
! Clean residual mean=-0.000150 rms=0.002614 Jy/beam
! Combined flux in latest and established models = 1.27005 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 66 components and 1.27005 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.275416Jy  sigma=0.001183
! Fit after  self-cal, rms=0.275415Jy  sigma=0.001183
! 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.922 mas, bmaj=8.127 mas, bpa=14.45 degrees
! Estimated noise=2496.49 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.09279 Jy
! Component: 100  -  total flux cleaned = 1.24029 Jy
! Component: 150  -  total flux cleaned = 1.28044 Jy
! Component: 200  -  total flux cleaned = 1.28148 Jy
! Total flux subtracted in 200 components = 1.28148 Jy
! Clean residual min=-0.012929 max=0.016179 Jy/beam
! Clean residual mean=-0.000077 rms=0.004038 Jy/beam
! Combined flux in latest and established models = 1.28148 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 13 model components to the UV plane model.
! The established model now contains 13 components and 1.28148 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.577 mas, bmaj=8.756 mas, bpa=15.75 degrees
! Estimated noise=1389.72 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.00637357 Jy
! Component: 100  -  total flux cleaned = -0.0092744 Jy
! Component: 150  -  total flux cleaned = -0.0107258 Jy
! Component: 200  -  total flux cleaned = -0.0112176 Jy
! Total flux subtracted in 200 components = -0.0112176 Jy
! Clean residual min=-0.009450 max=0.010116 Jy/beam
! Clean residual mean=-0.000081 rms=0.002720 Jy/beam
! Combined flux in latest and established models = 1.27026 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 30 components and 1.27026 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.666 mas, bmaj=10.51 mas, bpa=22.41 degrees
! Estimated noise=1691.84 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.00243739 Jy
! Component: 100  -  total flux cleaned = -0.0028144 Jy
! Component: 150  -  total flux cleaned = -0.00281449 Jy
! Component: 200  -  total flux cleaned = -0.00281414 Jy
! Total flux subtracted in 200 components = -0.00281414 Jy
! Clean residual min=-0.007644 max=0.008283 Jy/beam
! Clean residual mean=-0.000134 rms=0.002466 Jy/beam
! Combined flux in latest and established models = 1.26745 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 35 components and 1.26745 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.577 mas, bmaj=8.756 mas, bpa=15.75 degrees
! Estimated noise=1389.72 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00162375 Jy
! Component: 100  -  total flux cleaned = 0.0014191 Jy
! Component: 150  -  total flux cleaned = 0.00178349 Jy
! Component: 200  -  total flux cleaned = 0.00213401 Jy
! Total flux subtracted in 200 components = 0.00213401 Jy
! Clean residual min=-0.009460 max=0.009164 Jy/beam
! Clean residual mean=-0.000083 rms=0.002615 Jy/beam
! Combined flux in latest and established models = 1.26958 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 43 components and 1.26958 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.275692Jy  sigma=0.001184
! Fit after  self-cal, rms=0.275685Jy  sigma=0.001184
wmodel J2236+2828_S_1997_08_27_yyk\_map.mod
! Writing 43 model components to file: J2236+2828_S_1997_08_27_yyk_map.mod
wobs J2236+2828_S_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J2236+2828_S_1997_08_27_yyk_uvs.fits
wwins J2236+2828_S_1997_08_27_yyk\_map.win
! wwins: Wrote 1 windows to J2236+2828_S_1997_08_27_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.000875819 Jy
! Component: 100  -  total flux cleaned = -0.000553145 Jy
! Component: 150  -  total flux cleaned = -0.000401857 Jy
! Component: 200  -  total flux cleaned = 0.000415463 Jy
! Component: 250  -  total flux cleaned = 0.00105605 Jy
! Component: 300  -  total flux cleaned = 0.00142139 Jy
! Component: 350  -  total flux cleaned = 0.00200286 Jy
! Component: 400  -  total flux cleaned = 0.00222157 Jy
! Component: 450  -  total flux cleaned = 0.00253499 Jy
! Component: 500  -  total flux cleaned = 0.00323569 Jy
! Component: 550  -  total flux cleaned = 0.00342906 Jy
! Component: 600  -  total flux cleaned = 0.00380538 Jy
! Component: 650  -  total flux cleaned = 0.00407702 Jy
! Component: 700  -  total flux cleaned = 0.00407687 Jy
! Component: 750  -  total flux cleaned = 0.00424904 Jy
! Component: 800  -  total flux cleaned = 0.00441807 Jy
! Component: 850  -  total flux cleaned = 0.00474742 Jy
! Component: 900  -  total flux cleaned = 0.00506798 Jy
! Component: 950  -  total flux cleaned = 0.00530264 Jy
! Component: 1000  -  total flux cleaned = 0.00553581 Jy
! Component: 1050  -  total flux cleaned = 0.00561165 Jy
! Component: 1100  -  total flux cleaned = 0.0057564 Jy
! Component: 1150  -  total flux cleaned = 0.00604112 Jy
! Component: 1200  -  total flux cleaned = 0.00611058 Jy
! Component: 1250  -  total flux cleaned = 0.00638434 Jy
! Component: 1300  -  total flux cleaned = 0.00651602 Jy
! Component: 1350  -  total flux cleaned = 0.00644903 Jy
! Component: 1400  -  total flux cleaned = 0.00644787 Jy
! Component: 1450  -  total flux cleaned = 0.00651196 Jy
! Component: 1500  -  total flux cleaned = 0.00644984 Jy
! Component: 1550  -  total flux cleaned = 0.00632919 Jy
! Component: 1600  -  total flux cleaned = 0.00620995 Jy
! Component: 1650  -  total flux cleaned = 0.00615162 Jy
! Component: 1700  -  total flux cleaned = 0.00609545 Jy
! Component: 1750  -  total flux cleaned = 0.00587014 Jy
! Component: 1800  -  total flux cleaned = 0.00581393 Jy
! Component: 1850  -  total flux cleaned = 0.00565013 Jy
! Component: 1900  -  total flux cleaned = 0.00538273 Jy
! Component: 1950  -  total flux cleaned = 0.00517278 Jy
! Component: 2000  -  total flux cleaned = 0.00496647 Jy
! Total flux subtracted in 2048 components = 0.0046633 Jy
! Clean residual min=-0.003182 max=0.002663 Jy/beam
! Clean residual mean=-0.000029 rms=0.001040 Jy/beam
! Combined flux in latest and established models = 1.27424 Jy
keep
! Adding 133 model components to the UV plane model.
! The established model now contains 176 components and 1.27425 Jy
![Exited script file: muppet]
wmap "J2236+2828_S_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.577 x 8.756 at 15.75 degrees (North through East)
! Clean map  min=-0.0063099  max=1.2674 Jy/beam
! Writing clean map to FITS file: J2236+2828_S_1997_08_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.2674 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00104288 
device "J2236+2828_S_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J2236+2828_S_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.246854 0.246854 0.493708 0.987416 1.97483 3.94967 7.89933 15.7987 31.5973 63.1946
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0031 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.267 
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.577 x 8.756 at 15.75 degrees (North through East)
! Clean map  min=-0.0063099  max=1.2674 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2236+2828_S_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J2236+2828_S_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2236+2828_S_1997_08_27_yyk_uvs.log closed on Sun Jan  7 20:14:02 2007