! Started logfile: 1726+455_S.log on Fri Jul 12 12:39:29 1996
observe 1726+455_S.edt
! Reading UV FITS file: 1726+455_S.edt
! AN table 1: 46 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.629831 visibilities/baseline/integration-bin.
! Found source: 1726+455
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  2.22099e+09       1.6e+07       1.6e+07       USB
! 
! Polarization(s): RR
! 
! Read 816 lines of history.
! 
! Reading 1043 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.5
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.500x0.500 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 108 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.224301Jy  sigma=2.618589
! Fit after  self-cal, rms=0.220372Jy  sigma=2.562465
! 
! 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=3.168 mas, bmaj=5.201 mas, bpa=-14.04 degrees
! Estimated noise=2.53918 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.874932 Jy
! Total flux subtracted in 75 components = 1.00707 Jy
! Clean residual min=-0.039989 max=0.125798 Jy/beam
! Clean residual mean=0.000472 rms=0.012561 Jy/beam
! Combined flux in latest and established models = 1.00707 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 1.00707 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.215782Jy  sigma=2.505767
! Fit after  self-cal, rms=0.215748Jy  sigma=2.505337
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=75  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.122755 Jy
! Total flux subtracted in 75 components = 0.153308 Jy
! Clean residual min=-0.025757 max=0.032424 Jy/beam
! Clean residual mean=-0.000037 rms=0.006899 Jy/beam
! Combined flux in latest and established models = 1.16038 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 10 components and 1.16038 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.144487Jy  sigma=1.619075
! Fit after  self-cal, rms=0.144265Jy  sigma=1.616179
! 
! 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=3.521 mas, bmaj=5.409 mas, bpa=-9.494 degrees
! Estimated noise=2.0366 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.0356633 Jy
! Component: 100  -  total flux cleaned = 0.0440141 Jy
! Component: 150  -  total flux cleaned = 0.0440677 Jy
! Total flux subtracted in 150 components = 0.0440677 Jy
! Clean residual min=-0.027312 max=0.024892 Jy/beam
! Clean residual mean=-0.000476 rms=0.006009 Jy/beam
! Combined flux in latest and established models = 1.20445 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 16 components and 1.20445 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.136791Jy  sigma=1.514606
! Fit after  self-cal, rms=0.136626Jy  sigma=1.512284
! 
! 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.98     FD        1.00     HN        0.99     LA        1.00     
!   MK        1.03     NL        1.03     OV        0.96     PT        1.01     
!   SC        1.00     
! 
! 
! Fit before self-cal, rms=0.136626Jy  sigma=1.512284
! Fit after  self-cal, rms=0.132404Jy  sigma=1.450547
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.532 mas, bmaj=5.422 mas, bpa=-9.621 degrees
! Estimated noise=2.04111 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.00616784 Jy
! Component: 100  -  total flux cleaned = -0.00589203 Jy
! Component: 150  -  total flux cleaned = -0.00674108 Jy
! Total flux subtracted in 150 components = -0.00674108 Jy
! Clean residual min=-0.024122 max=0.021490 Jy/beam
! Clean residual mean=-0.000249 rms=0.005412 Jy/beam
! Combined flux in latest and established models = 1.19771 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 20 components and 1.19771 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.131439Jy  sigma=1.437795
! Fit after  self-cal, rms=0.131301Jy  sigma=1.435825
! 
! 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 = -0.000100589 Jy
! Component: 100  -  total flux cleaned = -0.000863114 Jy
! Component: 150  -  total flux cleaned = -0.00134119 Jy
! Total flux subtracted in 150 components = -0.00134119 Jy
! Clean residual min=-0.023775 max=0.021039 Jy/beam
! Clean residual mean=-0.000240 rms=0.005351 Jy/beam
! Combined flux in latest and established models = 1.19637 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 28 components and 1.19637 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.130889Jy  sigma=1.430223
! Fit after  self-cal, rms=0.104600Jy  sigma=1.072347
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=3.542 mas, bmaj=5.452 mas, bpa=-10.29 degrees
! Estimated noise=2.04661 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.00454186 Jy
! Component: 100  -  total flux cleaned = 0.00454281 Jy
! Component: 150  -  total flux cleaned = 0.00443393 Jy
! Total flux subtracted in 150 components = 0.00443393 Jy
! Clean residual min=-0.010182 max=0.011823 Jy/beam
! Clean residual mean=0.000248 rms=0.002538 Jy/beam
! Combined flux in latest and established models = 1.2008 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 34 components and 1.2008 Jy
! 
! Correcting IF 1.
! 
! Fit before self-cal, rms=0.104306Jy  sigma=1.067663
! Fit after  self-cal, rms=0.104266Jy  sigma=1.066834
! 
! Reinstating the default IF.
! 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 34 model components to file: 1726+455_S.mod
! wwins: Wrote 1 windows to 1726+455_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.542 x 5.452 at -10.29 degrees (North through East)
! Clean map  min=-0.009525  max=1.1325 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'
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=3.542 mas, bmaj=5.452 mas, bpa=-10.29 degrees
! Estimated noise=2.04661 mJy/beam.
! The new contour levels are:
!  -0.00757317 0.00757317 0.0151463 0.0302927 0.0605853 0.121171 0.242341 0.484683 0.969365 1.93873 3.87746 7.75492 15.5098 31.0197 62.0394 124.079 248.157 496.315 992.63 1985.26 3970.52 7941.04 15882.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.542 x 5.452 at -10.29 degrees (North through East)
! Clean map  min=-0.009525  max=1.1325 Jy/beam
quit
! Quitting program
! Log file 1726+455_S.log closed on Fri Jul 12 12:40:59 1996