! Started logfile: 1402+044_X.log on Tue Feb  6 22:35:30 1996
observe 1402+044_X.edt
! Reading UV FITS file: 1402+044_X.edt
! AN table 1: 108 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.806379 visibilities/baseline/integration-bin.
! Found source: 1402+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 15676 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 169 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 175 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 188 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 169 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.333228Jy  sigma=1.447558
! Fit after  self-cal, rms=0.333144Jy  sigma=1.447282
! 
! 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.8241 mas, bmaj=1.756 mas, bpa=-4.036 degrees
! Estimated noise=2.16953 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.521183 Jy
! Total flux subtracted in 50 components = 0.521183 Jy
! Clean residual min=-0.027900 max=0.148694 Jy/beam
! Clean residual mean=-0.000064 rms=0.008244 Jy/beam
! Combined flux in latest and established models = 0.521183 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.521183 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260145Jy  sigma=1.129739
! Fit after  self-cal, rms=0.260145Jy  sigma=1.129739
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.141239 Jy
! Total flux subtracted in 50 components = 0.141239 Jy
! Clean residual min=-0.015382 max=0.056270 Jy/beam
! Clean residual mean=-0.000042 rms=0.004031 Jy/beam
! Combined flux in latest and established models = 0.662422 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 8 components and 0.662422 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.173431Jy  sigma=0.751849
! Fit after  self-cal, rms=0.173402Jy  sigma=0.751720
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0560431 Jy
! Total flux subtracted in 50 components = 0.0560431 Jy
! Clean residual min=-0.012845 max=0.023161 Jy/beam
! Clean residual mean=-0.000033 rms=0.002869 Jy/beam
! Combined flux in latest and established models = 0.718466 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 12 components and 0.718466 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152967Jy  sigma=0.662396
! Fit after  self-cal, rms=0.152948Jy  sigma=0.662312
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0260123 Jy
! Total flux subtracted in 50 components = 0.0260123 Jy
! Clean residual min=-0.012562 max=0.017649 Jy/beam
! Clean residual mean=-0.000028 rms=0.002575 Jy/beam
! Combined flux in latest and established models = 0.744478 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 17 components and 0.744478 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.147420Jy  sigma=0.638097
! Fit after  self-cal, rms=0.147405Jy  sigma=0.638029
! 
! 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.044 mas, bmaj=2.19 mas, bpa=-6.835 degrees
! Estimated noise=1.35231 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 (-6.6, 6.2).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0301958 Jy
! Component: 100  -  total flux cleaned = 0.0506618 Jy
! Total flux subtracted in 100 components = 0.0506618 Jy
! Clean residual min=-0.008764 max=0.017069 Jy/beam
! Clean residual mean=-0.000050 rms=0.002759 Jy/beam
! Combined flux in latest and established models = 0.79514 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 45 components and 0.79514 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.141259Jy  sigma=0.611103
! Fit after  self-cal, rms=0.141104Jy  sigma=0.610423
! 
! 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 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        0.98     HN        1.02     KP        0.96     
!   LA        0.95     MK        1.00     NL        0.97     OV        0.98     
!   PT        0.97     SC        1.00     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        0.98     HN        1.05     KP        0.95     
!   LA        0.96     MK        0.99     NL        0.96     OV        0.97     
!   PT        0.95     SC        0.98     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.99     HN        1.06     KP        0.98     
!   LA        0.98     MK        1.03     NL        0.99     OV        0.99     
!   PT        0.96     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.00     HN        1.06     KP        0.98     
!   LA        0.98     MK        1.03     NL        1.00     OV        1.01     
!   PT        0.98     SC        1.01     
! 
! 
! Fit before self-cal, rms=0.141104Jy  sigma=0.610423
! Fit after  self-cal, rms=0.136838Jy  sigma=0.589936
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.054 mas, bmaj=2.217 mas, bpa=-6.756 degrees
! Estimated noise=1.33761 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.0116677 Jy
! Component: 100  -  total flux cleaned = 0.0184219 Jy
! Total flux subtracted in 100 components = 0.0184219 Jy
! Clean residual min=-0.007549 max=0.008337 Jy/beam
! Clean residual mean=-0.000007 rms=0.001664 Jy/beam
! Combined flux in latest and established models = 0.813561 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 61 components and 0.813561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.135966Jy  sigma=0.585726
! Fit after  self-cal, rms=0.135918Jy  sigma=0.585484
! 
! 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)
! Added new window around map position (-9.8, 4.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0082993 Jy
! Component: 100  -  total flux cleaned = 0.0132102 Jy
! Total flux subtracted in 100 components = 0.0132102 Jy
! Clean residual min=-0.007282 max=0.007599 Jy/beam
! Clean residual mean=-0.000002 rms=0.001513 Jy/beam
! Combined flux in latest and established models = 0.826772 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 77 components and 0.826772 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.135454Jy  sigma=0.583294
! Fit after  self-cal, rms=0.133381Jy  sigma=0.565635
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.055 mas, bmaj=2.212 mas, bpa=-6.809 degrees
! Estimated noise=1.34055 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 (-12.8, 2.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00700454 Jy
! Component: 100  -  total flux cleaned = 0.011398 Jy
! Total flux subtracted in 100 components = 0.011398 Jy
! Clean residual min=-0.003677 max=0.005032 Jy/beam
! Clean residual mean=-0.000012 rms=0.000883 Jy/beam
! Combined flux in latest and established models = 0.83817 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 103 components and 0.83817 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.133032Jy  sigma=0.564023
! Fit after  self-cal, rms=0.133025Jy  sigma=0.563968
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-2.2, 2.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00474457 Jy
! Component: 100  -  total flux cleaned = 0.00757708 Jy
! Total flux subtracted in 100 components = 0.00757708 Jy
! Clean residual min=-0.003394 max=0.003295 Jy/beam
! Clean residual mean=-0.000008 rms=0.000815 Jy/beam
! Combined flux in latest and established models = 0.845747 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 115 components and 0.845747 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.132852Jy  sigma=0.563200
! Fit after  self-cal, rms=0.132849Jy  sigma=0.563180
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1402+044_X
! Writing UV FITS file: 1402+044_X.uvf
! Writing 115 model components to file: 1402+044_X.mod
! wwins: Wrote 5 windows to 1402+044_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.055 x 2.212 at -6.809 degrees (North through East)
! Clean map  min=-0.0032689  max=0.69523 Jy/beam
! Writing clean map to FITS file: 1402+044_X.fits
! Writing difmap environment to: 1402+044_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1402+044_Xuv.ps/vps,1,2
! Attempting to open device: '1402+044_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1402+044_Xim.ps/vps
! Attempting to open device: '1402+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=1.055 mas, bmaj=2.212 mas, bpa=-6.809 degrees
! Estimated noise=1.34055 mJy/beam.
! The new contour levels are:
!  -0.00244334 0.00244334 0.00488668 0.00977336 0.0195467 0.0390934 0.0781869 0.156374 0.312748 0.625495 1.25099 2.50198 5.00396 10.0079 20.0158 40.0317 80.0634 160.127 320.254 640.507 1281.01 2562.03 5124.06 10248.1
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.055 x 2.212 at -6.809 degrees (North through East)
! Clean map  min=-0.0032689  max=0.69523 Jy/beam
quit
! Quitting program
! Log file 1402+044_X.log closed on Tue Feb  6 22:41:30 1996