! Started logfile: J0741+3112_X_1996_05_15_yyk_uvs.log on Mon Jan  8 03:48:38 2007
obs J0741+3112_X_1996_05_15_yyk_uva.fits
! Reading UV FITS file: J0741+3112_X_1996_05_15_yyk_uva.fits
! AN table 1: 148 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.598949 visibilities/baseline/integration-bin.
! Found source: J0741+3112
! 
! 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        8e+06          1        8e+06
!  02        2  8.23424e+09        8e+06          1        8e+06
!  03        3  8.41424e+09        8e+06          1        8e+06
!  04        4  8.55424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 617 lines of history.
! 
! Reading 15956 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 J0741+3112_X_1996_05_15_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.72012 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.6694 mas, bmaj=1.589 mas, bpa=3.701 degrees
! Estimated noise=1580.73 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 = 1.19846 Jy
! Component: 100  -  total flux cleaned = 1.47652 Jy
! Total flux subtracted in 100 components = 1.47652 Jy
! Clean residual min=-0.223238 max=0.684616 Jy/beam
! Clean residual mean=0.000179 rms=0.069012 Jy/beam
! Combined flux in latest and established models = 1.47652 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 1.47652 Jy
! 
! Correcting IF 1.
!  A total of 327 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 327 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 328 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 328 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.973734Jy  sigma=0.006628
! Fit after  self-cal, rms=0.959456Jy  sigma=0.006552
! Inverting map and beam 
! Estimated beam: bmin=0.6693 mas, bmaj=1.589 mas, bpa=3.697 degrees
! Estimated noise=1580.77 mJy/beam.
! Added new window around map position (0, 2.8).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.653822 Jy
! Component: 100  -  total flux cleaned = 0.817843 Jy
! Total flux subtracted in 100 components = 0.817843 Jy
! Clean residual min=-0.124824 max=0.204922 Jy/beam
! Clean residual mean=0.000165 rms=0.033185 Jy/beam
! Combined flux in latest and established models = 2.29436 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 15 components and 2.29436 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.605286Jy  sigma=0.004014
! Fit after  self-cal, rms=0.516514Jy  sigma=0.003400
! 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.8246 mas, bmaj=1.818 mas, bpa=1.175 degrees
! Estimated noise=825.595 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.221906 Jy
! Component: 100  -  total flux cleaned = 0.317926 Jy
! Component: 150  -  total flux cleaned = 0.349096 Jy
! Component: 200  -  total flux cleaned = 0.354292 Jy
! Total flux subtracted in 200 components = 0.354292 Jy
! Clean residual min=-0.067061 max=0.111821 Jy/beam
! Clean residual mean=0.000198 rms=0.021877 Jy/beam
! Combined flux in latest and established models = 2.64865 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 22 components and 2.64865 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.460570Jy  sigma=0.002910
! Fit after  self-cal, rms=0.453981Jy  sigma=0.002863
! 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.8246 x 1.818 at 1.175 degrees (North through East)
! Clean map  min=-0.055553  max=1.3859 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: 0.946926
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.96     HN        0.96     KP        1.75     
!   LA        0.96     MK        0.99     NL        0.96     OV        1.00*    
!   PT        0.96     SC        0.97     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.975533
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.97     HN        0.97     KP        1.48     
!   LA        0.93     MK        0.99     NL        0.94     OV        1.00*    
!   PT        0.95     SC        1.01     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.96493
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.97     HN        0.98     KP        1.50     
!   LA        0.95     MK        1.03     NL        0.95     OV        1.00*    
!   PT        0.93     SC        1.03     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.974983
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.98     HN        1.01     KP        1.31     
!   LA        0.96     MK        1.01     NL        0.99     OV        1.00*    
!   PT        0.97     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.453981Jy  sigma=0.002863
! Fit after  self-cal, rms=0.452969Jy  sigma=0.002590
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.452969Jy  sigma=0.002590
! Fit after  self-cal, rms=0.453058Jy  sigma=0.002590
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8347 mas, bmaj=1.84 mas, bpa=0.2613 degrees
! Estimated noise=757.444 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.122409 Jy
! Component: 100  -  total flux cleaned = -0.154587 Jy
! Component: 150  -  total flux cleaned = -0.16162 Jy
! Component: 200  -  total flux cleaned = -0.166183 Jy
! Total flux subtracted in 200 components = -0.166183 Jy
! Clean residual min=-0.023388 max=0.052032 Jy/beam
! Clean residual mean=0.000087 rms=0.007171 Jy/beam
! Combined flux in latest and established models = 2.48247 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 31 components and 2.48247 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.431078Jy  sigma=0.002369
! Fit after  self-cal, rms=0.429465Jy  sigma=0.002357
! Inverting map 
! Added new window around map position (1.2, -0.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0346796 Jy
! Component: 100  -  total flux cleaned = 0.0310715 Jy
! Component: 150  -  total flux cleaned = 0.0303496 Jy
! Component: 200  -  total flux cleaned = 0.0297478 Jy
! Total flux subtracted in 200 components = 0.0297478 Jy
! Clean residual min=-0.014573 max=0.023179 Jy/beam
! Clean residual mean=0.000022 rms=0.003962 Jy/beam
! Combined flux in latest and established models = 2.51222 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 44 components and 2.51222 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.424785Jy  sigma=0.002310
! Fit after  self-cal, rms=0.424371Jy  sigma=0.002308
! Inverting map 
! Added new window around map position (4.8, -3.8).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0235029 Jy
! Component: 100  -  total flux cleaned = 0.0264141 Jy
! Component: 150  -  total flux cleaned = 0.0282943 Jy
! Component: 200  -  total flux cleaned = 0.0303348 Jy
! Total flux subtracted in 200 components = 0.0303348 Jy
! Clean residual min=-0.012259 max=0.011694 Jy/beam
! Clean residual mean=0.000023 rms=0.002904 Jy/beam
! Combined flux in latest and established models = 2.54255 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 68 components and 2.54255 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.423102Jy  sigma=0.002296
! Fit after  self-cal, rms=0.423088Jy  sigma=0.002295
! 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.423088Jy  sigma=0.002295
! Fit after  self-cal, rms=0.391156Jy  sigma=0.002014
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.00401572 Jy
! Component: 100  -  total flux cleaned = 0.00443406 Jy
! Component: 150  -  total flux cleaned = 0.00407599 Jy
! Component: 200  -  total flux cleaned = 0.00374099 Jy
! Total flux subtracted in 200 components = 0.00374099 Jy
! Clean residual min=-0.012377 max=0.011822 Jy/beam
! Clean residual mean=0.000022 rms=0.002715 Jy/beam
! Combined flux in latest and established models = 2.54629 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 81 components and 2.54629 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.390485Jy  sigma=0.002009
! Fit after  self-cal, rms=0.386100Jy  sigma=0.001969
! 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.8347 x 1.84 at 0.2613 degrees (North through East)
! Clean map  min=-0.011537  max=1.2836 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.386100Jy  sigma=0.001969
! Fit after  self-cal, rms=0.384119Jy  sigma=0.001943
! 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.384119Jy  sigma=0.001943
! Fit after  self-cal, rms=0.382881Jy  sigma=0.001932
! Inverting map and beam 
! Estimated beam: bmin=0.8297 mas, bmaj=1.83 mas, bpa=0.1877 degrees
! Estimated noise=752.579 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0035097 Jy
! Component: 100  -  total flux cleaned = 0.00403564 Jy
! Component: 150  -  total flux cleaned = 0.00450374 Jy
! Component: 200  -  total flux cleaned = 0.0051265 Jy
! Total flux subtracted in 200 components = 0.0051265 Jy
! Clean residual min=-0.006576 max=0.007651 Jy/beam
! Clean residual mean=-0.000002 rms=0.001796 Jy/beam
! Combined flux in latest and established models = 2.55142 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 100 components and 2.55142 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.382587Jy  sigma=0.001929
! Fit after  self-cal, rms=0.382015Jy  sigma=0.001925
! 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.382015Jy  sigma=0.001925
! Fit after  self-cal, rms=0.379977Jy  sigma=0.001919
! 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.379977Jy  sigma=0.001919
! Fit after  self-cal, rms=0.379744Jy  sigma=0.001917
! Inverting map and beam 
! Estimated beam: bmin=0.8295 mas, bmaj=1.829 mas, bpa=0.1829 degrees
! Estimated noise=752.503 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00322723 Jy
! Component: 100  -  total flux cleaned = 0.00417159 Jy
! Component: 150  -  total flux cleaned = 0.00468593 Jy
! Component: 200  -  total flux cleaned = 0.0050095 Jy
! Total flux subtracted in 200 components = 0.0050095 Jy
! Clean residual min=-0.006265 max=0.006838 Jy/beam
! Clean residual mean=-0.000001 rms=0.001647 Jy/beam
! Combined flux in latest and established models = 2.55643 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 116 components and 2.55643 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.379590Jy  sigma=0.001916
! Fit after  self-cal, rms=0.379435Jy  sigma=0.001915
! 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.919 mas, bmaj=2.534 mas, bpa=-3.29 degrees
! Estimated noise=1022.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)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00196496 Jy
! Component: 100  -  total flux cleaned = 0.00400711 Jy
! Component: 150  -  total flux cleaned = 0.00438228 Jy
! Component: 200  -  total flux cleaned = 0.00471388 Jy
! Total flux subtracted in 200 components = 0.00471388 Jy
! Clean residual min=-0.005536 max=0.006160 Jy/beam
! Clean residual mean=-0.000006 rms=0.001736 Jy/beam
! Combined flux in latest and established models = 2.56114 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 129 components and 2.56114 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.379403Jy  sigma=0.001915
! Fit after  self-cal, rms=0.379310Jy  sigma=0.001914
! 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.6695 mas, bmaj=1.585 mas, bpa=3.217 degrees
! Estimated noise=1492.86 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.35847 Jy
! Component: 100  -  total flux cleaned = 1.84668 Jy
! Component: 150  -  total flux cleaned = 2.07673 Jy
! Component: 200  -  total flux cleaned = 2.21568 Jy
! Total flux subtracted in 200 components = 2.21568 Jy
! Clean residual min=-0.035834 max=0.055400 Jy/beam
! Clean residual mean=0.000060 rms=0.010965 Jy/beam
! Combined flux in latest and established models = 2.21568 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 16 model components to the UV plane model.
! The established model now contains 16 components and 2.21568 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8295 mas, bmaj=1.829 mas, bpa=0.1829 degrees
! Estimated noise=752.503 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.130178 Jy
! Component: 100  -  total flux cleaned = 0.201332 Jy
! Component: 150  -  total flux cleaned = 0.244638 Jy
! Component: 200  -  total flux cleaned = 0.27434 Jy
! Total flux subtracted in 200 components = 0.27434 Jy
! Clean residual min=-0.013323 max=0.012387 Jy/beam
! Clean residual mean=0.000040 rms=0.003525 Jy/beam
! Combined flux in latest and established models = 2.49002 Jy
! Adding 33 model components to the UV plane model.
! The established model now contains 41 components and 2.49002 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.919 mas, bmaj=2.534 mas, bpa=-3.29 degrees
! Estimated noise=1022.42 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.0285055 Jy
! Component: 100  -  total flux cleaned = 0.0434447 Jy
! Component: 150  -  total flux cleaned = 0.0535986 Jy
! Component: 200  -  total flux cleaned = 0.0607836 Jy
! Total flux subtracted in 200 components = 0.0607837 Jy
! Clean residual min=-0.005930 max=0.006422 Jy/beam
! Clean residual mean=0.000012 rms=0.001933 Jy/beam
! Combined flux in latest and established models = 2.5508 Jy
! Adding 39 model components to the UV plane model.
! The established model now contains 71 components and 2.5508 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8295 mas, bmaj=1.829 mas, bpa=0.1829 degrees
! Estimated noise=752.503 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00162841 Jy
! Component: 100  -  total flux cleaned = 0.00102781 Jy
! Component: 150  -  total flux cleaned = 0.00321216 Jy
! Component: 200  -  total flux cleaned = 0.00503509 Jy
! Total flux subtracted in 200 components = 0.00503509 Jy
! Clean residual min=-0.006606 max=0.006886 Jy/beam
! Clean residual mean=-0.000001 rms=0.001736 Jy/beam
! Combined flux in latest and established models = 2.55584 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 87 components and 2.55584 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.379450Jy  sigma=0.001916
! Fit after  self-cal, rms=0.379280Jy  sigma=0.001915
wmodel J0741+3112_X_1996_05_15_yyk\_map.mod
! Writing 87 model components to file: J0741+3112_X_1996_05_15_yyk_map.mod
wobs J0741+3112_X_1996_05_15_yyk\_uvs.fits
! Writing UV FITS file: J0741+3112_X_1996_05_15_yyk_uvs.fits
wwins J0741+3112_X_1996_05_15_yyk\_map.win
! wwins: Wrote 4 windows to J0741+3112_X_1996_05_15_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.000142375 Jy
! Component: 100  -  total flux cleaned = -0.000255392 Jy
! Component: 150  -  total flux cleaned = 0.000156884 Jy
! Component: 200  -  total flux cleaned = 0.000258412 Jy
! Component: 250  -  total flux cleaned = 0.000163329 Jy
! Component: 300  -  total flux cleaned = -1.49471e-05 Jy
! Component: 350  -  total flux cleaned = -9.90104e-05 Jy
! Component: 400  -  total flux cleaned = 6.49678e-05 Jy
! Component: 450  -  total flux cleaned = 6.16248e-05 Jy
! Component: 500  -  total flux cleaned = 0.000528371 Jy
! Component: 550  -  total flux cleaned = 0.000981797 Jy
! Component: 600  -  total flux cleaned = 0.00134977 Jy
! Component: 650  -  total flux cleaned = 0.00185183 Jy
! Component: 700  -  total flux cleaned = 0.00220269 Jy
! Component: 750  -  total flux cleaned = 0.00261503 Jy
! Component: 800  -  total flux cleaned = 0.00281672 Jy
! Component: 850  -  total flux cleaned = 0.00334152 Jy
! Component: 900  -  total flux cleaned = 0.00359796 Jy
! Component: 950  -  total flux cleaned = 0.00378673 Jy
! Component: 1000  -  total flux cleaned = 0.00415416 Jy
! Component: 1050  -  total flux cleaned = 0.00445378 Jy
! Component: 1100  -  total flux cleaned = 0.00474705 Jy
! Component: 1150  -  total flux cleaned = 0.0050355 Jy
! Component: 1200  -  total flux cleaned = 0.00531899 Jy
! Component: 1250  -  total flux cleaned = 0.00559656 Jy
! Component: 1300  -  total flux cleaned = 0.00559577 Jy
! Component: 1350  -  total flux cleaned = 0.00575682 Jy
! Component: 1400  -  total flux cleaned = 0.00607409 Jy
! Component: 1450  -  total flux cleaned = 0.00612555 Jy
! Component: 1500  -  total flux cleaned = 0.00638174 Jy
! Component: 1550  -  total flux cleaned = 0.00663371 Jy
! Component: 1600  -  total flux cleaned = 0.00678253 Jy
! Component: 1650  -  total flux cleaned = 0.00717205 Jy
! Component: 1700  -  total flux cleaned = 0.0073165 Jy
! Component: 1750  -  total flux cleaned = 0.00769435 Jy
! Component: 1800  -  total flux cleaned = 0.00797221 Jy
! Component: 1850  -  total flux cleaned = 0.00824599 Jy
! Component: 1900  -  total flux cleaned = 0.00847185 Jy
! Component: 1950  -  total flux cleaned = 0.00864871 Jy
! Component: 2000  -  total flux cleaned = 0.00895524 Jy
! Total flux subtracted in 2048 components = 0.00921434 Jy
! Clean residual min=-0.002432 max=0.002176 Jy/beam
! Clean residual mean=0.000005 rms=0.000814 Jy/beam
! Combined flux in latest and established models = 2.56505 Jy
keep
! Adding 156 model components to the UV plane model.
! The established model now contains 243 components and 2.56505 Jy
![Exited script file: muppet]
wmap "J0741+3112_X_1996_05_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8295 x 1.829 at 0.1829 degrees (North through East)
! Clean map  min=-0.0068517  max=1.2806 Jy/beam
! Writing clean map to FITS file: J0741+3112_X_1996_05_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.28058 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000812445 
device "J0741+3112_X_1996_05_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J0741+3112_X_1996_05_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.19033 0.19033 0.38066 0.761319 1.52264 3.04528 6.09056 12.1811 24.3622 48.7244 97.4489
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0024 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.28 
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.8295 x 1.829 at 0.1829 degrees (North through East)
! Clean map  min=-0.0068517  max=1.2806 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0741+3112_X_1996_05_15_yyk\_map.gif/gif"
! Attempting to open device: 'J0741+3112_X_1996_05_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0741+3112_X_1996_05_15_yyk_uvs.log closed on Mon Jan  8 03:48:47 2007