! Started logfile: 2134+00_S.log on Wed May  3 19:02:42 1995
observe 2134+00_S.edt
! Reading UV FITS file: 2134+00_S.edt
! AN table 1: 86 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.895607 visibilities/baseline/integration-bin.
! Found source: 2134+00
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  2.22049e+09         4e+06         4e+06       USB
! 02  2.23049e+09         4e+06         4e+06       USB
! 03  2.29049e+09         4e+06         4e+06       USB
! 04  2.32049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 701 lines of history.
! 
! Reading 13864 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.5
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 12.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.500x0.500 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 101 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 101 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 101 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 101 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=6.832710Jy  sigma=40.777292
! Fit after  self-cal, rms=6.832707Jy  sigma=40.777264
! 
! 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=2.756 mas, bmaj=6.628 mas, bpa=-4.318 degrees
! Estimated noise=1.61231 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 = 5.77693 Jy
! Total flux subtracted in 50 components = 5.77693 Jy
! Clean residual min=-0.447922 max=1.611611 Jy/beam
! Clean residual mean=0.000102 rms=0.097405 Jy/beam
! Combined flux in latest and established models = 5.77693 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 5.77693 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.275929Jy  sigma=13.547718
! Fit after  self-cal, rms=2.275930Jy  sigma=13.547719
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.51663 Jy
! Total flux subtracted in 50 components = 1.51663 Jy
! Clean residual min=-0.209471 max=0.630268 Jy/beam
! Clean residual mean=0.000109 rms=0.045743 Jy/beam
! Combined flux in latest and established models = 7.29356 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 7.29356 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.087697Jy  sigma=6.451353
! Fit after  self-cal, rms=1.087524Jy  sigma=6.450391
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.683626 Jy
! Total flux subtracted in 50 components = 0.683626 Jy
! Clean residual min=-0.126839 max=0.311766 Jy/beam
! Clean residual mean=0.000114 rms=0.025218 Jy/beam
! Combined flux in latest and established models = 7.97719 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 9 components and 7.97719 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.639871Jy  sigma=3.766680
! Fit after  self-cal, rms=0.639861Jy  sigma=3.766609
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.338626 Jy
! Total flux subtracted in 50 components = 0.338626 Jy
! Clean residual min=-0.087088 max=0.156606 Jy/beam
! Clean residual mean=0.000117 rms=0.016798 Jy/beam
! Combined flux in latest and established models = 8.31582 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 11 components and 8.31582 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.481467Jy  sigma=2.817878
! Fit after  self-cal, rms=0.481464Jy  sigma=2.817797
! 
! 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=3.316 mas, bmaj=7.709 mas, bpa=-3.879 degrees
! Estimated noise=1.06572 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.165679 Jy
! Component: 100  -  total flux cleaned = 0.237102 Jy
! Total flux subtracted in 100 components = 0.237102 Jy
! Clean residual min=-0.050778 max=0.097950 Jy/beam
! Clean residual mean=0.000099 rms=0.010837 Jy/beam
! Combined flux in latest and established models = 8.55292 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 3 model components to the UV plane model.
! The established model now contains 12 components and 8.55292 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.430796Jy  sigma=2.519069
! Fit after  self-cal, rms=0.430627Jy  sigma=2.517849
! 
! 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 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.01     HN        1.01     KP        1.01     
!   LA        1.00     MK        1.01     NL        1.02     OV        1.01     
!   PT        1.00     SC        0.98     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     HN        1.02     KP        1.01     
!   LA        1.02     MK        1.01     NL        1.02     OV        1.00     
!   PT        1.00     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     HN        1.02     KP        1.00     
!   LA        0.99     MK        0.99     NL        1.00     OV        0.99     
!   PT        0.99     SC        0.99     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     HN        1.00     KP        0.99     
!   LA        0.98     MK        0.99     NL        1.00     OV        1.00     
!   PT        0.99     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.430627Jy  sigma=2.517849
! Fit after  self-cal, rms=0.410609Jy  sigma=2.398052
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.311 mas, bmaj=7.698 mas, bpa=-3.759 degrees
! Estimated noise=1.06518 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.014499 Jy
! Component: 100  -  total flux cleaned = 0.0100268 Jy
! Total flux subtracted in 100 components = 0.0100268 Jy
! Clean residual min=-0.051517 max=0.086425 Jy/beam
! Clean residual mean=0.000141 rms=0.009633 Jy/beam
! Combined flux in latest and established models = 8.56295 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 19 components and 8.56295 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.404666Jy  sigma=2.362560
! Fit after  self-cal, rms=0.404548Jy  sigma=2.361582
! 
! 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 = -0.00358035 Jy
! Component: 100  -  total flux cleaned = -0.00741969 Jy
! Total flux subtracted in 100 components = -0.00741969 Jy
! Clean residual min=-0.049045 max=0.085893 Jy/beam
! Clean residual mean=0.000140 rms=0.009399 Jy/beam
! Combined flux in latest and established models = 8.55553 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 8.55553 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.400757Jy  sigma=2.338518
! Fit after  self-cal, rms=0.317316Jy  sigma=1.881327
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=3.313 mas, bmaj=7.694 mas, bpa=-3.704 degrees
! Estimated noise=1.06772 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 (5, -5.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0701284 Jy
! Component: 100  -  total flux cleaned = 0.0799332 Jy
! Total flux subtracted in 100 components = 0.0799332 Jy
! Clean residual min=-0.038146 max=0.057833 Jy/beam
! Clean residual mean=-0.000020 rms=0.006820 Jy/beam
! Combined flux in latest and established models = 8.63546 Jy
! Performing phase self-cal over 1 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 31 components and 8.63546 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301659Jy  sigma=1.788609
! Fit after  self-cal, rms=0.300517Jy  sigma=1.782166
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 2134+00_S
! Writing UV FITS file: 2134+00_S.uvf
! Writing 31 model components to file: 2134+00_S.mod
! wwins: Wrote 2 windows to 2134+00_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.313 x 7.694 at -3.704 degrees (North through East)
! Clean map  min=-0.033649  max=7.6392 Jy/beam
! Writing clean map to FITS file: 2134+00_S.fits
! Writing difmap environment to: 2134+00_S.par
device 2134+00_S.ps/vps
! Attempting to open device: '2134+00_S.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=3.313 mas, bmaj=7.694 mas, bpa=-3.704 degrees
! Estimated noise=1.06772 mJy/beam.
! The new contour levels are:
!  -0.0204506 0.0204506 0.0409013 0.0818025 0.163605 0.32721 0.65442 1.30884 2.61768 5.23536 10.4707 20.9414 41.8829 83.7658 167.532 335.063 670.126 1340.25 2680.5 5361.01 10722
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.313 x 7.694 at -3.704 degrees (North through East)
! Clean map  min=-0.033649  max=7.6392 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=2.755 mas, bmaj=6.606 mas, bpa=-4.131 degrees
! Estimated noise=1.61038 mJy/beam.
! The new contour levels are:
!  -0.0278914 0.0278914 0.0557827 0.111565 0.223131 0.446262 0.892524 1.78505 3.5701 7.14019 14.2804 28.5608 57.1215 114.243 228.486 456.972 913.944 1827.89 3655.78 7311.56 14623.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.755 x 6.606 at -4.131 degrees (North through East)
! Clean map  min=-0.047211  max=7.3458 Jy/beam
quit
! Quitting program
! Log file 2134+00_S.log closed on Wed May  3 19:04:51 1995