! Started logfile: J1058+8114_X_2006_02_23_yyk_uvs.log on Wed Jul  5 12:01:17 2006
obs J1058+8114_X_2006_02_23_yyk_uva.fits
! Reading UV FITS file: J1058+8114_X_2006_02_23_yyk_uva.fits
! AN table 1: 435 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.839745 visibilities/baseline/integration-bin.
! Found source: J1058+8114
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2397 lines of history.
! 
! Reading 65752 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 J1058+8114_X_2006_02_23_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.66118 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.7117 mas, bmaj=2.077 mas, bpa=-76.15 degrees
! Estimated noise=1.52963 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.2, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.530968 Jy
! Component: 100  -  total flux cleaned = 0.681352 Jy
! Total flux subtracted in 100 components = 0.681352 Jy
! Clean residual min=-0.023182 max=0.044862 Jy/beam
! Clean residual mean=-0.000220 rms=0.006789 Jy/beam
! Combined flux in latest and established models = 0.681352 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.681352 Jy
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.145333Jy  sigma=2.308525
! Fit after  self-cal, rms=0.137801Jy  sigma=2.175953
! Inverting map and beam 
! Estimated beam: bmin=0.7117 mas, bmaj=2.077 mas, bpa=-76.15 degrees
! Estimated noise=1.52963 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0674915 Jy
! Component: 100  -  total flux cleaned = 0.0953311 Jy
! Total flux subtracted in 100 components = 0.0953311 Jy
! Clean residual min=-0.016940 max=0.014563 Jy/beam
! Clean residual mean=-0.000038 rms=0.003582 Jy/beam
! Combined flux in latest and established models = 0.776683 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 19 components and 0.776683 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109835Jy  sigma=1.609264
! Fit after  self-cal, rms=0.108889Jy  sigma=1.596758
! 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.8932 mas, bmaj=2.415 mas, bpa=-76.23 degrees
! Estimated noise=1.09586 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.0174605 Jy
! Component: 100  -  total flux cleaned = 0.021669 Jy
! Component: 150  -  total flux cleaned = 0.0225747 Jy
! Component: 200  -  total flux cleaned = 0.0228907 Jy
! Total flux subtracted in 200 components = 0.0228907 Jy
! Clean residual min=-0.013869 max=0.014354 Jy/beam
! Clean residual mean=0.000086 rms=0.003307 Jy/beam
! Combined flux in latest and established models = 0.799574 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 33 components and 0.799574 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.106832Jy  sigma=1.558537
! Fit after  self-cal, rms=0.106524Jy  sigma=1.555387
! 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.8932 x 2.415 at -76.23 degrees (North through East)
! Clean map  min=-0.013331  max=0.61832 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 0.992241
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.05     HN        1.05     KP        0.97     
!   LA        1.00     MK        1.00     NL        1.01     OV        0.98     
!   PT        1.01     SC        1.06     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01093
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.04     HN        1.05     KP        0.90     
!   LA        0.95     MK        0.96     NL        0.98     OV        0.97     
!   PT        1.05     SC        1.01     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00786
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.07     HN        0.96     KP        0.85     
!   LA        0.98     MK        1.00     NL        0.97     OV        1.00     
!   PT        1.06     SC        0.98     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.983805
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.12     HN        0.98     KP        0.87     
!   LA        0.96     MK        0.99     NL        0.98     OV        1.04     
!   PT        1.15     SC        1.06     
! 
! 
! Fit before self-cal, rms=0.106524Jy  sigma=1.555387
! Fit after  self-cal, rms=0.093046Jy  sigma=1.293125
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.093046Jy  sigma=1.293125
! Fit after  self-cal, rms=0.093006Jy  sigma=1.292973
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8962 mas, bmaj=2.418 mas, bpa=-76.01 degrees
! Estimated noise=1.08979 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.00206916 Jy
! Component: 100  -  total flux cleaned = -0.00273099 Jy
! Component: 150  -  total flux cleaned = -0.00326282 Jy
! Component: 200  -  total flux cleaned = -0.00349579 Jy
! Total flux subtracted in 200 components = -0.00349579 Jy
! Clean residual min=-0.005085 max=0.005232 Jy/beam
! Clean residual mean=0.000012 rms=0.001261 Jy/beam
! Combined flux in latest and established models = 0.796078 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 36 components and 0.796078 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.092567Jy  sigma=1.285117
! Fit after  self-cal, rms=0.092442Jy  sigma=1.284098
! 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.092442Jy  sigma=1.284098
! Fit after  self-cal, rms=0.075479Jy  sigma=1.023459
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.00108065 Jy
! Component: 100  -  total flux cleaned = 0.00108343 Jy
! Component: 150  -  total flux cleaned = 0.000979587 Jy
! Component: 200  -  total flux cleaned = 0.00097945 Jy
! Total flux subtracted in 200 components = 0.00097945 Jy
! Clean residual min=-0.004670 max=0.004975 Jy/beam
! Clean residual mean=0.000017 rms=0.001219 Jy/beam
! Combined flux in latest and established models = 0.797058 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 40 components and 0.797058 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.075174Jy  sigma=1.018277
! Fit after  self-cal, rms=0.073442Jy  sigma=0.997848
! 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.8962 x 2.418 at -76.01 degrees (North through East)
! Clean map  min=-0.0042912  max=0.61845 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.073442Jy  sigma=0.997848
! Fit after  self-cal, rms=0.071118Jy  sigma=0.946119
! 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.071118Jy  sigma=0.946119
! Fit after  self-cal, rms=0.070939Jy  sigma=0.944251
! Inverting map and beam 
! Estimated beam: bmin=0.8921 mas, bmaj=2.417 mas, bpa=-76.09 degrees
! Estimated noise=1.08687 mJy/beam.
! Added new window around map position (16.8, 2.2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0030593 Jy
! Component: 100  -  total flux cleaned = 0.00279151 Jy
! Component: 150  -  total flux cleaned = 0.00290324 Jy
! Component: 200  -  total flux cleaned = 0.00290196 Jy
! Total flux subtracted in 200 components = 0.00290196 Jy
! Clean residual min=-0.003680 max=0.003994 Jy/beam
! Clean residual mean=0.000007 rms=0.001000 Jy/beam
! Combined flux in latest and established models = 0.79996 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 64 components and 0.799959 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070436Jy  sigma=0.934982
! Fit after  self-cal, rms=0.070394Jy  sigma=0.934533
! 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.070394Jy  sigma=0.934533
! Fit after  self-cal, rms=0.068715Jy  sigma=0.914199
! 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.068715Jy  sigma=0.914199
! Fit after  self-cal, rms=0.068714Jy  sigma=0.914168
! Inverting map and beam 
! Estimated beam: bmin=0.8911 mas, bmaj=2.417 mas, bpa=-76.1 degrees
! Estimated noise=1.08562 mJy/beam.
! Added new window around map position (0, -1).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00304843 Jy
! Component: 100  -  total flux cleaned = 0.00331112 Jy
! Component: 150  -  total flux cleaned = 0.00332278 Jy
! Component: 200  -  total flux cleaned = 0.00341472 Jy
! Total flux subtracted in 200 components = 0.00341472 Jy
! Clean residual min=-0.003664 max=0.003511 Jy/beam
! Clean residual mean=0.000017 rms=0.000928 Jy/beam
! Combined flux in latest and established models = 0.803374 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 87 components and 0.803374 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068345Jy  sigma=0.907145
! Fit after  self-cal, rms=0.068342Jy  sigma=0.906719
! 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.239 mas, bmaj=3.628 mas, bpa=-77.89 degrees
! Estimated noise=1.37758 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.000242939 Jy
! Component: 100  -  total flux cleaned = -0.000368849 Jy
! Component: 150  -  total flux cleaned = -0.000474424 Jy
! Component: 200  -  total flux cleaned = -0.000476399 Jy
! Total flux subtracted in 200 components = -0.000476399 Jy
! Clean residual min=-0.003725 max=0.003834 Jy/beam
! Clean residual mean=0.000032 rms=0.001099 Jy/beam
! Combined flux in latest and established models = 0.802898 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 112 components and 0.802898 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068316Jy  sigma=0.905462
! Fit after  self-cal, rms=0.068303Jy  sigma=0.905217
! 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.7106 mas, bmaj=2.08 mas, bpa=-76.17 degrees
! Estimated noise=1.51795 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.531724 Jy
! Component: 100  -  total flux cleaned = 0.689661 Jy
! Component: 150  -  total flux cleaned = 0.752109 Jy
! Component: 200  -  total flux cleaned = 0.779513 Jy
! Total flux subtracted in 200 components = 0.779513 Jy
! Clean residual min=-0.008285 max=0.009514 Jy/beam
! Clean residual mean=-0.000033 rms=0.001946 Jy/beam
! Combined flux in latest and established models = 0.779513 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 0.779513 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8911 mas, bmaj=2.417 mas, bpa=-76.1 degrees
! Estimated noise=1.08562 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.0151592 Jy
! Component: 100  -  total flux cleaned = 0.0192342 Jy
! Component: 150  -  total flux cleaned = 0.0212701 Jy
! Component: 200  -  total flux cleaned = 0.0219892 Jy
! Total flux subtracted in 200 components = 0.0219892 Jy
! Clean residual min=-0.004049 max=0.003633 Jy/beam
! Clean residual mean=0.000009 rms=0.000992 Jy/beam
! Combined flux in latest and established models = 0.801502 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 38 components and 0.801502 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.239 mas, bmaj=3.628 mas, bpa=-77.89 degrees
! Estimated noise=1.37758 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.000406802 Jy
! Component: 100  -  total flux cleaned = 0.00059568 Jy
! Component: 150  -  total flux cleaned = 0.000665773 Jy
! Component: 200  -  total flux cleaned = 0.000661546 Jy
! Total flux subtracted in 200 components = 0.000661546 Jy
! Clean residual min=-0.003734 max=0.003876 Jy/beam
! Clean residual mean=0.000026 rms=0.001115 Jy/beam
! Combined flux in latest and established models = 0.802163 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 68 components and 0.802163 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8911 mas, bmaj=2.417 mas, bpa=-76.1 degrees
! Estimated noise=1.08562 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000237029 Jy
! Component: 100  -  total flux cleaned = -0.000114281 Jy
! Component: 150  -  total flux cleaned = 0.000203926 Jy
! Component: 200  -  total flux cleaned = 0.000202401 Jy
! Total flux subtracted in 200 components = 0.000202401 Jy
! Clean residual min=-0.003590 max=0.003365 Jy/beam
! Clean residual mean=0.000013 rms=0.000904 Jy/beam
! Combined flux in latest and established models = 0.802366 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 89 components and 0.802366 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.068402Jy  sigma=0.905225
! Fit after  self-cal, rms=0.068361Jy  sigma=0.904694
wmodel J1058+8114_X_2006_02_23_yyk\_map.mod
! Writing 89 model components to file: J1058+8114_X_2006_02_23_yyk_map.mod
wobs J1058+8114_X_2006_02_23_yyk\_uvs.fits
! Writing UV FITS file: J1058+8114_X_2006_02_23_yyk_uvs.fits
wwins J1058+8114_X_2006_02_23_yyk\_map.win
! wwins: Wrote 3 windows to J1058+8114_X_2006_02_23_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 = -3.35722e-05 Jy
! Component: 100  -  total flux cleaned = 2.86321e-05 Jy
! Component: 150  -  total flux cleaned = -0.000132462 Jy
! Component: 200  -  total flux cleaned = -0.000184689 Jy
! Component: 250  -  total flux cleaned = -0.000435269 Jy
! Component: 300  -  total flux cleaned = -0.000678219 Jy
! Component: 350  -  total flux cleaned = -0.000868018 Jy
! Component: 400  -  total flux cleaned = -0.00100717 Jy
! Component: 450  -  total flux cleaned = -0.00118764 Jy
! Component: 500  -  total flux cleaned = -0.00127611 Jy
! Component: 550  -  total flux cleaned = -0.00131962 Jy
! Component: 600  -  total flux cleaned = -0.00149062 Jy
! Component: 650  -  total flux cleaned = -0.0016582 Jy
! Component: 700  -  total flux cleaned = -0.00186425 Jy
! Component: 750  -  total flux cleaned = -0.00202716 Jy
! Component: 800  -  total flux cleaned = -0.00218646 Jy
! Component: 850  -  total flux cleaned = -0.00234351 Jy
! Component: 900  -  total flux cleaned = -0.0023826 Jy
! Component: 950  -  total flux cleaned = -0.00268715 Jy
! Component: 1000  -  total flux cleaned = -0.00279897 Jy
! Component: 1050  -  total flux cleaned = -0.00287306 Jy
! Component: 1100  -  total flux cleaned = -0.00294628 Jy
! Component: 1150  -  total flux cleaned = -0.00319873 Jy
! Component: 1200  -  total flux cleaned = -0.00334002 Jy
! Component: 1250  -  total flux cleaned = -0.00340945 Jy
! Component: 1300  -  total flux cleaned = -0.00337485 Jy
! Component: 1350  -  total flux cleaned = -0.00358112 Jy
! Component: 1400  -  total flux cleaned = -0.00364886 Jy
! Component: 1450  -  total flux cleaned = -0.00381626 Jy
! Component: 1500  -  total flux cleaned = -0.00394828 Jy
! Component: 1550  -  total flux cleaned = -0.00398092 Jy
! Component: 1600  -  total flux cleaned = -0.00404553 Jy
! Component: 1650  -  total flux cleaned = -0.00407732 Jy
! Component: 1700  -  total flux cleaned = -0.00410942 Jy
! Component: 1750  -  total flux cleaned = -0.00429828 Jy
! Component: 1800  -  total flux cleaned = -0.00436081 Jy
! Component: 1850  -  total flux cleaned = -0.00439174 Jy
! Component: 1900  -  total flux cleaned = -0.00445294 Jy
! Component: 1950  -  total flux cleaned = -0.00460494 Jy
! Component: 2000  -  total flux cleaned = -0.00469543 Jy
! Total flux subtracted in 2048 components = -0.00478473 Jy
! Clean residual min=-0.001718 max=0.001558 Jy/beam
! Clean residual mean=0.000002 rms=0.000560 Jy/beam
! Combined flux in latest and established models = 0.797581 Jy
keep
! Adding 155 model components to the UV plane model.
! The established model now contains 244 components and 0.797581 Jy
![Exited script file: muppet]
wmap "J1058+8114_X_2006_02_23_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8911 x 2.417 at -76.1 degrees (North through East)
! Clean map  min=-0.0029957  max=0.6152 Jy/beam
! Writing clean map to FITS file: J1058+8114_X_2006_02_23_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.615197 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000560862 
device "J1058+8114_X_2006_02_23_yyk\_map.eps/VPS"
! Attempting to open device: 'J1058+8114_X_2006_02_23_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.273504 0.273504 0.547007 1.09401 2.18803 4.37606 8.75212 17.5042 35.0085 70.017
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.615 
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.8911 x 2.417 at -76.1 degrees (North through East)
! Clean map  min=-0.0029957  max=0.6152 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1058+8114_X_2006_02_23_yyk\_map.gif/gif"
! Attempting to open device: 'J1058+8114_X_2006_02_23_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1058+8114_X_2006_02_23_yyk_uvs.log closed on Wed Jul  5 12:01:41 2006