! Started logfile: J2225-1113_X_1997_05_07_yyk_uvs.log on Mon Jan  8 10:37:51 2007
obs J2225-1113_X_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J2225-1113_X_1997_05_07_yyk_uva.fits
! AN table 1: 141 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.965012 visibilities/baseline/integration-bin.
! Found source: J2225-1113
! 
! 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.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 613 lines of history.
! 
! Reading 24492 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 J2225-1113_X_1997_05_07_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.313098 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.7018 mas, bmaj=1.804 mas, bpa=-3.5 degrees
! Estimated noise=1313.38 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.209585 Jy
! Component: 100  -  total flux cleaned = 0.246682 Jy
! Total flux subtracted in 100 components = 0.246682 Jy
! Clean residual min=-0.006501 max=0.010824 Jy/beam
! Clean residual mean=0.000039 rms=0.001971 Jy/beam
! Combined flux in latest and established models = 0.246682 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 15 components and 0.246682 Jy
! 
! Correcting IF 1.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.188100Jy  sigma=0.001225
! Fit after  self-cal, rms=0.188011Jy  sigma=0.001224
! Inverting map and beam 
! Estimated beam: bmin=0.7018 mas, bmaj=1.804 mas, bpa=-3.5 degrees
! Estimated noise=1313.44 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0156648 Jy
! Component: 100  -  total flux cleaned = 0.0231965 Jy
! Total flux subtracted in 100 components = 0.0231965 Jy
! Clean residual min=-0.005702 max=0.005471 Jy/beam
! Clean residual mean=0.000018 rms=0.001553 Jy/beam
! Combined flux in latest and established models = 0.269879 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 25 components and 0.269879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186971Jy  sigma=0.001216
! Fit after  self-cal, rms=0.186951Jy  sigma=0.001215
! 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.8996 mas, bmaj=2.231 mas, bpa=-4.035 degrees
! Estimated noise=669.77 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.00612346 Jy
! Component: 100  -  total flux cleaned = 0.0079999 Jy
! Component: 150  -  total flux cleaned = 0.00827699 Jy
! Component: 200  -  total flux cleaned = 0.00839128 Jy
! Total flux subtracted in 200 components = 0.00839128 Jy
! Clean residual min=-0.003679 max=0.003930 Jy/beam
! Clean residual mean=0.000008 rms=0.000919 Jy/beam
! Combined flux in latest and established models = 0.27827 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 34 components and 0.27827 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186846Jy  sigma=0.001215
! Fit after  self-cal, rms=0.186843Jy  sigma=0.001215
! 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.8996 x 2.231 at -4.035 degrees (North through East)
! Clean map  min=-0.0036325  max=0.25034 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00607
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.98     HN        0.99     KP        1.02     
!   LA        1.02     MK        1.04     NL        1.00     OV        0.97     
!   PT        0.96     SC        0.95     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00326
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.01     HN        1.00     KP        1.00     
!   LA        0.96     MK        1.00     NL        1.05     OV        1.04     
!   PT        0.93     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.995465
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.01     HN        1.00     KP        1.02     
!   LA        0.99     MK        0.99     NL        1.03     OV        0.99     
!   PT        0.98     SC        1.03     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.984012
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        0.99     HN        1.08     KP        0.99     
!   LA        1.01     MK        0.99     NL        1.02     OV        0.99     
!   PT        1.00     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.186843Jy  sigma=0.001215
! Fit after  self-cal, rms=0.187039Jy  sigma=0.001213
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.187039Jy  sigma=0.001213
! Fit after  self-cal, rms=0.187039Jy  sigma=0.001213
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9046 mas, bmaj=2.242 mas, bpa=-3.987 degrees
! Estimated noise=666.945 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.00213398 Jy
! Component: 100  -  total flux cleaned = -0.00273257 Jy
! Component: 150  -  total flux cleaned = -0.00276119 Jy
! Component: 200  -  total flux cleaned = -0.00281489 Jy
! Total flux subtracted in 200 components = -0.00281489 Jy
! Clean residual min=-0.002985 max=0.002939 Jy/beam
! Clean residual mean=-0.000000 rms=0.000781 Jy/beam
! Combined flux in latest and established models = 0.275455 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 40 components and 0.275455 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187018Jy  sigma=0.001213
! Fit after  self-cal, rms=0.187016Jy  sigma=0.001213
! 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.187016Jy  sigma=0.001213
! Fit after  self-cal, rms=0.185238Jy  sigma=0.001201
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.000914447 Jy
! Component: 100  -  total flux cleaned = 0.00091687 Jy
! Component: 150  -  total flux cleaned = 0.000882923 Jy
! Component: 200  -  total flux cleaned = 0.000881392 Jy
! Total flux subtracted in 200 components = 0.000881392 Jy
! Clean residual min=-0.002905 max=0.002846 Jy/beam
! Clean residual mean=0.000002 rms=0.000769 Jy/beam
! Combined flux in latest and established models = 0.276337 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 45 components and 0.276337 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185224Jy  sigma=0.001201
! Fit after  self-cal, rms=0.184961Jy  sigma=0.001200
! 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.9046 x 2.242 at -3.987 degrees (North through East)
! Clean map  min=-0.0026567  max=0.25185 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.184961Jy  sigma=0.001200
! Fit after  self-cal, rms=0.185725Jy  sigma=0.001198
! 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.185725Jy  sigma=0.001198
! Fit after  self-cal, rms=0.185666Jy  sigma=0.001198
! Inverting map and beam 
! Estimated beam: bmin=0.9059 mas, bmaj=2.254 mas, bpa=-3.984 degrees
! Estimated noise=666.343 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000383336 Jy
! Component: 100  -  total flux cleaned = -0.000307704 Jy
! Component: 150  -  total flux cleaned = -0.000330115 Jy
! Component: 200  -  total flux cleaned = -0.000348676 Jy
! Total flux subtracted in 200 components = -0.000348676 Jy
! Clean residual min=-0.002577 max=0.002503 Jy/beam
! Clean residual mean=0.000015 rms=0.000709 Jy/beam
! Combined flux in latest and established models = 0.275988 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.275988 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185660Jy  sigma=0.001198
! Fit after  self-cal, rms=0.185643Jy  sigma=0.001198
! 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.185643Jy  sigma=0.001198
! Fit after  self-cal, rms=0.185984Jy  sigma=0.001197
! 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.185984Jy  sigma=0.001197
! Fit after  self-cal, rms=0.185982Jy  sigma=0.001197
! Inverting map and beam 
! Estimated beam: bmin=0.907 mas, bmaj=2.258 mas, bpa=-4.022 degrees
! Estimated noise=666.97 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 4.16624e-05 Jy
! Component: 100  -  total flux cleaned = 4.46004e-05 Jy
! Component: 150  -  total flux cleaned = 2.72013e-05 Jy
! Component: 200  -  total flux cleaned = -4.44577e-06 Jy
! Total flux subtracted in 200 components = -4.44577e-06 Jy
! Clean residual min=-0.002579 max=0.002507 Jy/beam
! Clean residual mean=0.000016 rms=0.000709 Jy/beam
! Combined flux in latest and established models = 0.275984 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 50 components and 0.275984 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185978Jy  sigma=0.001196
! Fit after  self-cal, rms=0.185979Jy  sigma=0.001196
! 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.279 mas, bmaj=4.234 mas, bpa=0.6537 degrees
! Estimated noise=856.214 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.000261023 Jy
! Component: 100  -  total flux cleaned = -0.000186276 Jy
! Component: 150  -  total flux cleaned = -0.000124559 Jy
! Component: 200  -  total flux cleaned = -7.28565e-05 Jy
! Total flux subtracted in 200 components = -7.28565e-05 Jy
! Clean residual min=-0.003248 max=0.002890 Jy/beam
! Clean residual mean=0.000032 rms=0.000987 Jy/beam
! Combined flux in latest and established models = 0.275911 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 54 components and 0.275911 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185982Jy  sigma=0.001197
! Fit after  self-cal, rms=0.185981Jy  sigma=0.001197
! 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.703 mas, bmaj=1.813 mas, bpa=-3.468 degrees
! Estimated noise=1320.62 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.212444 Jy
! Component: 100  -  total flux cleaned = 0.24872 Jy
! Component: 150  -  total flux cleaned = 0.263147 Jy
! Component: 200  -  total flux cleaned = 0.270166 Jy
! Total flux subtracted in 200 components = 0.270166 Jy
! Clean residual min=-0.005221 max=0.005079 Jy/beam
! Clean residual mean=0.000016 rms=0.001401 Jy/beam
! Combined flux in latest and established models = 0.270166 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 24 model components to the UV plane model.
! The established model now contains 24 components and 0.270166 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.907 mas, bmaj=2.258 mas, bpa=-4.022 degrees
! Estimated noise=666.97 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.00441854 Jy
! Component: 100  -  total flux cleaned = 0.0049664 Jy
! Component: 150  -  total flux cleaned = 0.00540264 Jy
! Component: 200  -  total flux cleaned = 0.00564823 Jy
! Total flux subtracted in 200 components = 0.00564823 Jy
! Clean residual min=-0.002601 max=0.002590 Jy/beam
! Clean residual mean=0.000016 rms=0.000717 Jy/beam
! Combined flux in latest and established models = 0.275814 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 36 components and 0.275814 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.279 mas, bmaj=4.234 mas, bpa=0.6537 degrees
! Estimated noise=856.214 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 = -2.43425e-05 Jy
! Component: 100  -  total flux cleaned = 4.17348e-05 Jy
! Component: 150  -  total flux cleaned = 0.000101911 Jy
! Component: 200  -  total flux cleaned = 0.000149576 Jy
! Total flux subtracted in 200 components = 0.000149576 Jy
! Clean residual min=-0.003262 max=0.002885 Jy/beam
! Clean residual mean=0.000031 rms=0.000985 Jy/beam
! Combined flux in latest and established models = 0.275964 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 43 components and 0.275964 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.907 mas, bmaj=2.258 mas, bpa=-4.022 degrees
! Estimated noise=666.97 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000335103 Jy
! Component: 100  -  total flux cleaned = 0.000275739 Jy
! Component: 150  -  total flux cleaned = 0.000223222 Jy
! Component: 200  -  total flux cleaned = 0.000176767 Jy
! Total flux subtracted in 200 components = 0.000176767 Jy
! Clean residual min=-0.002591 max=0.002571 Jy/beam
! Clean residual mean=0.000015 rms=0.000707 Jy/beam
! Combined flux in latest and established models = 0.27614 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 50 components and 0.27614 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.185995Jy  sigma=0.001197
! Fit after  self-cal, rms=0.185996Jy  sigma=0.001197
wmodel J2225-1113_X_1997_05_07_yyk\_map.mod
! Writing 50 model components to file: J2225-1113_X_1997_05_07_yyk_map.mod
wobs J2225-1113_X_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J2225-1113_X_1997_05_07_yyk_uvs.fits
wwins J2225-1113_X_1997_05_07_yyk\_map.win
! wwins: Wrote 1 windows to J2225-1113_X_1997_05_07_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.000141453 Jy
! Component: 100  -  total flux cleaned = 0.000369631 Jy
! Component: 150  -  total flux cleaned = 0.00041314 Jy
! Component: 200  -  total flux cleaned = 0.00057705 Jy
! Component: 250  -  total flux cleaned = 0.000694332 Jy
! Component: 300  -  total flux cleaned = 0.00091913 Jy
! Component: 350  -  total flux cleaned = 0.00102765 Jy
! Component: 400  -  total flux cleaned = 0.00109721 Jy
! Component: 450  -  total flux cleaned = 0.00106256 Jy
! Component: 500  -  total flux cleaned = 0.00109569 Jy
! Component: 550  -  total flux cleaned = 0.00115944 Jy
! Component: 600  -  total flux cleaned = 0.00106627 Jy
! Component: 650  -  total flux cleaned = 0.000975106 Jy
! Component: 700  -  total flux cleaned = 0.000944546 Jy
! Component: 750  -  total flux cleaned = 0.000973077 Jy
! Component: 800  -  total flux cleaned = 0.000886918 Jy
! Component: 850  -  total flux cleaned = 0.000943056 Jy
! Component: 900  -  total flux cleaned = 0.0010264 Jy
! Component: 950  -  total flux cleaned = 0.00110809 Jy
! Component: 1000  -  total flux cleaned = 0.00108128 Jy
! Component: 1050  -  total flux cleaned = 0.00116088 Jy
! Component: 1100  -  total flux cleaned = 0.00121225 Jy
! Component: 1150  -  total flux cleaned = 0.00123762 Jy
! Component: 1200  -  total flux cleaned = 0.00131326 Jy
! Component: 1250  -  total flux cleaned = 0.00151128 Jy
! Component: 1300  -  total flux cleaned = 0.00148631 Jy
! Component: 1350  -  total flux cleaned = 0.00151062 Jy
! Component: 1400  -  total flux cleaned = 0.00158213 Jy
! Component: 1450  -  total flux cleaned = 0.00165236 Jy
! Component: 1500  -  total flux cleaned = 0.00153614 Jy
! Component: 1550  -  total flux cleaned = 0.00158253 Jy
! Component: 1600  -  total flux cleaned = 0.0015595 Jy
! Component: 1650  -  total flux cleaned = 0.00160402 Jy
! Component: 1700  -  total flux cleaned = 0.00160409 Jy
! Component: 1750  -  total flux cleaned = 0.00164811 Jy
! Component: 1800  -  total flux cleaned = 0.00177818 Jy
! Component: 1850  -  total flux cleaned = 0.00179967 Jy
! Component: 1900  -  total flux cleaned = 0.00173638 Jy
! Component: 1950  -  total flux cleaned = 0.00186319 Jy
! Component: 2000  -  total flux cleaned = 0.0019256 Jy
! Total flux subtracted in 2048 components = 0.00200758 Jy
! Clean residual min=-0.001172 max=0.001332 Jy/beam
! Clean residual mean=0.000002 rms=0.000381 Jy/beam
! Combined flux in latest and established models = 0.278148 Jy
keep
! Adding 142 model components to the UV plane model.
! The established model now contains 192 components and 0.278148 Jy
![Exited script file: muppet]
wmap "J2225-1113_X_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.907 x 2.258 at -4.022 degrees (North through East)
! Clean map  min=-0.0020265  max=0.25247 Jy/beam
! Writing clean map to FITS file: J2225-1113_X_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.252471 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00038113 
device "J2225-1113_X_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J2225-1113_X_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.452879 0.452879 0.905758 1.81152 3.62303 7.24607 14.4921 28.9843 57.9685
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.252 
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.907 x 2.258 at -4.022 degrees (North through East)
! Clean map  min=-0.0020265  max=0.25247 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2225-1113_X_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J2225-1113_X_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2225-1113_X_1997_05_07_yyk_uvs.log closed on Mon Jan  8 10:37:59 2007