! Started logfile: J0232+2317_S_1996_03_13_yyk_uvs.log on Sun Jan  7 15:53:47 2007
obs J0232+2317_S_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J0232+2317_S_1996_03_13_yyk_uva.fits
! AN table 1: 123 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.869919 visibilities/baseline/integration-bin.
! Found source: J0232+2317
! 
! 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 655 lines of history.
! 
! Reading 19260 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 J0232+2317_S_1996_03_13_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.521332 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.73 mas, bmaj=6.6 mas, bpa=-14.45 degrees
! Estimated noise=1312.22 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.314759 Jy
! Component: 100  -  total flux cleaned = 0.383913 Jy
! Total flux subtracted in 100 components = 0.383913 Jy
! Clean residual min=-0.012202 max=0.023591 Jy/beam
! Clean residual mean=0.000059 rms=0.004113 Jy/beam
! Combined flux in latest and established models = 0.383914 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.383914 Jy
! 
! Correcting IF 1.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.341939Jy  sigma=0.001724
! Fit after  self-cal, rms=0.341577Jy  sigma=0.001722
! Inverting map and beam 
! Estimated beam: bmin=2.73 mas, bmaj=6.6 mas, bpa=-14.45 degrees
! Estimated noise=1313.39 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.487 mas, bmaj=7.742 mas, bpa=-16.1 degrees
! Estimated noise=921.742 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 (-3, -0.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0357227 Jy
! Component: 100  -  total flux cleaned = 0.0466777 Jy
! Component: 150  -  total flux cleaned = 0.0490162 Jy
! Component: 200  -  total flux cleaned = 0.0509058 Jy
! Total flux subtracted in 200 components = 0.0509058 Jy
! Clean residual min=-0.009633 max=0.011561 Jy/beam
! Clean residual mean=0.000085 rms=0.002683 Jy/beam
! Combined flux in latest and established models = 0.434819 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 43 model components to the UV plane model.
! The established model now contains 50 components and 0.434819 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.338082Jy  sigma=0.001706
! Fit after  self-cal, rms=0.337999Jy  sigma=0.001706
! 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.487 x 7.742 at -16.1 degrees (North through East)
! Clean map  min=-0.0093832  max=0.37137 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.04116
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.05     HN        1.01     KP        0.88     
!   LA        0.92     MK        1.00     NL        0.91     OV        1.09     
!   PT        1.00     SC        0.77     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.99961
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.14     HN        1.08     KP        0.91     
!   LA        1.04     MK        1.02     NL        0.92     OV        1.04     
!   PT        0.94     SC        0.89     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0311
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.08     HN        0.99     KP        0.92     
!   LA        0.77     MK        0.88     NL        0.98     OV        0.98     
!   PT        1.12     SC        1.00     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.996424
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.14     HN        1.05     KP        0.97     
!   LA        0.86     MK        1.08     NL        1.05     OV        0.94     
!   PT        1.01     SC        0.95     
! 
! 
! Fit before self-cal, rms=0.337999Jy  sigma=0.001706
! Fit after  self-cal, rms=0.327259Jy  sigma=0.001691
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.327259Jy  sigma=0.001691
! Fit after  self-cal, rms=0.327253Jy  sigma=0.001690
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.468 mas, bmaj=7.636 mas, bpa=-14.8 degrees
! Estimated noise=936.387 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.0123012 Jy
! Component: 100  -  total flux cleaned = 0.0135293 Jy
! Component: 150  -  total flux cleaned = 0.0140736 Jy
! Component: 200  -  total flux cleaned = 0.0142324 Jy
! Total flux subtracted in 200 components = 0.0142324 Jy
! Clean residual min=-0.006279 max=0.006018 Jy/beam
! Clean residual mean=0.000023 rms=0.001621 Jy/beam
! Combined flux in latest and established models = 0.449052 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 72 components and 0.449052 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326838Jy  sigma=0.001688
! Fit after  self-cal, rms=0.326811Jy  sigma=0.001688
! 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.326811Jy  sigma=0.001688
! Fit after  self-cal, rms=0.326369Jy  sigma=0.001686
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.000978405 Jy
! Component: 100  -  total flux cleaned = 0.000871233 Jy
! Component: 150  -  total flux cleaned = 0.000672979 Jy
! Component: 200  -  total flux cleaned = 0.000584128 Jy
! Total flux subtracted in 200 components = 0.000584128 Jy
! Clean residual min=-0.006177 max=0.005911 Jy/beam
! Clean residual mean=0.000024 rms=0.001584 Jy/beam
! Combined flux in latest and established models = 0.449636 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 88 components and 0.449636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326317Jy  sigma=0.001685
! Fit after  self-cal, rms=0.326206Jy  sigma=0.001685
! 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.468 x 7.636 at -14.8 degrees (North through East)
! Clean map  min=-0.0061407  max=0.37784 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.326206Jy  sigma=0.001685
! Fit after  self-cal, rms=0.322840Jy  sigma=0.001681
! 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.322840Jy  sigma=0.001681
! Fit after  self-cal, rms=0.322805Jy  sigma=0.001681
! Inverting map and beam 
! Estimated beam: bmin=3.449 mas, bmaj=7.526 mas, bpa=-14.91 degrees
! Estimated noise=930.929 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00215229 Jy
! Component: 100  -  total flux cleaned = 0.00190247 Jy
! Component: 150  -  total flux cleaned = 0.00182961 Jy
! Component: 200  -  total flux cleaned = 0.00169353 Jy
! Total flux subtracted in 200 components = 0.00169353 Jy
! Clean residual min=-0.006180 max=0.005494 Jy/beam
! Clean residual mean=0.000011 rms=0.001481 Jy/beam
! Combined flux in latest and established models = 0.451329 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 104 components and 0.451329 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322762Jy  sigma=0.001681
! Fit after  self-cal, rms=0.322738Jy  sigma=0.001681
! 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.322738Jy  sigma=0.001681
! Fit after  self-cal, rms=0.322997Jy  sigma=0.001679
! 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.322997Jy  sigma=0.001679
! Fit after  self-cal, rms=0.322990Jy  sigma=0.001679
! Inverting map and beam 
! Estimated beam: bmin=3.442 mas, bmaj=7.502 mas, bpa=-14.89 degrees
! Estimated noise=932.525 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0019673 Jy
! Component: 100  -  total flux cleaned = 0.00216952 Jy
! Component: 150  -  total flux cleaned = 0.0022273 Jy
! Component: 200  -  total flux cleaned = 0.00217458 Jy
! Total flux subtracted in 200 components = 0.00217458 Jy
! Clean residual min=-0.006001 max=0.005265 Jy/beam
! Clean residual mean=0.000011 rms=0.001468 Jy/beam
! Combined flux in latest and established models = 0.453504 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 114 components and 0.453504 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322964Jy  sigma=0.001679
! Fit after  self-cal, rms=0.322959Jy  sigma=0.001679
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.17 mas, bmaj=10.21 mas, bpa=-10.29 degrees
! Estimated noise=1164.79 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.00188336 Jy
! Component: 100  -  total flux cleaned = 0.0015334 Jy
! Component: 150  -  total flux cleaned = 0.00143605 Jy
! Component: 200  -  total flux cleaned = 0.00134686 Jy
! Total flux subtracted in 200 components = 0.00134686 Jy
! Clean residual min=-0.005844 max=0.006352 Jy/beam
! Clean residual mean=0.000024 rms=0.001920 Jy/beam
! Combined flux in latest and established models = 0.454851 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 127 components and 0.454851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322960Jy  sigma=0.001679
! Fit after  self-cal, rms=0.322959Jy  sigma=0.001679
! 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.71 mas, bmaj=6.473 mas, bpa=-13.53 degrees
! Estimated noise=1318.36 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.317224 Jy
! Component: 100  -  total flux cleaned = 0.389705 Jy
! Component: 150  -  total flux cleaned = 0.421486 Jy
! Component: 200  -  total flux cleaned = 0.437853 Jy
! Total flux subtracted in 200 components = 0.437853 Jy
! Clean residual min=-0.007941 max=0.008907 Jy/beam
! Clean residual mean=-0.000000 rms=0.002187 Jy/beam
! Combined flux in latest and established models = 0.437853 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 25 model components to the UV plane model.
! The established model now contains 25 components and 0.437853 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.442 mas, bmaj=7.502 mas, bpa=-14.89 degrees
! Estimated noise=932.525 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.0118752 Jy
! Component: 100  -  total flux cleaned = 0.0127576 Jy
! Component: 150  -  total flux cleaned = 0.0135557 Jy
! Component: 200  -  total flux cleaned = 0.0143759 Jy
! Total flux subtracted in 200 components = 0.0143759 Jy
! Clean residual min=-0.005750 max=0.005376 Jy/beam
! Clean residual mean=0.000008 rms=0.001535 Jy/beam
! Combined flux in latest and established models = 0.452229 Jy
! Adding 39 model components to the UV plane model.
! The established model now contains 60 components and 0.452229 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.17 mas, bmaj=10.21 mas, bpa=-10.29 degrees
! Estimated noise=1164.79 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.00174703 Jy
! Component: 100  -  total flux cleaned = 0.0019926 Jy
! Component: 150  -  total flux cleaned = 0.00217345 Jy
! Component: 200  -  total flux cleaned = 0.00210688 Jy
! Total flux subtracted in 200 components = 0.00210688 Jy
! Clean residual min=-0.005773 max=0.006312 Jy/beam
! Clean residual mean=0.000023 rms=0.001938 Jy/beam
! Combined flux in latest and established models = 0.454336 Jy
! Adding 42 model components to the UV plane model.
! The established model now contains 94 components and 0.454336 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.442 mas, bmaj=7.502 mas, bpa=-14.89 degrees
! Estimated noise=932.525 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000491927 Jy
! Component: 100  -  total flux cleaned = -0.000392478 Jy
! Component: 150  -  total flux cleaned = -0.000558494 Jy
! Component: 200  -  total flux cleaned = -0.000555077 Jy
! Total flux subtracted in 200 components = -0.000555077 Jy
! Clean residual min=-0.005513 max=0.005026 Jy/beam
! Clean residual mean=0.000009 rms=0.001476 Jy/beam
! Combined flux in latest and established models = 0.453781 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 111 components and 0.453781 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322966Jy  sigma=0.001679
! Fit after  self-cal, rms=0.322960Jy  sigma=0.001679
wmodel J0232+2317_S_1996_03_13_yyk\_map.mod
! Writing 111 model components to file: J0232+2317_S_1996_03_13_yyk_map.mod
wobs J0232+2317_S_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J0232+2317_S_1996_03_13_yyk_uvs.fits
wwins J0232+2317_S_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J0232+2317_S_1996_03_13_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.0010692 Jy
! Component: 100  -  total flux cleaned = -0.000709838 Jy
! Component: 150  -  total flux cleaned = -0.000709516 Jy
! Component: 200  -  total flux cleaned = -0.000546058 Jy
! Component: 250  -  total flux cleaned = -0.00116903 Jy
! Component: 300  -  total flux cleaned = -0.00154577 Jy
! Component: 350  -  total flux cleaned = -0.00191218 Jy
! Component: 400  -  total flux cleaned = -0.00198281 Jy
! Component: 450  -  total flux cleaned = -0.00219076 Jy
! Component: 500  -  total flux cleaned = -0.00198719 Jy
! Component: 550  -  total flux cleaned = -0.00225329 Jy
! Component: 600  -  total flux cleaned = -0.0021203 Jy
! Component: 650  -  total flux cleaned = -0.00199152 Jy
! Component: 700  -  total flux cleaned = -0.00180331 Jy
! Component: 750  -  total flux cleaned = -0.00180369 Jy
! Component: 800  -  total flux cleaned = -0.00168162 Jy
! Component: 850  -  total flux cleaned = -0.00161995 Jy
! Component: 900  -  total flux cleaned = -0.00138529 Jy
! Component: 950  -  total flux cleaned = -0.000869575 Jy
! Component: 1000  -  total flux cleaned = -0.000475502 Jy
! Component: 1050  -  total flux cleaned = -0.000364304 Jy
! Component: 1100  -  total flux cleaned = -8.99829e-05 Jy
! Component: 1150  -  total flux cleaned = 0.000341137 Jy
! Component: 1200  -  total flux cleaned = 0.000340613 Jy
! Component: 1250  -  total flux cleaned = 0.000758504 Jy
! Component: 1300  -  total flux cleaned = 0.00101495 Jy
! Component: 1350  -  total flux cleaned = 0.00101512 Jy
! Component: 1400  -  total flux cleaned = 0.00126705 Jy
! Component: 1450  -  total flux cleaned = 0.00151546 Jy
! Component: 1500  -  total flux cleaned = 0.00175989 Jy
! Component: 1550  -  total flux cleaned = 0.00204979 Jy
! Component: 1600  -  total flux cleaned = 0.00224069 Jy
! Component: 1650  -  total flux cleaned = 0.0024291 Jy
! Component: 1700  -  total flux cleaned = 0.00242899 Jy
! Component: 1750  -  total flux cleaned = 0.00261336 Jy
! Component: 1800  -  total flux cleaned = 0.00274928 Jy
! Component: 1850  -  total flux cleaned = 0.00274957 Jy
! Component: 1900  -  total flux cleaned = 0.00288268 Jy
! Component: 1950  -  total flux cleaned = 0.00279534 Jy
! Component: 2000  -  total flux cleaned = 0.00279621 Jy
! Total flux subtracted in 2048 components = 0.0028406 Jy
! Clean residual min=-0.002563 max=0.002439 Jy/beam
! Clean residual mean=0.000005 rms=0.000908 Jy/beam
! Combined flux in latest and established models = 0.456622 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 253 components and 0.456622 Jy
![Exited script file: muppet]
wmap "J0232+2317_S_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.442 x 7.502 at -14.89 degrees (North through East)
! Clean map  min=-0.0047309  max=0.37681 Jy/beam
! Writing clean map to FITS file: J0232+2317_S_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.376808 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000912512 
device "J0232+2317_S_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J0232+2317_S_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.726506 0.726506 1.45301 2.90603 5.81205 11.6241 23.2482 46.4964 92.9928
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0027 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.376 
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.442 x 7.502 at -14.89 degrees (North through East)
! Clean map  min=-0.0047309  max=0.37681 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0232+2317_S_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J0232+2317_S_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0232+2317_S_1996_03_13_yyk_uvs.log closed on Sun Jan  7 15:53:54 2007