! Started logfile: J1159+2914_X_1996_01_02_yyk_uvs.log on Mon Jan  8 05:31:43 2007
obs J1159+2914_X_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J1159+2914_X_1996_01_02_yyk_uva.fits
! AN table 1: 203 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.370005 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1159+2914
! 
! 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 13520 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 J1159+2914_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)= 1.24445 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.6829 mas, bmaj=1.753 mas, bpa=6.364 degrees
! Estimated noise=2637.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.90297 Jy
! Component: 100  -  total flux cleaned = 1.08875 Jy
! Total flux subtracted in 100 components = 1.08875 Jy
! Clean residual min=-0.112390 max=0.127826 Jy/beam
! Clean residual mean=0.000238 rms=0.031753 Jy/beam
! Combined flux in latest and established models = 1.08875 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 1.08875 Jy
! 
! Correcting IF 1.
!  A total of 1108 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 863 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 1113 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 863 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.572659Jy  sigma=0.003784
! Fit after  self-cal, rms=0.470608Jy  sigma=0.003047
! Inverting map and beam 
! Estimated beam: bmin=0.6829 mas, bmaj=1.753 mas, bpa=6.363 degrees
! Estimated noise=2638.68 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.7877 mas, bmaj=1.819 mas, bpa=6.736 degrees
! Estimated noise=979.35 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.213525 Jy
! Component: 100  -  total flux cleaned = 0.225478 Jy
! Component: 150  -  total flux cleaned = 0.221866 Jy
! Component: 200  -  total flux cleaned = 0.220438 Jy
! Total flux subtracted in 200 components = 0.220438 Jy
! Clean residual min=-0.074416 max=0.090397 Jy/beam
! Clean residual mean=0.000267 rms=0.020957 Jy/beam
! Combined flux in latest and established models = 1.30919 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 18 components and 1.30919 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.433382Jy  sigma=0.002555
! Fit after  self-cal, rms=0.433585Jy  sigma=0.002555
! 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.7877 x 1.819 at 6.736 degrees (North through East)
! Clean map  min=-0.07072  max=1.209 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: 0.978984
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.08     FD        1.10     HN        1.28     KP        0.87     
!   LA        1.29     MK        0.92     NL        0.86     OV        0.89     
!   PT        1.01     SC        0.93     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.986642
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        1.05     HN        1.26     KP        0.87     
!   LA        1.25     MK        0.91     NL        0.83     OV        0.92     
!   PT        0.99     SC        0.99     
! 
! 
! Correcting IF 3.
!  A total of 18 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.957724
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.12     FD        1.09     HN        1.41     KP        0.86     
!   LA        1.31     MK        0.96     NL        0.82     OV        0.90     
!   PT        0.99     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.954247
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.15     FD        1.11     HN        1.35     KP        0.85     
!   LA        1.29     MK        0.92     NL        0.86     OV        0.88     
!   PT        1.04     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.433585Jy  sigma=0.002555
! Fit after  self-cal, rms=0.399985Jy  sigma=0.002155
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.399985Jy  sigma=0.002155
! Fit after  self-cal, rms=0.400174Jy  sigma=0.002155
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7724 mas, bmaj=1.882 mas, bpa=6.923 degrees
! Estimated noise=895.728 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.0673062 Jy
! Component: 100  -  total flux cleaned = -0.0752379 Jy
! Component: 150  -  total flux cleaned = -0.0770987 Jy
! Component: 200  -  total flux cleaned = -0.077663 Jy
! Total flux subtracted in 200 components = -0.077663 Jy
! Clean residual min=-0.027343 max=0.039579 Jy/beam
! Clean residual mean=-0.000085 rms=0.007624 Jy/beam
! Combined flux in latest and established models = 1.23153 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 27 components and 1.23153 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.387511Jy  sigma=0.002077
! Fit after  self-cal, rms=0.387489Jy  sigma=0.002077
! Inverting map 
! Added new window around map position (-0.4, 3).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0372463 Jy
! Component: 100  -  total flux cleaned = 0.038338 Jy
! Component: 150  -  total flux cleaned = 0.0382861 Jy
! Component: 200  -  total flux cleaned = 0.0382748 Jy
! Total flux subtracted in 200 components = 0.0382748 Jy
! Clean residual min=-0.022940 max=0.023199 Jy/beam
! Clean residual mean=-0.000051 rms=0.006130 Jy/beam
! Combined flux in latest and established models = 1.2698 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 46 components and 1.2698 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.382752Jy  sigma=0.002038
! Fit after  self-cal, rms=0.382508Jy  sigma=0.002035
! 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.382508Jy  sigma=0.002035
! Fit after  self-cal, rms=0.368164Jy  sigma=0.001909
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.004569 Jy
! Component: 100  -  total flux cleaned = 0.00508021 Jy
! Component: 150  -  total flux cleaned = 0.00599664 Jy
! Component: 200  -  total flux cleaned = 0.00760763 Jy
! Total flux subtracted in 200 components = 0.00760763 Jy
! Clean residual min=-0.020383 max=0.023704 Jy/beam
! Clean residual mean=-0.000046 rms=0.005690 Jy/beam
! Combined flux in latest and established models = 1.27741 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 57 components and 1.27741 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.366968Jy  sigma=0.001900
! Fit after  self-cal, rms=0.365388Jy  sigma=0.001886
! 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.7724 x 1.882 at 6.923 degrees (North through East)
! Clean map  min=-0.018144  max=1.1266 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.365388Jy  sigma=0.001886
! Fit after  self-cal, rms=0.377691Jy  sigma=0.001745
! 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.377691Jy  sigma=0.001745
! Fit after  self-cal, rms=0.377341Jy  sigma=0.001742
! Inverting map and beam 
! Estimated beam: bmin=0.7749 mas, bmaj=1.881 mas, bpa=6.722 degrees
! Estimated noise=895.666 mJy/beam.
! Added new window around map position (5, 7).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0196227 Jy
! Component: 100  -  total flux cleaned = 0.0267677 Jy
! Component: 150  -  total flux cleaned = 0.0323661 Jy
! Component: 200  -  total flux cleaned = 0.0358974 Jy
! Total flux subtracted in 200 components = 0.0358974 Jy
! Clean residual min=-0.011113 max=0.010740 Jy/beam
! Clean residual mean=-0.000023 rms=0.002725 Jy/beam
! Combined flux in latest and established models = 1.31331 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 87 components and 1.31331 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.375732Jy  sigma=0.001727
! Fit after  self-cal, rms=0.375620Jy  sigma=0.001726
! 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.375620Jy  sigma=0.001726
! Fit after  self-cal, rms=0.375812Jy  sigma=0.001716
! 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.375812Jy  sigma=0.001716
! Fit after  self-cal, rms=0.375785Jy  sigma=0.001716
! Inverting map and beam 
! Estimated beam: bmin=0.7735 mas, bmaj=1.881 mas, bpa=6.724 degrees
! Estimated noise=893.52 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00206203 Jy
! Component: 100  -  total flux cleaned = 0.00468601 Jy
! Component: 150  -  total flux cleaned = 0.00638031 Jy
! Component: 200  -  total flux cleaned = 0.00820442 Jy
! Total flux subtracted in 200 components = 0.00820442 Jy
! Clean residual min=-0.009019 max=0.009430 Jy/beam
! Clean residual mean=-0.000015 rms=0.002289 Jy/beam
! Combined flux in latest and established models = 1.32151 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 96 components and 1.32151 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.375097Jy  sigma=0.001711
! Fit after  self-cal, rms=0.375084Jy  sigma=0.001711
! 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=1.988 mas, bmaj=3.5 mas, bpa=6.948 degrees
! Estimated noise=1215.17 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.00968936 Jy
! Component: 100  -  total flux cleaned = 0.0152021 Jy
! Component: 150  -  total flux cleaned = 0.0187998 Jy
! Component: 200  -  total flux cleaned = 0.0200309 Jy
! Total flux subtracted in 200 components = 0.0200309 Jy
! Clean residual min=-0.008102 max=0.009111 Jy/beam
! Clean residual mean=0.000005 rms=0.002537 Jy/beam
! Combined flux in latest and established models = 1.34154 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 108 components and 1.34154 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.374889Jy  sigma=0.001710
! Fit after  self-cal, rms=0.374870Jy  sigma=0.001710
! 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.6757 mas, bmaj=1.761 mas, bpa=6.338 degrees
! Estimated noise=2526.11 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.98004 Jy
! Component: 100  -  total flux cleaned = 1.11899 Jy
! Component: 150  -  total flux cleaned = 1.17679 Jy
! Component: 200  -  total flux cleaned = 1.21595 Jy
! Total flux subtracted in 200 components = 1.21595 Jy
! Clean residual min=-0.023468 max=0.027028 Jy/beam
! Clean residual mean=-0.000037 rms=0.006519 Jy/beam
! Combined flux in latest and established models = 1.21595 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 21 model components to the UV plane model.
! The established model now contains 21 components and 1.21595 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.7735 mas, bmaj=1.881 mas, bpa=6.724 degrees
! Estimated noise=893.52 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.0391612 Jy
! Component: 100  -  total flux cleaned = 0.0544886 Jy
! Component: 150  -  total flux cleaned = 0.0663582 Jy
! Component: 200  -  total flux cleaned = 0.0750094 Jy
! Total flux subtracted in 200 components = 0.0750094 Jy
! Clean residual min=-0.010907 max=0.011350 Jy/beam
! Clean residual mean=-0.000036 rms=0.002881 Jy/beam
! Combined flux in latest and established models = 1.29096 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 42 components and 1.29096 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=1.988 mas, bmaj=3.5 mas, bpa=6.948 degrees
! Estimated noise=1215.17 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.015036 Jy
! Component: 100  -  total flux cleaned = 0.0247292 Jy
! Component: 150  -  total flux cleaned = 0.0321265 Jy
! Component: 200  -  total flux cleaned = 0.0362094 Jy
! Total flux subtracted in 200 components = 0.0362094 Jy
! Clean residual min=-0.008835 max=0.008616 Jy/beam
! Clean residual mean=-0.000018 rms=0.002634 Jy/beam
! Combined flux in latest and established models = 1.32717 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 65 components and 1.32717 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.7735 mas, bmaj=1.881 mas, bpa=6.724 degrees
! Estimated noise=893.52 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000209683 Jy
! Component: 100  -  total flux cleaned = 0.00051631 Jy
! Component: 150  -  total flux cleaned = -2.53228e-05 Jy
! Component: 200  -  total flux cleaned = -2.36524e-05 Jy
! Total flux subtracted in 200 components = -2.36524e-05 Jy
! Clean residual min=-0.008382 max=0.009473 Jy/beam
! Clean residual mean=-0.000005 rms=0.002251 Jy/beam
! Combined flux in latest and established models = 1.32715 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 79 components and 1.32715 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.374725Jy  sigma=0.001710
! Fit after  self-cal, rms=0.374686Jy  sigma=0.001709
wmodel J1159+2914_X_1996_01_02_yyk\_map.mod
! Writing 79 model components to file: J1159+2914_X_1996_01_02_yyk_map.mod
wobs J1159+2914_X_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J1159+2914_X_1996_01_02_yyk_uvs.fits
wwins J1159+2914_X_1996_01_02_yyk\_map.win
! wwins: Wrote 3 windows to J1159+2914_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.00144031 Jy
! Component: 100  -  total flux cleaned = 0.00242702 Jy
! Component: 150  -  total flux cleaned = 0.00348147 Jy
! Component: 200  -  total flux cleaned = 0.00473731 Jy
! Component: 250  -  total flux cleaned = 0.00594355 Jy
! Component: 300  -  total flux cleaned = 0.00697372 Jy
! Component: 350  -  total flux cleaned = 0.00752495 Jy
! Component: 400  -  total flux cleaned = 0.00816701 Jy
! Component: 450  -  total flux cleaned = 0.00857759 Jy
! Component: 500  -  total flux cleaned = 0.00887931 Jy
! Component: 550  -  total flux cleaned = 0.00965771 Jy
! Component: 600  -  total flux cleaned = 0.0102246 Jy
! Component: 650  -  total flux cleaned = 0.0110468 Jy
! Component: 700  -  total flux cleaned = 0.0114018 Jy
! Component: 750  -  total flux cleaned = 0.0116629 Jy
! Component: 800  -  total flux cleaned = 0.0117527 Jy
! Component: 850  -  total flux cleaned = 0.0123314 Jy
! Component: 900  -  total flux cleaned = 0.0125724 Jy
! Component: 950  -  total flux cleaned = 0.0124144 Jy
! Component: 1000  -  total flux cleaned = 0.0124928 Jy
! Component: 1050  -  total flux cleaned = 0.0125681 Jy
! Component: 1100  -  total flux cleaned = 0.0126421 Jy
! Component: 1150  -  total flux cleaned = 0.0125693 Jy
! Component: 1200  -  total flux cleaned = 0.012567 Jy
! Component: 1250  -  total flux cleaned = 0.0124967 Jy
! Component: 1300  -  total flux cleaned = 0.0126998 Jy
! Component: 1350  -  total flux cleaned = 0.0124332 Jy
! Component: 1400  -  total flux cleaned = 0.0126298 Jy
! Component: 1450  -  total flux cleaned = 0.0124371 Jy
! Component: 1500  -  total flux cleaned = 0.0121853 Jy
! Component: 1550  -  total flux cleaned = 0.0121871 Jy
! Component: 1600  -  total flux cleaned = 0.0121889 Jy
! Component: 1650  -  total flux cleaned = 0.0123072 Jy
! Component: 1700  -  total flux cleaned = 0.0121906 Jy
! Component: 1750  -  total flux cleaned = 0.0121338 Jy
! Component: 1800  -  total flux cleaned = 0.0121919 Jy
! Component: 1850  -  total flux cleaned = 0.0121916 Jy
! Component: 1900  -  total flux cleaned = 0.0123023 Jy
! Component: 1950  -  total flux cleaned = 0.0121397 Jy
! Component: 2000  -  total flux cleaned = 0.012247 Jy
! Total flux subtracted in 2048 components = 0.0122461 Jy
! Clean residual min=-0.002884 max=0.002950 Jy/beam
! Clean residual mean=0.000006 rms=0.000950 Jy/beam
! Combined flux in latest and established models = 1.33939 Jy
keep
! Adding 158 model components to the UV plane model.
! The established model now contains 237 components and 1.33939 Jy
![Exited script file: muppet]
wmap "J1159+2914_X_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7735 x 1.881 at 6.724 degrees (North through East)
! Clean map  min=-0.0082138  max=1.1394 Jy/beam
! Writing clean map to FITS file: J1159+2914_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 1.13943 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000940267 
device "J1159+2914_X_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J1159+2914_X_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.247563 0.247563 0.495125 0.99025 1.9805 3.961 7.922 15.844 31.688 63.376
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0028 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.139 
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.7735 x 1.881 at 6.724 degrees (North through East)
! Clean map  min=-0.0082138  max=1.1394 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1159+2914_X_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J1159+2914_X_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1159+2914_X_1996_01_02_yyk_uvs.log closed on Mon Jan  8 05:31:52 2007