! Started logfile: 1226+373_X.log on Thu May 30 17:41:43 1996
observe 1226+373_X.edt
! Reading UV FITS file: 1226+373_X.edt
! AN table 1: 121 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.661708 visibilities/baseline/integration-bin.
! Found source: 1226+373
! 
! 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 519 lines of history.
! 
! Reading 14412 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 = 7.0
float win_mult
win_mult = 1.8
float solint
solint = 4.0/6.0
logical doflt
doflt = 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 382 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 381 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 381 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 381 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.738279Jy  sigma=3.224962
! Fit after  self-cal, rms=0.738126Jy  sigma=3.224321
! 
! 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.8244 mas, bmaj=1.11 mas, bpa=-9.397 degrees
! Estimated noise=2.49135 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, 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 = 0.202211 Jy
! Total flux subtracted in 50 components = 0.202211 Jy
! Clean residual min=-0.010332 max=0.056410 Jy/beam
! Clean residual mean=0.000004 rms=0.002738 Jy/beam
! Combined flux in latest and established models = 0.202211 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.202211 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.123117Jy  sigma=0.535978
! Fit after  self-cal, rms=0.123117Jy  sigma=0.535978
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0497159 Jy
! Total flux subtracted in 50 components = 0.0497159 Jy
! Clean residual min=-0.006509 max=0.019543 Jy/beam
! Clean residual mean=0.000007 rms=0.001579 Jy/beam
! Combined flux in latest and established models = 0.251927 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.251927 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104167Jy  sigma=0.453157
! Fit after  self-cal, rms=0.104159Jy  sigma=0.453120
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0206836 Jy
! Total flux subtracted in 50 components = 0.0206836 Jy
! Clean residual min=-0.005434 max=0.009101 Jy/beam
! Clean residual mean=0.000008 rms=0.001277 Jy/beam
! Combined flux in latest and established models = 0.272611 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 8 components and 0.272611 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100826Jy  sigma=0.438580
! Fit after  self-cal, rms=0.100823Jy  sigma=0.438563
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00995101 Jy
! Total flux subtracted in 50 components = 0.00995101 Jy
! Clean residual min=-0.004985 max=0.005443 Jy/beam
! Clean residual mean=0.000008 rms=0.001196 Jy/beam
! Combined flux in latest and established models = 0.282562 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 10 components and 0.282562 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100102Jy  sigma=0.435433
! Fit after  self-cal, rms=0.100094Jy  sigma=0.435395
! 
! 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=1.036 mas, bmaj=1.437 mas, bpa=-7.457 degrees
! Estimated noise=1.48827 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00462018 Jy
! Component: 100  -  total flux cleaned = 0.00658196 Jy
! Total flux subtracted in 100 components = 0.00658196 Jy
! Clean residual min=-0.003446 max=0.003374 Jy/beam
! Clean residual mean=0.000010 rms=0.000750 Jy/beam
! Combined flux in latest and established models = 0.289144 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 11 components and 0.289144 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099915Jy  sigma=0.434626
! Fit after  self-cal, rms=0.099913Jy  sigma=0.434616
! 
! 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        0.97     FD        0.98     HN        0.99     KP        0.96     
!   LA        0.98     MK        1.03     NL        0.98     OV        0.98     
!   PT        1.00     SC        1.01     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     HN        0.98     KP        0.98     
!   LA        0.99     MK        1.02     NL        1.00     OV        1.02     
!   PT        0.97     SC        0.99     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     HN        0.98     KP        1.00     
!   LA        0.99     MK        1.06     NL        1.00     OV        1.02     
!   PT        1.01     SC        1.02     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00     HN        0.97     KP        1.02     
!   LA        1.02     MK        1.02     NL        1.00     OV        1.03     
!   PT        1.03     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.099913Jy  sigma=0.434616
! Fit after  self-cal, rms=0.099542Jy  sigma=0.432791
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.044 mas, bmaj=1.444 mas, bpa=-7.465 degrees
! Estimated noise=1.49008 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal doamp, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0014845 Jy
! Component: 100  -  total flux cleaned = -0.00169896 Jy
! Total flux subtracted in 100 components = -0.00169896 Jy
! Clean residual min=-0.003312 max=0.003151 Jy/beam
! Clean residual mean=0.000007 rms=0.000703 Jy/beam
! Combined flux in latest and established models = 0.287445 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 15 components and 0.287445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099514Jy  sigma=0.432668
! Fit after  self-cal, rms=0.099514Jy  sigma=0.432665
! 
! 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, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -9.97263e-05 Jy
! Component: 100  -  total flux cleaned = -0.000188675 Jy
! Total flux subtracted in 100 components = -0.000188675 Jy
! Clean residual min=-0.003292 max=0.003162 Jy/beam
! Clean residual mean=0.000007 rms=0.000702 Jy/beam
! Combined flux in latest and established models = 0.287256 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 16 components and 0.287256 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099505Jy  sigma=0.432626
! Fit after  self-cal, rms=0.098524Jy  sigma=0.425901
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.042 mas, bmaj=1.444 mas, bpa=-7.818 degrees
! Estimated noise=1.49318 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, doflt, solint
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000682196 Jy
! Component: 100  -  total flux cleaned = 0.000741398 Jy
! Total flux subtracted in 100 components = 0.000741398 Jy
! Clean residual min=-0.002467 max=0.002687 Jy/beam
! Clean residual mean=0.000003 rms=0.000625 Jy/beam
! Combined flux in latest and established models = 0.287997 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 20 components and 0.287997 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.098513Jy  sigma=0.425845
! Fit after  self-cal, rms=0.098515Jy  sigma=0.425838
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1226+373_X
! Writing UV FITS file: 1226+373_X.uvf
! Writing 20 model components to file: 1226+373_X.mod
! wwins: Wrote 1 windows to 1226+373_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.042 x 1.444 at -7.818 degrees (North through East)
! Clean map  min=-0.002266  max=0.26735 Jy/beam
! Writing clean map to FITS file: 1226+373_X.fits
! Writing difmap environment to: 1226+373_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1226+373_Xuv.ps/vps,1,2
! Attempting to open device: '1226+373_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1226+373_Xim.ps/vps
! Attempting to open device: '1226+373_Xim.ps/vps'
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=1.042 mas, bmaj=1.444 mas, bpa=-7.818 degrees
! Estimated noise=1.49318 mJy/beam.
! The new contour levels are:
!  -0.00187593 0.00187593 0.00375187 0.00750374 0.0150075 0.0300149 0.0600299 0.12006 0.24012 0.480239 0.960478 1.92096 3.84191 7.68383 15.3677 30.7353 61.4706 122.941 245.882 491.765 983.53 1967.06 3934.12 7868.24 15736.5
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.042 x 1.444 at -7.818 degrees (North through East)
! Clean map  min=-0.002266  max=0.26735 Jy/beam
quit
! Quitting program
! Log file 1226+373_X.log closed on Thu May 30 17:43:37 1996