! Started logfile: J1014+2301_S_2005_06_01_yyk_uvs.log on Sat Oct  8 17:15:35 2005
obs J1014+2301_S_2005_06_01_yyk_uve.fits
! Reading UV FITS file: J1014+2301_S_2005_06_01_yyk_uve.fits
! AN table 1: 14 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.830159 visibilities/baseline/integration-bin.
! Found source: J1014+2301
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1802 lines of history.
! 
! Reading 2092 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 J1014+2301_S_2005_06_01_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.500x0.500 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.498651 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=2.556 mas, bmaj=6.944 mas, bpa=-12.83 degrees
! Estimated noise=0.967383 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.39828 Jy
! Component: 100  -  total flux cleaned = 0.483386 Jy
! Total flux subtracted in 100 components = 0.483386 Jy
! Clean residual min=-0.012398 max=0.028471 Jy/beam
! Clean residual mean=-0.000001 rms=0.004113 Jy/beam
! Combined flux in latest and established models = 0.483386 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 0.483386 Jy
! 
! Correcting IF 1.
!  A total of 33 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 33 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 36 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 33 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.108899Jy  sigma=2.124602
! Fit after  self-cal, rms=0.107249Jy  sigma=2.093679
! Inverting map and beam 
! Estimated beam: bmin=2.556 mas, bmaj=6.944 mas, bpa=-12.83 degrees
! Estimated noise=0.967383 mJy/beam.
! Added new window around map position (4, -2.5).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0404093 Jy
! Component: 100  -  total flux cleaned = 0.060085 Jy
! Total flux subtracted in 100 components = 0.060085 Jy
! Clean residual min=-0.010588 max=0.013138 Jy/beam
! Clean residual mean=0.000027 rms=0.002870 Jy/beam
! Combined flux in latest and established models = 0.543471 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 27 components and 0.543471 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.092328Jy  sigma=1.847607
! Fit after  self-cal, rms=0.091838Jy  sigma=1.838123
! 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=3.261 mas, bmaj=8.209 mas, bpa=-13.61 degrees
! Estimated noise=0.722146 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.0021439 Jy
! Component: 100  -  total flux cleaned = -0.00293109 Jy
! Component: 150  -  total flux cleaned = -0.00256326 Jy
! Component: 200  -  total flux cleaned = -0.0024172 Jy
! Total flux subtracted in 200 components = -0.0024172 Jy
! Clean residual min=-0.008912 max=0.010931 Jy/beam
! Clean residual mean=0.000013 rms=0.002957 Jy/beam
! Combined flux in latest and established models = 0.541054 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 42 components and 0.541054 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.090965Jy  sigma=1.810568
! Fit after  self-cal, rms=0.090916Jy  sigma=1.809527
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.261 x 8.209 at -13.61 degrees (North through East)
! Clean map  min=-0.0085514  max=0.4672 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: 1.02413
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        0.99     HN        0.99     KP        0.95     
!   LA        1.14     MK        0.91     NL        0.91     OV        0.96     
!   PT        1.02     SC        0.93     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.985241
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.07     HN        1.03     KP        1.00     
!   LA        1.11     MK        0.99     NL        0.95     OV        1.01     
!   PT        1.01     SC        0.97     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.960253
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.08     FD        1.23     HN        1.02     KP        0.96     
!   LA        0.91     MK        1.10     NL        1.03     OV        0.98     
!   PT        1.08     SC        1.02     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1.05112
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        1.07     HN        0.94     KP        0.87     
!   LA        0.73     MK        1.10     NL        0.93     OV        0.85     
!   PT        0.97     SC        1.11     
! 
! 
! Fit before self-cal, rms=0.090916Jy  sigma=1.809527
! Fit after  self-cal, rms=0.062999Jy  sigma=1.336808
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.062999Jy  sigma=1.336808
! Fit after  self-cal, rms=0.062986Jy  sigma=1.336623
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.311 mas, bmaj=8.239 mas, bpa=-13.58 degrees
! Estimated noise=0.724745 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.0054227 Jy
! Component: 100  -  total flux cleaned = 0.00592158 Jy
! Component: 150  -  total flux cleaned = 0.00648819 Jy
! Component: 200  -  total flux cleaned = 0.00678853 Jy
! Total flux subtracted in 200 components = 0.00678853 Jy
! Clean residual min=-0.003929 max=0.005983 Jy/beam
! Clean residual mean=0.000036 rms=0.001346 Jy/beam
! Combined flux in latest and established models = 0.547842 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 58 components and 0.547842 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.062397Jy  sigma=1.325447
! Fit after  self-cal, rms=0.062347Jy  sigma=1.324356
! 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.062347Jy  sigma=1.324356
! Fit after  self-cal, rms=0.060999Jy  sigma=1.294558
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)
! Added new window around map position (57.5, -19).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00669802 Jy
! Component: 100  -  total flux cleaned = 0.0101853 Jy
! Component: 150  -  total flux cleaned = 0.0114443 Jy
! Component: 200  -  total flux cleaned = 0.0120642 Jy
! Total flux subtracted in 200 components = 0.0120642 Jy
! Clean residual min=-0.003716 max=0.004066 Jy/beam
! Clean residual mean=0.000025 rms=0.001120 Jy/beam
! Combined flux in latest and established models = 0.559907 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 82 components and 0.559907 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060459Jy  sigma=1.280479
! Fit after  self-cal, rms=0.060372Jy  sigma=1.278047
! 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: 3.311 x 8.239 at -13.58 degrees (North through East)
! Clean map  min=-0.0035084  max=0.47137 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.060372Jy  sigma=1.278047
! Fit after  self-cal, rms=0.047810Jy  sigma=0.995245
! 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.047810Jy  sigma=0.995245
! Fit after  self-cal, rms=0.047814Jy  sigma=0.995082
! Inverting map and beam 
! Estimated beam: bmin=3.309 mas, bmaj=8.213 mas, bpa=-13.6 degrees
! Estimated noise=0.721692 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00118919 Jy
! Component: 100  -  total flux cleaned = 0.00224904 Jy
! Component: 150  -  total flux cleaned = 0.00314481 Jy
! Component: 200  -  total flux cleaned = 0.00360953 Jy
! Total flux subtracted in 200 components = 0.00360953 Jy
! Clean residual min=-0.003608 max=0.004169 Jy/beam
! Clean residual mean=0.000031 rms=0.001008 Jy/beam
! Combined flux in latest and established models = 0.563516 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 106 components and 0.563516 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.047686Jy  sigma=0.991782
! Fit after  self-cal, rms=0.047667Jy  sigma=0.991428
! 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.047667Jy  sigma=0.991428
! Fit after  self-cal, rms=0.046549Jy  sigma=0.968758
! 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.046549Jy  sigma=0.968758
! Fit after  self-cal, rms=0.046549Jy  sigma=0.968755
! Inverting map and beam 
! Estimated beam: bmin=3.311 mas, bmaj=8.218 mas, bpa=-13.68 degrees
! Estimated noise=0.722242 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000865789 Jy
! Component: 100  -  total flux cleaned = 0.00171694 Jy
! Component: 150  -  total flux cleaned = 0.00231925 Jy
! Component: 200  -  total flux cleaned = 0.00250949 Jy
! Total flux subtracted in 200 components = 0.00250949 Jy
! Clean residual min=-0.003474 max=0.004050 Jy/beam
! Clean residual mean=0.000030 rms=0.000991 Jy/beam
! Combined flux in latest and established models = 0.566026 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 116 components and 0.566026 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.046470Jy  sigma=0.966868
! Fit after  self-cal, rms=0.046461Jy  sigma=0.966703
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.849 mas, bmaj=10.61 mas, bpa=-9.272 degrees
! Estimated noise=0.901938 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.00303257 Jy
! Component: 100  -  total flux cleaned = 0.003669 Jy
! Component: 150  -  total flux cleaned = 0.00410367 Jy
! Component: 200  -  total flux cleaned = 0.00430686 Jy
! Total flux subtracted in 200 components = 0.00430686 Jy
! Clean residual min=-0.004583 max=0.005777 Jy/beam
! Clean residual mean=0.000061 rms=0.001556 Jy/beam
! Combined flux in latest and established models = 0.570333 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 127 components and 0.570333 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.046578Jy  sigma=0.968287
! Fit after  self-cal, rms=0.046562Jy  sigma=0.968023
! 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=2.582 mas, bmaj=6.956 mas, bpa=-12.95 degrees
! Estimated noise=0.957796 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.394816 Jy
! Component: 100  -  total flux cleaned = 0.479259 Jy
! Component: 150  -  total flux cleaned = 0.516546 Jy
! Component: 200  -  total flux cleaned = 0.534874 Jy
! Total flux subtracted in 200 components = 0.534874 Jy
! Clean residual min=-0.004455 max=0.006282 Jy/beam
! Clean residual mean=0.000010 rms=0.001250 Jy/beam
! Combined flux in latest and established models = 0.534875 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 17 model components to the UV plane model.
! The established model now contains 17 components and 0.534875 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.311 mas, bmaj=8.218 mas, bpa=-13.68 degrees
! Estimated noise=0.722242 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.0114181 Jy
! Component: 100  -  total flux cleaned = 0.0179376 Jy
! Component: 150  -  total flux cleaned = 0.0223923 Jy
! Component: 200  -  total flux cleaned = 0.0250805 Jy
! Total flux subtracted in 200 components = 0.0250805 Jy
! Clean residual min=-0.003601 max=0.004297 Jy/beam
! Clean residual mean=0.000043 rms=0.001123 Jy/beam
! Combined flux in latest and established models = 0.559955 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 49 components and 0.559955 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=7.849 mas, bmaj=10.61 mas, bpa=-9.272 degrees
! Estimated noise=0.901938 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.00504366 Jy
! Component: 100  -  total flux cleaned = 0.00686236 Jy
! Component: 150  -  total flux cleaned = 0.00813194 Jy
! Component: 200  -  total flux cleaned = 0.00911748 Jy
! Total flux subtracted in 200 components = 0.00911748 Jy
! Clean residual min=-0.004586 max=0.005970 Jy/beam
! Clean residual mean=0.000065 rms=0.001623 Jy/beam
! Combined flux in latest and established models = 0.569073 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 88 components and 0.569073 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.311 mas, bmaj=8.218 mas, bpa=-13.68 degrees
! Estimated noise=0.722242 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00148464 Jy
! Component: 100  -  total flux cleaned = -0.0012435 Jy
! Component: 150  -  total flux cleaned = -0.000964754 Jy
! Component: 200  -  total flux cleaned = -0.0007222 Jy
! Total flux subtracted in 200 components = -0.0007222 Jy
! Clean residual min=-0.003435 max=0.003978 Jy/beam
! Clean residual mean=0.000027 rms=0.000990 Jy/beam
! Combined flux in latest and established models = 0.56835 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 102 components and 0.56835 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.046510Jy  sigma=0.968181
! Fit after  self-cal, rms=0.046491Jy  sigma=0.967748
wmodel J1014+2301_S_2005_06_01_yyk\_map.mod
! Writing 102 model components to file: J1014+2301_S_2005_06_01_yyk_map.mod
wobs J1014+2301_S_2005_06_01_yyk\_uvs.fits
! Writing UV FITS file: J1014+2301_S_2005_06_01_yyk_uvs.fits
wwins J1014+2301_S_2005_06_01_yyk\_map.win
! wwins: Wrote 3 windows to J1014+2301_S_2005_06_01_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.00125678 Jy
! Component: 100  -  total flux cleaned = 0.00190903 Jy
! Component: 150  -  total flux cleaned = 0.00233491 Jy
! Component: 200  -  total flux cleaned = 0.00248528 Jy
! Component: 250  -  total flux cleaned = 0.00253148 Jy
! Component: 300  -  total flux cleaned = 0.00271317 Jy
! Component: 350  -  total flux cleaned = 0.00292992 Jy
! Component: 400  -  total flux cleaned = 0.00305637 Jy
! Component: 450  -  total flux cleaned = 0.00329791 Jy
! Component: 500  -  total flux cleaned = 0.00345289 Jy
! Component: 550  -  total flux cleaned = 0.00356576 Jy
! Component: 600  -  total flux cleaned = 0.00356514 Jy
! Component: 650  -  total flux cleaned = 0.00367279 Jy
! Component: 700  -  total flux cleaned = 0.00363679 Jy
! Component: 750  -  total flux cleaned = 0.00367127 Jy
! Component: 800  -  total flux cleaned = 0.00367166 Jy
! Component: 850  -  total flux cleaned = 0.00367245 Jy
! Component: 900  -  total flux cleaned = 0.00370451 Jy
! Component: 950  -  total flux cleaned = 0.00364022 Jy
! Component: 1000  -  total flux cleaned = 0.00364098 Jy
! Component: 1050  -  total flux cleaned = 0.00367175 Jy
! Component: 1100  -  total flux cleaned = 0.00361112 Jy
! Component: 1150  -  total flux cleaned = 0.00352131 Jy
! Component: 1200  -  total flux cleaned = 0.00349224 Jy
! Component: 1250  -  total flux cleaned = 0.00337505 Jy
! Component: 1300  -  total flux cleaned = 0.00320173 Jy
! Component: 1350  -  total flux cleaned = 0.00305987 Jy
! Component: 1400  -  total flux cleaned = 0.00294788 Jy
! Component: 1450  -  total flux cleaned = 0.00289288 Jy
! Component: 1500  -  total flux cleaned = 0.00275672 Jy
! Component: 1550  -  total flux cleaned = 0.00267585 Jy
! Component: 1600  -  total flux cleaned = 0.00259604 Jy
! Component: 1650  -  total flux cleaned = 0.00254358 Jy
! Component: 1700  -  total flux cleaned = 0.0025178 Jy
! Component: 1750  -  total flux cleaned = 0.00241431 Jy
! Component: 1800  -  total flux cleaned = 0.0023117 Jy
! Component: 1850  -  total flux cleaned = 0.00223589 Jy
! Component: 1900  -  total flux cleaned = 0.0021359 Jy
! Component: 1950  -  total flux cleaned = 0.00206129 Jy
! Component: 2000  -  total flux cleaned = 0.00186497 Jy
! Total flux subtracted in 2048 components = 0.00179218 Jy
! Clean residual min=-0.001332 max=0.001451 Jy/beam
! Clean residual mean=0.000005 rms=0.000523 Jy/beam
! Combined flux in latest and established models = 0.570142 Jy
keep
! Adding 154 model components to the UV plane model.
! The established model now contains 256 components and 0.570142 Jy
![Exited script file: muppet]
wmap "J1014+2301_S_2005_06_01_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.311 x 8.218 at -13.68 degrees (North through East)
! Clean map  min=-0.0025101  max=0.47041 Jy/beam
! Writing clean map to FITS file: J1014+2301_S_2005_06_01_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.470414 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000522993 
device "J1014+2301_S_2005_06_01_yyk\_map.eps/VPS"
! Attempting to open device: 'J1014+2301_S_2005_06_01_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.333532 0.333532 0.667063 1.33413 2.66825 5.33651 10.673 21.346 42.6921 85.3841
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.47 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.311 x 8.218 at -13.68 degrees (North through East)
! Clean map  min=-0.0025101  max=0.47041 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1014+2301_S_2005_06_01_yyk\_map.gif/gif"
! Attempting to open device: 'J1014+2301_S_2005_06_01_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1014+2301_S_2005_06_01_yyk_uvs.log closed on Sat Oct  8 17:15:39 2005