! Started logfile: 1101+384_X.log on Wed Jun  9 17:51:20 1999
observe 1101+384_X.edt
! Reading UV FITS file: 1101+384_X.edt
! AN table 1: 89 integrations on 26 of 28 possible baselines.
! AN table 2: 112 integrations on 107 of 120 possible baselines.
! AN table 3: 85 integrations on 55 of 55 possible baselines.
! Apparent sampling: 0.407632 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1101+384
! 
! 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 917 lines of history.
! 
! Reading 30936 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 429 telescope corrections were flagged in sub-array 1.
!  A total of 1093 telescope corrections were flagged in sub-array 2.
!  A total of 212 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 429 telescope corrections were flagged in sub-array 1.
!  A total of 1087 telescope corrections were flagged in sub-array 2.
!  A total of 211 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 427 telescope corrections were flagged in sub-array 1.
!  A total of 1097 telescope corrections were flagged in sub-array 2.
!  A total of 218 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 433 telescope corrections were flagged in sub-array 1.
!  A total of 1102 telescope corrections were flagged in sub-array 2.
!  A total of 267 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.728195Jy  sigma=2.927592
! Fit after  self-cal, rms=0.727545Jy  sigma=2.925500
! 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.6239 mas, bmaj=0.8315 mas, bpa=-7.715 degrees
! Estimated noise=2.17027 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.208682 Jy
! Total flux subtracted in 50 components = 0.208682 Jy
! Clean residual min=-0.011214 max=0.058333 Jy/beam
! Clean residual mean=0.000125 rms=0.003150 Jy/beam
! Combined flux in latest and established models = 0.208682 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.208682 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.136404Jy  sigma=0.547246
! Fit after  self-cal, rms=0.136404Jy  sigma=0.547244
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0507186 Jy
! Total flux subtracted in 50 components = 0.0507186 Jy
! Clean residual min=-0.007451 max=0.020452 Jy/beam
! Clean residual mean=0.000073 rms=0.001982 Jy/beam
! Combined flux in latest and established models = 0.259401 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 10 components and 0.259401 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.117129Jy  sigma=0.469455
! Fit after  self-cal, rms=0.117072Jy  sigma=0.469221
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0227177 Jy
! Total flux subtracted in 50 components = 0.0227177 Jy
! Clean residual min=-0.006321 max=0.012796 Jy/beam
! Clean residual mean=0.000050 rms=0.001672 Jy/beam
! Combined flux in latest and established models = 0.282118 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 13 components and 0.282118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.112889Jy  sigma=0.452332
! Fit after  self-cal, rms=0.112851Jy  sigma=0.452176
! Inverting map 
! Added new window around map position (-1.1, 1.2).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0147815 Jy
! Total flux subtracted in 50 components = 0.0147815 Jy
! Clean residual min=-0.006184 max=0.008521 Jy/beam
! Clean residual mean=0.000036 rms=0.001527 Jy/beam
! Combined flux in latest and established models = 0.2969 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 18 components and 0.2969 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111099Jy  sigma=0.445083
! Fit after  self-cal, rms=0.111047Jy  sigma=0.444878
! 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.812 mas, bmaj=1.045 mas, bpa=-4.881 degrees
! Estimated noise=1.05963 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.0135261 Jy
! Component: 100  -  total flux cleaned = 0.0213156 Jy
! Total flux subtracted in 100 components = 0.0213156 Jy
! Clean residual min=-0.004033 max=0.006544 Jy/beam
! Clean residual mean=0.000059 rms=0.001108 Jy/beam
! Combined flux in latest and established models = 0.318215 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 35 components and 0.318215 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109552Jy  sigma=0.438832
! Fit after  self-cal, rms=0.109490Jy  sigma=0.438587
! 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 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     GC        0.99     HN        1.01     MC        1.08     
!   NL        1.00     NY        0.93     ON        1.00*    WF        0.91     
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.02     GC        1.01     GN        0.92     
!   HN        0.99     KK        1.00     KP        0.97     LA        0.96     
!   MC        1.26     MK        1.02     NL        0.96     ON        1.00*    
!   OV        1.00     PT        0.97     SC        0.97     WF        0.97     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.02     GC        0.99     KK        0.94     
!   KP        1.02     LA        1.02     MK        1.00     NL        1.06     
!   NY        1.07     OV        1.01     PT        1.01     
! 
! 
! Correcting IF 2.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     GC        0.98     HN        0.95     MC        1.08     
!   NL        1.00     NY        0.99     ON        1.00*    WF        0.96     
! 
!  A total of 60 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        1.01     GC        0.98     GN        0.92     
!   HN        1.00     KK        1.00     KP        0.98     LA        0.96     
!   MC        1.24     MK        1.03     NL        0.97     ON        1.00*    
!   OV        1.00     PT        0.97     SC        0.97     WF        0.97     
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.00     GC        0.98     KK        0.91     
!   KP        1.00     LA        1.04     MK        1.02     NL        1.03     
!   NY        1.07     OV        1.02     PT        1.02     
! 
! 
! Correcting IF 3.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     GC        0.93     HN        0.99     MC        1.12     
!   NL        1.02     NY        0.98     ON        1.00*    WF        0.86     
! 
!  A total of 66 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.02     GC        0.96     GN        0.91     
!   HN        0.98     KK        0.99     KP        1.00     LA        0.95     
!   MC        1.26     MK        1.01     NL        0.96     ON        1.00*    
!   OV        0.99     PT        0.96     SC        0.96     WF        0.95     
! 
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.00     GC        0.97     KK        0.92     
!   KP        0.99     LA        1.03     MK        0.98     NL        1.05     
!   NY        1.09     OV        1.00     PT        1.00     
! 
! 
! Correcting IF 4.
!  A total of 21 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     GC        0.97     HN        1.00     MC        1.10     
!   NL        0.99     NY        0.97     ON        1.00*    WF        0.86     
! 
!  A total of 54 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.00     GC        1.01     GN        0.92     
!   HN        0.99     KK        1.00     KP        1.00     LA        0.95     
!   MC        1.20     MK        1.02     NL        0.95     ON        1.00*    
!   OV        1.00     PT        0.95     SC        0.96     WF        0.98     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.97     GC        0.99     KK        0.88     
!   KP        1.00     LA        1.01     MK        1.01     NL        1.01     
!   NY        1.00*    OV        1.00     PT        1.01     
! 
! 
! Fit before self-cal, rms=0.109490Jy  sigma=0.438587
! Fit after  self-cal, rms=0.106002Jy  sigma=0.431415
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8199 mas, bmaj=1.057 mas, bpa=-3.062 degrees
! Estimated noise=1.05486 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.00342425 Jy
! Component: 100  -  total flux cleaned = 0.00401578 Jy
! Total flux subtracted in 100 components = 0.00401578 Jy
! Clean residual min=-0.002397 max=0.004336 Jy/beam
! Clean residual mean=0.000019 rms=0.000654 Jy/beam
! Combined flux in latest and established models = 0.322231 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 44 components and 0.322231 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105855Jy  sigma=0.430825
! Fit after  self-cal, rms=0.105848Jy  sigma=0.430766
! Inverting map 
! Added new window around map position (-3.9, 4.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00432692 Jy
! Component: 100  -  total flux cleaned = 0.00693828 Jy
! Total flux subtracted in 100 components = 0.00693828 Jy
! Clean residual min=-0.002162 max=0.003050 Jy/beam
! Clean residual mean=-0.000003 rms=0.000563 Jy/beam
! Combined flux in latest and established models = 0.329169 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 60 components and 0.329169 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105685Jy  sigma=0.430104
! Fit after  self-cal, rms=0.105681Jy  sigma=0.430084
! 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 (-2.3, 1.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00267641 Jy
! Component: 100  -  total flux cleaned = 0.0039329 Jy
! Total flux subtracted in 100 components = 0.0039329 Jy
! Clean residual min=-0.002024 max=0.002326 Jy/beam
! Clean residual mean=-0.000017 rms=0.000529 Jy/beam
! Combined flux in latest and established models = 0.333102 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 71 components and 0.333102 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105608Jy  sigma=0.429772
! Fit after  self-cal, rms=0.105092Jy  sigma=0.426341
! Inverting map and beam 
! Estimated beam: bmin=0.8186 mas, bmaj=1.057 mas, bpa=-3.017 degrees
! Estimated noise=1.05557 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.00140343 Jy
! Component: 100  -  total flux cleaned = 0.00238365 Jy
! Total flux subtracted in 100 components = 0.00238365 Jy
! Clean residual min=-0.001847 max=0.001996 Jy/beam
! Clean residual mean=-0.000007 rms=0.000485 Jy/beam
! Combined flux in latest and established models = 0.335486 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 87 components and 0.335486 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105055Jy  sigma=0.426187
! Fit after  self-cal, rms=0.105053Jy  sigma=0.426177
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1101+384_X
! Writing UV FITS file: 1101+384_X.uvf
! Writing 87 model components to file: 1101+384_X.mod
! wwins: Wrote 4 windows to 1101+384_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8186 x 1.057 at -3.017 degrees (North through East)
! Clean map  min=-0.0017829  max=0.27481 Jy/beam
! Writing clean map to FITS file: 1101+384_X.fits
! Writing difmap environment to: 1101+384_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1101+384_Xuv.ps/vps,1,2
! Attempting to open device: '1101+384_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1101+384_Xim.ps/vps
! Attempting to open device: '1101+384_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.8186 mas, bmaj=1.057 mas, bpa=-3.017 degrees
! Estimated noise=1.05557 mJy/beam.
! The new contour levels are:
!  -0.00145923 0.00145923 0.00291846 0.00583691 0.0116738 0.0233477 0.0466953 0.0933906 0.186781 0.373562 0.747125 1.49425 2.9885 5.977 11.954 23.908 47.816 95.632 191.264 382.528 765.056 1530.11 3060.22 6120.45 12240.9
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8186 x 1.057 at -3.017 degrees (North through East)
! Clean map  min=-0.0017829  max=0.27481 Jy/beam
quit
! Quitting program
! Log file 1101+384_X.log closed on Wed Jun  9 17:54:35 1999