! Started logfile: 1606+106_X.log on Wed Jul 17 17:40:46 1996
observe 1606+106_X.edt
! Reading UV FITS file: 1606+106_X.edt
! AN table 1: 167 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.665669 visibilities/baseline/integration-bin.
! Found source: 1606+106
! 
! 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 4002 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 319 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.227883Jy  sigma=2.681805
! Fit after  self-cal, rms=0.227813Jy  sigma=2.681084
! 
! 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.9461 mas, bmaj=1.752 mas, bpa=-0.8828 degrees
! Estimated noise=1.19484 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 = 0.857621 Jy
! Total flux subtracted in 75 components = 0.98949 Jy
! Clean residual min=-0.025885 max=0.129304 Jy/beam
! Clean residual mean=-0.000016 rms=0.007240 Jy/beam
! Combined flux in latest and established models = 0.98949 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.98949 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.231738Jy  sigma=2.727879
! Fit after  self-cal, rms=0.231646Jy  sigma=2.726770
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.132496 Jy
! Total flux subtracted in 75 components = 0.168831 Jy
! Clean residual min=-0.014888 max=0.048900 Jy/beam
! Clean residual mean=-0.000007 rms=0.004052 Jy/beam
! Combined flux in latest and established models = 1.15832 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 13 components and 1.15832 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.144541Jy  sigma=1.656525
! Fit after  self-cal, rms=0.143563Jy  sigma=1.644739
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-1.2, 1).
! clean: niter=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0515069 Jy
! Total flux subtracted in 75 components = 0.0671019 Jy
! Clean residual min=-0.012391 max=0.019157 Jy/beam
! Clean residual mean=-0.000003 rms=0.003261 Jy/beam
! Combined flux in latest and established models = 1.22542 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 18 components and 1.22542 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.123152Jy  sigma=1.386243
! Fit after  self-cal, rms=0.122352Jy  sigma=1.376494
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0237926 Jy
! Total flux subtracted in 75 components = 0.0317732 Jy
! Clean residual min=-0.011727 max=0.014863 Jy/beam
! Clean residual mean=-0.000002 rms=0.003024 Jy/beam
! Combined flux in latest and established models = 1.2572 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 28 components and 1.2572 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.116825Jy  sigma=1.304525
! Fit after  self-cal, rms=0.116573Jy  sigma=1.301496
! 
! 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.031 mas, bmaj=1.918 mas, bpa=-0.228 degrees
! Estimated noise=0.979797 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.0191403 Jy
! Component: 100  -  total flux cleaned = 0.030091 Jy
! Component: 150  -  total flux cleaned = 0.0373243 Jy
! Total flux subtracted in 150 components = 0.0373243 Jy
! Clean residual min=-0.011466 max=0.012100 Jy/beam
! Clean residual mean=0.000000 rms=0.002974 Jy/beam
! Combined flux in latest and established models = 1.29452 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 42 components and 1.29452 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.113480Jy  sigma=1.260183
! Fit after  self-cal, rms=0.113228Jy  sigma=1.257121
! 
! 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.00     HN        1.02     LA        0.99     
!   MK        1.01     NL        1.00     OV        0.99     PT        1.00     
!   SC        1.01     
! 
! 
! Fit before self-cal, rms=0.113228Jy  sigma=1.257121
! Fit after  self-cal, rms=0.112076Jy  sigma=1.245602
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.035 mas, bmaj=1.924 mas, bpa=-0.1854 degrees
! Estimated noise=0.979076 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.00738368 Jy
! Component: 100  -  total flux cleaned = -0.00755453 Jy
! Component: 150  -  total flux cleaned = -0.00785182 Jy
! Total flux subtracted in 150 components = -0.00785182 Jy
! Clean residual min=-0.011460 max=0.011921 Jy/beam
! Clean residual mean=0.000003 rms=0.002855 Jy/beam
! Combined flux in latest and established models = 1.28667 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 1.28667 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.111402Jy  sigma=1.236463
! Fit after  self-cal, rms=0.111300Jy  sigma=1.235275
! 
! 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 = 4.02553e-05 Jy
! Component: 100  -  total flux cleaned = 0.000176773 Jy
! Component: 150  -  total flux cleaned = -5.22499e-05 Jy
! Total flux subtracted in 150 components = -5.22499e-05 Jy
! Clean residual min=-0.011272 max=0.011734 Jy/beam
! Clean residual mean=0.000003 rms=0.002841 Jy/beam
! Combined flux in latest and established models = 1.28662 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 52 components and 1.28662 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.111065Jy  sigma=1.231890
! Fit after  self-cal, rms=0.079200Jy  sigma=0.785233
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.037 mas, bmaj=1.924 mas, bpa=-0.07814 degrees
! Estimated noise=0.977552 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.00739164 Jy
! Component: 100  -  total flux cleaned = 0.00843105 Jy
! Component: 150  -  total flux cleaned = 0.0085285 Jy
! Total flux subtracted in 150 components = 0.0085285 Jy
! Clean residual min=-0.004103 max=0.005827 Jy/beam
! Clean residual mean=0.000010 rms=0.000962 Jy/beam
! Combined flux in latest and established models = 1.29514 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 63 components and 1.29514 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.078600Jy  sigma=0.775618
! Fit after  self-cal, rms=0.078512Jy  sigma=0.774320
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-5.4, 6).
! clean: niter=150  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00552105 Jy
! Component: 100  -  total flux cleaned = 0.00774823 Jy
! Component: 150  -  total flux cleaned = 0.00938912 Jy
! Total flux subtracted in 150 components = 0.00938912 Jy
! Clean residual min=-0.003672 max=0.003838 Jy/beam
! Clean residual mean=0.000007 rms=0.000862 Jy/beam
! Combined flux in latest and established models = 1.30453 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 81 components and 1.30453 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.078076Jy  sigma=0.767703
! Fit after  self-cal, rms=0.078043Jy  sigma=0.767201
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1606+106_X
! Writing UV FITS file: 1606+106_X.uvf
! Writing 81 model components to file: 1606+106_X.mod
! wwins: Wrote 3 windows to 1606+106_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.037 x 1.924 at -0.07814 degrees (North through East)
! Clean map  min=-0.0037015  max=1.0911 Jy/beam
! Writing clean map to FITS file: 1606+106_X.fits
! Writing difmap environment to: 1606+106_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1606+106_Xuv.ps/vps,1,2
! Attempting to open device: '1606+106_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1606+106_Xim.ps/vps
! Attempting to open device: '1606+106_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.037 mas, bmaj=1.924 mas, bpa=-0.07814 degrees
! Estimated noise=0.977552 mJy/beam.
! The new contour levels are:
!  -0.00258286 0.00258286 0.00516573 0.0103315 0.0206629 0.0413258 0.0826516 0.165303 0.330606 0.661213 1.32243 2.64485 5.2897 10.5794 21.1588 42.3176 84.6352 169.27 338.541 677.082 1354.16 2708.33 5416.66 10833.3
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.037 x 1.924 at -0.07814 degrees (North through East)
! Clean map  min=-0.0037015  max=1.0911 Jy/beam
quit
! Quitting program
! Log file 1606+106_X.log closed on Wed Jul 17 17:42:32 1996