! Started logfile: J1952+2526_X_2002_05_14_yyk_uvs.log on Tue Jun 26 23:11:02 2007
obs J1952+2526_X_2002_05_14_yyk_uva.fits
! Reading UV FITS file: J1952+2526_X_2002_05_14_yyk_uva.fits
! AN table 1: 90 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.81679 visibilities/baseline/integration-bin.
! Found source: J1952+2526
! 
! 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.40947e+09        8e+06          1        8e+06
!  02        2  8.47947e+09        8e+06          1        8e+06
!  03        3  8.79447e+09        8e+06          1        8e+06
!  04        4  8.89947e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1076 lines of history.
! 
! Reading 13232 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 J1952+2526_X_2002_05_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.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.306824 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.7665 mas, bmaj=1.627 mas, bpa=-1.008 degrees
! Estimated noise=1377.64 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.218616 Jy
! Component: 100  -  total flux cleaned = 0.272923 Jy
! Total flux subtracted in 100 components = 0.272923 Jy
! Clean residual min=-0.010228 max=0.018764 Jy/beam
! Clean residual mean=-0.000054 rms=0.003016 Jy/beam
! Combined flux in latest and established models = 0.272923 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 17 components and 0.272923 Jy
! 
! Correcting IF 1.
!  A total of 106 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 106 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 106 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 106 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.155445Jy  sigma=0.001278
! Fit after  self-cal, rms=0.154752Jy  sigma=0.001273
! Inverting map and beam 
! Estimated beam: bmin=0.7666 mas, bmaj=1.627 mas, bpa=-1.01 degrees
! Estimated noise=1378.93 mJy/beam.
! Added new window around map position (-0.4, -2).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0278912 Jy
! Component: 100  -  total flux cleaned = 0.0425219 Jy
! Total flux subtracted in 100 components = 0.0425219 Jy
! Clean residual min=-0.007795 max=0.007518 Jy/beam
! Clean residual mean=-0.000016 rms=0.002036 Jy/beam
! Combined flux in latest and established models = 0.315445 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 31 components and 0.315445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.150939Jy  sigma=0.001235
! Fit after  self-cal, rms=0.150821Jy  sigma=0.001234
! 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.9532 mas, bmaj=1.905 mas, bpa=-1.66 degrees
! Estimated noise=697.998 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.0107136 Jy
! Component: 100  -  total flux cleaned = 0.0163958 Jy
! Component: 150  -  total flux cleaned = 0.0196737 Jy
! Component: 200  -  total flux cleaned = 0.0207153 Jy
! Total flux subtracted in 200 components = 0.0207153 Jy
! Clean residual min=-0.005618 max=0.006508 Jy/beam
! Clean residual mean=0.000052 rms=0.001702 Jy/beam
! Combined flux in latest and established models = 0.33616 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 63 components and 0.33616 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.150202Jy  sigma=0.001229
! Fit after  self-cal, rms=0.150167Jy  sigma=0.001228
! 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.9532 x 1.905 at -1.66 degrees (North through East)
! Clean map  min=-0.0056844  max=0.25652 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.999542
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     HN        1.04     KP        0.94     
!   LA        1.00     NL        1.00     OV        1.01     PT        1.04     
!   SC        0.97     MK        1.05     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01294
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     HN        1.06     KP        0.90     
!   LA        0.98     NL        0.99     OV        0.96     PT        1.06     
!   SC        0.96     MK        1.00     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.0014
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.08     FD        0.91     HN        1.02     KP        0.90     
!   LA        0.99     NL        0.95     OV        0.96     PT        1.10     
!   SC        0.98     MK        1.08     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.981374
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        0.90     HN        1.02     KP        0.98     
!   LA        0.96     NL        1.01     OV        1.02     PT        1.17     
!   SC        0.99     MK        1.07     
! 
! 
! Fit before self-cal, rms=0.150167Jy  sigma=0.001228
! Fit after  self-cal, rms=0.148463Jy  sigma=0.001216
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.148463Jy  sigma=0.001216
! Fit after  self-cal, rms=0.148461Jy  sigma=0.001216
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9682 mas, bmaj=1.917 mas, bpa=-0.215 degrees
! Estimated noise=697.22 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 (-1.6, -9.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00748134 Jy
! Component: 100  -  total flux cleaned = 0.0114793 Jy
! Component: 150  -  total flux cleaned = 0.0136574 Jy
! Component: 200  -  total flux cleaned = 0.0151927 Jy
! Total flux subtracted in 200 components = 0.0151927 Jy
! Clean residual min=-0.003574 max=0.003077 Jy/beam
! Clean residual mean=-0.000008 rms=0.000895 Jy/beam
! Combined flux in latest and established models = 0.351353 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 87 components and 0.351353 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.148179Jy  sigma=0.001213
! Fit after  self-cal, rms=0.148168Jy  sigma=0.001212
! 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.148168Jy  sigma=0.001212
! Fit after  self-cal, rms=0.146094Jy  sigma=0.001194
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.00183221 Jy
! Component: 100  -  total flux cleaned = 0.00284182 Jy
! Component: 150  -  total flux cleaned = 0.00368935 Jy
! Component: 200  -  total flux cleaned = 0.00430579 Jy
! Total flux subtracted in 200 components = 0.00430579 Jy
! Clean residual min=-0.003088 max=0.002901 Jy/beam
! Clean residual mean=-0.000006 rms=0.000851 Jy/beam
! Combined flux in latest and established models = 0.355658 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 99 components and 0.355659 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146040Jy  sigma=0.001194
! Fit after  self-cal, rms=0.145730Jy  sigma=0.001191
! 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.9682 x 1.917 at -0.215 degrees (North through East)
! Clean map  min=-0.0028214  max=0.25925 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.145730Jy  sigma=0.001191
! Fit after  self-cal, rms=0.146183Jy  sigma=0.001189
! 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.146183Jy  sigma=0.001189
! Fit after  self-cal, rms=0.146094Jy  sigma=0.001188
! Inverting map and beam 
! Estimated beam: bmin=0.9626 mas, bmaj=1.905 mas, bpa=-0.6413 degrees
! Estimated noise=694.264 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00100999 Jy
! Component: 100  -  total flux cleaned = 0.00144594 Jy
! Component: 150  -  total flux cleaned = 0.00173864 Jy
! Component: 200  -  total flux cleaned = 0.00188493 Jy
! Total flux subtracted in 200 components = 0.00188493 Jy
! Clean residual min=-0.003110 max=0.002548 Jy/beam
! Clean residual mean=-0.000004 rms=0.000785 Jy/beam
! Combined flux in latest and established models = 0.357543 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 113 components and 0.357543 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146071Jy  sigma=0.001188
! Fit after  self-cal, rms=0.146025Jy  sigma=0.001188
! 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.146025Jy  sigma=0.001188
! Fit after  self-cal, rms=0.146102Jy  sigma=0.001185
! 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.146102Jy  sigma=0.001185
! Fit after  self-cal, rms=0.146083Jy  sigma=0.001185
! Inverting map and beam 
! Estimated beam: bmin=0.9625 mas, bmaj=1.905 mas, bpa=-0.665 degrees
! Estimated noise=694.386 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000410964 Jy
! Component: 100  -  total flux cleaned = 0.000596145 Jy
! Component: 150  -  total flux cleaned = 0.000694737 Jy
! Component: 200  -  total flux cleaned = 0.000754727 Jy
! Total flux subtracted in 200 components = 0.000754727 Jy
! Clean residual min=-0.003073 max=0.002545 Jy/beam
! Clean residual mean=-0.000006 rms=0.000776 Jy/beam
! Combined flux in latest and established models = 0.358298 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 118 components and 0.358298 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146070Jy  sigma=0.001185
! Fit after  self-cal, rms=0.146056Jy  sigma=0.001185
! 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.211 mas, bmaj=2.999 mas, bpa=-3.379 degrees
! Estimated noise=874.5 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.00110584 Jy
! Component: 100  -  total flux cleaned = 0.00135781 Jy
! Component: 150  -  total flux cleaned = 0.00146205 Jy
! Component: 200  -  total flux cleaned = 0.0016134 Jy
! Total flux subtracted in 200 components = 0.0016134 Jy
! Clean residual min=-0.003123 max=0.003049 Jy/beam
! Clean residual mean=-0.000007 rms=0.000909 Jy/beam
! Combined flux in latest and established models = 0.359912 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 125 components and 0.359912 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146056Jy  sigma=0.001185
! Fit after  self-cal, rms=0.146046Jy  sigma=0.001185
! 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.7707 mas, bmaj=1.626 mas, bpa=-0.5031 degrees
! Estimated noise=1378.63 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.220003 Jy
! Component: 100  -  total flux cleaned = 0.274987 Jy
! Component: 150  -  total flux cleaned = 0.301192 Jy
! Component: 200  -  total flux cleaned = 0.314795 Jy
! Total flux subtracted in 200 components = 0.314795 Jy
! Clean residual min=-0.005860 max=0.006172 Jy/beam
! Clean residual mean=-0.000022 rms=0.001535 Jy/beam
! Combined flux in latest and established models = 0.314795 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 27 model components to the UV plane model.
! The established model now contains 27 components and 0.314795 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9625 mas, bmaj=1.905 mas, bpa=-0.665 degrees
! Estimated noise=694.386 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.0107272 Jy
! Component: 100  -  total flux cleaned = 0.0180409 Jy
! Component: 150  -  total flux cleaned = 0.0236035 Jy
! Component: 200  -  total flux cleaned = 0.0279282 Jy
! Total flux subtracted in 200 components = 0.0279282 Jy
! Clean residual min=-0.003574 max=0.003234 Jy/beam
! Clean residual mean=-0.000016 rms=0.000903 Jy/beam
! Combined flux in latest and established models = 0.342724 Jy
! Adding 34 model components to the UV plane model.
! The established model now contains 59 components and 0.342723 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.211 mas, bmaj=2.999 mas, bpa=-3.379 degrees
! Estimated noise=874.5 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.00528929 Jy
! Component: 100  -  total flux cleaned = 0.00891886 Jy
! Component: 150  -  total flux cleaned = 0.0115394 Jy
! Component: 200  -  total flux cleaned = 0.0134409 Jy
! Total flux subtracted in 200 components = 0.0134409 Jy
! Clean residual min=-0.003239 max=0.003061 Jy/beam
! Clean residual mean=-0.000012 rms=0.000932 Jy/beam
! Combined flux in latest and established models = 0.356164 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 92 components and 0.356164 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9625 mas, bmaj=1.905 mas, bpa=-0.665 degrees
! Estimated noise=694.386 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000769744 Jy
! Component: 100  -  total flux cleaned = 0.00113524 Jy
! Component: 150  -  total flux cleaned = 0.00153713 Jy
! Component: 200  -  total flux cleaned = 0.00184697 Jy
! Total flux subtracted in 200 components = 0.00184697 Jy
! Clean residual min=-0.003108 max=0.002601 Jy/beam
! Clean residual mean=-0.000006 rms=0.000771 Jy/beam
! Combined flux in latest and established models = 0.358011 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 109 components and 0.358011 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.146060Jy  sigma=0.001185
! Fit after  self-cal, rms=0.146046Jy  sigma=0.001185
wmodel J1952+2526_X_2002_05_14_yyk\_map.mod
! Writing 109 model components to file: J1952+2526_X_2002_05_14_yyk_map.mod
wobs J1952+2526_X_2002_05_14_yyk\_uvs.fits
! Writing UV FITS file: J1952+2526_X_2002_05_14_yyk_uvs.fits
wwins J1952+2526_X_2002_05_14_yyk\_map.win
! wwins: Wrote 3 windows to J1952+2526_X_2002_05_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.00113051 Jy
! Component: 100  -  total flux cleaned = -0.00186001 Jy
! Component: 150  -  total flux cleaned = -0.00222712 Jy
! Component: 200  -  total flux cleaned = -0.00244921 Jy
! Component: 250  -  total flux cleaned = -0.00253626 Jy
! Component: 300  -  total flux cleaned = -0.00278698 Jy
! Component: 350  -  total flux cleaned = -0.00310941 Jy
! Component: 400  -  total flux cleaned = -0.00314743 Jy
! Component: 450  -  total flux cleaned = -0.00334057 Jy
! Component: 500  -  total flux cleaned = -0.00341604 Jy
! Component: 550  -  total flux cleaned = -0.00356469 Jy
! Component: 600  -  total flux cleaned = -0.00360056 Jy
! Component: 650  -  total flux cleaned = -0.00349257 Jy
! Component: 700  -  total flux cleaned = -0.00335136 Jy
! Component: 750  -  total flux cleaned = -0.00331617 Jy
! Component: 800  -  total flux cleaned = -0.00311261 Jy
! Component: 850  -  total flux cleaned = -0.00307988 Jy
! Component: 900  -  total flux cleaned = -0.00304721 Jy
! Component: 950  -  total flux cleaned = -0.00301568 Jy
! Component: 1000  -  total flux cleaned = -0.00295187 Jy
! Component: 1050  -  total flux cleaned = -0.00288851 Jy
! Component: 1100  -  total flux cleaned = -0.00288865 Jy
! Component: 1150  -  total flux cleaned = -0.00288836 Jy
! Component: 1200  -  total flux cleaned = -0.00282817 Jy
! Component: 1250  -  total flux cleaned = -0.0027687 Jy
! Component: 1300  -  total flux cleaned = -0.00276942 Jy
! Component: 1350  -  total flux cleaned = -0.00268254 Jy
! Component: 1400  -  total flux cleaned = -0.00268232 Jy
! Component: 1450  -  total flux cleaned = -0.00256932 Jy
! Component: 1500  -  total flux cleaned = -0.00268121 Jy
! Component: 1550  -  total flux cleaned = -0.00257048 Jy
! Component: 1600  -  total flux cleaned = -0.00248803 Jy
! Component: 1650  -  total flux cleaned = -0.00262391 Jy
! Component: 1700  -  total flux cleaned = -0.00265017 Jy
! Component: 1750  -  total flux cleaned = -0.00254358 Jy
! Component: 1800  -  total flux cleaned = -0.00249095 Jy
! Component: 1850  -  total flux cleaned = -0.00256885 Jy
! Component: 1900  -  total flux cleaned = -0.00256903 Jy
! Component: 1950  -  total flux cleaned = -0.00251789 Jy
! Component: 2000  -  total flux cleaned = -0.00256833 Jy
! Total flux subtracted in 2048 components = -0.0025434 Jy
! Clean residual min=-0.001390 max=0.001537 Jy/beam
! Clean residual mean=-0.000002 rms=0.000480 Jy/beam
! Combined flux in latest and established models = 0.355468 Jy
keep
! Adding 150 model components to the UV plane model.
! The established model now contains 259 components and 0.355468 Jy
![Exited script file: muppet]
wmap "J1952+2526_X_2002_05_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9625 x 1.905 at -0.665 degrees (North through East)
! Clean map  min=-0.0021629  max=0.25847 Jy/beam
! Writing clean map to FITS file: J1952+2526_X_2002_05_14_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.258471 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000478271 
device "J1952+2526_X_2002_05_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J1952+2526_X_2002_05_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.555114 0.555114 1.11023 2.22046 4.44092 8.88183 17.7637 35.5273 71.0546
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.258 
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.9625 x 1.905 at -0.665 degrees (North through East)
! Clean map  min=-0.0021629  max=0.25847 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1952+2526_X_2002_05_14_yyk\_map.gif/gif"
! Attempting to open device: 'J1952+2526_X_2002_05_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1952+2526_X_2002_05_14_yyk_uvs.log closed on Tue Jun 26 23:11:10 2007