! Started logfile: 1726+455_S.log on Mon Feb  2 19:38:22 1998
observe 1726+455_S.edt
! Reading UV FITS file: 1726+455_S.edt
! AN table 1: 90 integrations on 91 of 91 possible baselines.
! AN table 2: 39 integrations on 10 of 10 possible baselines.
! Apparent sampling: 0.364802 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: 1726+455
! 
! 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  2.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 784 lines of history.
! 
! Reading 12520 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.5
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 = 3.6/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.500x0.500 milli-arcsec cellsize.
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
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 806 telescope corrections were flagged in sub-array 1.
!  A total of 98 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 803 telescope corrections were flagged in sub-array 1.
!  A total of 95 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 803 telescope corrections were flagged in sub-array 1.
!  A total of 104 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 803 telescope corrections were flagged in sub-array 1.
!  A total of 101 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=0.272949Jy  sigma=1.346245
! Fit after  self-cal, rms=0.271039Jy  sigma=1.337020
! 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=2.643 mas, bmaj=3.101 mas, bpa=83.21 degrees
! Estimated noise=2.76851 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.610774 Jy
! Total flux subtracted in 50 components = 0.610774 Jy
! Clean residual min=-0.039511 max=0.170365 Jy/beam
! Clean residual mean=0.000247 rms=0.010275 Jy/beam
! Combined flux in latest and established models = 0.610774 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.610774 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.301425Jy  sigma=1.489566
! Fit after  self-cal, rms=0.301425Jy  sigma=1.489565
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.155725 Jy
! Total flux subtracted in 50 components = 0.155725 Jy
! Clean residual min=-0.019116 max=0.062544 Jy/beam
! Clean residual mean=0.000136 rms=0.005330 Jy/beam
! Combined flux in latest and established models = 0.766499 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.766499 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210510Jy  sigma=1.038695
! Fit after  self-cal, rms=0.210387Jy  sigma=1.038096
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0652959 Jy
! Total flux subtracted in 50 components = 0.0652959 Jy
! Clean residual min=-0.016437 max=0.029156 Jy/beam
! Clean residual mean=0.000090 rms=0.003937 Jy/beam
! Combined flux in latest and established models = 0.831795 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 12 components and 0.831795 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187602Jy  sigma=0.925056
! Fit after  self-cal, rms=0.187534Jy  sigma=0.924733
! Inverting map 
! Added new window around map position (-3.5, -0.5).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0337649 Jy
! Total flux subtracted in 50 components = 0.0337649 Jy
! Clean residual min=-0.014870 max=0.021355 Jy/beam
! Clean residual mean=0.000066 rms=0.003474 Jy/beam
! Combined flux in latest and established models = 0.86556 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 27 components and 0.86556 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.180706Jy  sigma=0.890910
! Fit after  self-cal, rms=0.180610Jy  sigma=0.890435
! 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=3.395 mas, bmaj=3.777 mas, bpa=-85.32 degrees
! Estimated noise=1.6714 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.0304759 Jy
! Component: 100  -  total flux cleaned = 0.0450005 Jy
! Total flux subtracted in 100 components = 0.0450005 Jy
! Clean residual min=-0.008047 max=0.012743 Jy/beam
! Clean residual mean=0.000932 rms=0.002328 Jy/beam
! Combined flux in latest and established models = 0.91056 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 40 components and 0.91056 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.176183Jy  sigma=0.868630
! Fit after  self-cal, rms=0.176059Jy  sigma=0.868014
! 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        1.00     FD        1.00     GC        1.03     GN        0.96     
!   HN        0.98     KK        1.04     KP        1.00     LA        0.91     
!   MK        1.01     NL        0.95     ON        0.99     OV        0.99     
!   PT        0.98     WF        0.99     
! 
!  A total of 69 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     GC        1.00*    HN        1.06     ON        0.84     
!   WF        0.85     
! 
! 
! Correcting IF 2.
!  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     GC        1.15     GN        0.97     
!   HN        0.97     KK        0.95     KP        1.01     LA        1.00     
!   MK        1.04     NL        1.00     ON        1.01     OV        0.99     
!   PT        0.98     WF        0.99     
! 
!  A total of 72 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     GC        1.00*    HN        1.05     ON        0.96     
!   WF        0.92     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00     GC        1.05     GN        0.98     
!   HN        1.00     KK        1.00     KP        1.01     LA        1.02     
!   MK        1.05     NL        0.99     ON        1.00     OV        1.00     
!   PT        1.00     WF        0.98     
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.08     GC        1.00*    HN        1.01     ON        1.00     
!   WF        0.93     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.02     GC        1.04     GN        0.98     
!   HN        1.00     KK        1.05     KP        1.02     LA        1.02     
!   MK        1.04     NL        1.01     ON        0.98     OV        0.99     
!   PT        1.00     WF        0.96     
! 
!  A total of 66 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.12     GC        1.00*    HN        1.03     ON        1.01     
!   WF        0.97     
! 
! 
! Fit before self-cal, rms=0.176059Jy  sigma=0.868014
! Fit after  self-cal, rms=0.169278Jy  sigma=0.846205
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.384 mas, bmaj=4.029 mas, bpa=89.61 degrees
! Estimated noise=1.69435 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.00188208 Jy
! Component: 100  -  total flux cleaned = 0.00176341 Jy
! Total flux subtracted in 100 components = 0.00176341 Jy
! Clean residual min=-0.007635 max=0.008695 Jy/beam
! Clean residual mean=0.000254 rms=0.001840 Jy/beam
! Combined flux in latest and established models = 0.912324 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 44 components and 0.912324 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169163Jy  sigma=0.845699
! Fit after  self-cal, rms=0.169166Jy  sigma=0.845612
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * (6.0/3.6)
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.000317194 Jy
! Component: 100  -  total flux cleaned = 0.000130284 Jy
! Total flux subtracted in 100 components = 0.000130284 Jy
! Clean residual min=-0.007615 max=0.008494 Jy/beam
! Clean residual mean=0.000252 rms=0.001832 Jy/beam
! Combined flux in latest and established models = 0.912454 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 46 components and 0.912454 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169109Jy  sigma=0.845364
! Fit after  self-cal, rms=0.165297Jy  sigma=0.817989
! Inverting map and beam 
! Estimated beam: bmin=3.388 mas, bmaj=4.032 mas, bpa=89.82 degrees
! Estimated noise=1.69813 mJy/beam.
doamp = false
solint = solint / (6.0/3.6)
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.00204679 Jy
! Component: 100  -  total flux cleaned = 0.00229358 Jy
! Total flux subtracted in 100 components = 0.00229358 Jy
! Clean residual min=-0.005099 max=0.006915 Jy/beam
! Clean residual mean=0.000128 rms=0.001427 Jy/beam
! Combined flux in latest and established models = 0.914748 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 48 components and 0.914748 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.165242Jy  sigma=0.817770
! Fit after  self-cal, rms=0.165246Jy  sigma=0.817720
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1726+455_S
! Writing UV FITS file: 1726+455_S.uvf
! Writing 48 model components to file: 1726+455_S.mod
! wwins: Wrote 2 windows to 1726+455_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.388 x 4.032 at 89.82 degrees (North through East)
! Clean map  min=-0.0047627  max=0.80724 Jy/beam
! Writing clean map to FITS file: 1726+455_S.fits
! Writing difmap environment to: 1726+455_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1726+455_Suv.ps/vps,1,2
! Attempting to open device: '1726+455_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1726+455_Sim.ps/vps
! Attempting to open device: '1726+455_Sim.ps/vps'
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 -1,2048,2
! The new contour levels are:
!  -1 1 2 4 8 16 32 64 128 256 512 1024 2048
cmul = imstat(rms)*3
! Inverting map and beam 
! Estimated beam: bmin=3.388 mas, bmaj=4.032 mas, bpa=89.82 degrees
! Estimated noise=1.69813 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.388 x 4.032 at 89.82 degrees (North through East)
! Clean map  min=-0.0047627  max=0.80724 Jy/beam
quit
! Quitting program
! Log file 1726+455_S.log closed on Mon Feb  2 19:44:12 1998