! Started logfile: 1053+815_X.log on Tue May 28 21:49:32 1996
observe 1053+815_X.edt
! Reading UV FITS file: 1053+815_X.edt
! AN table 1: 155 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.753835 visibilities/baseline/integration-bin.
! Found source: 1053+815
! 
! 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 21032 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 427 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 427 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 427 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 427 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.603814Jy  sigma=2.621521
! Fit after  self-cal, rms=0.603707Jy  sigma=2.621036
! 
! 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.7731 mas, bmaj=0.9034 mas, bpa=-11.59 degrees
! Estimated noise=2.02199 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.31372 Jy
! Total flux subtracted in 50 components = 0.31372 Jy
! Clean residual min=-0.012573 max=0.087532 Jy/beam
! Clean residual mean=0.000008 rms=0.002691 Jy/beam
! Combined flux in latest and established models = 0.31372 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.31372 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.139314Jy  sigma=0.602370
! Fit after  self-cal, rms=0.139314Jy  sigma=0.602371
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0684115 Jy
! Total flux subtracted in 50 components = 0.0684115 Jy
! Clean residual min=-0.005175 max=0.019088 Jy/beam
! Clean residual mean=0.000004 rms=0.001221 Jy/beam
! Combined flux in latest and established models = 0.382131 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.382131 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.107404Jy  sigma=0.463690
! Fit after  self-cal, rms=0.107404Jy  sigma=0.463690
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.016979 Jy
! Total flux subtracted in 50 components = 0.016979 Jy
! Clean residual min=-0.004819 max=0.007238 Jy/beam
! Clean residual mean=0.000003 rms=0.001075 Jy/beam
! Combined flux in latest and established models = 0.39911 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 0.39911 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104866Jy  sigma=0.452729
! Fit after  self-cal, rms=0.104854Jy  sigma=0.452680
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00852496 Jy
! Total flux subtracted in 50 components = 0.00852496 Jy
! Clean residual min=-0.004623 max=0.004294 Jy/beam
! Clean residual mean=0.000003 rms=0.001035 Jy/beam
! Combined flux in latest and established models = 0.407635 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 10 components and 0.407635 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104205Jy  sigma=0.449889
! Fit after  self-cal, rms=0.104194Jy  sigma=0.449843
! 
! 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.9948 mas, bmaj=1.151 mas, bpa=-10.84 degrees
! Estimated noise=1.24947 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.8, -1.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00705388 Jy
! Component: 100  -  total flux cleaned = 0.0111181 Jy
! Total flux subtracted in 100 components = 0.0111181 Jy
! Clean residual min=-0.003171 max=0.002926 Jy/beam
! Clean residual mean=0.000003 rms=0.000678 Jy/beam
! Combined flux in latest and established models = 0.418753 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 21 components and 0.418753 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103754Jy  sigma=0.447955
! Fit after  self-cal, rms=0.103732Jy  sigma=0.447856
! 
! 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.99     FD        0.99     HN        1.01     KP        0.98     
!   LA        0.99     MK        1.00     NL        0.99     OV        0.99     
!   PT        1.00     SC        1.02     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     HN        1.01     KP        0.99     
!   LA        1.00     MK        1.00     NL        0.99     OV        0.99     
!   PT        0.98     SC        1.02     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     HN        1.03     KP        0.99     
!   LA        0.99     MK        0.99     NL        0.98     OV        0.99     
!   PT        1.01     SC        1.03     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     HN        1.01     KP        1.00     
!   LA        1.00     MK        0.99     NL        0.98     OV        1.00     
!   PT        1.00     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.103732Jy  sigma=0.447856
! Fit after  self-cal, rms=0.103245Jy  sigma=0.446706
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.002 mas, bmaj=1.155 mas, bpa=-10.91 degrees
! Estimated noise=1.2464 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.00152027 Jy
! Component: 100  -  total flux cleaned = 0.00152051 Jy
! Total flux subtracted in 100 components = 0.00152051 Jy
! Clean residual min=-0.002861 max=0.002686 Jy/beam
! Clean residual mean=0.000003 rms=0.000638 Jy/beam
! Combined flux in latest and established models = 0.420274 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 31 components and 0.420274 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103192Jy  sigma=0.446476
! Fit after  self-cal, rms=0.103190Jy  sigma=0.446461
! 
! 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.000281498 Jy
! Component: 100  -  total flux cleaned = 0.00028072 Jy
! Total flux subtracted in 100 components = 0.00028072 Jy
! Clean residual min=-0.002781 max=0.002669 Jy/beam
! Clean residual mean=0.000003 rms=0.000635 Jy/beam
! Combined flux in latest and established models = 0.420555 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 35 components and 0.420555 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103168Jy  sigma=0.446369
! Fit after  self-cal, rms=0.101035Jy  sigma=0.435603
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.001 mas, bmaj=1.158 mas, bpa=-11.26 degrees
! Estimated noise=1.24815 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.00106776 Jy
! Component: 100  -  total flux cleaned = 0.00135271 Jy
! Total flux subtracted in 100 components = 0.00135271 Jy
! Clean residual min=-0.002176 max=0.002098 Jy/beam
! Clean residual mean=0.000001 rms=0.000498 Jy/beam
! Combined flux in latest and established models = 0.421907 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 48 components and 0.421907 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101021Jy  sigma=0.435532
! Fit after  self-cal, rms=0.101021Jy  sigma=0.435525
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1053+815_X
! Writing UV FITS file: 1053+815_X.uvf
! Writing 48 model components to file: 1053+815_X.mod
! wwins: Wrote 2 windows to 1053+815_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.001 x 1.158 at -11.26 degrees (North through East)
! Clean map  min=-0.0020614  max=0.40219 Jy/beam
! Writing clean map to FITS file: 1053+815_X.fits
! Writing difmap environment to: 1053+815_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1053+815_Xuv.ps/vps,1,2
! Attempting to open device: '1053+815_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1053+815_Xim.ps/vps
! Attempting to open device: '1053+815_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.001 mas, bmaj=1.158 mas, bpa=-11.26 degrees
! Estimated noise=1.24815 mJy/beam.
! The new contour levels are:
!  -0.00149304 0.00149304 0.00298607 0.00597215 0.0119443 0.0238886 0.0477772 0.0955543 0.191109 0.382217 0.764435 1.52887 3.05774 6.11548 12.231 24.4619 48.9238 97.8476 195.695 391.391 782.781 1565.56 3131.12 6262.25 12524.5
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.001 x 1.158 at -11.26 degrees (North through East)
! Clean map  min=-0.0020614  max=0.40219 Jy/beam
quit
! Quitting program
! Log file 1053+815_X.log closed on Tue May 28 21:55:33 1996