! Started logfile: J0450-1837_X_1997_07_02_yyk_uvs.log on Mon Jan  8 03:07:20 2007
obs J0450-1837_X_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0450-1837_X_1997_07_02_yyk_uva.fits
! AN table 1: 148 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1.28363 visibilities/baseline/integration-bin.
! Found source: J0450-1837
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 753 lines of history.
! 
! Reading 34196 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 J0450-1837_X_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.283331 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.7994 mas, bmaj=2.213 mas, bpa=-4.756 degrees
! Estimated noise=1070.84 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.159447 Jy
! Component: 100  -  total flux cleaned = 0.193732 Jy
! Total flux subtracted in 100 components = 0.193732 Jy
! Clean residual min=-0.010089 max=0.019798 Jy/beam
! Clean residual mean=-0.000166 rms=0.003323 Jy/beam
! Combined flux in latest and established models = 0.193732 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.193732 Jy
! 
! Correcting IF 1.
!  A total of 88 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 88 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 88 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 88 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.205980Jy  sigma=0.001522
! Fit after  self-cal, rms=0.205316Jy  sigma=0.001518
! Inverting map and beam 
! Estimated beam: bmin=0.7994 mas, bmaj=2.213 mas, bpa=-4.756 degrees
! Estimated noise=1070.84 mJy/beam.
! Added new window around map position (6.8, 2).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0239432 Jy
! Component: 100  -  total flux cleaned = 0.0376324 Jy
! Total flux subtracted in 100 components = 0.0376324 Jy
! Clean residual min=-0.009321 max=0.014727 Jy/beam
! Clean residual mean=-0.000085 rms=0.002546 Jy/beam
! Combined flux in latest and established models = 0.231364 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 23 components and 0.231364 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.202787Jy  sigma=0.001495
! Fit after  self-cal, rms=0.202692Jy  sigma=0.001494
! 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=1.022 mas, bmaj=2.74 mas, bpa=-4.7 degrees
! Estimated noise=610.08 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.8, 1.4).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.023441 Jy
! Component: 100  -  total flux cleaned = 0.0363891 Jy
! Component: 150  -  total flux cleaned = 0.0451025 Jy
! Component: 200  -  total flux cleaned = 0.0511288 Jy
! Total flux subtracted in 200 components = 0.0511288 Jy
! Clean residual min=-0.005060 max=0.007196 Jy/beam
! Clean residual mean=-0.000055 rms=0.001636 Jy/beam
! Combined flux in latest and established models = 0.282493 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 60 components and 0.282493 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.200868Jy  sigma=0.001478
! Fit after  self-cal, rms=0.200709Jy  sigma=0.001477
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.022 x 2.74 at -4.7 degrees (North through East)
! Clean map  min=-0.0047591  max=0.19316 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
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.01794
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.02     HN        0.99     KP        0.98     
!   LA        1.00     MK        0.97     NL        1.00     OV        1.01     
!   PT        0.91     SC        0.93     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.01811
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.02     HN        0.95     KP        0.99     
!   LA        0.96     MK        1.00     NL        0.99     OV        1.06     
!   PT        0.84     SC        0.98     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.997827
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.05     HN        0.97     KP        0.99     
!   LA        0.97     MK        1.06     NL        1.02     OV        0.98     
!   PT        0.95     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.976542
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        1.07     HN        1.03     KP        0.99     
!   LA        0.98     MK        0.99     NL        1.04     OV        1.01     
!   PT        0.97     SC        1.06     
! 
! 
! Fit before self-cal, rms=0.200709Jy  sigma=0.001477
! Fit after  self-cal, rms=0.201443Jy  sigma=0.001474
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.201443Jy  sigma=0.001474
! Fit after  self-cal, rms=0.201445Jy  sigma=0.001474
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.028 mas, bmaj=2.772 mas, bpa=-4.731 degrees
! Estimated noise=603.12 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.4, 2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00676117 Jy
! Component: 100  -  total flux cleaned = 0.00839536 Jy
! Component: 150  -  total flux cleaned = 0.00839296 Jy
! Component: 200  -  total flux cleaned = 0.00847888 Jy
! Total flux subtracted in 200 components = 0.00847888 Jy
! Clean residual min=-0.003201 max=0.003219 Jy/beam
! Clean residual mean=-0.000011 rms=0.000870 Jy/beam
! Combined flux in latest and established models = 0.290972 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 88 components and 0.290972 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.201244Jy  sigma=0.001472
! Fit after  self-cal, rms=0.201229Jy  sigma=0.001472
! 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.201229Jy  sigma=0.001472
! Fit after  self-cal, rms=0.198147Jy  sigma=0.001451
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.00297953 Jy
! Component: 100  -  total flux cleaned = 0.00333663 Jy
! Component: 150  -  total flux cleaned = 0.00326319 Jy
! Component: 200  -  total flux cleaned = 0.00313006 Jy
! Total flux subtracted in 200 components = 0.00313006 Jy
! Clean residual min=-0.003228 max=0.003403 Jy/beam
! Clean residual mean=-0.000009 rms=0.000838 Jy/beam
! Combined flux in latest and established models = 0.294102 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 104 components and 0.294102 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198080Jy  sigma=0.001451
! Fit after  self-cal, rms=0.197565Jy  sigma=0.001447
! 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: 1.028 x 2.772 at -4.731 degrees (North through East)
! Clean map  min=-0.0030639  max=0.19427 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.197565Jy  sigma=0.001447
! Fit after  self-cal, rms=0.197130Jy  sigma=0.001445
! 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.197130Jy  sigma=0.001445
! Fit after  self-cal, rms=0.196986Jy  sigma=0.001443
! Inverting map and beam 
! Estimated beam: bmin=1.033 mas, bmaj=2.76 mas, bpa=-4.493 degrees
! Estimated noise=597.866 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00144502 Jy
! Component: 100  -  total flux cleaned = 0.00150221 Jy
! Component: 150  -  total flux cleaned = 0.00145709 Jy
! Component: 200  -  total flux cleaned = 0.00141517 Jy
! Total flux subtracted in 200 components = 0.00141517 Jy
! Clean residual min=-0.002782 max=0.002677 Jy/beam
! Clean residual mean=0.000001 rms=0.000684 Jy/beam
! Combined flux in latest and established models = 0.295517 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 125 components and 0.295517 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196964Jy  sigma=0.001443
! Fit after  self-cal, rms=0.196909Jy  sigma=0.001443
! 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.196909Jy  sigma=0.001443
! Fit after  self-cal, rms=0.197419Jy  sigma=0.001441
! 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.197419Jy  sigma=0.001441
! Fit after  self-cal, rms=0.197394Jy  sigma=0.001440
! Inverting map and beam 
! Estimated beam: bmin=1.031 mas, bmaj=2.755 mas, bpa=-4.414 degrees
! Estimated noise=598.819 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00111608 Jy
! Component: 100  -  total flux cleaned = 0.00133033 Jy
! Component: 150  -  total flux cleaned = 0.00136767 Jy
! Component: 200  -  total flux cleaned = 0.00133404 Jy
! Total flux subtracted in 200 components = 0.00133404 Jy
! Clean residual min=-0.002591 max=0.002709 Jy/beam
! Clean residual mean=-0.000001 rms=0.000664 Jy/beam
! Combined flux in latest and established models = 0.296851 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 139 components and 0.296851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197380Jy  sigma=0.001440
! Fit after  self-cal, rms=0.197371Jy  sigma=0.001440
! 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.277 mas, bmaj=4.724 mas, bpa=-8.464 degrees
! Estimated noise=732.955 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.000158832 Jy
! Component: 100  -  total flux cleaned = -0.000365479 Jy
! Component: 150  -  total flux cleaned = -0.000479629 Jy
! Component: 200  -  total flux cleaned = -0.000529443 Jy
! Total flux subtracted in 200 components = -0.000529443 Jy
! Clean residual min=-0.002223 max=0.002546 Jy/beam
! Clean residual mean=-0.000003 rms=0.000780 Jy/beam
! Combined flux in latest and established models = 0.296322 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 148 components and 0.296322 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197369Jy  sigma=0.001440
! Fit after  self-cal, rms=0.197364Jy  sigma=0.001440
! 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.805 mas, bmaj=2.219 mas, bpa=-4.744 degrees
! Estimated noise=1069.11 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.163056 Jy
! Component: 100  -  total flux cleaned = 0.202366 Jy
! Component: 150  -  total flux cleaned = 0.226871 Jy
! Component: 200  -  total flux cleaned = 0.243669 Jy
! Total flux subtracted in 200 components = 0.243669 Jy
! Clean residual min=-0.006662 max=0.007054 Jy/beam
! Clean residual mean=-0.000088 rms=0.002042 Jy/beam
! Combined flux in latest and established models = 0.243668 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 26 model components to the UV plane model.
! The established model now contains 26 components and 0.243668 Jy
! Inverting map and beam 
! Estimated beam: bmin=1.031 mas, bmaj=2.755 mas, bpa=-4.414 degrees
! Estimated noise=598.819 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.4, 2).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0184892 Jy
! Component: 100  -  total flux cleaned = 0.0300836 Jy
! Component: 150  -  total flux cleaned = 0.0378549 Jy
! Component: 200  -  total flux cleaned = 0.0432643 Jy
! Total flux subtracted in 200 components = 0.0432643 Jy
! Clean residual min=-0.003120 max=0.003317 Jy/beam
! Clean residual mean=-0.000026 rms=0.000853 Jy/beam
! Combined flux in latest and established models = 0.286933 Jy
! Adding 51 model components to the UV plane model.
! The established model now contains 67 components and 0.286933 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.277 mas, bmaj=4.724 mas, bpa=-8.464 degrees
! Estimated noise=732.955 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.00519287 Jy
! Component: 100  -  total flux cleaned = 0.00671938 Jy
! Component: 150  -  total flux cleaned = 0.00766226 Jy
! Component: 200  -  total flux cleaned = 0.00827788 Jy
! Total flux subtracted in 200 components = 0.00827788 Jy
! Clean residual min=-0.002368 max=0.002561 Jy/beam
! Clean residual mean=-0.000006 rms=0.000805 Jy/beam
! Combined flux in latest and established models = 0.295211 Jy
! Adding 55 model components to the UV plane model.
! The established model now contains 105 components and 0.295211 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=1.031 mas, bmaj=2.755 mas, bpa=-4.414 degrees
! Estimated noise=598.819 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000225185 Jy
! Component: 100  -  total flux cleaned = 0.000409034 Jy
! Component: 150  -  total flux cleaned = 0.000515181 Jy
! Component: 200  -  total flux cleaned = 0.000563963 Jy
! Total flux subtracted in 200 components = 0.000563963 Jy
! Clean residual min=-0.002532 max=0.002624 Jy/beam
! Clean residual mean=-0.000003 rms=0.000677 Jy/beam
! Combined flux in latest and established models = 0.295775 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 122 components and 0.295775 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197393Jy  sigma=0.001440
! Fit after  self-cal, rms=0.197385Jy  sigma=0.001440
wmodel J0450-1837_X_1997_07_02_yyk\_map.mod
! Writing 122 model components to file: J0450-1837_X_1997_07_02_yyk_map.mod
wobs J0450-1837_X_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0450-1837_X_1997_07_02_yyk_uvs.fits
wwins J0450-1837_X_1997_07_02_yyk\_map.win
! wwins: Wrote 5 windows to J0450-1837_X_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.000531089 Jy
! Component: 100  -  total flux cleaned = 0.000897177 Jy
! Component: 150  -  total flux cleaned = 0.00116517 Jy
! Component: 200  -  total flux cleaned = 0.00138536 Jy
! Component: 250  -  total flux cleaned = 0.00142148 Jy
! Component: 300  -  total flux cleaned = 0.00148996 Jy
! Component: 350  -  total flux cleaned = 0.00145678 Jy
! Component: 400  -  total flux cleaned = 0.00142373 Jy
! Component: 450  -  total flux cleaned = 0.00139252 Jy
! Component: 500  -  total flux cleaned = 0.00148416 Jy
! Component: 550  -  total flux cleaned = 0.00151282 Jy
! Component: 600  -  total flux cleaned = 0.00145463 Jy
! Component: 650  -  total flux cleaned = 0.00142645 Jy
! Component: 700  -  total flux cleaned = 0.00139914 Jy
! Component: 750  -  total flux cleaned = 0.00134444 Jy
! Component: 800  -  total flux cleaned = 0.00121049 Jy
! Component: 850  -  total flux cleaned = 0.00113214 Jy
! Component: 900  -  total flux cleaned = 0.0010291 Jy
! Component: 950  -  total flux cleaned = 0.000953226 Jy
! Component: 1000  -  total flux cleaned = 0.000903344 Jy
! Component: 1050  -  total flux cleaned = 0.000878756 Jy
! Component: 1100  -  total flux cleaned = 0.00092675 Jy
! Component: 1150  -  total flux cleaned = 0.00102195 Jy
! Component: 1200  -  total flux cleaned = 0.00106896 Jy
! Component: 1250  -  total flux cleaned = 0.00118485 Jy
! Component: 1300  -  total flux cleaned = 0.00127626 Jy
! Component: 1350  -  total flux cleaned = 0.00123105 Jy
! Component: 1400  -  total flux cleaned = 0.00129789 Jy
! Component: 1450  -  total flux cleaned = 0.00127584 Jy
! Component: 1500  -  total flux cleaned = 0.00129777 Jy
! Component: 1550  -  total flux cleaned = 0.00123294 Jy
! Component: 1600  -  total flux cleaned = 0.00125437 Jy
! Component: 1650  -  total flux cleaned = 0.00123322 Jy
! Component: 1700  -  total flux cleaned = 0.00127533 Jy
! Component: 1750  -  total flux cleaned = 0.00125431 Jy
! Component: 1800  -  total flux cleaned = 0.00131596 Jy
! Component: 1850  -  total flux cleaned = 0.00131616 Jy
! Component: 1900  -  total flux cleaned = 0.0013969 Jy
! Component: 1950  -  total flux cleaned = 0.00141685 Jy
! Component: 2000  -  total flux cleaned = 0.00141701 Jy
! Total flux subtracted in 2048 components = 0.00145637 Jy
! Clean residual min=-0.001368 max=0.001018 Jy/beam
! Clean residual mean=0.000002 rms=0.000397 Jy/beam
! Combined flux in latest and established models = 0.297231 Jy
keep
! Adding 140 model components to the UV plane model.
! The established model now contains 262 components and 0.297231 Jy
![Exited script file: muppet]
wmap "J0450-1837_X_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.031 x 2.755 at -4.414 degrees (North through East)
! Clean map  min=-0.0016939  max=0.19377 Jy/beam
! Writing clean map to FITS file: J0450-1837_X_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.193774 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000396876 
device "J0450-1837_X_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0450-1837_X_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.614441 0.614441 1.22888 2.45776 4.91553 9.83106 19.6621 39.3242 78.6484
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.193 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.031 x 2.755 at -4.414 degrees (North through East)
! Clean map  min=-0.0016939  max=0.19377 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0450-1837_X_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0450-1837_X_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0450-1837_X_1997_07_02_yyk_uvs.log closed on Mon Jan  8 03:07:30 2007