! Started logfile: J0555+3948_X_2006_02_14_yyk_uvs.log on Wed Jul  5 11:30:58 2006
obs J0555+3948_X_2006_02_14_yyk_uva.fits
! Reading UV FITS file: J0555+3948_X_2006_02_14_yyk_uva.fits
! AN table 1: 435 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.931596 visibilities/baseline/integration-bin.
! Found source: J0555+3948
! 
! 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 2301 lines of history.
! 
! Reading 72944 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 J0555+3948_X_2006_02_14_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)= 3.38086 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.7135 mas, bmaj=2.3 mas, bpa=-32.34 degrees
! Estimated noise=1.5372 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 = 2.71194 Jy
! Component: 100  -  total flux cleaned = 3.46331 Jy
! Total flux subtracted in 100 components = 3.46331 Jy
! Clean residual min=-0.104383 max=0.213725 Jy/beam
! Clean residual mean=-0.001071 rms=0.035893 Jy/beam
! Combined flux in latest and established models = 3.46331 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 3.46331 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.577693Jy  sigma=10.873244
! Fit after  self-cal, rms=0.566493Jy  sigma=10.706892
! Inverting map 
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.288109 Jy
! Component: 100  -  total flux cleaned = 0.426224 Jy
! Total flux subtracted in 100 components = 0.426224 Jy
! Clean residual min=-0.077716 max=0.083200 Jy/beam
! Clean residual mean=-0.000385 rms=0.020690 Jy/beam
! Combined flux in latest and established models = 3.88953 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 26 components and 3.88953 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.416963Jy  sigma=7.524934
! Fit after  self-cal, rms=0.415720Jy  sigma=7.503792
! 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.929 mas, bmaj=2.466 mas, bpa=-33.39 degrees
! Estimated noise=0.979045 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.125185 Jy
! Component: 100  -  total flux cleaned = 0.191212 Jy
! Component: 150  -  total flux cleaned = 0.229444 Jy
! Component: 200  -  total flux cleaned = 0.244099 Jy
! Total flux subtracted in 200 components = 0.244099 Jy
! Clean residual min=-0.083185 max=0.080267 Jy/beam
! Clean residual mean=0.000149 rms=0.020963 Jy/beam
! Combined flux in latest and established models = 4.13363 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 57 components and 4.13363 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.386829Jy  sigma=6.939244
! Fit after  self-cal, rms=0.386369Jy  sigma=6.933569
! 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.929 x 2.466 at -33.39 degrees (North through East)
! Clean map  min=-0.081144  max=3.216 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.00023
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00     HN        1.05     KP        0.97     
!   LA        1.01     MK        1.01     NL        1.00     OV        0.97     
!   PT        1.00     SC        1.02     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.01727
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00     HN        1.05     KP        0.91     
!   LA        0.96     MK        0.97     NL        0.97     OV        0.96     
!   PT        1.04     SC        1.00     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.00082
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.09     FD        1.04     HN        0.96     KP        0.86     
!   LA        0.99     MK        1.03     NL        0.97     OV        0.99     
!   PT        1.07     SC        0.99     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.976367
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.09     HN        0.99     KP        0.89     
!   LA        0.98     MK        1.04     NL        0.98     OV        1.04     
!   PT        1.14     SC        1.05     
! 
! 
! Fit before self-cal, rms=0.386369Jy  sigma=6.933569
! Fit after  self-cal, rms=0.305365Jy  sigma=5.235904
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.305365Jy  sigma=5.235904
! Fit after  self-cal, rms=0.305339Jy  sigma=5.235895
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9393 mas, bmaj=2.477 mas, bpa=-33.52 degrees
! Estimated noise=0.979246 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.00156137 Jy
! Component: 100  -  total flux cleaned = 0.00234426 Jy
! Component: 150  -  total flux cleaned = 0.00264623 Jy
! Component: 200  -  total flux cleaned = 0.0026402 Jy
! Total flux subtracted in 200 components = 0.0026402 Jy
! Clean residual min=-0.018169 max=0.018060 Jy/beam
! Clean residual mean=-0.000026 rms=0.003969 Jy/beam
! Combined flux in latest and established models = 4.13627 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 69 components and 4.13627 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.304865Jy  sigma=5.221884
! Fit after  self-cal, rms=0.304653Jy  sigma=5.219902
! 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.304653Jy  sigma=5.219902
! Fit after  self-cal, rms=0.121777Jy  sigma=2.217259
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 (-7.8, -17.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00782569 Jy
! Component: 100  -  total flux cleaned = 0.00421504 Jy
! Component: 150  -  total flux cleaned = 0.00144421 Jy
! Component: 200  -  total flux cleaned = -0.000448296 Jy
! Total flux subtracted in 200 components = -0.000448296 Jy
! Clean residual min=-0.017515 max=0.015542 Jy/beam
! Clean residual mean=-0.000024 rms=0.003439 Jy/beam
! Combined flux in latest and established models = 4.13582 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 86 components and 4.13582 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.116757Jy  sigma=2.129380
! Fit after  self-cal, rms=0.111843Jy  sigma=2.075093
! 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.9393 x 2.477 at -33.52 degrees (North through East)
! Clean map  min=-0.018082  max=3.2368 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.111843Jy  sigma=2.075093
! Fit after  self-cal, rms=0.063302Jy  sigma=1.073524
! 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.063302Jy  sigma=1.073524
! Fit after  self-cal, rms=0.062865Jy  sigma=1.068343
! Inverting map and beam 
! Estimated beam: bmin=0.9397 mas, bmaj=2.476 mas, bpa=-33.48 degrees
! Estimated noise=0.978004 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00241634 Jy
! Component: 100  -  total flux cleaned = 0.00324286 Jy
! Component: 150  -  total flux cleaned = 0.00369615 Jy
! Component: 200  -  total flux cleaned = 0.00428556 Jy
! Total flux subtracted in 200 components = 0.00428557 Jy
! Clean residual min=-0.009345 max=0.006485 Jy/beam
! Clean residual mean=0.000039 rms=0.001733 Jy/beam
! Combined flux in latest and established models = 4.14011 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 108 components and 4.14011 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060959Jy  sigma=1.033186
! Fit after  self-cal, rms=0.060818Jy  sigma=1.030702
! 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.060818Jy  sigma=1.030702
! Fit after  self-cal, rms=0.059000Jy  sigma=0.998935
! 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.059000Jy  sigma=0.998935
! Fit after  self-cal, rms=0.059000Jy  sigma=0.998896
! Inverting map and beam 
! Estimated beam: bmin=0.9398 mas, bmaj=2.476 mas, bpa=-33.49 degrees
! Estimated noise=0.977784 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00084421 Jy
! Component: 100  -  total flux cleaned = -0.000468123 Jy
! Component: 150  -  total flux cleaned = -0.000144711 Jy
! Component: 200  -  total flux cleaned = 0.000147561 Jy
! Total flux subtracted in 200 components = 0.000147561 Jy
! Clean residual min=-0.008355 max=0.005877 Jy/beam
! Clean residual mean=0.000038 rms=0.001558 Jy/beam
! Combined flux in latest and established models = 4.14026 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 124 components and 4.14026 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058102Jy  sigma=0.983214
! Fit after  self-cal, rms=0.058037Jy  sigma=0.982195
! 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.291 mas, bmaj=2.858 mas, bpa=-39.39 degrees
! Estimated noise=1.20645 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.000199544 Jy
! Component: 100  -  total flux cleaned = 0.000573218 Jy
! Component: 150  -  total flux cleaned = 0.000879363 Jy
! Component: 200  -  total flux cleaned = 0.000971088 Jy
! Total flux subtracted in 200 components = 0.000971088 Jy
! Clean residual min=-0.005205 max=0.004945 Jy/beam
! Clean residual mean=0.000024 rms=0.001405 Jy/beam
! Combined flux in latest and established models = 4.14123 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 135 components and 4.14123 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057732Jy  sigma=0.976847
! Fit after  self-cal, rms=0.057655Jy  sigma=0.975702
! 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.7178 mas, bmaj=2.298 mas, bpa=-32.45 degrees
! Estimated noise=1.53787 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 2.72051 Jy
! Component: 100  -  total flux cleaned = 3.46668 Jy
! Component: 150  -  total flux cleaned = 3.73385 Jy
! Component: 200  -  total flux cleaned = 3.86163 Jy
! Total flux subtracted in 200 components = 3.86163 Jy
! Clean residual min=-0.029843 max=0.048266 Jy/beam
! Clean residual mean=-0.000427 rms=0.009054 Jy/beam
! Combined flux in latest and established models = 3.86163 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 25 model components to the UV plane model.
! The established model now contains 25 components and 3.86163 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9398 mas, bmaj=2.476 mas, bpa=-33.49 degrees
! Estimated noise=0.977784 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.129094 Jy
! Component: 100  -  total flux cleaned = 0.195165 Jy
! Component: 150  -  total flux cleaned = 0.231861 Jy
! Component: 200  -  total flux cleaned = 0.253654 Jy
! Total flux subtracted in 200 components = 0.253654 Jy
! Clean residual min=-0.009302 max=0.010038 Jy/beam
! Clean residual mean=-0.000056 rms=0.002578 Jy/beam
! Combined flux in latest and established models = 4.11528 Jy
! Adding 52 model components to the UV plane model.
! The established model now contains 66 components and 4.11528 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.291 mas, bmaj=2.858 mas, bpa=-39.39 degrees
! Estimated noise=1.20645 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.0163815 Jy
! Component: 100  -  total flux cleaned = 0.0215507 Jy
! Component: 150  -  total flux cleaned = 0.0235577 Jy
! Component: 200  -  total flux cleaned = 0.0245453 Jy
! Total flux subtracted in 200 components = 0.0245453 Jy
! Clean residual min=-0.005016 max=0.006070 Jy/beam
! Clean residual mean=0.000016 rms=0.001551 Jy/beam
! Combined flux in latest and established models = 4.13982 Jy
! Adding 35 model components to the UV plane model.
! The established model now contains 94 components and 4.13982 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9398 mas, bmaj=2.476 mas, bpa=-33.49 degrees
! Estimated noise=0.977784 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000626697 Jy
! Component: 100  -  total flux cleaned = -1.91032e-05 Jy
! Component: 150  -  total flux cleaned = 0.000781214 Jy
! Component: 200  -  total flux cleaned = 0.0010187 Jy
! Total flux subtracted in 200 components = 0.0010187 Jy
! Clean residual min=-0.007423 max=0.006158 Jy/beam
! Clean residual mean=0.000007 rms=0.001684 Jy/beam
! Combined flux in latest and established models = 4.14084 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 108 components and 4.14084 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059660Jy  sigma=1.007643
! Fit after  self-cal, rms=0.059171Jy  sigma=0.998619
wmodel J0555+3948_X_2006_02_14_yyk\_map.mod
! Writing 108 model components to file: J0555+3948_X_2006_02_14_yyk_map.mod
wobs J0555+3948_X_2006_02_14_yyk\_uvs.fits
! Writing UV FITS file: J0555+3948_X_2006_02_14_yyk_uvs.fits
wwins J0555+3948_X_2006_02_14_yyk\_map.win
! wwins: Wrote 2 windows to J0555+3948_X_2006_02_14_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.00248743 Jy
! Component: 100  -  total flux cleaned = -0.00312684 Jy
! Component: 150  -  total flux cleaned = -0.00341988 Jy
! Component: 200  -  total flux cleaned = -0.00378764 Jy
! Component: 250  -  total flux cleaned = -0.00395969 Jy
! Component: 300  -  total flux cleaned = -0.00412718 Jy
! Component: 350  -  total flux cleaned = -0.00445062 Jy
! Component: 400  -  total flux cleaned = -0.00476046 Jy
! Component: 450  -  total flux cleaned = -0.00498372 Jy
! Component: 500  -  total flux cleaned = -0.00556169 Jy
! Component: 550  -  total flux cleaned = -0.00605157 Jy
! Component: 600  -  total flux cleaned = -0.00652593 Jy
! Component: 650  -  total flux cleaned = -0.00672471 Jy
! Component: 700  -  total flux cleaned = -0.00736763 Jy
! Component: 750  -  total flux cleaned = -0.00767888 Jy
! Component: 800  -  total flux cleaned = -0.007924 Jy
! Component: 850  -  total flux cleaned = -0.00834309 Jy
! Component: 900  -  total flux cleaned = -0.00857794 Jy
! Component: 950  -  total flux cleaned = -0.00875063 Jy
! Component: 1000  -  total flux cleaned = -0.00919956 Jy
! Component: 1050  -  total flux cleaned = -0.0096918 Jy
! Component: 1100  -  total flux cleaned = -0.010012 Jy
! Component: 1150  -  total flux cleaned = -0.0103795 Jy
! Component: 1200  -  total flux cleaned = -0.0107903 Jy
! Component: 1250  -  total flux cleaned = -0.011042 Jy
! Component: 1300  -  total flux cleaned = -0.0112909 Jy
! Component: 1350  -  total flux cleaned = -0.0119683 Jy
! Component: 1400  -  total flux cleaned = -0.0123004 Jy
! Component: 1450  -  total flux cleaned = -0.0127197 Jy
! Component: 1500  -  total flux cleaned = -0.0132222 Jy
! Component: 1550  -  total flux cleaned = -0.0134007 Jy
! Component: 1600  -  total flux cleaned = -0.0139281 Jy
! Component: 1650  -  total flux cleaned = -0.0142293 Jy
! Component: 1700  -  total flux cleaned = -0.0145255 Jy
! Component: 1750  -  total flux cleaned = -0.0149009 Jy
! Component: 1800  -  total flux cleaned = -0.0151463 Jy
! Component: 1850  -  total flux cleaned = -0.015388 Jy
! Component: 1900  -  total flux cleaned = -0.0156254 Jy
! Component: 1950  -  total flux cleaned = -0.0158582 Jy
! Component: 2000  -  total flux cleaned = -0.0160504 Jy
! Total flux subtracted in 2048 components = -0.0162392 Jy
! Clean residual min=-0.002103 max=0.002136 Jy/beam
! Clean residual mean=0.000001 rms=0.000710 Jy/beam
! Combined flux in latest and established models = 4.1246 Jy
keep
! Adding 140 model components to the UV plane model.
! The established model now contains 245 components and 4.1246 Jy
![Exited script file: muppet]
wmap "J0555+3948_X_2006_02_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9398 x 2.476 at -33.49 degrees (North through East)
! Clean map  min=-0.0061333  max=3.2394 Jy/beam
! Writing clean map to FITS file: J0555+3948_X_2006_02_14_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 3.23942 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000708022 
device "J0555+3948_X_2006_02_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J0555+3948_X_2006_02_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.0655693 0.0655693 0.131139 0.262277 0.524554 1.04911 2.09822 4.19644 8.39287 16.7857 33.5715 67.143
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 3.239 
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.9398 x 2.476 at -33.49 degrees (North through East)
! Clean map  min=-0.0061333  max=3.2394 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0555+3948_X_2006_02_14_yyk\_map.gif/gif"
! Attempting to open device: 'J0555+3948_X_2006_02_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0555+3948_X_2006_02_14_yyk_uvs.log closed on Wed Jul  5 11:31:22 2006