! Started logfile: J1012+2312_X_2004_05_08_yyk_uvs.log on Wed Dec  7 00:16:07 2005
obs J1012+2312_X_2004_05_08_yyk_uve.fits
! Reading UV FITS file: J1012+2312_X_2004_05_08_yyk_uve.fits
! AN table 1: 13 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.77265 visibilities/baseline/integration-bin.
! Found source: J1012+2312
! 
! 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 1433 lines of history.
! 
! Reading 1808 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 J1012+2312_X_2004_05_08_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.265948 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 22 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.749162Jy  sigma=14.850087
! Fit after  self-cal, rms=0.749132Jy  sigma=14.848943
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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.7229 mas, bmaj=1.721 mas, bpa=5.22 degrees
! Estimated noise=1.26857 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.216183 Jy
! Component: 100  -  total flux cleaned = 0.259868 Jy
! Total flux subtracted in 100 components = 0.259868 Jy
! Clean residual min=-0.007848 max=0.012852 Jy/beam
! Clean residual mean=-0.000007 rms=0.001991 Jy/beam
! Combined flux in latest and established models = 0.259868 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.259868 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.070408Jy  sigma=1.176970
! Fit after  self-cal, rms=0.070311Jy  sigma=1.174681
! Inverting map 
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.017947 Jy
! Component: 100  -  total flux cleaned = 0.0261283 Jy
! Total flux subtracted in 100 components = 0.0261283 Jy
! Clean residual min=-0.006166 max=0.006077 Jy/beam
! Clean residual mean=-0.000001 rms=0.001552 Jy/beam
! Combined flux in latest and established models = 0.285996 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 18 components and 0.285996 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067089Jy  sigma=1.090319
! Fit after  self-cal, rms=0.067056Jy  sigma=1.089180
! 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.9479 mas, bmaj=1.97 mas, bpa=4.236 degrees
! Estimated noise=0.835461 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.00401271 Jy
! Component: 100  -  total flux cleaned = 0.00467569 Jy
! Component: 150  -  total flux cleaned = 0.00484501 Jy
! Component: 200  -  total flux cleaned = 0.00494833 Jy
! Total flux subtracted in 200 components = 0.00494833 Jy
! Clean residual min=-0.004746 max=0.004052 Jy/beam
! Clean residual mean=-0.000006 rms=0.001191 Jy/beam
! Combined flux in latest and established models = 0.290944 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 26 components and 0.290944 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066881Jy  sigma=1.084764
! Fit after  self-cal, rms=0.066858Jy  sigma=1.084369
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.00436
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.99     HN        1.01     KP        0.99     
!   LA        0.99     MK        1.03     NL        1.00     OV        0.98     
!   PT        0.98     SC        1.02     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01358
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.02     HN        0.99     KP        0.93     
!   LA        0.97     MK        1.04     NL        0.97     OV        0.99     
!   PT        0.99     SC        0.96     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.995845
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.02     HN        0.90     KP        0.90     
!   LA        0.94     MK        1.07     NL        0.98     OV        1.05     
!   PT        1.06     SC        1.08     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.976889
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.06     HN        0.94     KP        0.95     
!   LA        0.97     MK        1.07     NL        1.04     OV        1.04     
!   PT        1.13     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.066858Jy  sigma=1.084369
! Fit after  self-cal, rms=0.064942Jy  sigma=1.039506
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.064942Jy  sigma=1.039506
! Fit after  self-cal, rms=0.064934Jy  sigma=1.039404
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9654 mas, bmaj=1.982 mas, bpa=4.27 degrees
! Estimated noise=0.834994 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.00171918 Jy
! Component: 100  -  total flux cleaned = -0.0017163 Jy
! Component: 150  -  total flux cleaned = -0.0016675 Jy
! Component: 200  -  total flux cleaned = -0.00162678 Jy
! Total flux subtracted in 200 components = -0.00162678 Jy
! Clean residual min=-0.003592 max=0.003593 Jy/beam
! Clean residual mean=0.000003 rms=0.000882 Jy/beam
! Combined flux in latest and established models = 0.289318 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 33 components and 0.289318 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064860Jy  sigma=1.037438
! Fit after  self-cal, rms=0.064828Jy  sigma=1.037029
! 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.064828Jy  sigma=1.037029
! Fit after  self-cal, rms=0.061957Jy  sigma=0.983880
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.000206553 Jy
! Component: 100  -  total flux cleaned = 0.000168737 Jy
! Component: 150  -  total flux cleaned = 0.000101994 Jy
! Component: 200  -  total flux cleaned = 7.39225e-05 Jy
! Total flux subtracted in 200 components = 7.39225e-05 Jy
! Clean residual min=-0.003498 max=0.003502 Jy/beam
! Clean residual mean=0.000003 rms=0.000862 Jy/beam
! Combined flux in latest and established models = 0.289392 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 36 components and 0.289392 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061952Jy  sigma=0.982969
! Fit after  self-cal, rms=0.061785Jy  sigma=0.978387
! 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.9654 x 1.982 at 4.27 degrees (North through East)
! Clean map  min=-0.003309  max=0.25581 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.061785Jy  sigma=0.978387
! Fit after  self-cal, rms=0.061691Jy  sigma=0.962031
! 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.061691Jy  sigma=0.962031
! Fit after  self-cal, rms=0.061726Jy  sigma=0.961547
! Inverting map and beam 
! Estimated beam: bmin=0.9664 mas, bmaj=1.976 mas, bpa=3.915 degrees
! Estimated noise=0.833569 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0004561 Jy
! Component: 100  -  total flux cleaned = -0.00058958 Jy
! Component: 150  -  total flux cleaned = -0.000659404 Jy
! Component: 200  -  total flux cleaned = -0.000718443 Jy
! Total flux subtracted in 200 components = -0.000718443 Jy
! Clean residual min=-0.003000 max=0.003220 Jy/beam
! Clean residual mean=0.000003 rms=0.000790 Jy/beam
! Combined flux in latest and established models = 0.288673 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 37 components and 0.288673 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061673Jy  sigma=0.960552
! Fit after  self-cal, rms=0.061677Jy  sigma=0.960391
! 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.061677Jy  sigma=0.960391
! Fit after  self-cal, rms=0.061624Jy  sigma=0.945589
! 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.061624Jy  sigma=0.945589
! Fit after  self-cal, rms=0.061633Jy  sigma=0.945565
! Inverting map and beam 
! Estimated beam: bmin=0.9667 mas, bmaj=1.976 mas, bpa=3.648 degrees
! Estimated noise=0.834571 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000297671 Jy
! Component: 100  -  total flux cleaned = 0.000260796 Jy
! Component: 150  -  total flux cleaned = 0.000202887 Jy
! Component: 200  -  total flux cleaned = 0.00015488 Jy
! Total flux subtracted in 200 components = 0.00015488 Jy
! Clean residual min=-0.002962 max=0.003225 Jy/beam
! Clean residual mean=0.000006 rms=0.000784 Jy/beam
! Combined flux in latest and established models = 0.288828 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 39 components and 0.288828 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061599Jy  sigma=0.944869
! Fit after  self-cal, rms=0.061591Jy  sigma=0.944805
! 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.227 mas, bmaj=3.009 mas, bpa=-3.499 degrees
! Estimated noise=1.04647 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.000382388 Jy
! Component: 100  -  total flux cleaned = -0.000391769 Jy
! Component: 150  -  total flux cleaned = -0.000405722 Jy
! Component: 200  -  total flux cleaned = -0.000427889 Jy
! Total flux subtracted in 200 components = -0.000427889 Jy
! Clean residual min=-0.003251 max=0.003543 Jy/beam
! Clean residual mean=0.000009 rms=0.001050 Jy/beam
! Combined flux in latest and established models = 0.2884 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 46 components and 0.2884 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061598Jy  sigma=0.944788
! Fit after  self-cal, rms=0.061589Jy  sigma=0.944739
! Inverting map 
uvtaper 0,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.7312 mas, bmaj=1.718 mas, bpa=4.958 degrees
! Estimated noise=1.27579 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.218164 Jy
! Component: 100  -  total flux cleaned = 0.263191 Jy
! Component: 150  -  total flux cleaned = 0.280494 Jy
! Component: 200  -  total flux cleaned = 0.286578 Jy
! Total flux subtracted in 200 components = 0.286578 Jy
! Clean residual min=-0.004589 max=0.004205 Jy/beam
! Clean residual mean=0.000006 rms=0.001125 Jy/beam
! Combined flux in latest and established models = 0.286578 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 18 model components to the UV plane model.
! The established model now contains 18 components and 0.286578 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9667 mas, bmaj=1.976 mas, bpa=3.648 degrees
! Estimated noise=0.834571 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.00205705 Jy
! Component: 100  -  total flux cleaned = 0.00224343 Jy
! Component: 150  -  total flux cleaned = 0.00217604 Jy
! Component: 200  -  total flux cleaned = 0.002176 Jy
! Total flux subtracted in 200 components = 0.002176 Jy
! Clean residual min=-0.003002 max=0.003308 Jy/beam
! Clean residual mean=0.000006 rms=0.000797 Jy/beam
! Combined flux in latest and established models = 0.288754 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 23 components and 0.288754 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.227 mas, bmaj=3.009 mas, bpa=-3.499 degrees
! Estimated noise=1.04647 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.000270244 Jy
! Component: 100  -  total flux cleaned = -0.000296449 Jy
! Component: 150  -  total flux cleaned = -0.000306199 Jy
! Component: 200  -  total flux cleaned = -0.000336232 Jy
! Total flux subtracted in 200 components = -0.000336232 Jy
! Clean residual min=-0.003237 max=0.003549 Jy/beam
! Clean residual mean=0.000009 rms=0.001050 Jy/beam
! Combined flux in latest and established models = 0.288418 Jy
! Adding 11 model components to the UV plane model.
! The established model now contains 33 components and 0.288418 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9667 mas, bmaj=1.976 mas, bpa=3.648 degrees
! Estimated noise=0.834571 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00013413 Jy
! Component: 100  -  total flux cleaned = 0.000133252 Jy
! Component: 150  -  total flux cleaned = 0.000165792 Jy
! Component: 200  -  total flux cleaned = 0.000165697 Jy
! Total flux subtracted in 200 components = 0.000165697 Jy
! Clean residual min=-0.003007 max=0.003286 Jy/beam
! Clean residual mean=0.000006 rms=0.000791 Jy/beam
! Combined flux in latest and established models = 0.288583 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 37 components and 0.288583 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.061670Jy  sigma=0.946338
! Fit after  self-cal, rms=0.061656Jy  sigma=0.946220
wmodel J1012+2312_X_2004_05_08_yyk\_map.mod
! Writing 37 model components to file: J1012+2312_X_2004_05_08_yyk_map.mod
wobs J1012+2312_X_2004_05_08_yyk\_uvs.fits
! Writing UV FITS file: J1012+2312_X_2004_05_08_yyk_uvs.fits
wwins J1012+2312_X_2004_05_08_yyk\_map.win
! wwins: Wrote 1 windows to J1012+2312_X_2004_05_08_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.000199496 Jy
! Component: 100  -  total flux cleaned = 0.000101138 Jy
! Component: 150  -  total flux cleaned = 5.41659e-06 Jy
! Component: 200  -  total flux cleaned = -0.000222052 Jy
! Component: 250  -  total flux cleaned = -0.000439881 Jy
! Component: 300  -  total flux cleaned = -0.000819604 Jy
! Component: 350  -  total flux cleaned = -0.001147 Jy
! Component: 400  -  total flux cleaned = -0.00130693 Jy
! Component: 450  -  total flux cleaned = -0.00146411 Jy
! Component: 500  -  total flux cleaned = -0.00184399 Jy
! Component: 550  -  total flux cleaned = -0.00206637 Jy
! Component: 600  -  total flux cleaned = -0.00239297 Jy
! Component: 650  -  total flux cleaned = -0.00264134 Jy
! Component: 700  -  total flux cleaned = -0.00281564 Jy
! Component: 750  -  total flux cleaned = -0.00308957 Jy
! Component: 800  -  total flux cleaned = -0.00335873 Jy
! Component: 850  -  total flux cleaned = -0.00362351 Jy
! Component: 900  -  total flux cleaned = -0.00398077 Jy
! Component: 950  -  total flux cleaned = -0.0042998 Jy
! Component: 1000  -  total flux cleaned = -0.00452006 Jy
! Component: 1050  -  total flux cleaned = -0.00473784 Jy
! Component: 1100  -  total flux cleaned = -0.00513538 Jy
! Component: 1150  -  total flux cleaned = -0.0054358 Jy
! Component: 1200  -  total flux cleaned = -0.00558373 Jy
! Component: 1250  -  total flux cleaned = -0.00578873 Jy
! Component: 1300  -  total flux cleaned = -0.00596232 Jy
! Component: 1350  -  total flux cleaned = -0.00619075 Jy
! Component: 1400  -  total flux cleaned = -0.00641636 Jy
! Component: 1450  -  total flux cleaned = -0.00661151 Jy
! Component: 1500  -  total flux cleaned = -0.00685951 Jy
! Component: 1550  -  total flux cleaned = -0.00694166 Jy
! Component: 1600  -  total flux cleaned = -0.00718417 Jy
! Component: 1650  -  total flux cleaned = -0.0074234 Jy
! Component: 1700  -  total flux cleaned = -0.00752842 Jy
! Component: 1750  -  total flux cleaned = -0.00776322 Jy
! Component: 1800  -  total flux cleaned = -0.00791767 Jy
! Component: 1850  -  total flux cleaned = -0.00809636 Jy
! Component: 1900  -  total flux cleaned = -0.00827343 Jy
! Component: 1950  -  total flux cleaned = -0.00842358 Jy
! Component: 2000  -  total flux cleaned = -0.00847333 Jy
! Total flux subtracted in 2048 components = -0.00854775 Jy
! Clean residual min=-0.001507 max=0.001586 Jy/beam
! Clean residual mean=0.000004 rms=0.000469 Jy/beam
! Combined flux in latest and established models = 0.280035 Jy
keep
! Adding 152 model components to the UV plane model.
! The established model now contains 189 components and 0.280035 Jy
![Exited script file: muppet]
wmap "J1012+2312_X_2004_05_08_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9667 x 1.976 at 3.648 degrees (North through East)
! Clean map  min=-0.0020142  max=0.25676 Jy/beam
! Writing clean map to FITS file: J1012+2312_X_2004_05_08_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.256761 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000464596 
device "J1012+2312_X_2004_05_08_yyk\_map.eps/VPS"
! Attempting to open device: 'J1012+2312_X_2004_05_08_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.542835 0.542835 1.08567 2.17134 4.34268 8.68536 17.3707 34.7414 69.4828
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.256 
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.9667 x 1.976 at 3.648 degrees (North through East)
! Clean map  min=-0.0020142  max=0.25676 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1012+2312_X_2004_05_08_yyk\_map.gif/gif"
! Attempting to open device: 'J1012+2312_X_2004_05_08_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1012+2312_X_2004_05_08_yyk_uvs.log closed on Wed Dec  7 00:16:11 2005