! Started logfile: 1308+326_X.log on Wed Jul 17 17:36:22 1996
observe 1308+326_X.edt
! Reading UV FITS file: 1308+326_X.edt
! AN table 1: 55 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.742929 visibilities/baseline/integration-bin.
! Found source: 1308+326
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.10599e+09       1.6e+07       1.6e+07       USB
! 
! Polarization(s): RR
! 
! Read 1199 lines of history.
! 
! Reading 1471 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 = 75
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 125 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=2.418125Jy  sigma=28.935084
! Fit after  self-cal, rms=2.417043Jy  sigma=28.928672
! 
! 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.8983 mas, bmaj=1.556 mas, bpa=-4.997 degrees
! Estimated noise=2.00346 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=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.62432 Jy
! Total flux subtracted in 75 components = 3.01513 Jy
! Clean residual min=-0.091737 max=0.351601 Jy/beam
! Clean residual mean=-0.000152 rms=0.028666 Jy/beam
! Combined flux in latest and established models = 3.01513 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 3.01513 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.527566Jy  sigma=6.300257
! Fit after  self-cal, rms=0.527539Jy  sigma=6.299997
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.347116 Jy
! Total flux subtracted in 75 components = 0.438683 Jy
! Clean residual min=-0.052415 max=0.102005 Jy/beam
! Clean residual mean=-0.000092 rms=0.015371 Jy/beam
! Combined flux in latest and established models = 3.45381 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 20 components and 3.45381 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.280604Jy  sigma=3.295483
! Fit after  self-cal, rms=0.280506Jy  sigma=3.294303
! 
! 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.9619 mas, bmaj=1.616 mas, bpa=-2.746 degrees
! Estimated noise=1.68386 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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.114209 Jy
! Component: 100  -  total flux cleaned = 0.175228 Jy
! Component: 150  -  total flux cleaned = 0.212047 Jy
! Total flux subtracted in 150 components = 0.212047 Jy
! Clean residual min=-0.043453 max=0.050962 Jy/beam
! Clean residual mean=-0.000069 rms=0.011358 Jy/beam
! Combined flux in latest and established models = 3.66586 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 35 components and 3.66586 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.233181Jy  sigma=2.698429
! Fit after  self-cal, rms=0.232966Jy  sigma=2.695948
! 
! 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 12 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        1.00     LA        0.97     
!   MK        1.02     NL        0.99     OV        1.00     PT        1.00     
!   SC        1.06     
! 
! 
! Fit before self-cal, rms=0.232966Jy  sigma=2.695948
! Fit after  self-cal, rms=0.214790Jy  sigma=2.436025
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9698 mas, bmaj=1.624 mas, bpa=-3.32 degrees
! Estimated noise=1.69669 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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0223231 Jy
! Component: 100  -  total flux cleaned = -0.0255248 Jy
! Component: 150  -  total flux cleaned = -0.0284763 Jy
! Total flux subtracted in 150 components = -0.0284763 Jy
! Clean residual min=-0.036957 max=0.042084 Jy/beam
! Clean residual mean=-0.000041 rms=0.009693 Jy/beam
! Combined flux in latest and established models = 3.63738 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 41 components and 3.63738 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.209848Jy  sigma=2.374522
! Fit after  self-cal, rms=0.209694Jy  sigma=2.372819
! 
! 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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.0039584 Jy
! Component: 100  -  total flux cleaned = -0.0058617 Jy
! Component: 150  -  total flux cleaned = -0.00816988 Jy
! Total flux subtracted in 150 components = -0.00816988 Jy
! Clean residual min=-0.036342 max=0.040617 Jy/beam
! Clean residual mean=-0.000043 rms=0.009523 Jy/beam
! Combined flux in latest and established models = 3.62921 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 43 components and 3.62921 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.207286Jy  sigma=2.342215
! Fit after  self-cal, rms=0.124471Jy  sigma=1.310935
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=0.9663 mas, bmaj=1.626 mas, bpa=-2.607 degrees
! Estimated noise=1.69681 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=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000234246 Jy
! Component: 100  -  total flux cleaned = -0.000231911 Jy
! Component: 150  -  total flux cleaned = -0.000878992 Jy
! Total flux subtracted in 150 components = -0.000878992 Jy
! Clean residual min=-0.016362 max=0.015928 Jy/beam
! Clean residual mean=-0.000011 rms=0.003600 Jy/beam
! Combined flux in latest and established models = 3.62833 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 48 components and 3.62833 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.122936Jy  sigma=1.287655
! Fit after  self-cal, rms=0.122898Jy  sigma=1.287270
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1308+326_X
! Writing UV FITS file: 1308+326_X.uvf
! Writing 48 model components to file: 1308+326_X.mod
! wwins: Wrote 1 windows to 1308+326_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9663 x 1.626 at -2.607 degrees (North through East)
! Clean map  min=-0.014515  max=3.3703 Jy/beam
! Writing clean map to FITS file: 1308+326_X.fits
! Writing difmap environment to: 1308+326_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1308+326_Xuv.ps/vps,1,2
! Attempting to open device: '1308+326_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1308+326_Xim.ps/vps
! Attempting to open device: '1308+326_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=0.9663 mas, bmaj=1.626 mas, bpa=-2.607 degrees
! Estimated noise=1.69681 mJy/beam.
! The new contour levels are:
!  -0.0107939 0.0107939 0.0215878 0.0431756 0.0863512 0.172702 0.345405 0.690809 1.38162 2.76324 5.52648 11.053 22.1059 44.2118 88.4236 176.847 353.694 707.389 1414.78 2829.56 5659.11 11318.2
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9663 x 1.626 at -2.607 degrees (North through East)
! Clean map  min=-0.014515  max=3.3703 Jy/beam
quit
! Quitting program
! Log file 1308+326_X.log closed on Wed Jul 17 17:37:48 1996