! Started logfile: 1606+106_X.log on Fri Feb  5 11:43:58 1999
observe 1606+106_X.edt
! Reading UV FITS file: 1606+106_X.edt
! AN table 1: 120 integrations on 114 of 120 possible baselines.
! AN table 2: 71 integrations on 78 of 78 possible baselines.
! AN table 3: 9 integrations on 1 of 1 possible baselines.
! Apparent sampling: 0.349144 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1606+106
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1674 lines of history.
! 
! Reading 26852 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
select
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
float field_size
field_size = 1024
float field_cell
field_cell = 0.1
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.100x0.100 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 1118 telescope corrections were flagged in sub-array 1.
!  A total of 560 telescope corrections were flagged in sub-array 2.
!  A total of 18 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1118 telescope corrections were flagged in sub-array 1.
!  A total of 560 telescope corrections were flagged in sub-array 2.
!  A total of 18 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1387 telescope corrections were flagged in sub-array 1.
!  A total of 566 telescope corrections were flagged in sub-array 2.
!  A total of 18 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1122 telescope corrections were flagged in sub-array 1.
!  A total of 566 telescope corrections were flagged in sub-array 2.
!  A total of 18 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.286357Jy  sigma=1.552540
! Fit after  self-cal, rms=0.285022Jy  sigma=1.546305
! 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.6143 mas, bmaj=1.405 mas, bpa=-5.648 degrees
! Estimated noise=1.53241 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.841871 Jy
! Total flux subtracted in 50 components = 0.841871 Jy
! Clean residual min=-0.032703 max=0.235243 Jy/beam
! Clean residual mean=-0.000228 rms=0.010077 Jy/beam
! Combined flux in latest and established models = 0.841871 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.841871 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398387Jy  sigma=2.164820
! Fit after  self-cal, rms=0.398387Jy  sigma=2.164819
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.217618 Jy
! Total flux subtracted in 50 components = 0.217618 Jy
! Clean residual min=-0.019194 max=0.092366 Jy/beam
! Clean residual mean=-0.000140 rms=0.005745 Jy/beam
! Combined flux in latest and established models = 1.05949 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 7 components and 1.05949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.245225Jy  sigma=1.329066
! Fit after  self-cal, rms=0.244964Jy  sigma=1.327623
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.101314 Jy
! Total flux subtracted in 50 components = 0.101314 Jy
! Clean residual min=-0.014680 max=0.077661 Jy/beam
! Clean residual mean=-0.000099 rms=0.004224 Jy/beam
! Combined flux in latest and established models = 1.1608 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 9 components and 1.1608 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190956Jy  sigma=1.031552
! Fit after  self-cal, rms=0.190614Jy  sigma=1.029681
! Inverting map 
! Added new window around map position (-1.1, 0.7).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0726169 Jy
! Total flux subtracted in 50 components = 0.0726169 Jy
! Clean residual min=-0.011808 max=0.034823 Jy/beam
! Clean residual mean=-0.000071 rms=0.003132 Jy/beam
! Combined flux in latest and established models = 1.23342 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 15 components and 1.23342 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.158466Jy  sigma=0.852894
! Fit after  self-cal, rms=0.157043Jy  sigma=0.845075
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0451515 Jy
! Total flux subtracted in 50 components = 0.0451515 Jy
! Clean residual min=-0.009535 max=0.022889 Jy/beam
! Clean residual mean=-0.000053 rms=0.002545 Jy/beam
! Combined flux in latest and established models = 1.27857 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 19 components and 1.27857 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141309Jy  sigma=0.758008
! Fit after  self-cal, rms=0.140895Jy  sigma=0.755727
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0301152 Jy
! Total flux subtracted in 50 components = 0.0301152 Jy
! Clean residual min=-0.008597 max=0.016012 Jy/beam
! Clean residual mean=-0.000041 rms=0.002254 Jy/beam
! Combined flux in latest and established models = 1.30869 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 31 components and 1.30869 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.132756Jy  sigma=0.710483
! Fit after  self-cal, rms=0.132586Jy  sigma=0.709537
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0216187 Jy
! Total flux subtracted in 50 components = 0.0216187 Jy
! Clean residual min=-0.007999 max=0.012098 Jy/beam
! Clean residual mean=-0.000033 rms=0.002095 Jy/beam
! Combined flux in latest and established models = 1.33031 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 42 components and 1.33031 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128078Jy  sigma=0.684413
! Fit after  self-cal, rms=0.127984Jy  sigma=0.683880
! 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.8161 mas, bmaj=1.818 mas, bpa=-6.197 degrees
! Estimated noise=0.948519 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.0284709 Jy
! Component: 100  -  total flux cleaned = 0.0452126 Jy
! Total flux subtracted in 100 components = 0.0452126 Jy
! Clean residual min=-0.006124 max=0.009673 Jy/beam
! Clean residual mean=-0.000028 rms=0.001796 Jy/beam
! Combined flux in latest and established models = 1.37552 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 67 components and 1.37552 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.122143Jy  sigma=0.651145
! Fit after  self-cal, rms=0.121889Jy  sigma=0.649700
! 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 30 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     GC        0.99     GN        1.04     
!   HN        1.00     KK        0.98     KP        1.01     LA        1.01     
!   MC        1.06     MK        1.08     NL        0.98     ON        1.00*    
!   OV        1.01     PT        0.98     SC        0.98     WF        0.97     
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.00     GC        1.04     GN        1.02     
!   HN        1.00     KK        0.95     LA        0.99     MK        1.05     
!   NL        1.00     OV        0.99     PT        0.99     SC        1.02     
!   WF        0.98     
! 
!  Telescope amplitude corrections in sub-array 3:
!   GC        0.00*    KK        0.00*    
! 
! 
! Correcting IF 2.
!  A total of 30 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     GC        0.98     GN        1.01     
!   HN        1.01     KK        0.99     KP        0.99     LA        1.00     
!   MC        1.04     MK        1.07     NL        0.98     ON        1.00*    
!   OV        1.00     PT        0.99     SC        0.99     WF        0.98     
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        0.99     GC        1.04     GN        1.01     
!   HN        0.99     KK        0.95     LA        1.00     MK        1.06     
!   NL        0.99     OV        0.99     PT        0.99     SC        1.02     
!   WF        0.98     
! 
!  Telescope amplitude corrections in sub-array 3:
!   GC        0.00*    KK        0.00*    
! 
! 
! Correcting IF 3.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     GC        1.07     GN        1.02     
!   HN        0.99     KK        0.95     KP        1.00     LA        0.99     
!   MC        0.96     MK        1.03     NL        0.98     ON        1.00*    
!   OV        1.01     PT        0.99     SC        0.98     WF        0.97     
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.98     GC        1.03     GN        1.00     
!   HN        0.99     KK        0.95     LA        0.98     MK        1.01     
!   NL        0.99     OV        0.98     PT        0.99     SC        1.02     
!   WF        0.98     
! 
!  Telescope amplitude corrections in sub-array 3:
!   GC        0.00*    KK        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.98     GC        0.99     GN        1.02     
!   HN        0.99     KK        0.97     KP        1.00     LA        0.99     
!   MC        1.04     MK        1.03     NL        0.97     ON        1.00*    
!   OV        1.00     PT        0.98     SC        0.98     WF        0.96     
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.98     GC        1.00     GN        1.00     
!   HN        0.99     KK        0.96     LA        0.98     MK        1.02     
!   NL        0.99     OV        0.98     PT        0.98     SC        1.02     
!   WF        0.96     
! 
!  Telescope amplitude corrections in sub-array 3:
!   GC        0.00*    KK        0.00*    
! 
! 
! Fit before self-cal, rms=0.121889Jy  sigma=0.649700
! Fit after  self-cal, rms=0.115837Jy  sigma=0.622692
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.825 mas, bmaj=1.82 mas, bpa=-6.185 degrees
! Estimated noise=0.946613 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 (-1.8, 1.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00968229 Jy
! Component: 100  -  total flux cleaned = 0.0133458 Jy
! Total flux subtracted in 100 components = 0.0133458 Jy
! Clean residual min=-0.004450 max=0.006153 Jy/beam
! Clean residual mean=0.000001 rms=0.001264 Jy/beam
! Combined flux in latest and established models = 1.38886 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 89 components and 1.38886 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.115142Jy  sigma=0.618750
! Fit after  self-cal, rms=0.115070Jy  sigma=0.618334
! 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 = 0.00269195 Jy
! Component: 100  -  total flux cleaned = 0.00308612 Jy
! Total flux subtracted in 100 components = 0.00308612 Jy
! Clean residual min=-0.004337 max=0.006040 Jy/beam
! Clean residual mean=0.000003 rms=0.001237 Jy/beam
! Combined flux in latest and established models = 1.39195 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 101 components and 1.39195 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.114911Jy  sigma=0.617445
! Fit after  self-cal, rms=0.111281Jy  sigma=0.595635
! Inverting map and beam 
! Estimated beam: bmin=0.8245 mas, bmaj=1.82 mas, bpa=-6.158 degrees
! Estimated noise=0.947169 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.00510501 Jy
! Component: 100  -  total flux cleaned = 0.0074739 Jy
! Total flux subtracted in 100 components = 0.0074739 Jy
! Clean residual min=-0.002885 max=0.005123 Jy/beam
! Clean residual mean=-0.000006 rms=0.000770 Jy/beam
! Combined flux in latest and established models = 1.39942 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 114 components and 1.39942 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111073Jy  sigma=0.594460
! Fit after  self-cal, rms=0.111044Jy  sigma=0.594293
! Inverting map 
! Added new window around map position (-4.9, 5.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00505621 Jy
! Component: 100  -  total flux cleaned = 0.00745985 Jy
! Total flux subtracted in 100 components = 0.00745985 Jy
! Clean residual min=-0.002552 max=0.002698 Jy/beam
! Clean residual mean=-0.000004 rms=0.000679 Jy/beam
! Combined flux in latest and established models = 1.40688 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 134 components and 1.40688 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.110826Jy  sigma=0.593082
! Fit after  self-cal, rms=0.110812Jy  sigma=0.593010
! 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 134 model components to file: 1606+106_X.mod
! wwins: Wrote 4 windows to 1606+106_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8245 x 1.82 at -6.158 degrees (North through East)
! Clean map  min=-0.0025453  max=1.1283 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=0.8245 mas, bmaj=1.82 mas, bpa=-6.158 degrees
! Estimated noise=0.947169 mJy/beam.
! The new contour levels are:
!  -0.00203965 0.00203965 0.00407931 0.00815861 0.0163172 0.0326345 0.0652689 0.130538 0.261076 0.522151 1.0443 2.0886 4.17721 8.35442 16.7088 33.4177 66.8354 133.671 267.341 534.683 1069.37 2138.73 4277.46 8554.93 17109.9
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8245 x 1.82 at -6.158 degrees (North through East)
! Clean map  min=-0.0025453  max=1.1283 Jy/beam
device 1606+106_Xim_un.ps/vps
! Attempting to open device: '1606+106_Xim_un.ps/vps'
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.
loglevs (imstat(rms)*3),20000,2
! Inverting map and beam 
! Estimated beam: bmin=0.6142 mas, bmaj=1.411 mas, bpa=-5.681 degrees
! Estimated noise=1.53122 mJy/beam.
! The new contour levels are:
!  -0.0030707 0.0030707 0.0061414 0.0122828 0.0245656 0.0491312 0.0982624 0.196525 0.39305 0.786099 1.5722 3.1444 6.28879 12.5776 25.1552 50.3103 100.621 201.241 402.483 804.966 1609.93 3219.86 6439.72 12879.4
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6142 x 1.411 at -5.681 degrees (North through East)
! Clean map  min=-0.0041638  max=1.0684 Jy/beam
quit
! Quitting program
! Log file 1606+106_X.log closed on Fri Feb  5 11:46:44 1999