! Started logfile: 1749+096_X.log on Tue May 28 23:48:51 1996
observe 1749+096_X.edt
! Reading UV FITS file: 1749+096_X.edt
! AN table 1: 121 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.669605 visibilities/baseline/integration-bin.
! Found source: 1749+096
! 
! 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 515 lines of history.
! 
! Reading 14584 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 451 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 451 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 467 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 450 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=2.677468Jy  sigma=11.533795
! Fit after  self-cal, rms=2.677462Jy  sigma=11.533520
! 
! 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.797 mas, bmaj=1.592 mas, bpa=-1.453 degrees
! Estimated noise=2.45149 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 = 2.85748 Jy
! Total flux subtracted in 50 components = 2.85748 Jy
! Clean residual min=-0.113934 max=0.797131 Jy/beam
! Clean residual mean=-0.000422 rms=0.032050 Jy/beam
! Combined flux in latest and established models = 2.85748 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 2.85748 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.830224Jy  sigma=3.575905
! Fit after  self-cal, rms=0.830223Jy  sigma=3.575903
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.623118 Jy
! Total flux subtracted in 50 components = 0.623118 Jy
! Clean residual min=-0.033144 max=0.173827 Jy/beam
! Clean residual mean=-0.000110 rms=0.008266 Jy/beam
! Combined flux in latest and established models = 3.4806 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 3.4806 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.247658Jy  sigma=1.065227
! Fit after  self-cal, rms=0.247658Jy  sigma=1.065227
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.137846 Jy
! Total flux subtracted in 50 components = 0.137846 Jy
! Clean residual min=-0.020649 max=0.045489 Jy/beam
! Clean residual mean=-0.000041 rms=0.004747 Jy/beam
! Combined flux in latest and established models = 3.61845 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 3.61845 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.165529Jy  sigma=0.710636
! Fit after  self-cal, rms=0.165496Jy  sigma=0.710495
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.045895 Jy
! Total flux subtracted in 50 components = 0.045895 Jy
! Clean residual min=-0.018239 max=0.025466 Jy/beam
! Clean residual mean=-0.000019 rms=0.004225 Jy/beam
! Combined flux in latest and established models = 3.66434 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 6 components and 3.66434 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.153778Jy  sigma=0.660096
! Fit after  self-cal, rms=0.153714Jy  sigma=0.659837
! 
! 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.9884 mas, bmaj=1.861 mas, bpa=-2.522 degrees
! Estimated noise=1.56113 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.0270348 Jy
! Component: 100  -  total flux cleaned = 0.0403516 Jy
! Total flux subtracted in 100 components = 0.0403516 Jy
! Clean residual min=-0.017090 max=0.022357 Jy/beam
! Clean residual mean=-0.000010 rms=0.004223 Jy/beam
! Combined flux in latest and established models = 3.70469 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 14 components and 3.70469 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.149518Jy  sigma=0.642004
! Fit after  self-cal, rms=0.149344Jy  sigma=0.641265
! 
! 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 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        1.00     KP        0.99     
!   LA        1.00     MK        1.00     NL        1.00     OV        1.00     
!   PT        1.00     SC        1.00     
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     OV        1.00     
!   PT        0.99     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.01     NL        1.00     OV        1.00     
!   PT        1.00     SC        1.00     
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.00     HN        1.00     KP        1.00     
!   LA        1.00     MK        1.00     NL        1.00     OV        1.00     
!   PT        0.99     SC        1.00     
! 
! 
! Fit before self-cal, rms=0.149344Jy  sigma=0.641265
! Fit after  self-cal, rms=0.148002Jy  sigma=0.636981
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9917 mas, bmaj=1.865 mas, bpa=-2.416 degrees
! Estimated noise=1.56105 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.00309771 Jy
! Component: 100  -  total flux cleaned = -0.00313185 Jy
! Total flux subtracted in 100 components = -0.00313185 Jy
! Clean residual min=-0.016920 max=0.020686 Jy/beam
! Clean residual mean=0.000002 rms=0.004125 Jy/beam
! Combined flux in latest and established models = 3.70156 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 19 components and 3.70156 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147573Jy  sigma=0.635057
! Fit after  self-cal, rms=0.147489Jy  sigma=0.634706
! 
! 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 = -0.000289508 Jy
! Component: 100  -  total flux cleaned = -9.7352e-05 Jy
! Total flux subtracted in 100 components = -9.7352e-05 Jy
! Clean residual min=-0.016515 max=0.020108 Jy/beam
! Clean residual mean=0.000001 rms=0.004106 Jy/beam
! Combined flux in latest and established models = 3.70147 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 20 components and 3.70147 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147237Jy  sigma=0.633586
! Fit after  self-cal, rms=0.109886Jy  sigma=0.468249
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=0.991 mas, bmaj=1.864 mas, bpa=-2.407 degrees
! Estimated noise=1.56014 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)
! Added new window around map position (1.2, 2.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0155747 Jy
! Component: 100  -  total flux cleaned = 0.0227655 Jy
! Total flux subtracted in 100 components = 0.0227655 Jy
! Clean residual min=-0.004547 max=0.004968 Jy/beam
! Clean residual mean=-0.000003 rms=0.001112 Jy/beam
! Combined flux in latest and established models = 3.72423 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 42 components and 3.72423 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107966Jy  sigma=0.459930
! Fit after  self-cal, rms=0.107843Jy  sigma=0.459436
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1749+096_X
! Writing UV FITS file: 1749+096_X.uvf
! Writing 42 model components to file: 1749+096_X.mod
! wwins: Wrote 2 windows to 1749+096_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.991 x 1.864 at -2.407 degrees (North through East)
! Clean map  min=-0.0049731  max=3.6595 Jy/beam
! Writing clean map to FITS file: 1749+096_X.fits
! Writing difmap environment to: 1749+096_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1749+096_Xuv.ps/vps,1,2
! Attempting to open device: '1749+096_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1749+096_Xim.ps/vps
! Attempting to open device: '1749+096_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.991 mas, bmaj=1.864 mas, bpa=-2.407 degrees
! Estimated noise=1.56014 mJy/beam.
! The new contour levels are:
!  -0.00332681 0.00332681 0.00665362 0.0133072 0.0266145 0.053229 0.106458 0.212916 0.425832 0.851663 1.70333 3.40665 6.81331 13.6266 27.2532 54.5065 109.013 218.026 436.052 872.103 1744.21 3488.41 6976.83 13953.7
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.991 x 1.864 at -2.407 degrees (North through East)
! Clean map  min=-0.0049731  max=3.6595 Jy/beam
quit
! Quitting program
! Log file 1749+096_X.log closed on Tue May 28 23:55:04 1996