! Started logfile: 1725+044_X.log on Tue Feb  6 23:15:53 1996
observe 1725+044_X.edt
! Reading UV FITS file: 1725+044_X.edt
! AN table 1: 75 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.84563 visibilities/baseline/integration-bin.
! Found source: 1725+044
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.15049e+09         4e+06         4e+06       USB
! 02  8.23049e+09         4e+06         4e+06       USB
! 03  8.41049e+09         4e+06         4e+06       USB
! 04  8.55049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 469 lines of history.
! 
! Reading 11416 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 = 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.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 121 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 121 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 124 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 121 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.512390Jy  sigma=2.171164
! Fit after  self-cal, rms=0.512161Jy  sigma=2.170862
! 
! 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.7566 mas, bmaj=1.81 mas, bpa=-3.493 degrees
! Estimated noise=2.82615 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.368905 Jy
! Total flux subtracted in 50 components = 0.368905 Jy
! Clean residual min=-0.036365 max=0.118067 Jy/beam
! Clean residual mean=-0.000054 rms=0.008578 Jy/beam
! Combined flux in latest and established models = 0.368905 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 0.368905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.257548Jy  sigma=1.090713
! Fit after  self-cal, rms=0.257480Jy  sigma=1.090427
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.128842 Jy
! Total flux subtracted in 50 components = 0.128842 Jy
! Clean residual min=-0.021038 max=0.061573 Jy/beam
! Clean residual mean=-0.000032 rms=0.005238 Jy/beam
! Combined flux in latest and established models = 0.497747 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 7 components and 0.497747 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183251Jy  sigma=0.774853
! Fit after  self-cal, rms=0.182860Jy  sigma=0.773223
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (0.8, -0.4).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0720372 Jy
! Total flux subtracted in 50 components = 0.0720372 Jy
! Clean residual min=-0.014455 max=0.035972 Jy/beam
! Clean residual mean=-0.000019 rms=0.003563 Jy/beam
! Combined flux in latest and established models = 0.569784 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 11 components and 0.569784 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152446Jy  sigma=0.643977
! Fit after  self-cal, rms=0.152110Jy  sigma=0.642572
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0439368 Jy
! Total flux subtracted in 50 components = 0.0439368 Jy
! Clean residual min=-0.010837 max=0.022284 Jy/beam
! Clean residual mean=-0.000011 rms=0.002661 Jy/beam
! Combined flux in latest and established models = 0.613721 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 11 components and 0.613721 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139090Jy  sigma=0.587336
! Fit after  self-cal, rms=0.138965Jy  sigma=0.586815
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.027099 Jy
! Total flux subtracted in 50 components = 0.027099 Jy
! Clean residual min=-0.008595 max=0.013811 Jy/beam
! Clean residual mean=-0.000006 rms=0.002227 Jy/beam
! Combined flux in latest and established models = 0.64082 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 12 components and 0.64082 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.133655Jy  sigma=0.564367
! Fit after  self-cal, rms=0.133601Jy  sigma=0.564147
! 
! 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=0.9507 mas, bmaj=2.078 mas, bpa=-1.005 degrees
! Estimated noise=1.62165 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.0226178 Jy
! Component: 100  -  total flux cleaned = 0.0348337 Jy
! Total flux subtracted in 100 components = 0.0348337 Jy
! Clean residual min=-0.005977 max=0.007402 Jy/beam
! Clean residual mean=-0.000006 rms=0.001576 Jy/beam
! Combined flux in latest and established models = 0.675653 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 29 components and 0.675653 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.130162Jy  sigma=0.549681
! Fit after  self-cal, rms=0.130117Jy  sigma=0.549506
! 
! 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.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.97     HN        0.97     KP        0.97     
!   LA        0.96     MK        1.01     NL        1.01     OV        0.98     
!   PT        1.01     SC        1.00     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.98     HN        0.99     KP        0.97     
!   LA        0.95     MK        1.00     NL        0.99     OV        0.97     
!   PT        0.98     SC        0.99     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.98     HN        1.00     KP        0.99     
!   LA        0.98     MK        1.02     NL        1.01     OV        0.99     
!   PT        0.99     SC        1.01     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.99     HN        1.02     KP        1.01     
!   LA        1.00     MK        1.04     NL        1.00     OV        1.00     
!   PT        1.00     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.130117Jy  sigma=0.549506
! Fit after  self-cal, rms=0.128297Jy  sigma=0.543716
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9572 mas, bmaj=2.093 mas, bpa=-0.9687 degrees
! Estimated noise=1.60945 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.0013342 Jy
! Component: 100  -  total flux cleaned = 0.00156858 Jy
! Total flux subtracted in 100 components = 0.00156858 Jy
! Clean residual min=-0.005188 max=0.006225 Jy/beam
! Clean residual mean=-0.000003 rms=0.001294 Jy/beam
! Combined flux in latest and established models = 0.677222 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 35 components and 0.677222 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128239Jy  sigma=0.543441
! Fit after  self-cal, rms=0.128233Jy  sigma=0.543412
! 
! 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=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 7.43403e-05 Jy
! Component: 100  -  total flux cleaned = 0.000272348 Jy
! Total flux subtracted in 100 components = 0.000272348 Jy
! Clean residual min=-0.005197 max=0.006253 Jy/beam
! Clean residual mean=-0.000003 rms=0.001289 Jy/beam
! Combined flux in latest and established models = 0.677494 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 38 components and 0.677494 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.128201Jy  sigma=0.543263
! Fit after  self-cal, rms=0.126296Jy  sigma=0.531795
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=0.955 mas, bmaj=2.09 mas, bpa=-0.9345 degrees
! Estimated noise=1.60606 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.00113717 Jy
! Component: 100  -  total flux cleaned = 0.000923447 Jy
! Total flux subtracted in 100 components = 0.000923447 Jy
! Clean residual min=-0.003952 max=0.003968 Jy/beam
! Clean residual mean=-0.000004 rms=0.000947 Jy/beam
! Combined flux in latest and established models = 0.678418 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 40 components and 0.678418 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.126265Jy  sigma=0.531649
! Fit after  self-cal, rms=0.126263Jy  sigma=0.531629
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1725+044_X
! Writing UV FITS file: 1725+044_X.uvf
! Writing 40 model components to file: 1725+044_X.mod
! wwins: Wrote 2 windows to 1725+044_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.955 x 2.09 at -0.9345 degrees (North through East)
! Clean map  min=-0.0036225  max=0.50536 Jy/beam
! Writing clean map to FITS file: 1725+044_X.fits
! Writing difmap environment to: 1725+044_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1725+044_Xuv.ps/vps,1,2
! Attempting to open device: '1725+044_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1725+044_Xim.ps/vps
! Attempting to open device: '1725+044_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.955 mas, bmaj=2.09 mas, bpa=-0.9345 degrees
! Estimated noise=1.60606 mJy/beam.
! The new contour levels are:
!  -0.00284324 0.00284324 0.00568648 0.011373 0.0227459 0.0454919 0.0909837 0.181967 0.363935 0.72787 1.45574 2.91148 5.82296 11.6459 23.2918 46.5837 93.1673 186.335 372.669 745.339 1490.68 2981.35 5962.71 11925.4
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.955 x 2.09 at -0.9345 degrees (North through East)
! Clean map  min=-0.0036225  max=0.50536 Jy/beam
quit
! Quitting program
! Log file 1725+044_X.log closed on Tue Feb  6 23:21:20 1996