! Started logfile: J2343+2339_S_1996_03_13_yyk_uvs.log on Sun Jan  7 20:27:36 2007
obs J2343+2339_S_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J2343+2339_S_1996_03_13_yyk_uva.fits
! AN table 1: 120 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.793148 visibilities/baseline/integration-bin.
! Found source: J2343+2339
! 
! 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 17132 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 J2343+2339_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.484319 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.766 mas, bmaj=7.354 mas, bpa=-5.055 degrees
! Estimated noise=1518.95 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.2807 Jy
! Component: 100  -  total flux cleaned = 0.318811 Jy
! Total flux subtracted in 100 components = 0.318811 Jy
! Clean residual min=-0.017559 max=0.021101 Jy/beam
! Clean residual mean=0.000039 rms=0.005638 Jy/beam
! Combined flux in latest and established models = 0.318811 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.318811 Jy
! 
! Correcting IF 1.
!  A total of 150 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 150 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 150 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 150 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.359148Jy  sigma=0.001807
! Fit after  self-cal, rms=0.358541Jy  sigma=0.001803
! Inverting map and beam 
! Estimated beam: bmin=2.766 mas, bmaj=7.354 mas, bpa=-5.056 degrees
! Estimated noise=1519.99 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.536 mas, bmaj=8.517 mas, bpa=-6.426 degrees
! Estimated noise=999.23 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.00715635 Jy
! Component: 100  -  total flux cleaned = 0.00925462 Jy
! Component: 150  -  total flux cleaned = 0.00960642 Jy
! Component: 200  -  total flux cleaned = 0.00971385 Jy
! Total flux subtracted in 200 components = 0.00971385 Jy
! Clean residual min=-0.015146 max=0.022017 Jy/beam
! Clean residual mean=0.000081 rms=0.005922 Jy/beam
! Combined flux in latest and established models = 0.328525 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 24 components and 0.328525 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358418Jy  sigma=0.001802
! Fit after  self-cal, rms=0.358393Jy  sigma=0.001802
! 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.536 x 8.517 at -6.426 degrees (North through East)
! Clean map  min=-0.014762  max=0.31482 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.0251
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.05     HN        0.91     KP        0.91     
!   LA        0.89     MK        0.98     NL        0.84     OV        1.53     
!   PT        0.92     SC        0.79     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.971647
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.13     HN        1.08     KP        0.90     
!   LA        0.94     MK        1.04     NL        0.92     OV        1.49     
!   PT        0.87     SC        0.90     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.99969
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.07     HN        1.01     KP        0.90     
!   LA        0.75     MK        0.92     NL        0.91     OV        1.45     
!   PT        1.06     SC        0.99     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.984003
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.08     HN        1.04     KP        0.92     
!   LA        0.86     MK        1.07     NL        0.96     OV        1.38     
!   PT        0.93     SC        0.91     
! 
! 
! Fit before self-cal, rms=0.358393Jy  sigma=0.001802
! Fit after  self-cal, rms=0.366166Jy  sigma=0.001773
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.366166Jy  sigma=0.001773
! Fit after  self-cal, rms=0.366144Jy  sigma=0.001773
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.519 mas, bmaj=8.377 mas, bpa=-5.574 degrees
! Estimated noise=973.339 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.00230013 Jy
! Component: 100  -  total flux cleaned = -0.00267756 Jy
! Component: 150  -  total flux cleaned = -0.00267803 Jy
! Component: 200  -  total flux cleaned = -0.00288353 Jy
! Total flux subtracted in 200 components = -0.00288353 Jy
! Clean residual min=-0.009633 max=0.012025 Jy/beam
! Clean residual mean=-0.000016 rms=0.003229 Jy/beam
! Combined flux in latest and established models = 0.325641 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 31 components and 0.325641 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.366050Jy  sigma=0.001772
! Fit after  self-cal, rms=0.366050Jy  sigma=0.001772
! 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.366050Jy  sigma=0.001772
! Fit after  self-cal, rms=0.364724Jy  sigma=0.001766
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.000828065 Jy
! Component: 100  -  total flux cleaned = 0.000636343 Jy
! Component: 150  -  total flux cleaned = 0.000455377 Jy
! Component: 200  -  total flux cleaned = 0.000296453 Jy
! Total flux subtracted in 200 components = 0.000296453 Jy
! Clean residual min=-0.009842 max=0.011322 Jy/beam
! Clean residual mean=-0.000024 rms=0.003150 Jy/beam
! Combined flux in latest and established models = 0.325938 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 36 components and 0.325938 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.364641Jy  sigma=0.001766
! Fit after  self-cal, rms=0.364504Jy  sigma=0.001765
! 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.519 x 8.377 at -5.574 degrees (North through East)
! Clean map  min=-0.0098632  max=0.31417 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.364504Jy  sigma=0.001765
! Fit after  self-cal, rms=1.055496Jy  sigma=0.001726
! 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=1.055496Jy  sigma=0.001726
! Fit after  self-cal, rms=1.054926Jy  sigma=0.001725
! Inverting map and beam 
! Estimated beam: bmin=3.552 mas, bmaj=8.518 mas, bpa=-5.597 degrees
! Estimated noise=954.481 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000988525 Jy
! Component: 100  -  total flux cleaned = -0.00104094 Jy
! Component: 150  -  total flux cleaned = -0.00108175 Jy
! Component: 200  -  total flux cleaned = -0.00104838 Jy
! Total flux subtracted in 200 components = -0.00104838 Jy
! Clean residual min=-0.004705 max=0.005222 Jy/beam
! Clean residual mean=0.000007 rms=0.001301 Jy/beam
! Combined flux in latest and established models = 0.324889 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 42 components and 0.324889 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.054913Jy  sigma=0.001725
! Fit after  self-cal, rms=1.054663Jy  sigma=0.001725
! 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=1.054663Jy  sigma=0.001725
! Fit after  self-cal, rms=1.021205Jy  sigma=0.001724
! 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=1.021205Jy  sigma=0.001724
! Fit after  self-cal, rms=1.021225Jy  sigma=0.001724
! Inverting map and beam 
! Estimated beam: bmin=3.554 mas, bmaj=8.505 mas, bpa=-5.428 degrees
! Estimated noise=957.831 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000994008 Jy
! Component: 100  -  total flux cleaned = 0.000991677 Jy
! Component: 150  -  total flux cleaned = 0.00101807 Jy
! Component: 200  -  total flux cleaned = 0.00104499 Jy
! Total flux subtracted in 200 components = 0.00104499 Jy
! Clean residual min=-0.004789 max=0.005217 Jy/beam
! Clean residual mean=0.000006 rms=0.001306 Jy/beam
! Combined flux in latest and established models = 0.325934 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 52 components and 0.325934 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.021220Jy  sigma=0.001724
! Fit after  self-cal, rms=1.021254Jy  sigma=0.001724
! 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.483 mas, bmaj=10.68 mas, bpa=-5.811 degrees
! Estimated noise=1167.86 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.00103333 Jy
! Component: 100  -  total flux cleaned = -0.00105454 Jy
! Component: 150  -  total flux cleaned = -0.00109636 Jy
! Component: 200  -  total flux cleaned = -0.00111503 Jy
! Total flux subtracted in 200 components = -0.00111503 Jy
! Clean residual min=-0.004810 max=0.005038 Jy/beam
! Clean residual mean=0.000019 rms=0.001495 Jy/beam
! Combined flux in latest and established models = 0.324819 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 59 components and 0.324819 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.021250Jy  sigma=0.001724
! Fit after  self-cal, rms=1.021274Jy  sigma=0.001724
! 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.765 mas, bmaj=7.399 mas, bpa=-4.926 degrees
! Estimated noise=1484.89 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.274572 Jy
! Component: 100  -  total flux cleaned = 0.311397 Jy
! Component: 150  -  total flux cleaned = 0.322311 Jy
! Component: 200  -  total flux cleaned = 0.326359 Jy
! Total flux subtracted in 200 components = 0.326359 Jy
! Clean residual min=-0.008380 max=0.008285 Jy/beam
! Clean residual mean=-0.000001 rms=0.002262 Jy/beam
! Combined flux in latest and established models = 0.326359 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 17 model components to the UV plane model.
! The established model now contains 17 components and 0.326359 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.554 mas, bmaj=8.505 mas, bpa=-5.428 degrees
! Estimated noise=957.831 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.00122772 Jy
! Component: 100  -  total flux cleaned = -0.00114897 Jy
! Component: 150  -  total flux cleaned = -0.00115014 Jy
! Component: 200  -  total flux cleaned = -0.0012742 Jy
! Total flux subtracted in 200 components = -0.0012742 Jy
! Clean residual min=-0.004953 max=0.005346 Jy/beam
! Clean residual mean=0.000006 rms=0.001324 Jy/beam
! Combined flux in latest and established models = 0.325085 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 27 components and 0.325085 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.483 mas, bmaj=10.68 mas, bpa=-5.811 degrees
! Estimated noise=1167.86 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.00054546 Jy
! Component: 100  -  total flux cleaned = -0.000591722 Jy
! Component: 150  -  total flux cleaned = -0.00058872 Jy
! Component: 200  -  total flux cleaned = -0.000590147 Jy
! Total flux subtracted in 200 components = -0.000590147 Jy
! Clean residual min=-0.004834 max=0.005119 Jy/beam
! Clean residual mean=0.000019 rms=0.001494 Jy/beam
! Combined flux in latest and established models = 0.324494 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 36 components and 0.324495 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.554 mas, bmaj=8.505 mas, bpa=-5.428 degrees
! Estimated noise=957.831 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00067609 Jy
! Component: 100  -  total flux cleaned = 0.000814644 Jy
! Component: 150  -  total flux cleaned = 0.000855036 Jy
! Component: 200  -  total flux cleaned = 0.000892089 Jy
! Total flux subtracted in 200 components = 0.000892089 Jy
! Clean residual min=-0.004833 max=0.005222 Jy/beam
! Clean residual mean=0.000006 rms=0.001314 Jy/beam
! Combined flux in latest and established models = 0.325387 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 42 components and 0.325387 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.021281Jy  sigma=0.001724
! Fit after  self-cal, rms=1.021297Jy  sigma=0.001724
wmodel J2343+2339_S_1996_03_13_yyk\_map.mod
! Writing 42 model components to file: J2343+2339_S_1996_03_13_yyk_map.mod
wobs J2343+2339_S_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J2343+2339_S_1996_03_13_yyk_uvs.fits
wwins J2343+2339_S_1996_03_13_yyk\_map.win
! wwins: Wrote 1 windows to J2343+2339_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.0010327 Jy
! Component: 100  -  total flux cleaned = 0.00145098 Jy
! Component: 150  -  total flux cleaned = 0.00129499 Jy
! Component: 200  -  total flux cleaned = 0.000785963 Jy
! Component: 250  -  total flux cleaned = 0.00057741 Jy
! Component: 300  -  total flux cleaned = 0.000175988 Jy
! Component: 350  -  total flux cleaned = -8.1846e-05 Jy
! Component: 400  -  total flux cleaned = -1.88035e-05 Jy
! Component: 450  -  total flux cleaned = -0.000141659 Jy
! Component: 500  -  total flux cleaned = -1.96862e-05 Jy
! Component: 550  -  total flux cleaned = 3.93196e-05 Jy
! Component: 600  -  total flux cleaned = -1.90876e-05 Jy
! Component: 650  -  total flux cleaned = -7.64189e-05 Jy
! Component: 700  -  total flux cleaned = -0.00018737 Jy
! Component: 750  -  total flux cleaned = -0.000241465 Jy
! Component: 800  -  total flux cleaned = -0.000188275 Jy
! Component: 850  -  total flux cleaned = -0.000189065 Jy
! Component: 900  -  total flux cleaned = -0.000293413 Jy
! Component: 950  -  total flux cleaned = -0.00029333 Jy
! Component: 1000  -  total flux cleaned = -0.000242714 Jy
! Component: 1050  -  total flux cleaned = -0.000442115 Jy
! Component: 1100  -  total flux cleaned = -0.00039243 Jy
! Component: 1150  -  total flux cleaned = -0.000296226 Jy
! Component: 1200  -  total flux cleaned = -0.000392288 Jy
! Component: 1250  -  total flux cleaned = -0.000344279 Jy
! Component: 1300  -  total flux cleaned = -0.000344822 Jy
! Component: 1350  -  total flux cleaned = -0.000205979 Jy
! Component: 1400  -  total flux cleaned = -0.000389491 Jy
! Component: 1450  -  total flux cleaned = -0.00020862 Jy
! Component: 1500  -  total flux cleaned = -0.000164142 Jy
! Component: 1550  -  total flux cleaned = -0.000208716 Jy
! Component: 1600  -  total flux cleaned = -0.000207996 Jy
! Component: 1650  -  total flux cleaned = -0.000207189 Jy
! Component: 1700  -  total flux cleaned = -0.000164264 Jy
! Component: 1750  -  total flux cleaned = -0.000163805 Jy
! Component: 1800  -  total flux cleaned = 4.54978e-05 Jy
! Component: 1850  -  total flux cleaned = -3.8e-05 Jy
! Component: 1900  -  total flux cleaned = -0.000119904 Jy
! Component: 1950  -  total flux cleaned = -7.9428e-05 Jy
! Component: 2000  -  total flux cleaned = 6.91758e-07 Jy
! Total flux subtracted in 2048 components = -0.000119228 Jy
! Clean residual min=-0.002776 max=0.002944 Jy/beam
! Clean residual mean=-0.000004 rms=0.000833 Jy/beam
! Combined flux in latest and established models = 0.325267 Jy
keep
! Adding 132 model components to the UV plane model.
! The established model now contains 174 components and 0.325267 Jy
![Exited script file: muppet]
wmap "J2343+2339_S_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.554 x 8.505 at -5.428 degrees (North through East)
! Clean map  min=-0.0037129  max=0.31646 Jy/beam
! Writing clean map to FITS file: J2343+2339_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.316462 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000833496 
device "J2343+2339_S_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J2343+2339_S_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.79014 0.79014 1.58028 3.16056 6.32112 12.6422 25.2845 50.5689
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.316 
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.554 x 8.505 at -5.428 degrees (North through East)
! Clean map  min=-0.0037129  max=0.31646 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2343+2339_S_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J2343+2339_S_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2343+2339_S_1996_03_13_yyk_uvs.log closed on Sun Jan  7 20:27:42 2007