! Started logfile: J0321+1221_S_1997_01_11_pus_uve.log on Sun Feb  5 17:01:13 2006
obs J0321+1221_S_1997_01_11_pus_uva.fits
! Reading UV FITS file: J0321+1221_S_1997_01_11_pus_uva.fits
! AN table 1: 208 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.880769 visibilities/baseline/integration-bin.
! Found source: J0321+1221
! 
! 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        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 606 lines of history.
! 
! Reading 32976 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
uvav time_av, true
! Averaging into 30 second bins.
! 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
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 5
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=7
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 old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
dev /xwindow
! Attempting to open device: '/xwindow'
rflags="m3"
radplot
! Overriding default options with user defined rflags="m3"
! Move the cursor into the plot window and press 'H' for help
tplot
! Using default options string ""
! Move the cursor into the plot window and press 'H' for help
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.943412 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 7 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 26 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.459488Jy  sigma=6.214634
! Fit after  self-cal, rms=0.459043Jy  sigma=6.204228
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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.998 mas, bmaj=6.598 mas, bpa=-1.263 degrees
! Estimated noise=1.43386 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.715861 Jy
! Component: 100  -  total flux cleaned = 0.912419 Jy
! Total flux subtracted in 100 components = 0.912419 Jy
! Clean residual min=-0.046388 max=0.208280 Jy/beam
! Clean residual mean=0.000719 rms=0.018696 Jy/beam
! Combined flux in latest and established models = 0.912419 Jy
! Performing phase self-cal over 7 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.912419 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.358985Jy  sigma=4.769299
! Fit after  self-cal, rms=0.356576Jy  sigma=4.736238
! Inverting map 
! Added new window around map position (-2.5, 12).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.194153 Jy
! Component: 100  -  total flux cleaned = 0.261001 Jy
! Total flux subtracted in 100 components = 0.261001 Jy
! Clean residual min=-0.038170 max=0.068529 Jy/beam
! Clean residual mean=0.000266 rms=0.011135 Jy/beam
! Combined flux in latest and established models = 1.17342 Jy
! Performing phase self-cal over 7 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 26 components and 1.17342 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.251525Jy  sigma=3.365458
! Fit after  self-cal, rms=0.233113Jy  sigma=3.056047
! 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=3.638 mas, bmaj=7.855 mas, bpa=-4.394 degrees
! Estimated noise=0.988295 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.0662785 Jy
! Component: 100  -  total flux cleaned = 0.0901552 Jy
! Component: 150  -  total flux cleaned = 0.0979949 Jy
! Component: 200  -  total flux cleaned = 0.100895 Jy
! Total flux subtracted in 200 components = 0.100895 Jy
! Clean residual min=-0.038427 max=0.084108 Jy/beam
! Clean residual mean=0.000445 rms=0.013499 Jy/beam
! Combined flux in latest and established models = 1.27431 Jy
! Performing phase self-cal over 7 minute time intervals
! Adding 42 model components to the UV plane model.
! The established model now contains 65 components and 1.27431 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.214061Jy  sigma=2.845013
! Fit after  self-cal, rms=0.211285Jy  sigma=2.800326
! Inverting map 
! Added new window around map position (-10.5, 36).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0928921 Jy
! Component: 100  -  total flux cleaned = 0.144019 Jy
! Component: 150  -  total flux cleaned = 0.179623 Jy
! Component: 200  -  total flux cleaned = 0.20656 Jy
! Total flux subtracted in 200 components = 0.20656 Jy
! Clean residual min=-0.028596 max=0.029988 Jy/beam
! Clean residual mean=0.000065 rms=0.006840 Jy/beam
! Combined flux in latest and established models = 1.48087 Jy
! Performing phase self-cal over 7 minute time intervals
! Adding 64 model components to the UV plane model.
! The established model now contains 125 components and 1.48088 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.176421Jy  sigma=2.240271
! Fit after  self-cal, rms=0.174943Jy  sigma=2.220219
! 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.638 x 7.855 at -4.394 degrees (North through East)
! Clean map  min=-0.025899  max=0.76535 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.04432
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.02     HN        1.09     KP        0.86     
!   LA        0.97     MK        0.93     NL        0.82     OV        1.05     
!   PT        0.99     SC        0.87     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.996396
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.09     HN        1.21     KP        0.97     
!   LA        1.06     MK        0.96     NL        0.88     OV        1.01     
!   PT        0.98     SC        0.88     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.03476
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.01     HN        1.05     KP        0.88     
!   LA        0.80     MK        0.87     NL        0.94     OV        0.90     
!   PT        1.17     SC        1.08     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.987621
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.06     HN        1.18     KP        0.96     
!   LA        0.87     MK        0.97     NL        1.00     OV        1.04     
!   PT        1.04     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.174943Jy  sigma=2.220219
! Fit after  self-cal, rms=0.127421Jy  sigma=1.607391
selfcal false, false, phase_soltime
! Performing phase self-cal over 7 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.127421Jy  sigma=1.607391
! Fit after  self-cal, rms=0.127371Jy  sigma=1.606920
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.601 mas, bmaj=7.769 mas, bpa=-3.878 degrees
! Estimated noise=1.00337 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.0281902 Jy
! Component: 100  -  total flux cleaned = 0.0451404 Jy
! Component: 150  -  total flux cleaned = 0.0530034 Jy
! Component: 200  -  total flux cleaned = 0.058175 Jy
! Total flux subtracted in 200 components = 0.058175 Jy
! Clean residual min=-0.011703 max=0.012706 Jy/beam
! Clean residual mean=0.000005 rms=0.002747 Jy/beam
! Combined flux in latest and established models = 1.53905 Jy
! Performing phase self-cal over 7 minute time intervals
! Adding 43 model components to the UV plane model.
! The established model now contains 162 components and 1.53905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.121520Jy  sigma=1.517547
! Fit after  self-cal, rms=0.121171Jy  sigma=1.513744
! 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.121171Jy  sigma=1.513744
! Fit after  self-cal, rms=0.112487Jy  sigma=1.379523
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)
! Added new window around map position (-3.5, 26).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0106221 Jy
! Component: 100  -  total flux cleaned = 0.0163715 Jy
! Component: 150  -  total flux cleaned = 0.0190763 Jy
! Component: 200  -  total flux cleaned = 0.0211726 Jy
! Total flux subtracted in 200 components = 0.0211726 Jy
! Clean residual min=-0.010023 max=0.008738 Jy/beam
! Clean residual mean=-0.000027 rms=0.002229 Jy/beam
! Combined flux in latest and established models = 1.56022 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 192 components and 1.56022 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.110100Jy  sigma=1.343821
! Fit after  self-cal, rms=0.109589Jy  sigma=1.335173
! 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.601 x 7.769 at -3.878 degrees (North through East)
! Clean map  min=-0.0098403  max=0.77982 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 5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109589Jy  sigma=1.335173
! Fit after  self-cal, rms=0.096732Jy  sigma=1.109469
! 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.096732Jy  sigma=1.109469
! Fit after  self-cal, rms=0.096767Jy  sigma=1.109061
! Inverting map and beam 
! Estimated beam: bmin=3.593 mas, bmaj=7.761 mas, bpa=-3.707 degrees
! Estimated noise=0.994851 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0016159 Jy
! Component: 100  -  total flux cleaned = 0.00531995 Jy
! Component: 150  -  total flux cleaned = 0.0067555 Jy
! Component: 200  -  total flux cleaned = 0.00718083 Jy
! Total flux subtracted in 200 components = 0.00718083 Jy
! Clean residual min=-0.008334 max=0.007181 Jy/beam
! Clean residual mean=0.000002 rms=0.001744 Jy/beam
! Combined flux in latest and established models = 1.5674 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 215 components and 1.5674 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.095458Jy  sigma=1.089375
! Fit after  self-cal, rms=0.095162Jy  sigma=1.086477
! 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.095162Jy  sigma=1.086477
! Fit after  self-cal, rms=0.089262Jy  sigma=1.040867
! 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.089262Jy  sigma=1.040867
! Fit after  self-cal, rms=0.089269Jy  sigma=1.040854
! Inverting map and beam 
! Estimated beam: bmin=3.589 mas, bmaj=7.757 mas, bpa=-3.776 degrees
! Estimated noise=0.99319 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 8.33328e-05 Jy
! Component: 100  -  total flux cleaned = 0.00151549 Jy
! Component: 150  -  total flux cleaned = 0.00222018 Jy
! Component: 200  -  total flux cleaned = 0.00253492 Jy
! Total flux subtracted in 200 components = 0.00253492 Jy
! Clean residual min=-0.007811 max=0.006636 Jy/beam
! Clean residual mean=0.000005 rms=0.001609 Jy/beam
! Combined flux in latest and established models = 1.56994 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 225 components and 1.56994 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088483Jy  sigma=1.029136
! Fit after  self-cal, rms=0.088226Jy  sigma=1.026758
! 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.422 mas, bmaj=11.25 mas, bpa=4.826 degrees
! Estimated noise=1.22944 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.00140071 Jy
! Component: 100  -  total flux cleaned = 0.000371896 Jy
! Component: 150  -  total flux cleaned = 0.00125505 Jy
! Component: 200  -  total flux cleaned = 0.00190553 Jy
! Total flux subtracted in 200 components = 0.00190553 Jy
! Clean residual min=-0.005743 max=0.006523 Jy/beam
! Clean residual mean=0.000004 rms=0.001727 Jy/beam
! Combined flux in latest and established models = 1.57184 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 48 model components to the UV plane model.
! The established model now contains 259 components and 1.57184 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088068Jy  sigma=1.022862
! Fit after  self-cal, rms=0.087855Jy  sigma=1.021171
! Inverting map 
uvtaper 0,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.972 mas, bmaj=6.568 mas, bpa=-0.9109 degrees
! Estimated noise=1.43391 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.746408 Jy
! Component: 100  -  total flux cleaned = 1.01242 Jy
! Component: 150  -  total flux cleaned = 1.1319 Jy
! Component: 200  -  total flux cleaned = 1.20478 Jy
! Total flux subtracted in 200 components = 1.20478 Jy
! Clean residual min=-0.019807 max=0.030504 Jy/beam
! Clean residual mean=0.000449 rms=0.006259 Jy/beam
! Combined flux in latest and established models = 1.20478 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 43 model components to the UV plane model.
! The established model now contains 43 components and 1.20478 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.589 mas, bmaj=7.757 mas, bpa=-3.776 degrees
! Estimated noise=0.99319 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.0773657 Jy
! Component: 100  -  total flux cleaned = 0.134452 Jy
! Component: 150  -  total flux cleaned = 0.17878 Jy
! Component: 200  -  total flux cleaned = 0.213485 Jy
! Total flux subtracted in 200 components = 0.213485 Jy
! Clean residual min=-0.012841 max=0.016404 Jy/beam
! Clean residual mean=0.000370 rms=0.004958 Jy/beam
! Combined flux in latest and established models = 1.41827 Jy
! Adding 68 model components to the UV plane model.
! The established model now contains 105 components and 1.41827 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.422 mas, bmaj=11.25 mas, bpa=4.826 degrees
! Estimated noise=1.22944 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.0427901 Jy
! Component: 100  -  total flux cleaned = 0.0716642 Jy
! Component: 150  -  total flux cleaned = 0.0923533 Jy
! Component: 200  -  total flux cleaned = 0.107517 Jy
! Total flux subtracted in 200 components = 0.107517 Jy
! Clean residual min=-0.008009 max=0.009939 Jy/beam
! Clean residual mean=0.000211 rms=0.002957 Jy/beam
! Combined flux in latest and established models = 1.52579 Jy
! Adding 125 model components to the UV plane model.
! The established model now contains 217 components and 1.52579 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.589 mas, bmaj=7.757 mas, bpa=-3.776 degrees
! Estimated noise=0.99319 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0115882 Jy
! Component: 100  -  total flux cleaned = 0.0196218 Jy
! Component: 150  -  total flux cleaned = 0.0239495 Jy
! Component: 200  -  total flux cleaned = 0.0276885 Jy
! Total flux subtracted in 200 components = 0.0276885 Jy
! Clean residual min=-0.006651 max=0.007604 Jy/beam
! Clean residual mean=0.000040 rms=0.001693 Jy/beam
! Combined flux in latest and established models = 1.55348 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 247 components and 1.55348 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.088803Jy  sigma=1.035163
! Fit after  self-cal, rms=0.087897Jy  sigma=1.023301
dev /xwindow
! Attempting to open device: '/xwindow'
rflags="m3"
radplot
! Overriding default options with user defined rflags="m3"
! Move the cursor into the plot window and press 'H' for help
tplot
! Using default options string ""
! Move the cursor into the plot window and press 'H' for help
rflags="m1-"
radplot
! Overriding default options with user defined rflags="m1-"
! Move the cursor into the plot window and press 'H' for help
! Applying 2 buffered edits.
vplot 3
! Using default options string "efbm3"
! For help move the cursor into the plot window and press 'H'.
rflags="m3"
radplot
! Overriding default options with user defined rflags="m3"
! Move the cursor into the plot window and press 'H' for help
uncal true,true
! uncal: All telescope phase corrections have been un-done.
! uncal: All telescope amplitude corrections have been un-done.
wobs "J0321+1221_S_1997_01_11_pus\_uve.fits"
! Writing UV FITS file: J0321+1221_S_1997_01_11_pus_uve.fits
print "* Congratulations, you are done!"
! * Congratulations, you are done! 
quit
! Quitting program
! Log file J0321+1221_S_1997_01_11_pus_uve.log closed on Sun Feb  5 17:01:51 2006