! Started logfile: J2129-1821_S_1997_08_27_yyk_uvs.log on Sun Jan  7 19:58:54 2007
obs J2129-1821_S_1997_08_27_yyk_uva.fits
! Reading UV FITS file: J2129-1821_S_1997_08_27_yyk_uva.fits
! AN table 1: 139 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.789928 visibilities/baseline/integration-bin.
! Found source: J2129-1821
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 702 lines of history.
! 
! Reading 19764 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 J2129-1821_S_1997_08_27_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)= 1.2125 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=3.043 mas, bmaj=6.734 mas, bpa=-17.65 degrees
! Estimated noise=3198.7 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.839645 Jy
! Component: 100  -  total flux cleaned = 1.08517 Jy
! Total flux subtracted in 100 components = 1.08517 Jy
! Clean residual min=-0.094646 max=0.136283 Jy/beam
! Clean residual mean=-0.000880 rms=0.029936 Jy/beam
! Combined flux in latest and established models = 1.08517 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 1.08517 Jy
! 
! Correcting IF 1.
!  A total of 291 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 159 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 159 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 159 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.571181Jy  sigma=0.001820
! Fit after  self-cal, rms=0.568001Jy  sigma=0.001809
! Inverting map and beam 
! Estimated beam: bmin=3.043 mas, bmaj=6.734 mas, bpa=-17.65 degrees
! Estimated noise=3198.74 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.637 mas, bmaj=7.893 mas, bpa=-17.79 degrees
! Estimated noise=1483.37 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.177289 Jy
! Component: 100  -  total flux cleaned = 0.22478 Jy
! Component: 150  -  total flux cleaned = 0.22937 Jy
! Component: 200  -  total flux cleaned = 0.234859 Jy
! Total flux subtracted in 200 components = 0.234859 Jy
! Clean residual min=-0.048412 max=0.073038 Jy/beam
! Clean residual mean=0.000331 rms=0.015573 Jy/beam
! Combined flux in latest and established models = 1.32003 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 28 components and 1.32003 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.516774Jy  sigma=0.001654
! Fit after  self-cal, rms=0.516169Jy  sigma=0.001652
! 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.637 x 7.893 at -17.79 degrees (North through East)
! Clean map  min=-0.048183  max=0.95838 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.01976
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.13     FD        1.04     HN        0.82     KP        0.91     
!   LA        0.97     MK        1.09     NL        1.00*    OV        1.06     
!   PT        0.97     SC        0.83     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.988848
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.20     FD        1.11     HN        0.93     KP        0.93     
!   LA        1.05     MK        1.09     NL        0.96     OV        1.03     
!   PT        0.94     SC        0.87     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.04606
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.14     FD        1.02     HN        0.87     KP        0.90     
!   LA        0.80     MK        0.88     NL        0.94     OV        0.94     
!   PT        1.09     SC        0.99     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.991103
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.19     FD        1.10     HN        1.03     KP        0.93     
!   LA        0.87     MK        1.09     NL        1.03     OV        0.94     
!   PT        0.93     SC        0.98     
! 
! 
! Fit before self-cal, rms=0.516169Jy  sigma=0.001652
! Fit after  self-cal, rms=0.493844Jy  sigma=0.001584
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.493844Jy  sigma=0.001584
! Fit after  self-cal, rms=0.493829Jy  sigma=0.001584
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.591 mas, bmaj=7.878 mas, bpa=-15.94 degrees
! Estimated noise=1466.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 (5.5, 4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0680593 Jy
! Component: 100  -  total flux cleaned = 0.072593 Jy
! Component: 150  -  total flux cleaned = 0.0709745 Jy
! Component: 200  -  total flux cleaned = 0.0680885 Jy
! Total flux subtracted in 200 components = 0.0680885 Jy
! Clean residual min=-0.038158 max=0.048765 Jy/beam
! Clean residual mean=0.000473 rms=0.011033 Jy/beam
! Combined flux in latest and established models = 1.38812 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 55 components and 1.38812 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.477068Jy  sigma=0.001529
! Fit after  self-cal, rms=0.476144Jy  sigma=0.001526
! 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.476144Jy  sigma=0.001526
! Fit after  self-cal, rms=0.473112Jy  sigma=0.001513
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.0146244 Jy
! Component: 100  -  total flux cleaned = 0.013354 Jy
! Component: 150  -  total flux cleaned = 0.0122833 Jy
! Component: 200  -  total flux cleaned = 0.0122403 Jy
! Total flux subtracted in 200 components = 0.0122403 Jy
! Clean residual min=-0.033200 max=0.042673 Jy/beam
! Clean residual mean=0.000488 rms=0.010144 Jy/beam
! Combined flux in latest and established models = 1.40036 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 71 components and 1.40036 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.468262Jy  sigma=0.001499
! Fit after  self-cal, rms=0.467577Jy  sigma=0.001496
! 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.591 x 7.878 at -15.94 degrees (North through East)
! Clean map  min=-0.046653  max=0.96113 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.467577Jy  sigma=0.001496
! Fit after  self-cal, rms=23.598679Jy  sigma=0.001311
! 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=23.598679Jy  sigma=0.001311
! Fit after  self-cal, rms=23.598511Jy  sigma=0.001311
! Inverting map and beam 
! Estimated beam: bmin=3.416 mas, bmaj=8.841 mas, bpa=-13.16 degrees
! Estimated noise=1458.35 mJy/beam.
! Added new window around map position (11, -10.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0237762 Jy
! Component: 100  -  total flux cleaned = 0.0264207 Jy
! Component: 150  -  total flux cleaned = 0.0257543 Jy
! Component: 200  -  total flux cleaned = 0.0245381 Jy
! Total flux subtracted in 200 components = 0.0245381 Jy
! Clean residual min=-0.024988 max=0.014277 Jy/beam
! Clean residual mean=0.000010 rms=0.004629 Jy/beam
! Combined flux in latest and established models = 1.4249 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 97 components and 1.4249 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=23.598494Jy  sigma=0.001301
! Fit after  self-cal, rms=23.597383Jy  sigma=0.001300
! 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=23.597383Jy  sigma=0.001300
! Fit after  self-cal, rms=11.642920Jy  sigma=0.001298
! 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=11.642920Jy  sigma=0.001298
! Fit after  self-cal, rms=11.642759Jy  sigma=0.001298
! Inverting map and beam 
! Estimated beam: bmin=3.401 mas, bmaj=8.798 mas, bpa=-13.2 degrees
! Estimated noise=1453.78 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0101309 Jy
! Component: 100  -  total flux cleaned = 0.0107387 Jy
! Component: 150  -  total flux cleaned = 0.0107675 Jy
! Component: 200  -  total flux cleaned = 0.00991163 Jy
! Total flux subtracted in 200 components = 0.00991163 Jy
! Clean residual min=-0.021601 max=0.011655 Jy/beam
! Clean residual mean=0.000009 rms=0.003823 Jy/beam
! Combined flux in latest and established models = 1.43481 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 117 components and 1.43481 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=11.642767Jy  sigma=0.001294
! Fit after  self-cal, rms=11.642958Jy  sigma=0.001294
! 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.065 mas, bmaj=14.16 mas, bpa=-11.97 degrees
! Estimated noise=1849.29 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.00667673 Jy
! Component: 100  -  total flux cleaned = -0.00786118 Jy
! Component: 150  -  total flux cleaned = -0.00853455 Jy
! Component: 200  -  total flux cleaned = -0.00915499 Jy
! Total flux subtracted in 200 components = -0.00915499 Jy
! Clean residual min=-0.012579 max=0.010548 Jy/beam
! Clean residual mean=-0.000038 rms=0.003547 Jy/beam
! Combined flux in latest and established models = 1.42565 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 136 components and 1.42565 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=11.642995Jy  sigma=0.001294
! Fit after  self-cal, rms=11.642668Jy  sigma=0.001293
! 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.871 mas, bmaj=7.501 mas, bpa=-12.88 degrees
! Estimated noise=3495.88 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.893959 Jy
! Component: 100  -  total flux cleaned = 1.13452 Jy
! Component: 150  -  total flux cleaned = 1.25065 Jy
! Component: 200  -  total flux cleaned = 1.3218 Jy
! Total flux subtracted in 200 components = 1.3218 Jy
! Clean residual min=-0.025879 max=0.028458 Jy/beam
! Clean residual mean=-0.000299 rms=0.007362 Jy/beam
! Combined flux in latest and established models = 1.3218 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 31 model components to the UV plane model.
! The established model now contains 31 components and 1.3218 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.401 mas, bmaj=8.798 mas, bpa=-13.2 degrees
! Estimated noise=1453.78 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.0575304 Jy
! Component: 100  -  total flux cleaned = 0.0797496 Jy
! Component: 150  -  total flux cleaned = 0.0887401 Jy
! Component: 200  -  total flux cleaned = 0.0919675 Jy
! Total flux subtracted in 200 components = 0.0919675 Jy
! Clean residual min=-0.016698 max=0.013463 Jy/beam
! Clean residual mean=-0.000061 rms=0.003968 Jy/beam
! Combined flux in latest and established models = 1.41377 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 65 components and 1.41377 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.065 mas, bmaj=14.16 mas, bpa=-11.97 degrees
! Estimated noise=1849.29 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.012809 Jy
! Component: 100  -  total flux cleaned = 0.0119961 Jy
! Component: 150  -  total flux cleaned = 0.0112925 Jy
! Component: 200  -  total flux cleaned = 0.0109567 Jy
! Total flux subtracted in 200 components = 0.0109567 Jy
! Clean residual min=-0.012155 max=0.012089 Jy/beam
! Clean residual mean=-0.000027 rms=0.003362 Jy/beam
! Combined flux in latest and established models = 1.42473 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 86 components and 1.42473 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.401 mas, bmaj=8.798 mas, bpa=-13.2 degrees
! Estimated noise=1453.78 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00154369 Jy
! Component: 100  -  total flux cleaned = 0.00291838 Jy
! Component: 150  -  total flux cleaned = 0.00331584 Jy
! Component: 200  -  total flux cleaned = 0.00367964 Jy
! Total flux subtracted in 200 components = 0.00367964 Jy
! Clean residual min=-0.013932 max=0.010094 Jy/beam
! Clean residual mean=0.000000 rms=0.003035 Jy/beam
! Combined flux in latest and established models = 1.42841 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 109 components and 1.42841 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=11.642337Jy  sigma=0.001292
! Fit after  self-cal, rms=11.643517Jy  sigma=0.001291
wmodel J2129-1821_S_1997_08_27_yyk\_map.mod
! Writing 109 model components to file: J2129-1821_S_1997_08_27_yyk_map.mod
wobs J2129-1821_S_1997_08_27_yyk\_uvs.fits
! Writing UV FITS file: J2129-1821_S_1997_08_27_yyk_uvs.fits
wwins J2129-1821_S_1997_08_27_yyk\_map.win
! wwins: Wrote 3 windows to J2129-1821_S_1997_08_27_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.00578583 Jy
! Component: 100  -  total flux cleaned = -0.0105531 Jy
! Component: 150  -  total flux cleaned = -0.0130477 Jy
! Component: 200  -  total flux cleaned = -0.0150003 Jy
! Component: 250  -  total flux cleaned = -0.0166741 Jy
! Component: 300  -  total flux cleaned = -0.0182488 Jy
! Component: 350  -  total flux cleaned = -0.019609 Jy
! Component: 400  -  total flux cleaned = -0.0203827 Jy
! Component: 450  -  total flux cleaned = -0.0206244 Jy
! Component: 500  -  total flux cleaned = -0.0212175 Jy
! Component: 550  -  total flux cleaned = -0.0214452 Jy
! Component: 600  -  total flux cleaned = -0.0215583 Jy
! Component: 650  -  total flux cleaned = -0.0220974 Jy
! Component: 700  -  total flux cleaned = -0.0226197 Jy
! Component: 750  -  total flux cleaned = -0.0229231 Jy
! Component: 800  -  total flux cleaned = -0.0234142 Jy
! Component: 850  -  total flux cleaned = -0.0236054 Jy
! Component: 900  -  total flux cleaned = -0.0237912 Jy
! Component: 950  -  total flux cleaned = -0.0239721 Jy
! Component: 1000  -  total flux cleaned = -0.0239706 Jy
! Component: 1050  -  total flux cleaned = -0.0241448 Jy
! Component: 1100  -  total flux cleaned = -0.0243124 Jy
! Component: 1150  -  total flux cleaned = -0.0248069 Jy
! Component: 1200  -  total flux cleaned = -0.0252081 Jy
! Component: 1250  -  total flux cleaned = -0.0256001 Jy
! Component: 1300  -  total flux cleaned = -0.0260604 Jy
! Component: 1350  -  total flux cleaned = -0.0262099 Jy
! Component: 1400  -  total flux cleaned = -0.0263563 Jy
! Component: 1450  -  total flux cleaned = -0.0266455 Jy
! Component: 1500  -  total flux cleaned = -0.0269996 Jy
! Component: 1550  -  total flux cleaned = -0.0270694 Jy
! Component: 1600  -  total flux cleaned = -0.0273407 Jy
! Component: 1650  -  total flux cleaned = -0.0273411 Jy
! Component: 1700  -  total flux cleaned = -0.0278637 Jy
! Component: 1750  -  total flux cleaned = -0.0283111 Jy
! Component: 1800  -  total flux cleaned = -0.0281849 Jy
! Component: 1850  -  total flux cleaned = -0.0283704 Jy
! Component: 1900  -  total flux cleaned = -0.0286743 Jy
! Component: 1950  -  total flux cleaned = -0.0289146 Jy
! Component: 2000  -  total flux cleaned = -0.029385 Jy
! Total flux subtracted in 2048 components = -0.0296161 Jy
! Clean residual min=-0.003775 max=0.003228 Jy/beam
! Clean residual mean=-0.000032 rms=0.001172 Jy/beam
! Combined flux in latest and established models = 1.39879 Jy
keep
! Adding 140 model components to the UV plane model.
! The established model now contains 249 components and 1.39879 Jy
![Exited script file: muppet]
wmap "J2129-1821_S_1997_08_27_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.401 x 8.798 at -13.2 degrees (North through East)
! Clean map  min=-0.0075977  max=0.98656 Jy/beam
! Writing clean map to FITS file: J2129-1821_S_1997_08_27_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.986558 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00116148 
device "J2129-1821_S_1997_08_27_yyk\_map.eps/VPS"
! Attempting to open device: 'J2129-1821_S_1997_08_27_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.353191 0.353191 0.706383 1.41277 2.82553 5.65106 11.3021 22.6042 45.2085 90.417
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0034 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.986 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.401 x 8.798 at -13.2 degrees (North through East)
! Clean map  min=-0.0075977  max=0.98656 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2129-1821_S_1997_08_27_yyk\_map.gif/gif"
! Attempting to open device: 'J2129-1821_S_1997_08_27_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2129-1821_S_1997_08_27_yyk_uvs.log closed on Sun Jan  7 19:59:01 2007