! Started logfile: 1416+067_X.log on Fri Feb  9 17:09:48 1996
observe 1416+067_X.edt
! Reading UV FITS file: 1416+067_X.edt
! AN table 1: 77 integrations on 35 of 36 possible baselines.
! Apparent sampling: 0.748794 visibilities/baseline/integration-bin.
! Found source: 1416+067
! 
! 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 469 lines of history.
! 
! Reading 8072 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 = 6.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 232 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 177 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 190 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 230 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.809253Jy  sigma=3.526728
! Fit after  self-cal, rms=0.809145Jy  sigma=3.526411
! 
! 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=1.446 mas, bmaj=2.876 mas, bpa=-16.93 degrees
! Estimated noise=3.44635 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.149423 Jy
! Total flux subtracted in 50 components = 0.149423 Jy
! Clean residual min=-0.014100 max=0.042054 Jy/beam
! Clean residual mean=-0.000115 rms=0.004132 Jy/beam
! Combined flux in latest and established models = 0.149423 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 2 model components to the UV plane model.
! The established model now contains 2 components and 0.149423 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128367Jy  sigma=0.557456
! Fit after  self-cal, rms=0.128366Jy  sigma=0.557452
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0379156 Jy
! Total flux subtracted in 50 components = 0.0379156 Jy
! Clean residual min=-0.010034 max=0.015575 Jy/beam
! Clean residual mean=-0.000065 rms=0.002732 Jy/beam
! Combined flux in latest and established models = 0.187339 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 10 components and 0.187339 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.117978Jy  sigma=0.511700
! Fit after  self-cal, rms=0.117967Jy  sigma=0.511651
! 
! 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.982 mas, bmaj=3.253 mas, bpa=-14.05 degrees
! Estimated noise=2.13077 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.0188004 Jy
! Component: 100  -  total flux cleaned = 0.0249425 Jy
! Total flux subtracted in 100 components = 0.0249425 Jy
! Clean residual min=-0.006281 max=0.006380 Jy/beam
! Clean residual mean=-0.000035 rms=0.001637 Jy/beam
! Combined flux in latest and established models = 0.212282 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 21 components and 0.212282 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.115459Jy  sigma=0.500557
! Fit after  self-cal, rms=0.115445Jy  sigma=0.500498
! 
! 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.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.99     HN        1.00*    KP        1.02     
!   LA        0.95     MK        1.00*    NL        0.99     OV        1.02     
!   PT        0.95     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.88     FD        1.02     HN        0.94     KP        1.00     
!   LA        0.98     MK        1.11     NL        0.99     OV        1.03     
!   PT        0.95     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.03     HN        1.00*    KP        1.07     
!   LA        0.99     MK        1.09     NL        1.01     OV        1.02     
!   PT        1.04     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.87     FD        1.04     HN        1.00*    KP        1.02     
!   LA        1.01     MK        1.00*    NL        1.03     OV        1.03     
!   PT        0.98     
! 
! 
! Fit before self-cal, rms=0.115445Jy  sigma=0.500498
! Fit after  self-cal, rms=0.111953Jy  sigma=0.497046
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.024 mas, bmaj=3.185 mas, bpa=-12.93 degrees
! Estimated noise=2.09798 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.00277297 Jy
! Component: 100  -  total flux cleaned = 0.00278578 Jy
! Total flux subtracted in 100 components = 0.00278578 Jy
! Clean residual min=-0.005523 max=0.005650 Jy/beam
! Clean residual mean=-0.000032 rms=0.001407 Jy/beam
! Combined flux in latest and established models = 0.215067 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 28 components and 0.215067 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111838Jy  sigma=0.496499
! Fit after  self-cal, rms=0.111846Jy  sigma=0.496470
! 
! 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)
! Added new window around map position (11.6, -2.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00567011 Jy
! Component: 100  -  total flux cleaned = 0.00911302 Jy
! Total flux subtracted in 100 components = 0.00911302 Jy
! Clean residual min=-0.005139 max=0.005057 Jy/beam
! Clean residual mean=-0.000029 rms=0.001287 Jy/beam
! Combined flux in latest and established models = 0.22418 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 45 components and 0.22418 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111583Jy  sigma=0.495264
! Fit after  self-cal, rms=0.111446Jy  sigma=0.485876
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=2.022 mas, bmaj=3.161 mas, bpa=-13.35 degrees
! Estimated noise=2.12061 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.00356143 Jy
! Component: 100  -  total flux cleaned = 0.00565463 Jy
! Total flux subtracted in 100 components = 0.00565463 Jy
! Clean residual min=-0.004274 max=0.004119 Jy/beam
! Clean residual mean=-0.000020 rms=0.001080 Jy/beam
! Combined flux in latest and established models = 0.229835 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 55 components and 0.229835 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111333Jy  sigma=0.485354
! Fit after  self-cal, rms=0.111339Jy  sigma=0.485307
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1416+067_X
! Writing UV FITS file: 1416+067_X.uvf
! Writing 55 model components to file: 1416+067_X.mod
! wwins: Wrote 2 windows to 1416+067_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.022 x 3.161 at -13.35 degrees (North through East)
! Clean map  min=-0.0042136  max=0.19247 Jy/beam
! Writing clean map to FITS file: 1416+067_X.fits
! Writing difmap environment to: 1416+067_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1416+067_Xuv.ps/vps,1,2
! Attempting to open device: '1416+067_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1416+067_Xim.ps/vps
! Attempting to open device: '1416+067_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=2.022 mas, bmaj=3.161 mas, bpa=-13.35 degrees
! Estimated noise=2.12061 mJy/beam.
! The new contour levels are:
!  -0.00324644 0.00324644 0.00649288 0.0129858 0.0259715 0.0519431 0.103886 0.207772 0.415544 0.831089 1.66218 3.32436 6.64871 13.2974 26.5948 53.1897 106.379 212.759 425.518 851.035 1702.07 3404.14 6808.28 13616.6
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.022 x 3.161 at -13.35 degrees (North through East)
! Clean map  min=-0.0042136  max=0.19247 Jy/beam
quit
! Quitting program
! Log file 1416+067_X.log closed on Fri Feb  9 17:11:19 1996