! Started logfile: J0209+1352_X_1996_03_13_yyk_uvs.log on Mon Jan  8 02:21:51 2007
obs J0209+1352_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J0209+1352_X_1996_03_13_yyk_uva.fits
! AN table 1: 130 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.933333 visibilities/baseline/integration-bin.
! Found source: J0209+1352
! 
! 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 21840 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 J0209+1352_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.414257 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.7451 mas, bmaj=1.829 mas, bpa=-1.664 degrees
! Estimated noise=1013.16 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.280059 Jy
! Component: 100  -  total flux cleaned = 0.328232 Jy
! Total flux subtracted in 100 components = 0.328232 Jy
! Clean residual min=-0.007680 max=0.012465 Jy/beam
! Clean residual mean=-0.000026 rms=0.002072 Jy/beam
! Combined flux in latest and established models = 0.328233 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.328233 Jy
! 
! Correcting IF 1.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 59 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.249006Jy  sigma=0.001690
! Fit after  self-cal, rms=0.248897Jy  sigma=0.001689
! Inverting map and beam 
! Estimated beam: bmin=0.7451 mas, bmaj=1.829 mas, bpa=-1.664 degrees
! Estimated noise=1013.18 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0156172 Jy
! Component: 100  -  total flux cleaned = 0.0216919 Jy
! Total flux subtracted in 100 components = 0.0216919 Jy
! Clean residual min=-0.007942 max=0.007875 Jy/beam
! Clean residual mean=-0.000015 rms=0.001842 Jy/beam
! Combined flux in latest and established models = 0.349924 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 18 components and 0.349924 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.248046Jy  sigma=0.001682
! Fit after  self-cal, rms=0.248039Jy  sigma=0.001682
! 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.9316 mas, bmaj=2.144 mas, bpa=-1.88 degrees
! Estimated noise=682.105 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.00669281 Jy
! Component: 100  -  total flux cleaned = 0.00935693 Jy
! Component: 150  -  total flux cleaned = 0.0100083 Jy
! Component: 200  -  total flux cleaned = 0.0103203 Jy
! Total flux subtracted in 200 components = 0.0103203 Jy
! Clean residual min=-0.005015 max=0.005446 Jy/beam
! Clean residual mean=-0.000002 rms=0.001366 Jy/beam
! Combined flux in latest and established models = 0.360245 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 30 components and 0.360245 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.247952Jy  sigma=0.001681
! Fit after  self-cal, rms=0.247948Jy  sigma=0.001681
! 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.9316 x 2.144 at -1.88 degrees (North through East)
! Clean map  min=-0.0046683  max=0.32975 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.00201
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.97     HN        0.98     KP        1.01     
!   LA        0.99     MK        1.01     NL        1.00     OV        1.02     
!   PT        1.01     SC        0.95     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00636
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.95     HN        0.94     KP        1.03     
!   LA        0.98     MK        1.04     NL        0.97     OV        1.06     
!   PT        1.01     SC        0.96     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.997903
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        0.98     HN        0.96     KP        1.00     
!   LA        0.98     MK        1.03     NL        0.97     OV        1.03     
!   PT        0.96     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.985908
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.97     HN        1.02     KP        0.99     
!   LA        1.00     MK        1.03     NL        1.04     OV        1.03     
!   PT        0.99     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.247948Jy  sigma=0.001681
! Fit after  self-cal, rms=0.248035Jy  sigma=0.001678
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.248035Jy  sigma=0.001678
! Fit after  self-cal, rms=0.248035Jy  sigma=0.001678
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9376 mas, bmaj=2.156 mas, bpa=-1.605 degrees
! Estimated noise=679.51 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.00207458 Jy
! Component: 100  -  total flux cleaned = -0.0023518 Jy
! Component: 150  -  total flux cleaned = -0.00248114 Jy
! Component: 200  -  total flux cleaned = -0.00244487 Jy
! Total flux subtracted in 200 components = -0.00244487 Jy
! Clean residual min=-0.004607 max=0.004182 Jy/beam
! Clean residual mean=0.000001 rms=0.001186 Jy/beam
! Combined flux in latest and established models = 0.3578 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 35 components and 0.3578 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.248014Jy  sigma=0.001678
! Fit after  self-cal, rms=0.248011Jy  sigma=0.001678
! 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.248011Jy  sigma=0.001678
! Fit after  self-cal, rms=0.246565Jy  sigma=0.001668
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.000774185 Jy
! Component: 100  -  total flux cleaned = 0.000945024 Jy
! Component: 150  -  total flux cleaned = 0.00101234 Jy
! Component: 200  -  total flux cleaned = 0.00110013 Jy
! Total flux subtracted in 200 components = 0.00110013 Jy
! Clean residual min=-0.004222 max=0.004160 Jy/beam
! Clean residual mean=0.000001 rms=0.001175 Jy/beam
! Combined flux in latest and established models = 0.3589 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 38 components and 0.3589 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246560Jy  sigma=0.001668
! Fit after  self-cal, rms=0.246148Jy  sigma=0.001665
! 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.9376 x 2.156 at -1.605 degrees (North through East)
! Clean map  min=-0.0040687  max=0.33037 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.246148Jy  sigma=0.001665
! Fit after  self-cal, rms=0.246650Jy  sigma=0.001663
! 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.246650Jy  sigma=0.001663
! Fit after  self-cal, rms=0.246523Jy  sigma=0.001662
! Inverting map and beam 
! Estimated beam: bmin=0.9347 mas, bmaj=2.146 mas, bpa=-1.822 degrees
! Estimated noise=677.796 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -2.91495e-05 Jy
! Component: 100  -  total flux cleaned = 1.05041e-05 Jy
! Component: 150  -  total flux cleaned = -2.63894e-05 Jy
! Component: 200  -  total flux cleaned = -0.000117101 Jy
! Total flux subtracted in 200 components = -0.000117101 Jy
! Clean residual min=-0.004293 max=0.004014 Jy/beam
! Clean residual mean=0.000003 rms=0.001090 Jy/beam
! Combined flux in latest and established models = 0.358783 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 44 components and 0.358783 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246512Jy  sigma=0.001662
! Fit after  self-cal, rms=0.246471Jy  sigma=0.001661
! 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.246471Jy  sigma=0.001661
! Fit after  self-cal, rms=0.246607Jy  sigma=0.001660
! 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.246607Jy  sigma=0.001660
! Fit after  self-cal, rms=0.246596Jy  sigma=0.001660
! Inverting map and beam 
! Estimated beam: bmin=0.9341 mas, bmaj=2.145 mas, bpa=-1.909 degrees
! Estimated noise=678.243 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000416876 Jy
! Component: 100  -  total flux cleaned = 0.000447415 Jy
! Component: 150  -  total flux cleaned = 0.000424161 Jy
! Component: 200  -  total flux cleaned = 0.000403202 Jy
! Total flux subtracted in 200 components = 0.000403202 Jy
! Clean residual min=-0.004341 max=0.003995 Jy/beam
! Clean residual mean=0.000003 rms=0.001090 Jy/beam
! Combined flux in latest and established models = 0.359186 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 47 components and 0.359186 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246591Jy  sigma=0.001660
! Fit after  self-cal, rms=0.246591Jy  sigma=0.001660
! 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.173 mas, bmaj=3.216 mas, bpa=-6.443 degrees
! Estimated noise=862.271 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.000273739 Jy
! Component: 100  -  total flux cleaned = -0.000309899 Jy
! Component: 150  -  total flux cleaned = -0.00030569 Jy
! Component: 200  -  total flux cleaned = -0.000301807 Jy
! Total flux subtracted in 200 components = -0.000301807 Jy
! Clean residual min=-0.004643 max=0.004716 Jy/beam
! Clean residual mean=0.000007 rms=0.001365 Jy/beam
! Combined flux in latest and established models = 0.358884 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 51 components and 0.358884 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246592Jy  sigma=0.001660
! Fit after  self-cal, rms=0.246594Jy  sigma=0.001660
! 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.745 mas, bmaj=1.832 mas, bpa=-1.773 degrees
! Estimated noise=1018.07 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.28262 Jy
! Component: 100  -  total flux cleaned = 0.332444 Jy
! Component: 150  -  total flux cleaned = 0.348481 Jy
! Component: 200  -  total flux cleaned = 0.354848 Jy
! Total flux subtracted in 200 components = 0.354848 Jy
! Clean residual min=-0.006227 max=0.006036 Jy/beam
! Clean residual mean=-0.000009 rms=0.001592 Jy/beam
! Combined flux in latest and established models = 0.354848 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.354848 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9341 mas, bmaj=2.145 mas, bpa=-1.909 degrees
! Estimated noise=678.243 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.00386397 Jy
! Component: 100  -  total flux cleaned = 0.00425141 Jy
! Component: 150  -  total flux cleaned = 0.00430831 Jy
! Component: 200  -  total flux cleaned = 0.00420759 Jy
! Total flux subtracted in 200 components = 0.00420759 Jy
! Clean residual min=-0.004309 max=0.004025 Jy/beam
! Clean residual mean=0.000003 rms=0.001098 Jy/beam
! Combined flux in latest and established models = 0.359055 Jy
! Adding 17 model components to the UV plane model.
! The established model now contains 27 components and 0.359055 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.173 mas, bmaj=3.216 mas, bpa=-6.443 degrees
! Estimated noise=862.271 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.000104481 Jy
! Component: 100  -  total flux cleaned = -5.89035e-05 Jy
! Component: 150  -  total flux cleaned = -9.34918e-05 Jy
! Component: 200  -  total flux cleaned = -0.000145949 Jy
! Total flux subtracted in 200 components = -0.000145949 Jy
! Clean residual min=-0.004620 max=0.004712 Jy/beam
! Clean residual mean=0.000007 rms=0.001366 Jy/beam
! Combined flux in latest and established models = 0.358909 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 32 components and 0.358909 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9341 mas, bmaj=2.145 mas, bpa=-1.909 degrees
! Estimated noise=678.243 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00030317 Jy
! Component: 100  -  total flux cleaned = -0.000344079 Jy
! Component: 150  -  total flux cleaned = -0.000343627 Jy
! Component: 200  -  total flux cleaned = -0.000345201 Jy
! Total flux subtracted in 200 components = -0.000345201 Jy
! Clean residual min=-0.004343 max=0.003989 Jy/beam
! Clean residual mean=0.000003 rms=0.001092 Jy/beam
! Combined flux in latest and established models = 0.358564 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 36 components and 0.358564 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.246602Jy  sigma=0.001660
! Fit after  self-cal, rms=0.246603Jy  sigma=0.001660
wmodel J0209+1352_X_1996_03_13_yyk\_map.mod
! Writing 36 model components to file: J0209+1352_X_1996_03_13_yyk_map.mod
wobs J0209+1352_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J0209+1352_X_1996_03_13_yyk_uvs.fits
wwins J0209+1352_X_1996_03_13_yyk\_map.win
! wwins: Wrote 1 windows to J0209+1352_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 = -0.000801621 Jy
! Component: 100  -  total flux cleaned = -0.00101346 Jy
! Component: 150  -  total flux cleaned = -0.00107971 Jy
! Component: 200  -  total flux cleaned = -0.000953963 Jy
! Component: 250  -  total flux cleaned = -0.00077022 Jy
! Component: 300  -  total flux cleaned = -0.000591466 Jy
! Component: 350  -  total flux cleaned = -0.000591654 Jy
! Component: 400  -  total flux cleaned = -0.000591462 Jy
! Component: 450  -  total flux cleaned = -0.000646485 Jy
! Component: 500  -  total flux cleaned = -0.000591757 Jy
! Component: 550  -  total flux cleaned = -0.000538178 Jy
! Component: 600  -  total flux cleaned = -0.000381333 Jy
! Component: 650  -  total flux cleaned = -0.000279153 Jy
! Component: 700  -  total flux cleaned = -0.000381325 Jy
! Component: 750  -  total flux cleaned = -0.000381544 Jy
! Component: 800  -  total flux cleaned = -0.000332882 Jy
! Component: 850  -  total flux cleaned = -0.000479241 Jy
! Component: 900  -  total flux cleaned = -0.000622415 Jy
! Component: 950  -  total flux cleaned = -0.000716587 Jy
! Component: 1000  -  total flux cleaned = -0.000996767 Jy
! Component: 1050  -  total flux cleaned = -0.00108918 Jy
! Component: 1100  -  total flux cleaned = -0.0013171 Jy
! Component: 1150  -  total flux cleaned = -0.00163142 Jy
! Component: 1200  -  total flux cleaned = -0.00189739 Jy
! Component: 1250  -  total flux cleaned = -0.00202884 Jy
! Component: 1300  -  total flux cleaned = -0.00233248 Jy
! Component: 1350  -  total flux cleaned = -0.00241732 Jy
! Component: 1400  -  total flux cleaned = -0.00250214 Jy
! Component: 1450  -  total flux cleaned = -0.00262798 Jy
! Component: 1500  -  total flux cleaned = -0.00254547 Jy
! Component: 1550  -  total flux cleaned = -0.00270945 Jy
! Component: 1600  -  total flux cleaned = -0.00266913 Jy
! Component: 1650  -  total flux cleaned = -0.00278974 Jy
! Component: 1700  -  total flux cleaned = -0.00267071 Jy
! Component: 1750  -  total flux cleaned = -0.0028672 Jy
! Component: 1800  -  total flux cleaned = -0.00290581 Jy
! Component: 1850  -  total flux cleaned = -0.00290573 Jy
! Component: 1900  -  total flux cleaned = -0.00282915 Jy
! Component: 1950  -  total flux cleaned = -0.00275301 Jy
! Component: 2000  -  total flux cleaned = -0.00275295 Jy
! Total flux subtracted in 2048 components = -0.00282753 Jy
! Clean residual min=-0.002094 max=0.001996 Jy/beam
! Clean residual mean=0.000001 rms=0.000729 Jy/beam
! Combined flux in latest and established models = 0.355736 Jy
keep
! Adding 151 model components to the UV plane model.
! The established model now contains 187 components and 0.355737 Jy
![Exited script file: muppet]
wmap "J0209+1352_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9341 x 2.145 at -1.909 degrees (North through East)
! Clean map  min=-0.0031159  max=0.33113 Jy/beam
! Writing clean map to FITS file: J0209+1352_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.331134 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000727581 
device "J0209+1352_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J0209+1352_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.659173 0.659173 1.31835 2.63669 5.27338 10.5468 21.0935 42.1871 84.3742
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.331 
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.9341 x 2.145 at -1.909 degrees (North through East)
! Clean map  min=-0.0031159  max=0.33113 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0209+1352_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J0209+1352_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0209+1352_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 02:22:00 2007