! Started logfile: J1436+2321_X_1996_03_13_yyk_uvs.log on Mon Jan  8 06:29:30 2007
obs J1436+2321_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J1436+2321_X_1996_03_13_yyk_uva.fits
! AN table 1: 104 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.826068 visibilities/baseline/integration-bin.
! Found source: J1436+2321
! 
! 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 655 lines of history.
! 
! Reading 15464 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 J1436+2321_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.443026 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.7637 mas, bmaj=1.764 mas, bpa=3.177 degrees
! Estimated noise=1164.42 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.306247 Jy
! Component: 100  -  total flux cleaned = 0.387399 Jy
! Total flux subtracted in 100 components = 0.387399 Jy
! Clean residual min=-0.012751 max=0.025770 Jy/beam
! Clean residual mean=-0.000041 rms=0.003421 Jy/beam
! Combined flux in latest and established models = 0.387399 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.387399 Jy
! 
! Correcting IF 1.
!  A total of 108 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 108 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 108 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 108 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.252212Jy  sigma=0.001723
! Fit after  self-cal, rms=0.251444Jy  sigma=0.001719
! Inverting map and beam 
! Estimated beam: bmin=0.7637 mas, bmaj=1.764 mas, bpa=3.179 degrees
! Estimated noise=1164.38 mJy/beam.
! Added new window around map position (0.8, -2.6).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0356841 Jy
! Component: 100  -  total flux cleaned = 0.0564417 Jy
! Total flux subtracted in 100 components = 0.0564417 Jy
! Clean residual min=-0.010664 max=0.013066 Jy/beam
! Clean residual mean=-0.000021 rms=0.002405 Jy/beam
! Combined flux in latest and established models = 0.44384 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 27 components and 0.44384 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246838Jy  sigma=0.001678
! Fit after  self-cal, rms=0.246581Jy  sigma=0.001677
! Inverting map 
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.9742 mas, bmaj=2.076 mas, bpa=7.599 degrees
! Estimated noise=809.427 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.0239958 Jy
! Component: 100  -  total flux cleaned = 0.0369025 Jy
! Component: 150  -  total flux cleaned = 0.0449057 Jy
! Component: 200  -  total flux cleaned = 0.0501902 Jy
! Total flux subtracted in 200 components = 0.0501902 Jy
! Clean residual min=-0.006728 max=0.006868 Jy/beam
! Clean residual mean=0.000005 rms=0.001659 Jy/beam
! Combined flux in latest and established models = 0.494031 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 55 components and 0.494031 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245231Jy  sigma=0.001664
! Fit after  self-cal, rms=0.245129Jy  sigma=0.001664
! 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.9742 x 2.076 at 7.599 degrees (North through East)
! Clean map  min=-0.005646  max=0.34429 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.00313
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.95     HN        0.95     KP        1.00     
!   LA        1.01     MK        1.05     NL        1.01     OV        0.98     
!   PT        1.02     SC        0.96     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00313
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.96     HN        0.96     KP        0.98     
!   LA        0.97     MK        1.07     NL        0.97     OV        1.08     
!   PT        1.01     SC        0.97     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.987066
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        1.00     HN        0.98     KP        0.95     
!   LA        1.00     MK        1.08     NL        0.97     OV        1.04     
!   PT        1.01     SC        1.03     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.986873
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.99     HN        1.00     KP        1.00     
!   LA        0.97     MK        1.10     NL        1.04     OV        1.02     
!   PT        0.99     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.245129Jy  sigma=0.001664
! Fit after  self-cal, rms=0.246129Jy  sigma=0.001660
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.246129Jy  sigma=0.001660
! Fit after  self-cal, rms=0.246133Jy  sigma=0.001660
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9907 mas, bmaj=2.09 mas, bpa=8.085 degrees
! Estimated noise=800.996 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.00334285 Jy
! Component: 100  -  total flux cleaned = -0.00423266 Jy
! Component: 150  -  total flux cleaned = -0.00448486 Jy
! Component: 200  -  total flux cleaned = -0.00435326 Jy
! Total flux subtracted in 200 components = -0.00435326 Jy
! Clean residual min=-0.004868 max=0.004915 Jy/beam
! Clean residual mean=0.000009 rms=0.001270 Jy/beam
! Combined flux in latest and established models = 0.489678 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 69 components and 0.489678 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246009Jy  sigma=0.001659
! Fit after  self-cal, rms=0.245997Jy  sigma=0.001659
! 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.245997Jy  sigma=0.001659
! Fit after  self-cal, rms=0.245173Jy  sigma=0.001653
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.000588626 Jy
! Component: 100  -  total flux cleaned = 0.00095069 Jy
! Component: 150  -  total flux cleaned = 0.00111604 Jy
! Component: 200  -  total flux cleaned = 0.00121773 Jy
! Total flux subtracted in 200 components = 0.00121773 Jy
! Clean residual min=-0.004843 max=0.004785 Jy/beam
! Clean residual mean=0.000010 rms=0.001254 Jy/beam
! Combined flux in latest and established models = 0.490895 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 75 components and 0.490895 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245138Jy  sigma=0.001652
! Fit after  self-cal, rms=0.244908Jy  sigma=0.001651
! 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.9907 x 2.09 at 8.085 degrees (North through East)
! Clean map  min=-0.0045912  max=0.34152 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.244908Jy  sigma=0.001651
! Fit after  self-cal, rms=0.245673Jy  sigma=0.001648
! 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.245673Jy  sigma=0.001648
! Fit after  self-cal, rms=0.245591Jy  sigma=0.001647
! Inverting map and beam 
! Estimated beam: bmin=0.9919 mas, bmaj=2.074 mas, bpa=8.115 degrees
! Estimated noise=799.796 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000473209 Jy
! Component: 100  -  total flux cleaned = -0.000401371 Jy
! Component: 150  -  total flux cleaned = -0.000279636 Jy
! Component: 200  -  total flux cleaned = -0.00017038 Jy
! Total flux subtracted in 200 components = -0.00017038 Jy
! Clean residual min=-0.004471 max=0.004552 Jy/beam
! Clean residual mean=0.000004 rms=0.001160 Jy/beam
! Combined flux in latest and established models = 0.490725 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 81 components and 0.490725 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245552Jy  sigma=0.001647
! Fit after  self-cal, rms=0.245517Jy  sigma=0.001647
! 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.245517Jy  sigma=0.001647
! Fit after  self-cal, rms=0.246530Jy  sigma=0.001645
! 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.246530Jy  sigma=0.001645
! Fit after  self-cal, rms=0.246519Jy  sigma=0.001645
! Inverting map and beam 
! Estimated beam: bmin=0.994 mas, bmaj=2.072 mas, bpa=8.17 degrees
! Estimated noise=801.435 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00032089 Jy
! Component: 100  -  total flux cleaned = 0.000193548 Jy
! Component: 150  -  total flux cleaned = 0.000349089 Jy
! Component: 200  -  total flux cleaned = 0.000442114 Jy
! Total flux subtracted in 200 components = 0.000442114 Jy
! Clean residual min=-0.004373 max=0.004432 Jy/beam
! Clean residual mean=0.000004 rms=0.001150 Jy/beam
! Combined flux in latest and established models = 0.491167 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 85 components and 0.491167 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246492Jy  sigma=0.001645
! Fit after  self-cal, rms=0.246488Jy  sigma=0.001645
! 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.103 mas, bmaj=2.947 mas, bpa=-1.85 degrees
! Estimated noise=1006.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.000182744 Jy
! Component: 100  -  total flux cleaned = -8.32295e-05 Jy
! Component: 150  -  total flux cleaned = -5.69219e-05 Jy
! Component: 200  -  total flux cleaned = -7.8673e-05 Jy
! Total flux subtracted in 200 components = -7.8673e-05 Jy
! Clean residual min=-0.004441 max=0.005568 Jy/beam
! Clean residual mean=0.000014 rms=0.001464 Jy/beam
! Combined flux in latest and established models = 0.491088 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 92 components and 0.491088 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246492Jy  sigma=0.001645
! Fit after  self-cal, rms=0.246490Jy  sigma=0.001645
! 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.772 mas, bmaj=1.756 mas, bpa=3.128 degrees
! Estimated noise=1166.2 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.308038 Jy
! Component: 100  -  total flux cleaned = 0.391519 Jy
! Component: 150  -  total flux cleaned = 0.42605 Jy
! Component: 200  -  total flux cleaned = 0.446881 Jy
! Total flux subtracted in 200 components = 0.446881 Jy
! Clean residual min=-0.008081 max=0.008408 Jy/beam
! Clean residual mean=-0.000016 rms=0.001930 Jy/beam
! Combined flux in latest and established models = 0.446881 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 30 model components to the UV plane model.
! The established model now contains 30 components and 0.446881 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.994 mas, bmaj=2.072 mas, bpa=8.17 degrees
! Estimated noise=801.435 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.0197034 Jy
! Component: 100  -  total flux cleaned = 0.030047 Jy
! Component: 150  -  total flux cleaned = 0.0362537 Jy
! Component: 200  -  total flux cleaned = 0.0400741 Jy
! Total flux subtracted in 200 components = 0.0400741 Jy
! Clean residual min=-0.004553 max=0.004645 Jy/beam
! Clean residual mean=-0.000000 rms=0.001176 Jy/beam
! Combined flux in latest and established models = 0.486955 Jy
! Adding 38 model components to the UV plane model.
! The established model now contains 55 components and 0.486955 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.103 mas, bmaj=2.947 mas, bpa=-1.85 degrees
! Estimated noise=1006.23 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.00328354 Jy
! Component: 100  -  total flux cleaned = 0.00373389 Jy
! Component: 150  -  total flux cleaned = 0.00389528 Jy
! Component: 200  -  total flux cleaned = 0.00394592 Jy
! Total flux subtracted in 200 components = 0.00394592 Jy
! Clean residual min=-0.004483 max=0.005668 Jy/beam
! Clean residual mean=0.000013 rms=0.001464 Jy/beam
! Combined flux in latest and established models = 0.490901 Jy
! Adding 16 model components to the UV plane model.
! The established model now contains 67 components and 0.490901 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.994 mas, bmaj=2.072 mas, bpa=8.17 degrees
! Estimated noise=801.435 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 7.2335e-05 Jy
! Component: 100  -  total flux cleaned = -6.31182e-05 Jy
! Component: 150  -  total flux cleaned = -6.18021e-05 Jy
! Component: 200  -  total flux cleaned = -6.27506e-05 Jy
! Total flux subtracted in 200 components = -6.27506e-05 Jy
! Clean residual min=-0.004268 max=0.004339 Jy/beam
! Clean residual mean=0.000003 rms=0.001143 Jy/beam
! Combined flux in latest and established models = 0.490838 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 80 components and 0.490838 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246516Jy  sigma=0.001645
! Fit after  self-cal, rms=0.246514Jy  sigma=0.001645
wmodel J1436+2321_X_1996_03_13_yyk\_map.mod
! Writing 80 model components to file: J1436+2321_X_1996_03_13_yyk_map.mod
wobs J1436+2321_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J1436+2321_X_1996_03_13_yyk_uvs.fits
wwins J1436+2321_X_1996_03_13_yyk\_map.win
! wwins: Wrote 2 windows to J1436+2321_X_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 = -9.27943e-05 Jy
! Component: 100  -  total flux cleaned = -0.000380439 Jy
! Component: 150  -  total flux cleaned = -0.000798512 Jy
! Component: 200  -  total flux cleaned = -0.00120196 Jy
! Component: 250  -  total flux cleaned = -0.00165798 Jy
! Component: 300  -  total flux cleaned = -0.00190999 Jy
! Component: 350  -  total flux cleaned = -0.00215729 Jy
! Component: 400  -  total flux cleaned = -0.00246074 Jy
! Component: 450  -  total flux cleaned = -0.00305159 Jy
! Component: 500  -  total flux cleaned = -0.00333939 Jy
! Component: 550  -  total flux cleaned = -0.00356568 Jy
! Component: 600  -  total flux cleaned = -0.00395456 Jy
! Component: 650  -  total flux cleaned = -0.00428091 Jy
! Component: 700  -  total flux cleaned = -0.00465586 Jy
! Component: 750  -  total flux cleaned = -0.00502498 Jy
! Component: 800  -  total flux cleaned = -0.0055443 Jy
! Component: 850  -  total flux cleaned = -0.00615641 Jy
! Component: 900  -  total flux cleaned = -0.00650774 Jy
! Component: 950  -  total flux cleaned = -0.00705185 Jy
! Component: 1000  -  total flux cleaned = -0.00739282 Jy
! Component: 1050  -  total flux cleaned = -0.00782441 Jy
! Component: 1100  -  total flux cleaned = -0.00810837 Jy
! Component: 1150  -  total flux cleaned = -0.00829536 Jy
! Component: 1200  -  total flux cleaned = -0.00866439 Jy
! Component: 1250  -  total flux cleaned = -0.008982 Jy
! Component: 1300  -  total flux cleaned = -0.00934116 Jy
! Component: 1350  -  total flux cleaned = -0.00938576 Jy
! Component: 1400  -  total flux cleaned = -0.00964954 Jy
! Component: 1450  -  total flux cleaned = -0.00990921 Jy
! Component: 1500  -  total flux cleaned = -0.0100813 Jy
! Component: 1550  -  total flux cleaned = -0.0102508 Jy
! Component: 1600  -  total flux cleaned = -0.0105022 Jy
! Component: 1650  -  total flux cleaned = -0.0106267 Jy
! Component: 1700  -  total flux cleaned = -0.0108733 Jy
! Component: 1750  -  total flux cleaned = -0.0108319 Jy
! Component: 1800  -  total flux cleaned = -0.0109531 Jy
! Component: 1850  -  total flux cleaned = -0.011192 Jy
! Component: 1900  -  total flux cleaned = -0.0114288 Jy
! Component: 1950  -  total flux cleaned = -0.0114677 Jy
! Component: 2000  -  total flux cleaned = -0.0116621 Jy
! Total flux subtracted in 2048 components = -0.0119699 Jy
! Clean residual min=-0.001913 max=0.002393 Jy/beam
! Clean residual mean=0.000002 rms=0.000730 Jy/beam
! Combined flux in latest and established models = 0.478869 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 221 components and 0.478868 Jy
![Exited script file: muppet]
wmap "J1436+2321_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.994 x 2.072 at 8.17 degrees (North through East)
! Clean map  min=-0.0034591  max=0.34141 Jy/beam
! Writing clean map to FITS file: J1436+2321_X_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.341407 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000728627 
device "J1436+2321_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J1436+2321_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.640257 0.640257 1.28051 2.56103 5.12205 10.2441 20.4882 40.9764 81.9529
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.341 
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.994 x 2.072 at 8.17 degrees (North through East)
! Clean map  min=-0.0034591  max=0.34141 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1436+2321_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J1436+2321_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1436+2321_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 06:29:38 2007