! Started logfile: J0005-1648_S_1997_07_02_yyk_uvs.log on Sun Jan  7 15:14:47 2007
obs J0005-1648_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0005-1648_S_1997_07_02_yyk_uva.fits
! AN table 1: 147 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1.20831 visibilities/baseline/integration-bin.
! Found source: J0005-1648
! 
! 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 754 lines of history.
! 
! Reading 31972 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 J0005-1648_S_1997_07_02_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.448532 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.897 mas, bmaj=7.693 mas, bpa=-9.44 degrees
! Estimated noise=1837.36 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.266723 Jy
! Component: 100  -  total flux cleaned = 0.303456 Jy
! Total flux subtracted in 100 components = 0.303456 Jy
! Clean residual min=-0.011681 max=0.014181 Jy/beam
! Clean residual mean=-0.000027 rms=0.003571 Jy/beam
! Combined flux in latest and established models = 0.303456 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.303456 Jy
! 
! Correcting IF 1.
!  A total of 385 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 239 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 239 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 239 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.323404Jy  sigma=0.001544
! Fit after  self-cal, rms=0.323139Jy  sigma=0.001543
! Inverting map and beam 
! Estimated beam: bmin=2.897 mas, bmaj=7.693 mas, bpa=-9.44 degrees
! Estimated noise=1837.36 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.629 mas, bmaj=9.182 mas, bpa=-9.686 degrees
! Estimated noise=980.973 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.00981512 Jy
! Component: 100  -  total flux cleaned = 0.0096656 Jy
! Component: 150  -  total flux cleaned = 0.00978675 Jy
! Component: 200  -  total flux cleaned = 0.00989267 Jy
! Total flux subtracted in 200 components = 0.00989267 Jy
! Clean residual min=-0.008764 max=0.011599 Jy/beam
! Clean residual mean=0.000195 rms=0.003059 Jy/beam
! Combined flux in latest and established models = 0.313348 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 17 components and 0.313349 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322867Jy  sigma=0.001542
! Fit after  self-cal, rms=0.322809Jy  sigma=0.001541
! 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.629 x 9.182 at -9.686 degrees (North through East)
! Clean map  min=-0.0082561  max=0.30243 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.01554
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.10     HN        0.91     KP        0.88     
!   LA        1.01     MK        1.02     NL        1.00*    OV        1.16     
!   PT        0.95     SC        0.80     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.97478
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.21     HN        0.99     KP        0.93     
!   LA        1.08     MK        1.06     NL        0.98     OV        1.03     
!   PT        0.94     SC        0.97     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.04434
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.07     HN        0.98     KP        0.94     
!   LA        0.81     MK        0.88     NL        0.93     OV        0.95     
!   PT        1.07     SC        1.01     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.990534
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.14     HN        1.10     KP        0.95     
!   LA        0.88     MK        1.04     NL        1.05     OV        0.94     
!   PT        0.89     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.322809Jy  sigma=0.001541
! Fit after  self-cal, rms=0.313131Jy  sigma=0.001530
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.313131Jy  sigma=0.001530
! Fit after  self-cal, rms=0.313130Jy  sigma=0.001530
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.598 mas, bmaj=9.092 mas, bpa=-8.868 degrees
! Estimated noise=978.391 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.00220003 Jy
! Component: 100  -  total flux cleaned = 0.00266931 Jy
! Component: 150  -  total flux cleaned = 0.00279933 Jy
! Component: 200  -  total flux cleaned = 0.0027976 Jy
! Total flux subtracted in 200 components = 0.0027976 Jy
! Clean residual min=-0.004999 max=0.005199 Jy/beam
! Clean residual mean=0.000013 rms=0.001351 Jy/beam
! Combined flux in latest and established models = 0.316146 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 32 components and 0.316146 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.313081Jy  sigma=0.001529
! Fit after  self-cal, rms=0.313048Jy  sigma=0.001529
! 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.313048Jy  sigma=0.001529
! Fit after  self-cal, rms=0.312055Jy  sigma=0.001525
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.00056546 Jy
! Component: 100  -  total flux cleaned = 0.000772452 Jy
! Component: 150  -  total flux cleaned = 0.000719975 Jy
! Component: 200  -  total flux cleaned = 0.00072095 Jy
! Total flux subtracted in 200 components = 0.00072095 Jy
! Clean residual min=-0.004925 max=0.004843 Jy/beam
! Clean residual mean=0.000013 rms=0.001304 Jy/beam
! Combined flux in latest and established models = 0.316867 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 40 components and 0.316867 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.312031Jy  sigma=0.001525
! Fit after  self-cal, rms=0.311923Jy  sigma=0.001524
! 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.598 x 9.092 at -8.868 degrees (North through East)
! Clean map  min=-0.004723  max=0.3033 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.311923Jy  sigma=0.001524
! Fit after  self-cal, rms=0.309431Jy  sigma=0.001521
! 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.309431Jy  sigma=0.001521
! Fit after  self-cal, rms=0.309431Jy  sigma=0.001521
! Inverting map and beam 
! Estimated beam: bmin=3.595 mas, bmaj=9.077 mas, bpa=-8.837 degrees
! Estimated noise=975.346 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000429201 Jy
! Component: 100  -  total flux cleaned = 0.000211477 Jy
! Component: 150  -  total flux cleaned = 0.000167505 Jy
! Component: 200  -  total flux cleaned = 0.000166978 Jy
! Total flux subtracted in 200 components = 0.000166978 Jy
! Clean residual min=-0.004660 max=0.004798 Jy/beam
! Clean residual mean=0.000014 rms=0.001218 Jy/beam
! Combined flux in latest and established models = 0.317034 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 47 components and 0.317034 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.309418Jy  sigma=0.001521
! Fit after  self-cal, rms=0.309418Jy  sigma=0.001521
! 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.309418Jy  sigma=0.001521
! Fit after  self-cal, rms=0.310874Jy  sigma=0.001519
! 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.310874Jy  sigma=0.001519
! Fit after  self-cal, rms=0.310897Jy  sigma=0.001519
! Inverting map and beam 
! Estimated beam: bmin=3.592 mas, bmaj=9.06 mas, bpa=-8.691 degrees
! Estimated noise=976.479 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000842727 Jy
! Component: 100  -  total flux cleaned = 0.000795875 Jy
! Component: 150  -  total flux cleaned = 0.000794027 Jy
! Component: 200  -  total flux cleaned = 0.000764447 Jy
! Total flux subtracted in 200 components = 0.000764447 Jy
! Clean residual min=-0.004576 max=0.004721 Jy/beam
! Clean residual mean=0.000013 rms=0.001205 Jy/beam
! Combined flux in latest and established models = 0.317798 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 51 components and 0.317798 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310891Jy  sigma=0.001519
! Fit after  self-cal, rms=0.310902Jy  sigma=0.001519
! 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=8.061 mas, bmaj=16.16 mas, bpa=-9.36 degrees
! Estimated noise=1209.45 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.00034949 Jy
! Component: 100  -  total flux cleaned = 0.000203571 Jy
! Component: 150  -  total flux cleaned = 0.000126141 Jy
! Component: 200  -  total flux cleaned = 6.6213e-05 Jy
! Total flux subtracted in 200 components = 6.6213e-05 Jy
! Clean residual min=-0.005876 max=0.004501 Jy/beam
! Clean residual mean=0.000022 rms=0.001468 Jy/beam
! Combined flux in latest and established models = 0.317865 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 66 components and 0.317865 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310907Jy  sigma=0.001519
! Fit after  self-cal, rms=0.310920Jy  sigma=0.001519
! 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.885 mas, bmaj=7.622 mas, bpa=-9.046 degrees
! Estimated noise=1822.17 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.265179 Jy
! Component: 100  -  total flux cleaned = 0.306439 Jy
! Component: 150  -  total flux cleaned = 0.318078 Jy
! Component: 200  -  total flux cleaned = 0.317273 Jy
! Total flux subtracted in 200 components = 0.317273 Jy
! Clean residual min=-0.007268 max=0.007160 Jy/beam
! Clean residual mean=-0.000055 rms=0.002201 Jy/beam
! Combined flux in latest and established models = 0.317273 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 13 model components to the UV plane model.
! The established model now contains 13 components and 0.317273 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.592 mas, bmaj=9.06 mas, bpa=-8.691 degrees
! Estimated noise=976.479 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 = -9.29709e-05 Jy
! Component: 100  -  total flux cleaned = 0.000295687 Jy
! Component: 150  -  total flux cleaned = 0.000485821 Jy
! Component: 200  -  total flux cleaned = 0.000480158 Jy
! Total flux subtracted in 200 components = 0.000480158 Jy
! Clean residual min=-0.004501 max=0.004580 Jy/beam
! Clean residual mean=0.000013 rms=0.001215 Jy/beam
! Combined flux in latest and established models = 0.317753 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 33 components and 0.317753 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=8.061 mas, bmaj=16.16 mas, bpa=-9.36 degrees
! Estimated noise=1209.45 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.000330078 Jy
! Component: 100  -  total flux cleaned = 0.000244473 Jy
! Component: 150  -  total flux cleaned = 0.000182961 Jy
! Component: 200  -  total flux cleaned = 0.000150171 Jy
! Total flux subtracted in 200 components = 0.000150171 Jy
! Clean residual min=-0.005899 max=0.004550 Jy/beam
! Clean residual mean=0.000022 rms=0.001465 Jy/beam
! Combined flux in latest and established models = 0.317903 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 38 components and 0.317903 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.592 mas, bmaj=9.06 mas, bpa=-8.691 degrees
! Estimated noise=976.479 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000117529 Jy
! Component: 100  -  total flux cleaned = -0.00016485 Jy
! Component: 150  -  total flux cleaned = -0.000167061 Jy
! Component: 200  -  total flux cleaned = -0.000165414 Jy
! Total flux subtracted in 200 components = -0.000165414 Jy
! Clean residual min=-0.004591 max=0.004564 Jy/beam
! Clean residual mean=0.000013 rms=0.001196 Jy/beam
! Combined flux in latest and established models = 0.317738 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 47 components and 0.317738 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.310926Jy  sigma=0.001519
! Fit after  self-cal, rms=0.310938Jy  sigma=0.001519
wmodel J0005-1648_S_1997_07_02_yyk\_map.mod
! Writing 47 model components to file: J0005-1648_S_1997_07_02_yyk_map.mod
wobs J0005-1648_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0005-1648_S_1997_07_02_yyk_uvs.fits
wwins J0005-1648_S_1997_07_02_yyk\_map.win
! wwins: Wrote 1 windows to J0005-1648_S_1997_07_02_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.000645777 Jy
! Component: 100  -  total flux cleaned = 0.00142667 Jy
! Component: 150  -  total flux cleaned = 0.00149408 Jy
! Component: 200  -  total flux cleaned = 0.00137237 Jy
! Component: 250  -  total flux cleaned = 0.00131215 Jy
! Component: 300  -  total flux cleaned = 0.00109163 Jy
! Component: 350  -  total flux cleaned = 0.000828285 Jy
! Component: 400  -  total flux cleaned = 0.000576966 Jy
! Component: 450  -  total flux cleaned = 0.000431775 Jy
! Component: 500  -  total flux cleaned = 0.000336648 Jy
! Component: 550  -  total flux cleaned = 6.42103e-05 Jy
! Component: 600  -  total flux cleaned = -2.35248e-05 Jy
! Component: 650  -  total flux cleaned = -0.000195617 Jy
! Component: 700  -  total flux cleaned = -0.000278445 Jy
! Component: 750  -  total flux cleaned = -0.000359219 Jy
! Component: 800  -  total flux cleaned = -0.000437345 Jy
! Component: 850  -  total flux cleaned = -0.0005139 Jy
! Component: 900  -  total flux cleaned = -0.000665371 Jy
! Component: 950  -  total flux cleaned = -0.000775593 Jy
! Component: 1000  -  total flux cleaned = -0.000883741 Jy
! Component: 1050  -  total flux cleaned = -0.000813182 Jy
! Component: 1100  -  total flux cleaned = -0.00102345 Jy
! Component: 1150  -  total flux cleaned = -0.00102231 Jy
! Component: 1200  -  total flux cleaned = -0.00112268 Jy
! Component: 1250  -  total flux cleaned = -0.00118865 Jy
! Component: 1300  -  total flux cleaned = -0.00134985 Jy
! Component: 1350  -  total flux cleaned = -0.00147695 Jy
! Component: 1400  -  total flux cleaned = -0.00160179 Jy
! Component: 1450  -  total flux cleaned = -0.00166318 Jy
! Component: 1500  -  total flux cleaned = -0.00175387 Jy
! Component: 1550  -  total flux cleaned = -0.00187315 Jy
! Component: 1600  -  total flux cleaned = -0.00196054 Jy
! Component: 1650  -  total flux cleaned = -0.00201793 Jy
! Component: 1700  -  total flux cleaned = -0.0021315 Jy
! Component: 1750  -  total flux cleaned = -0.00227154 Jy
! Component: 1800  -  total flux cleaned = -0.00235496 Jy
! Component: 1850  -  total flux cleaned = -0.00251918 Jy
! Component: 1900  -  total flux cleaned = -0.00262758 Jy
! Component: 1950  -  total flux cleaned = -0.00278783 Jy
! Component: 2000  -  total flux cleaned = -0.00281398 Jy
! Total flux subtracted in 2048 components = -0.002918 Jy
! Clean residual min=-0.001447 max=0.001964 Jy/beam
! Clean residual mean=0.000020 rms=0.000538 Jy/beam
! Combined flux in latest and established models = 0.31482 Jy
keep
! Adding 132 model components to the UV plane model.
! The established model now contains 179 components and 0.31482 Jy
![Exited script file: muppet]
wmap "J0005-1648_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.592 x 9.06 at -8.691 degrees (North through East)
! Clean map  min=-0.0029025  max=0.30311 Jy/beam
! Writing clean map to FITS file: J0005-1648_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.303115 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00053886 
device "J0005-1648_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0005-1648_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.533323 0.533323 1.06665 2.13329 4.26658 8.53316 17.0663 34.1326 68.2653
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.303 
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.592 x 9.06 at -8.691 degrees (North through East)
! Clean map  min=-0.0029025  max=0.30311 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0005-1648_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0005-1648_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0005-1648_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 15:14:53 2007