! Started logfile: 1751+288_X.log on Tue Feb  6 23:32:38 1996
observe 1751+288_X.edt
! Reading UV FITS file: 1751+288_X.edt
! AN table 1: 95 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.778012 visibilities/baseline/integration-bin.
! Found source: 1751+288
! 
! 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 13304 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 171 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 174 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 171 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 173 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.685078Jy  sigma=2.973954
! Fit after  self-cal, rms=0.684864Jy  sigma=2.973139
! 
! 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.7994 mas, bmaj=1.46 mas, bpa=-0.03198 degrees
! Estimated noise=2.37818 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.248561 Jy
! Total flux subtracted in 50 components = 0.248561 Jy
! Clean residual min=-0.014465 max=0.069342 Jy/beam
! Clean residual mean=0.000000 rms=0.003552 Jy/beam
! Combined flux in latest and established models = 0.248561 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 0.248561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.167757Jy  sigma=0.726022
! Fit after  self-cal, rms=0.167757Jy  sigma=0.726020
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0575575 Jy
! Total flux subtracted in 50 components = 0.0575575 Jy
! Clean residual min=-0.009830 max=0.022364 Jy/beam
! Clean residual mean=0.000000 rms=0.002199 Jy/beam
! Combined flux in latest and established models = 0.306118 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 8 components and 0.306118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147982Jy  sigma=0.640271
! Fit after  self-cal, rms=0.147925Jy  sigma=0.640032
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0253032 Jy
! Total flux subtracted in 50 components = 0.0253032 Jy
! Clean residual min=-0.008220 max=0.014179 Jy/beam
! Clean residual mean=0.000000 rms=0.001851 Jy/beam
! Combined flux in latest and established models = 0.331421 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 13 components and 0.331421 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.143759Jy  sigma=0.622017
! Fit after  self-cal, rms=0.143694Jy  sigma=0.621745
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (0.8, 1.6).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0164019 Jy
! Total flux subtracted in 50 components = 0.0164019 Jy
! Clean residual min=-0.007908 max=0.008726 Jy/beam
! Clean residual mean=0.000001 rms=0.001672 Jy/beam
! Combined flux in latest and established models = 0.347823 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 17 components and 0.347823 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141995Jy  sigma=0.614417
! Fit after  self-cal, rms=0.141962Jy  sigma=0.614273
! 
! 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=1.034 mas, bmaj=1.752 mas, bpa=3.211 degrees
! Estimated noise=1.47159 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 (1.6, 0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0149529 Jy
! Component: 100  -  total flux cleaned = 0.0236778 Jy
! Total flux subtracted in 100 components = 0.0236778 Jy
! Clean residual min=-0.005725 max=0.006793 Jy/beam
! Clean residual mean=0.000006 rms=0.001317 Jy/beam
! Combined flux in latest and established models = 0.371501 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 30 components and 0.371501 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.140507Jy  sigma=0.607985
! Fit after  self-cal, rms=0.140428Jy  sigma=0.607646
! 
! 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.99     HN        0.95     KP        0.99     
!   LA        0.96     MK        1.00     NL        1.03     OV        0.96     
!   PT        0.97     SC        1.00     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.99     HN        0.98     KP        0.98     
!   LA        0.97     MK        0.99     NL        0.97     OV        0.97     
!   PT        0.97     SC        0.97     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.00     HN        0.99     KP        1.01     
!   LA        0.97     MK        1.01     NL        1.06     OV        0.97     
!   PT        1.01     SC        1.04     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.02     HN        1.00     KP        1.02     
!   LA        0.97     MK        1.01     NL        1.01     OV        0.99     
!   PT        1.00     SC        1.02     
! 
! 
! Fit before self-cal, rms=0.140428Jy  sigma=0.607646
! Fit after  self-cal, rms=0.138341Jy  sigma=0.605022
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.038 mas, bmaj=1.76 mas, bpa=3.084 degrees
! Estimated noise=1.4533 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.00289219 Jy
! Component: 100  -  total flux cleaned = 0.00277489 Jy
! Total flux subtracted in 100 components = 0.00277489 Jy
! Clean residual min=-0.005120 max=0.004862 Jy/beam
! Clean residual mean=0.000004 rms=0.001096 Jy/beam
! Combined flux in latest and established models = 0.374276 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 41 components and 0.374276 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138193Jy  sigma=0.604372
! Fit after  self-cal, rms=0.138183Jy  sigma=0.604312
! 
! 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.000451552 Jy
! Component: 100  -  total flux cleaned = 0.000455001 Jy
! Total flux subtracted in 100 components = 0.000455001 Jy
! Clean residual min=-0.005051 max=0.004574 Jy/beam
! Clean residual mean=0.000004 rms=0.001077 Jy/beam
! Combined flux in latest and established models = 0.374731 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 44 components and 0.374731 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138107Jy  sigma=0.603976
! Fit after  self-cal, rms=0.137542Jy  sigma=0.594976
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.034 mas, bmaj=1.763 mas, bpa=3.239 degrees
! Estimated noise=1.46006 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.00348338 Jy
! Component: 100  -  total flux cleaned = 0.00440275 Jy
! Total flux subtracted in 100 components = 0.00440275 Jy
! Clean residual min=-0.003834 max=0.004103 Jy/beam
! Clean residual mean=0.000000 rms=0.000922 Jy/beam
! Combined flux in latest and established models = 0.379134 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 52 components and 0.379134 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.137452Jy  sigma=0.594573
! Fit after  self-cal, rms=0.137447Jy  sigma=0.594536
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1751+288_X
! Writing UV FITS file: 1751+288_X.uvf
! Writing 52 model components to file: 1751+288_X.mod
! wwins: Wrote 3 windows to 1751+288_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.034 x 1.763 at 3.239 degrees (North through East)
! Clean map  min=-0.0037006  max=0.32106 Jy/beam
! Writing clean map to FITS file: 1751+288_X.fits
! Writing difmap environment to: 1751+288_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1751+288_Xuv.ps/vps,1,2
! Attempting to open device: '1751+288_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1751+288_Xim.ps/vps
! Attempting to open device: '1751+288_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=1.034 mas, bmaj=1.763 mas, bpa=3.239 degrees
! Estimated noise=1.46006 mJy/beam.
! The new contour levels are:
!  -0.00276271 0.00276271 0.00552543 0.0110509 0.0221017 0.0442034 0.0884068 0.176814 0.353627 0.707254 1.41451 2.82902 5.65804 11.3161 22.6321 45.2643 90.5286 181.057 362.114 724.229 1448.46 2896.91 5793.83 11587.7
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.034 x 1.763 at 3.239 degrees (North through East)
! Clean map  min=-0.0037006  max=0.32106 Jy/beam
quit
! Quitting program
! Log file 1751+288_X.log closed on Tue Feb  6 23:38:17 1996