! Started logfile: J1043+2408_S_1996_05_15_yyk_uvs.log on Sun Jan  7 17:33:22 2007
obs J1043+2408_S_1996_05_15_yyk_uva.fits
! Reading UV FITS file: J1043+2408_S_1996_05_15_yyk_uva.fits
! AN table 1: 147 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.696447 visibilities/baseline/integration-bin.
! Found source: J1043+2408
! 
! 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.22049e+09        8e+06          1        8e+06
!  02        2  2.23424e+09        8e+06          1        8e+06
!  03        3  2.29424e+09        8e+06          1        8e+06
!  04        4  2.32424e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 618 lines of history.
! 
! Reading 18428 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 J1043+2408_S_1996_05_15_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.58662 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.526 mas, bmaj=6.745 mas, bpa=-13.82 degrees
! Estimated noise=3147.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 (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.374492 Jy
! Component: 100  -  total flux cleaned = 0.437444 Jy
! Total flux subtracted in 100 components = 0.437444 Jy
! Clean residual min=-0.025333 max=0.024729 Jy/beam
! Clean residual mean=0.000085 rms=0.006471 Jy/beam
! Combined flux in latest and established models = 0.437444 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.437444 Jy
! 
! Correcting IF 1.
!  A total of 246 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 241 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 251 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 277 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.379272Jy  sigma=0.001296
! Fit after  self-cal, rms=0.377464Jy  sigma=0.001294
! Inverting map and beam 
! Estimated beam: bmin=2.526 mas, bmaj=6.745 mas, bpa=-13.82 degrees
! Estimated noise=3147.22 mJy/beam.
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.025 mas, bmaj=7.379 mas, bpa=-13.86 degrees
! Estimated noise=1001.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)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0281752 Jy
! Component: 100  -  total flux cleaned = 0.0399057 Jy
! Component: 150  -  total flux cleaned = 0.0461645 Jy
! Component: 200  -  total flux cleaned = 0.048048 Jy
! Total flux subtracted in 200 components = 0.048048 Jy
! Clean residual min=-0.012669 max=0.013413 Jy/beam
! Clean residual mean=0.000019 rms=0.003507 Jy/beam
! Combined flux in latest and established models = 0.485492 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 30 components and 0.485492 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.375546Jy  sigma=0.001283
! Fit after  self-cal, rms=0.375532Jy  sigma=0.001283
! 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.025 x 7.379 at -13.86 degrees (North through East)
! Clean map  min=-0.011024  max=0.43754 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: 1.0083
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.11     HN        1.00     KP        0.92     
!   LA        0.97     MK        0.98     NL        0.89     OV        1.26     
!   PT        0.95     SC        0.85     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.955868
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.15     HN        1.08     KP        0.97     
!   LA        1.07     MK        1.01     NL        0.97     OV        1.22     
!   PT        0.94     SC        1.01     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.03213
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.05     HN        0.93     KP        0.95     
!   LA        0.80     MK        0.87     NL        0.94     OV        1.10     
!   PT        1.07     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.984504
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.08     HN        1.08     KP        0.98     
!   LA        0.88     MK        1.07     NL        1.04     OV        1.05     
!   PT        1.00     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.375532Jy  sigma=0.001283
! Fit after  self-cal, rms=0.347197Jy  sigma=0.001260
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.347197Jy  sigma=0.001260
! Fit after  self-cal, rms=0.347203Jy  sigma=0.001260
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.004 mas, bmaj=7.34 mas, bpa=-13.43 degrees
! Estimated noise=979.863 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.00522576 Jy
! Component: 100  -  total flux cleaned = -0.0070893 Jy
! Component: 150  -  total flux cleaned = -0.00841722 Jy
! Component: 200  -  total flux cleaned = -0.00939204 Jy
! Total flux subtracted in 200 components = -0.00939204 Jy
! Clean residual min=-0.005342 max=0.005518 Jy/beam
! Clean residual mean=0.000016 rms=0.001445 Jy/beam
! Combined flux in latest and established models = 0.4761 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 45 components and 0.4761 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.347039Jy  sigma=0.001259
! Fit after  self-cal, rms=0.347039Jy  sigma=0.001259
! 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.347039Jy  sigma=0.001259
! Fit after  self-cal, rms=0.344795Jy  sigma=0.001248
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.000479613 Jy
! Component: 100  -  total flux cleaned = 0.00028674 Jy
! Component: 150  -  total flux cleaned = 0.000123493 Jy
! Component: 200  -  total flux cleaned = 2.58012e-05 Jy
! Total flux subtracted in 200 components = 2.58012e-05 Jy
! Clean residual min=-0.005335 max=0.005791 Jy/beam
! Clean residual mean=0.000017 rms=0.001438 Jy/beam
! Combined flux in latest and established models = 0.476126 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 56 components and 0.476126 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.344782Jy  sigma=0.001248
! Fit after  self-cal, rms=0.344548Jy  sigma=0.001247
! 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.004 x 7.34 at -13.43 degrees (North through East)
! Clean map  min=-0.0047521  max=0.43139 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.344548Jy  sigma=0.001247
! Fit after  self-cal, rms=0.531027Jy  sigma=0.001238
! 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.531027Jy  sigma=0.001238
! Fit after  self-cal, rms=0.531308Jy  sigma=0.001238
! Inverting map and beam 
! Estimated beam: bmin=2.991 mas, bmaj=7.295 mas, bpa=-13.22 degrees
! Estimated noise=976.852 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000407681 Jy
! Component: 100  -  total flux cleaned = 0.000463392 Jy
! Component: 150  -  total flux cleaned = 0.000465502 Jy
! Component: 200  -  total flux cleaned = 0.000463656 Jy
! Total flux subtracted in 200 components = 0.000463656 Jy
! Clean residual min=-0.004389 max=0.004748 Jy/beam
! Clean residual mean=0.000011 rms=0.001237 Jy/beam
! Combined flux in latest and established models = 0.47659 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 65 components and 0.47659 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.531292Jy  sigma=0.001238
! Fit after  self-cal, rms=0.530751Jy  sigma=0.001238
! 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.530751Jy  sigma=0.001238
! Fit after  self-cal, rms=0.611789Jy  sigma=0.001235
! 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.611789Jy  sigma=0.001235
! Fit after  self-cal, rms=0.611400Jy  sigma=0.001235
! Inverting map and beam 
! Estimated beam: bmin=2.984 mas, bmaj=7.283 mas, bpa=-13.24 degrees
! Estimated noise=978.275 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00137743 Jy
! Component: 100  -  total flux cleaned = 0.00152817 Jy
! Component: 150  -  total flux cleaned = 0.00165085 Jy
! Component: 200  -  total flux cleaned = 0.00172086 Jy
! Total flux subtracted in 200 components = 0.00172086 Jy
! Clean residual min=-0.004374 max=0.004742 Jy/beam
! Clean residual mean=0.000009 rms=0.001217 Jy/beam
! Combined flux in latest and established models = 0.478311 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 66 components and 0.478311 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.611393Jy  sigma=0.001235
! Fit after  self-cal, rms=0.611271Jy  sigma=0.001235
! 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.122 mas, bmaj=9.629 mas, bpa=-12.61 degrees
! Estimated noise=1289.66 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.00116059 Jy
! Component: 100  -  total flux cleaned = 0.00103831 Jy
! Component: 150  -  total flux cleaned = 0.000937132 Jy
! Component: 200  -  total flux cleaned = 0.000936894 Jy
! Total flux subtracted in 200 components = 0.000936894 Jy
! Clean residual min=-0.005661 max=0.004387 Jy/beam
! Clean residual mean=0.000012 rms=0.001560 Jy/beam
! Combined flux in latest and established models = 0.479248 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 70 components and 0.479248 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.611279Jy  sigma=0.001235
! Fit after  self-cal, rms=0.611217Jy  sigma=0.001235
! 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=2.504 mas, bmaj=6.738 mas, bpa=-13.64 degrees
! Estimated noise=2871.1 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.37058 Jy
! Component: 100  -  total flux cleaned = 0.433267 Jy
! Component: 150  -  total flux cleaned = 0.458091 Jy
! Component: 200  -  total flux cleaned = 0.471884 Jy
! Total flux subtracted in 200 components = 0.471884 Jy
! Clean residual min=-0.014196 max=0.017845 Jy/beam
! Clean residual mean=0.000028 rms=0.004383 Jy/beam
! Combined flux in latest and established models = 0.471884 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.471884 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.984 mas, bmaj=7.283 mas, bpa=-13.24 degrees
! Estimated noise=978.275 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)
! Added new window around map position (3.5, 2.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0065905 Jy
! Component: 100  -  total flux cleaned = 0.00851519 Jy
! Component: 150  -  total flux cleaned = 0.00936194 Jy
! Component: 200  -  total flux cleaned = 0.00953387 Jy
! Total flux subtracted in 200 components = 0.00953387 Jy
! Clean residual min=-0.004260 max=0.004004 Jy/beam
! Clean residual mean=0.000001 rms=0.001160 Jy/beam
! Combined flux in latest and established models = 0.481418 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 50 components and 0.481418 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.122 mas, bmaj=9.629 mas, bpa=-12.61 degrees
! Estimated noise=1289.66 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.000588248 Jy
! Component: 100  -  total flux cleaned = 0.000293525 Jy
! Component: 150  -  total flux cleaned = 0.00011036 Jy
! Component: 200  -  total flux cleaned = 5.94851e-05 Jy
! Total flux subtracted in 200 components = 5.94851e-05 Jy
! Clean residual min=-0.004900 max=0.003882 Jy/beam
! Clean residual mean=0.000001 rms=0.001468 Jy/beam
! Combined flux in latest and established models = 0.481478 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 75 components and 0.481478 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.984 mas, bmaj=7.283 mas, bpa=-13.24 degrees
! Estimated noise=978.275 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00027296 Jy
! Component: 100  -  total flux cleaned = 0.000264894 Jy
! Component: 150  -  total flux cleaned = 0.00034146 Jy
! Component: 200  -  total flux cleaned = 0.000337721 Jy
! Total flux subtracted in 200 components = 0.000337721 Jy
! Clean residual min=-0.004009 max=0.003725 Jy/beam
! Clean residual mean=0.000000 rms=0.001068 Jy/beam
! Combined flux in latest and established models = 0.481815 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 90 components and 0.481815 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.611121Jy  sigma=0.001235
! Fit after  self-cal, rms=0.611109Jy  sigma=0.001235
wmodel J1043+2408_S_1996_05_15_yyk\_map.mod
! Writing 90 model components to file: J1043+2408_S_1996_05_15_yyk_map.mod
wobs J1043+2408_S_1996_05_15_yyk\_uvs.fits
! Writing UV FITS file: J1043+2408_S_1996_05_15_yyk_uvs.fits
wwins J1043+2408_S_1996_05_15_yyk\_map.win
! wwins: Wrote 2 windows to J1043+2408_S_1996_05_15_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.000661511 Jy
! Component: 100  -  total flux cleaned = -0.00111918 Jy
! Component: 150  -  total flux cleaned = -0.00130488 Jy
! Component: 200  -  total flux cleaned = -0.00136282 Jy
! Component: 250  -  total flux cleaned = -0.0012534 Jy
! Component: 300  -  total flux cleaned = -0.00130544 Jy
! Component: 350  -  total flux cleaned = -0.00135474 Jy
! Component: 400  -  total flux cleaned = -0.0011139 Jy
! Component: 450  -  total flux cleaned = -0.000976193 Jy
! Component: 500  -  total flux cleaned = -0.00084329 Jy
! Component: 550  -  total flux cleaned = -0.000670988 Jy
! Component: 600  -  total flux cleaned = -0.000503021 Jy
! Component: 650  -  total flux cleaned = -0.000380345 Jy
! Component: 700  -  total flux cleaned = -0.00030107 Jy
! Component: 750  -  total flux cleaned = -0.000223779 Jy
! Component: 800  -  total flux cleaned = -0.000300107 Jy
! Component: 850  -  total flux cleaned = -0.000337083 Jy
! Component: 900  -  total flux cleaned = -0.000227003 Jy
! Component: 950  -  total flux cleaned = -0.000191756 Jy
! Component: 1000  -  total flux cleaned = -0.000191213 Jy
! Component: 1050  -  total flux cleaned = -0.000191362 Jy
! Component: 1100  -  total flux cleaned = -0.000191487 Jy
! Component: 1150  -  total flux cleaned = -0.000158304 Jy
! Component: 1200  -  total flux cleaned = -2.88626e-05 Jy
! Component: 1250  -  total flux cleaned = 0.000128851 Jy
! Component: 1300  -  total flux cleaned = 0.000315435 Jy
! Component: 1350  -  total flux cleaned = 0.00049953 Jy
! Component: 1400  -  total flux cleaned = 0.000710817 Jy
! Component: 1450  -  total flux cleaned = 0.000889523 Jy
! Component: 1500  -  total flux cleaned = 0.00112347 Jy
! Component: 1550  -  total flux cleaned = 0.00123887 Jy
! Component: 1600  -  total flux cleaned = 0.00140896 Jy
! Component: 1650  -  total flux cleaned = 0.00166027 Jy
! Component: 1700  -  total flux cleaned = 0.00182541 Jy
! Component: 1750  -  total flux cleaned = 0.00196137 Jy
! Component: 1800  -  total flux cleaned = 0.00212164 Jy
! Component: 1850  -  total flux cleaned = 0.00228019 Jy
! Component: 1900  -  total flux cleaned = 0.00243662 Jy
! Component: 1950  -  total flux cleaned = 0.00261604 Jy
! Component: 2000  -  total flux cleaned = 0.00276788 Jy
! Total flux subtracted in 2048 components = 0.00296789 Jy
! Clean residual min=-0.001466 max=0.001427 Jy/beam
! Clean residual mean=-0.000004 rms=0.000494 Jy/beam
! Combined flux in latest and established models = 0.484783 Jy
keep
! Adding 144 model components to the UV plane model.
! The established model now contains 234 components and 0.484783 Jy
![Exited script file: muppet]
wmap "J1043+2408_S_1996_05_15_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.984 x 7.283 at -13.24 degrees (North through East)
! Clean map  min=-0.0031858  max=0.43126 Jy/beam
! Writing clean map to FITS file: J1043+2408_S_1996_05_15_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.431262 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000490842 
device "J1043+2408_S_1996_05_15_yyk\_map.eps/VPS"
! Attempting to open device: 'J1043+2408_S_1996_05_15_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.341446 0.341446 0.682893 1.36579 2.73157 5.46314 10.9263 21.8526 43.7051 87.4103
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.431 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.984 x 7.283 at -13.24 degrees (North through East)
! Clean map  min=-0.0031858  max=0.43126 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1043+2408_S_1996_05_15_yyk\_map.gif/gif"
! Attempting to open device: 'J1043+2408_S_1996_05_15_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1043+2408_S_1996_05_15_yyk_uvs.log closed on Sun Jan  7 17:33:29 2007