! Started logfile: J2343+2339_X_1996_01_02_yyk_uvs.log on Mon Jan  8 10:54:53 2007
obs J2343+2339_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J2343+2339_X_1996_01_02_yyk_uva.fits
! AN table 1: 91 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.383639 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! 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  8.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 627 lines of history.
! 
! Reading 6284 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_X_1996_01_02_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.346533 Jy 
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7207 mas, bmaj=2.193 mas, bpa=-6.075 degrees
! Estimated noise=2659.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)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.132855 Jy
! Component: 100  -  total flux cleaned = 0.167032 Jy
! Total flux subtracted in 100 components = 0.167032 Jy
! Clean residual min=-0.021587 max=0.026350 Jy/beam
! Clean residual mean=0.000036 rms=0.006141 Jy/beam
! Combined flux in latest and established models = 0.167032 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.167032 Jy
! 
! Correcting IF 1.
!  A total of 353 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 353 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 390 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 353 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.308665Jy  sigma=0.001861
! Fit after  self-cal, rms=0.307056Jy  sigma=0.001853
! Inverting map and beam 
! Estimated beam: bmin=0.7208 mas, bmaj=2.193 mas, bpa=-6.075 degrees
! Estimated noise=2660.78 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=0.9289 mas, bmaj=3.14 mas, bpa=-10.13 degrees
! Estimated noise=1352.66 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.0177013 Jy
! Component: 100  -  total flux cleaned = 0.0184243 Jy
! Component: 150  -  total flux cleaned = 0.0187709 Jy
! Component: 200  -  total flux cleaned = 0.0189162 Jy
! Total flux subtracted in 200 components = 0.0189162 Jy
! Clean residual min=-0.013671 max=0.016520 Jy/beam
! Clean residual mean=0.000026 rms=0.004697 Jy/beam
! Combined flux in latest and established models = 0.185948 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 14 components and 0.185948 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306782Jy  sigma=0.001848
! Fit after  self-cal, rms=0.306770Jy  sigma=0.001847
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9289 x 3.14 at -10.13 degrees (North through East)
! Clean map  min=-0.013459  max=0.16378 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
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
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.306770Jy  sigma=0.001847
! Fit after  self-cal, rms=0.306934Jy  sigma=0.001848
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.306934Jy  sigma=0.001848
! Fit after  self-cal, rms=0.306932Jy  sigma=0.001847
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.931 mas, bmaj=3.151 mas, bpa=-10.16 degrees
! Estimated noise=1355.89 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.000265075 Jy
! Component: 100  -  total flux cleaned = -9.82368e-06 Jy
! Component: 150  -  total flux cleaned = 0.000217716 Jy
! Component: 200  -  total flux cleaned = 0.0004172 Jy
! Total flux subtracted in 200 components = 0.0004172 Jy
! Clean residual min=-0.013708 max=0.016539 Jy/beam
! Clean residual mean=0.000028 rms=0.004673 Jy/beam
! Combined flux in latest and established models = 0.186366 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 0.186366 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.306902Jy  sigma=0.001847
! Fit after  self-cal, rms=0.306891Jy  sigma=0.001847
! 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.306891Jy  sigma=0.001847
! Fit after  self-cal, rms=0.305821Jy  sigma=0.001839
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.00182773 Jy
! Component: 100  -  total flux cleaned = 0.00196095 Jy
! Component: 150  -  total flux cleaned = 0.0020622 Jy
! Component: 200  -  total flux cleaned = 0.00215404 Jy
! Total flux subtracted in 200 components = 0.00215404 Jy
! Clean residual min=-0.014088 max=0.016586 Jy/beam
! Clean residual mean=0.000026 rms=0.004630 Jy/beam
! Combined flux in latest and established models = 0.18852 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 21 components and 0.18852 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305804Jy  sigma=0.001839
! Fit after  self-cal, rms=0.305305Jy  sigma=0.001835
! 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: 0.931 x 3.151 at -10.16 degrees (North through East)
! Clean map  min=-0.013441  max=0.16591 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.305305Jy  sigma=0.001835
! Fit after  self-cal, rms=0.305305Jy  sigma=0.001835
! 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.305305Jy  sigma=0.001835
! Fit after  self-cal, rms=0.305155Jy  sigma=0.001834
! Inverting map and beam 
! Estimated beam: bmin=0.931 mas, bmaj=3.151 mas, bpa=-10.16 degrees
! Estimated noise=1355.89 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0012463 Jy
! Component: 100  -  total flux cleaned = 0.0010615 Jy
! Component: 150  -  total flux cleaned = 0.000979203 Jy
! Component: 200  -  total flux cleaned = 0.000820624 Jy
! Total flux subtracted in 200 components = 0.000820624 Jy
! Clean residual min=-0.013423 max=0.016486 Jy/beam
! Clean residual mean=0.000025 rms=0.004569 Jy/beam
! Combined flux in latest and established models = 0.18934 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 24 components and 0.18934 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305164Jy  sigma=0.001834
! Fit after  self-cal, rms=0.305126Jy  sigma=0.001834
! 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.305126Jy  sigma=0.001834
! Fit after  self-cal, rms=0.305126Jy  sigma=0.001834
! 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.305126Jy  sigma=0.001834
! Fit after  self-cal, rms=0.305129Jy  sigma=0.001834
! Inverting map and beam 
! Estimated beam: bmin=0.931 mas, bmaj=3.151 mas, bpa=-10.16 degrees
! Estimated noise=1355.89 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000338883 Jy
! Component: 100  -  total flux cleaned = 0.000187473 Jy
! Component: 150  -  total flux cleaned = 4.78674e-05 Jy
! Component: 200  -  total flux cleaned = -8.55766e-05 Jy
! Total flux subtracted in 200 components = -8.55766e-05 Jy
! Clean residual min=-0.013283 max=0.016606 Jy/beam
! Clean residual mean=0.000024 rms=0.004557 Jy/beam
! Combined flux in latest and established models = 0.189255 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 24 components and 0.189255 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305123Jy  sigma=0.001834
! Fit after  self-cal, rms=0.305137Jy  sigma=0.001834
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.146 mas, bmaj=4.588 mas, bpa=-13.82 degrees
! Estimated noise=1664.82 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.00769619 Jy
! Component: 100  -  total flux cleaned = -0.00812446 Jy
! Component: 150  -  total flux cleaned = -0.00834307 Jy
! Component: 200  -  total flux cleaned = -0.00852492 Jy
! Total flux subtracted in 200 components = -0.00852492 Jy
! Clean residual min=-0.018053 max=0.019372 Jy/beam
! Clean residual mean=0.000023 rms=0.006358 Jy/beam
! Combined flux in latest and established models = 0.18073 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 29 components and 0.18073 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305415Jy  sigma=0.001835
! Fit after  self-cal, rms=0.305411Jy  sigma=0.001835
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum models.
uvw 2,-1
! Uniform weighting binwidth: 2 (pixels).
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
clean clean_niter, clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.7207 mas, bmaj=2.192 mas, bpa=-6.057 degrees
! Estimated noise=2665.15 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.137601 Jy
! Component: 100  -  total flux cleaned = 0.1692 Jy
! Component: 150  -  total flux cleaned = 0.177094 Jy
! Component: 200  -  total flux cleaned = 0.181547 Jy
! Total flux subtracted in 200 components = 0.181547 Jy
! Clean residual min=-0.021097 max=0.025896 Jy/beam
! Clean residual mean=0.000037 rms=0.005672 Jy/beam
! Combined flux in latest and established models = 0.181547 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.181547 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.931 mas, bmaj=3.151 mas, bpa=-10.16 degrees
! Estimated noise=1355.89 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.00418808 Jy
! Component: 100  -  total flux cleaned = 0.00574229 Jy
! Component: 150  -  total flux cleaned = 0.00691802 Jy
! Component: 200  -  total flux cleaned = 0.00720013 Jy
! Total flux subtracted in 200 components = 0.00720013 Jy
! Clean residual min=-0.013814 max=0.016737 Jy/beam
! Clean residual mean=0.000024 rms=0.004615 Jy/beam
! Combined flux in latest and established models = 0.188747 Jy
! Adding 11 model components to the UV plane model.
! The established model now contains 24 components and 0.188747 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.146 mas, bmaj=4.588 mas, bpa=-13.82 degrees
! Estimated noise=1664.82 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.0081575 Jy
! Component: 100  -  total flux cleaned = -0.00848422 Jy
! Component: 150  -  total flux cleaned = -0.00874325 Jy
! Component: 200  -  total flux cleaned = -0.00884039 Jy
! Total flux subtracted in 200 components = -0.00884039 Jy
! Clean residual min=-0.018236 max=0.019531 Jy/beam
! Clean residual mean=0.000023 rms=0.006388 Jy/beam
! Combined flux in latest and established models = 0.179906 Jy
! Adding 10 model components to the UV plane model.
! The established model now contains 29 components and 0.179906 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.931 mas, bmaj=3.151 mas, bpa=-10.16 degrees
! Estimated noise=1355.89 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00553491 Jy
! Component: 100  -  total flux cleaned = 0.00587106 Jy
! Component: 150  -  total flux cleaned = 0.00611039 Jy
! Component: 200  -  total flux cleaned = 0.00646157 Jy
! Total flux subtracted in 200 components = 0.00646157 Jy
! Clean residual min=-0.013591 max=0.016640 Jy/beam
! Clean residual mean=0.000023 rms=0.004556 Jy/beam
! Combined flux in latest and established models = 0.186368 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 36 components and 0.186368 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305197Jy  sigma=0.001834
! Fit after  self-cal, rms=0.305207Jy  sigma=0.001834
wmodel J2343+2339_X_1996_01_02_yyk\_map.mod
! Writing 36 model components to file: J2343+2339_X_1996_01_02_yyk_map.mod
wobs J2343+2339_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J2343+2339_X_1996_01_02_yyk_uvs.fits
wwins J2343+2339_X_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J2343+2339_X_1996_01_02_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.00697292 Jy
! Component: 100  -  total flux cleaned = 0.00921983 Jy
! Component: 150  -  total flux cleaned = 0.0117261 Jy
! Component: 200  -  total flux cleaned = 0.0145251 Jy
! Component: 250  -  total flux cleaned = 0.0155538 Jy
! Component: 300  -  total flux cleaned = 0.0175147 Jy
! Component: 350  -  total flux cleaned = 0.0184651 Jy
! Component: 400  -  total flux cleaned = 0.0192007 Jy
! Component: 450  -  total flux cleaned = 0.0197247 Jy
! Component: 500  -  total flux cleaned = 0.0207435 Jy
! Component: 550  -  total flux cleaned = 0.0215744 Jy
! Component: 600  -  total flux cleaned = 0.0226982 Jy
! Component: 650  -  total flux cleaned = 0.0236308 Jy
! Component: 700  -  total flux cleaned = 0.0243929 Jy
! Component: 750  -  total flux cleaned = 0.0249845 Jy
! Component: 800  -  total flux cleaned = 0.0252727 Jy
! Component: 850  -  total flux cleaned = 0.0258334 Jy
! Component: 900  -  total flux cleaned = 0.0259692 Jy
! Component: 950  -  total flux cleaned = 0.0262358 Jy
! Component: 1000  -  total flux cleaned = 0.0263661 Jy
! Component: 1050  -  total flux cleaned = 0.0266223 Jy
! Component: 1100  -  total flux cleaned = 0.0267488 Jy
! Component: 1150  -  total flux cleaned = 0.0271184 Jy
! Component: 1200  -  total flux cleaned = 0.0277158 Jy
! Component: 1250  -  total flux cleaned = 0.0279505 Jy
! Component: 1300  -  total flux cleaned = 0.0279516 Jy
! Component: 1350  -  total flux cleaned = 0.028513 Jy
! Component: 1400  -  total flux cleaned = 0.0285112 Jy
! Component: 1450  -  total flux cleaned = 0.0289434 Jy
! Component: 1500  -  total flux cleaned = 0.0293678 Jy
! Component: 1550  -  total flux cleaned = 0.0296796 Jy
! Component: 1600  -  total flux cleaned = 0.0303969 Jy
! Component: 1650  -  total flux cleaned = 0.030999 Jy
! Component: 1700  -  total flux cleaned = 0.0316911 Jy
! Component: 1750  -  total flux cleaned = 0.032275 Jy
! Component: 1800  -  total flux cleaned = 0.0328511 Jy
! Component: 1850  -  total flux cleaned = 0.0335134 Jy
! Component: 1900  -  total flux cleaned = 0.0343514 Jy
! Component: 1950  -  total flux cleaned = 0.0349035 Jy
! Component: 2000  -  total flux cleaned = 0.0358091 Jy
! Total flux subtracted in 2048 components = 0.0365232 Jy
! Clean residual min=-0.004964 max=0.004923 Jy/beam
! Clean residual mean=0.000025 rms=0.001799 Jy/beam
! Combined flux in latest and established models = 0.222891 Jy
keep
! Adding 149 model components to the UV plane model.
! The established model now contains 185 components and 0.222891 Jy
![Exited script file: muppet]
wmap "J2343+2339_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.931 x 3.151 at -10.16 degrees (North through East)
! Clean map  min=-0.010214  max=0.16596 Jy/beam
! Writing clean map to FITS file: J2343+2339_X_1996_01_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.165957 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00176703 
device "J2343+2339_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J2343+2339_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -3.19425 3.19425 6.38851 12.777 25.554 51.1081
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0053 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.165 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.931 x 3.151 at -10.16 degrees (North through East)
! Clean map  min=-0.010214  max=0.16596 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2343+2339_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J2343+2339_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2343+2339_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 10:54:59 2007