! Started logfile: 1130+009_X.log on Fri Feb  9 14:02:25 1996
observe 1130+009_X.edt
! Reading UV FITS file: 1130+009_X.edt
! AN table 1: 69 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.872142 visibilities/baseline/integration-bin.
! Found source: 1130+009
! 
! 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 10832 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 = 9.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 109 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 131 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 126 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 131 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.792925Jy  sigma=3.462290
! Fit after  self-cal, rms=0.792805Jy  sigma=3.461808
! 
! 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.7754 mas, bmaj=1.854 mas, bpa=-0.4178 degrees
! Estimated noise=2.4602 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.164044 Jy
! Total flux subtracted in 50 components = 0.164044 Jy
! Clean residual min=-0.015162 max=0.045760 Jy/beam
! Clean residual mean=0.000004 rms=0.003122 Jy/beam
! Combined flux in latest and established models = 0.164044 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.164044 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.151635Jy  sigma=0.659770
! Fit after  self-cal, rms=0.151635Jy  sigma=0.659770
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0415166 Jy
! Total flux subtracted in 50 components = 0.0415166 Jy
! Clean residual min=-0.012661 max=0.016464 Jy/beam
! Clean residual mean=0.000002 rms=0.002124 Jy/beam
! Combined flux in latest and established models = 0.20556 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.20556 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141136Jy  sigma=0.613668
! Fit after  self-cal, rms=0.141117Jy  sigma=0.613585
! 
! 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.9552 mas, bmaj=2.134 mas, bpa=-0.6414 degrees
! Estimated noise=1.6934 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.0208597 Jy
! Component: 100  -  total flux cleaned = 0.0297373 Jy
! Total flux subtracted in 100 components = 0.0297373 Jy
! Clean residual min=-0.007113 max=0.006337 Jy/beam
! Clean residual mean=-0.000003 rms=0.001441 Jy/beam
! Combined flux in latest and established models = 0.235298 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 14 components and 0.235298 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138520Jy  sigma=0.602161
! Fit after  self-cal, rms=0.138504Jy  sigma=0.602088
! 
! 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        0.96     FD        1.06     HN        0.84     KP        1.00     
!   LA        1.01     MK        1.04     NL        0.99     OV        1.01     
!   PT        0.95     SC        1.04     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.06     HN        0.84     KP        1.00     
!   LA        0.99     MK        1.03     NL        1.00     OV        1.02     
!   PT        0.96     SC        0.96     
! 
! 
! 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.02     HN        0.86     KP        1.04     
!   LA        1.00     MK        1.07     NL        1.05     OV        1.10     
!   PT        0.95     SC        1.06     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.04     HN        0.86     KP        1.05     
!   LA        1.02     MK        1.09     NL        1.01     OV        1.02     
!   PT        0.98     SC        1.04     
! 
! 
! Fit before self-cal, rms=0.138504Jy  sigma=0.602088
! Fit after  self-cal, rms=0.132000Jy  sigma=0.595960
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9624 mas, bmaj=2.141 mas, bpa=-1.046 degrees
! Estimated noise=1.66873 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.00202667 Jy
! Component: 100  -  total flux cleaned = 0.00222794 Jy
! Total flux subtracted in 100 components = 0.00222794 Jy
! Clean residual min=-0.004573 max=0.007649 Jy/beam
! Clean residual mean=-0.000001 rms=0.001159 Jy/beam
! Combined flux in latest and established models = 0.237526 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 21 components and 0.237526 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.131955Jy  sigma=0.595762
! Fit after  self-cal, rms=0.131982Jy  sigma=0.595702
! 
! 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.04261e-05 Jy
! Component: 100  -  total flux cleaned = 0.000210742 Jy
! Total flux subtracted in 100 components = 0.000210742 Jy
! Clean residual min=-0.004579 max=0.007523 Jy/beam
! Clean residual mean=-0.000001 rms=0.001153 Jy/beam
! Combined flux in latest and established models = 0.237736 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 22 components and 0.237736 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.131956Jy  sigma=0.595591
! Fit after  self-cal, rms=0.132126Jy  sigma=0.590347
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=0.9589 mas, bmaj=2.136 mas, bpa=-1.208 degrees
! Estimated noise=1.67888 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.00208893 Jy
! Component: 100  -  total flux cleaned = 0.00278076 Jy
! Total flux subtracted in 100 components = 0.00278076 Jy
! Clean residual min=-0.004483 max=0.006185 Jy/beam
! Clean residual mean=-0.000001 rms=0.001093 Jy/beam
! Combined flux in latest and established models = 0.240517 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 23 components and 0.240517 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.132094Jy  sigma=0.590224
! Fit after  self-cal, rms=0.132103Jy  sigma=0.590206
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1130+009_X
! Writing UV FITS file: 1130+009_X.uvf
! Writing 23 model components to file: 1130+009_X.mod
! wwins: Wrote 1 windows to 1130+009_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9589 x 2.136 at -1.208 degrees (North through East)
! Clean map  min=-0.0041003  max=0.21352 Jy/beam
! Writing clean map to FITS file: 1130+009_X.fits
! Writing difmap environment to: 1130+009_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1130+009_Xuv.ps/vps,1,2
! Attempting to open device: '1130+009_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1130+009_Xim.ps/vps
! Attempting to open device: '1130+009_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.9589 mas, bmaj=2.136 mas, bpa=-1.208 degrees
! Estimated noise=1.67888 mJy/beam.
! The new contour levels are:
!  -0.00328066 0.00328066 0.00656131 0.0131226 0.0262453 0.0524905 0.104981 0.209962 0.419924 0.839848 1.6797 3.35939 6.71878 13.4376 26.8751 53.7503 107.501 215.001 430.002 860.004 1720.01 3440.02 6880.04 13760.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9589 x 2.136 at -1.208 degrees (North through East)
! Clean map  min=-0.0041003  max=0.21352 Jy/beam
quit
! Quitting program
! Log file 1130+009_X.log closed on Fri Feb  9 14:03:59 1996