! Started logfile: 1313-333_X.log on Wed May  3 15:56:00 1995
observe 1313-333_X.edt
! Reading UV FITS file: 1313-333_X.edt
! AN table 1: 175 integrations on 43 of 45 possible baselines.
! Apparent sampling: 0.659668 visibilities/baseline/integration-bin.
! Found source: 1313-333
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.15049e+09         4e+06         4e+06       USB
! 02  8.23049e+09         4e+06         4e+06       USB
! 03  8.41049e+09         4e+06         4e+06       USB
! 04  8.55049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 595 lines of history.
! 
! Reading 19856 visibilities.
! Selecting polarization: RR,  channels: 1..1
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.2
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 11.0
float win_mult
win_mult = 1.8
float solint
solint = 1.0
logical dophs
dophs = true
logical doamp
float new_peak
float flux_cutoff
mapsize field_size,field_cell
! Map grid = 1024x1024 pixels with 0.200x0.200 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! 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 470 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 470 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 470 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 470 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.848313Jy  sigma=5.207158
! Fit after  self-cal, rms=0.848385Jy  sigma=5.209190
! 
! Reinstating the default IF.
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvweight 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.
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.663 mas, bmaj=1.845 mas, bpa=-0.1767 degrees
! Estimated noise=1.67142 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, dophs, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.36535 Jy
! Total flux subtracted in 50 components = 1.36535 Jy
! Clean residual min=-0.124209 max=0.380976 Jy/beam
! Clean residual mean=-0.000132 rms=0.016546 Jy/beam
! Combined flux in latest and established models = 1.36535 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1.36535 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.511061Jy  sigma=3.137617
! Fit after  self-cal, rms=0.511061Jy  sigma=3.137620
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.297741 Jy
! Total flux subtracted in 50 components = 0.297741 Jy
! Clean residual min=-0.047469 max=0.083798 Jy/beam
! Clean residual mean=-0.000093 rms=0.008047 Jy/beam
! Combined flux in latest and established models = 1.66309 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 2 model components to the UV plane model.
! The established model now contains 2 components and 1.66309 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.291412Jy  sigma=1.787356
! Fit after  self-cal, rms=0.291410Jy  sigma=1.787341
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Uniform Weighting CLEAN ***"
! *** Finished Uniform Weighting CLEAN *** 
print "****************************************"
! **************************************** 
uvweight 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9238 mas, bmaj=2.542 mas, bpa=-0.1189 degrees
! Estimated noise=0.867805 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, dophs, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.127663 Jy
! Component: 100  -  total flux cleaned = 0.170981 Jy
! Total flux subtracted in 100 components = 0.170981 Jy
! Clean residual min=-0.025841 max=0.061932 Jy/beam
! Clean residual mean=-0.000445 rms=0.007675 Jy/beam
! Combined flux in latest and established models = 1.83407 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 1.83407 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.241830Jy  sigma=1.481355
! Fit after  self-cal, rms=0.241775Jy  sigma=1.481015
! 
! Reinstating the default IF.
! Inverting map 
print "****************************************"
! **************************************** 
print "*** Finished Natural Weighting CLEAN ***"
! *** Finished Natural Weighting CLEAN *** 
print "****************************************"
! **************************************** 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     HN        1.24     KP        0.96     
!   LA        0.97     MK        0.96     NL        1.10     OV        0.99     
!   PT        0.95     SC        1.01     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.96     HN        1.26     KP        0.97     
!   LA        0.97     MK        0.97     NL        1.09     OV        0.98     
!   PT        0.95     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     HN        1.23     KP        0.97     
!   LA        0.97     MK        0.97     NL        1.10     OV        0.99     
!   PT        0.96     SC        1.01     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.98     HN        1.25     KP        0.97     
!   LA        0.97     MK        0.98     NL        1.11     OV        1.00     
!   PT        0.96     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.241775Jy  sigma=1.481015
! Fit after  self-cal, rms=0.209769Jy  sigma=1.278799
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9238 mas, bmaj=2.545 mas, bpa=-0.2531 degrees
! Estimated noise=0.859986 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, dophs, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00335514 Jy
! Component: 100  -  total flux cleaned = 0.00301553 Jy
! Total flux subtracted in 100 components = 0.00301553 Jy
! Clean residual min=-0.019272 max=0.035918 Jy/beam
! Clean residual mean=-0.000189 rms=0.004577 Jy/beam
! Combined flux in latest and established models = 1.83708 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 19 components and 1.83708 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.209560Jy  sigma=1.277528
! Fit after  self-cal, rms=0.209553Jy  sigma=1.277323
! 
! Reinstating the default IF.
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * 1.5
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 doamp, dophs, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 3.50266e-05 Jy
! Component: 100  -  total flux cleaned = -0.000271457 Jy
! Total flux subtracted in 100 components = -0.000271457 Jy
! Clean residual min=-0.019147 max=0.035796 Jy/beam
! Clean residual mean=-0.000190 rms=0.004563 Jy/beam
! Combined flux in latest and established models = 1.83681 Jy
! Performing amp+phase self-cal over 1.5 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 21 components and 1.83681 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.209427Jy  sigma=1.276559
! Fit after  self-cal, rms=0.174903Jy  sigma=1.053725
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=0.9242 mas, bmaj=2.554 mas, bpa=-0.1527 degrees
! Estimated noise=0.861626 mJy/beam.
doamp = false
solint = solint / 1.5
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 doamp, dophs, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-4.2, 2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0322857 Jy
! Component: 100  -  total flux cleaned = 0.0495103 Jy
! Total flux subtracted in 100 components = 0.0495103 Jy
! Clean residual min=-0.009772 max=0.018687 Jy/beam
! Clean residual mean=-0.000037 rms=0.002190 Jy/beam
! Combined flux in latest and established models = 1.88632 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 40 components and 1.88632 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169630Jy  sigma=1.018931
! Fit after  self-cal, rms=0.169386Jy  sigma=1.017546
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1313-333_X
! Writing UV FITS file: 1313-333_X.uvf
! Writing 40 model components to file: 1313-333_X.mod
! wwins: Wrote 2 windows to 1313-333_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9242 x 2.554 at -0.1527 degrees (North through East)
! Clean map  min=-0.0090942  max=1.785 Jy/beam
! Writing clean map to FITS file: 1313-333_X.fits
! Writing difmap environment to: 1313-333_X.par
device 1313-333_X.ps/vps
! Attempting to open device: '1313-333_X.ps/vps'
radplot
! Using default options string "m1"
cmul = 1.0
uvweight 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
loglevs (imstat(rms)*3),20000,2
! Inverting map and beam 
! Estimated beam: bmin=0.9242 mas, bmaj=2.554 mas, bpa=-0.1527 degrees
! Estimated noise=0.861626 mJy/beam.
! The new contour levels are:
!  -0.00657834 0.00657834 0.0131567 0.0263134 0.0526267 0.105253 0.210507 0.421014 0.842027 1.68405 3.36811 6.73622 13.4724 26.9449 53.8898 107.78 215.559 431.118 862.236 1724.47 3448.94 6897.89 13795.8
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9242 x 2.554 at -0.1527 degrees (North through East)
! Clean map  min=-0.0090942  max=1.785 Jy/beam
uvweight 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.
loglevs (imstat(rms)*3),20000,2
! Inverting map and beam 
! Estimated beam: bmin=0.6589 mas, bmaj=1.838 mas, bpa=-0.1545 degrees
! Estimated noise=1.66677 mJy/beam.
! The new contour levels are:
!  -0.00798249 0.00798249 0.015965 0.03193 0.0638599 0.12772 0.25544 0.51088 1.02176 2.04352 4.08704 8.17407 16.3481 32.6963 65.3926 130.785 261.57 523.141 1046.28 2092.56 4185.13 8370.25 16740.5
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6589 x 1.838 at -0.1545 degrees (North through East)
! Clean map  min=-0.01092  max=1.7546 Jy/beam
quit
! Quitting program
! Log file 1313-333_X.log closed on Wed May  3 15:58:07 1995