! Started logfile: 1111+149_S.log on Wed Apr  2 22:14:19 1997
observe 1111+149_S.edt
! Reading UV FITS file: 1111+149_S.edt
! AN table 1: 60 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.812593 visibilities/baseline/integration-bin.
! Found source: 1111+149
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  2.22049e+09         4e+06         4e+06       USB
! 02  2.23049e+09         4e+06         4e+06       USB
! 03  2.29049e+09         4e+06         4e+06       USB
! 04  2.32049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 379 lines of history.
! 
! Reading 8776 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.5
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.500x0.500 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 144 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 117 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 117 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 103 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.525671Jy  sigma=3.223072
! Fit after  self-cal, rms=0.524862Jy  sigma=3.220767
! 
! 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=3.218 mas, bmaj=6.047 mas, bpa=-4.602 degrees
! Estimated noise=1.88509 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.386106 Jy
! Total flux subtracted in 50 components = 0.386106 Jy
! Clean residual min=-0.020319 max=0.107699 Jy/beam
! Clean residual mean=-0.000014 rms=0.006751 Jy/beam
! Combined flux in latest and established models = 0.386106 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.386106 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207736Jy  sigma=1.268597
! Fit after  self-cal, rms=0.207736Jy  sigma=1.268597
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.094017 Jy
! Total flux subtracted in 50 components = 0.094017 Jy
! Clean residual min=-0.013528 max=0.036918 Jy/beam
! Clean residual mean=0.000014 rms=0.003722 Jy/beam
! Combined flux in latest and established models = 0.480123 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 7 components and 0.480123 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170382Jy  sigma=1.039482
! Fit after  self-cal, rms=0.170371Jy  sigma=1.039414
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0370611 Jy
! Total flux subtracted in 50 components = 0.0370611 Jy
! Clean residual min=-0.011754 max=0.015342 Jy/beam
! Clean residual mean=0.000025 rms=0.003019 Jy/beam
! Combined flux in latest and established models = 0.517184 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 10 components and 0.517184 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.164165Jy  sigma=1.001475
! Fit after  self-cal, rms=0.164152Jy  sigma=1.001396
! 
! 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=3.883 mas, bmaj=6.947 mas, bpa=-2.554 degrees
! Estimated noise=1.3305 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.0160339 Jy
! Component: 100  -  total flux cleaned = 0.0188167 Jy
! Total flux subtracted in 100 components = 0.0188167 Jy
! Clean residual min=-0.006919 max=0.010382 Jy/beam
! Clean residual mean=0.000003 rms=0.001815 Jy/beam
! Combined flux in latest and established models = 0.536001 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 19 components and 0.536001 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.162788Jy  sigma=0.993158
! Fit after  self-cal, rms=0.162770Jy  sigma=0.993044
! 
! 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.96     KP        1.01     
!   LA        0.98     MK        0.95     NL        1.07     OV        1.02     
!   PT        0.97     SC        1.01     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.02     HN        0.95     KP        0.95     
!   LA        1.02     MK        0.94     NL        1.01     OV        0.99     
!   PT        0.98     SC        1.02     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.02     HN        0.99     KP        1.01     
!   LA        1.00     MK        0.94     NL        0.99     OV        1.02     
!   PT        0.96     SC        1.02     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.06     HN        0.98     KP        1.02     
!   LA        1.03     MK        0.97     NL        1.02     OV        0.99     
!   PT        0.97     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.162770Jy  sigma=0.993044
! Fit after  self-cal, rms=0.160321Jy  sigma=0.984005
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.843 mas, bmaj=6.937 mas, bpa=-3.47 degrees
! Estimated noise=1.32017 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.000778351 Jy
! Component: 100  -  total flux cleaned = 0.000538843 Jy
! Total flux subtracted in 100 components = 0.000538843 Jy
! Clean residual min=-0.006412 max=0.007060 Jy/beam
! Clean residual mean=0.000021 rms=0.001602 Jy/beam
! Combined flux in latest and established models = 0.53654 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 26 components and 0.53654 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160273Jy  sigma=0.983669
! Fit after  self-cal, rms=0.160272Jy  sigma=0.983629
! 
! 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.000299983 Jy
! Component: 100  -  total flux cleaned = 0.000238541 Jy
! Total flux subtracted in 100 components = 0.000238541 Jy
! Clean residual min=-0.006369 max=0.006755 Jy/beam
! Clean residual mean=0.000021 rms=0.001597 Jy/beam
! Combined flux in latest and established models = 0.536778 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 29 components and 0.536778 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160249Jy  sigma=0.983471
! Fit after  self-cal, rms=0.159713Jy  sigma=0.948255
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=3.834 mas, bmaj=6.94 mas, bpa=-3.295 degrees
! Estimated noise=1.32344 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.00152851 Jy
! Component: 100  -  total flux cleaned = 0.00184369 Jy
! Total flux subtracted in 100 components = 0.00184369 Jy
! Clean residual min=-0.005327 max=0.004859 Jy/beam
! Clean residual mean=-0.000007 rms=0.001310 Jy/beam
! Combined flux in latest and established models = 0.538622 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 38 components and 0.538622 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159696Jy  sigma=0.948118
! Fit after  self-cal, rms=0.159717Jy  sigma=0.948069
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1111+149_S
! Writing UV FITS file: 1111+149_S.uvf
! Writing 38 model components to file: 1111+149_S.mod
! wwins: Wrote 1 windows to 1111+149_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.834 x 6.94 at -3.295 degrees (North through East)
! Clean map  min=-0.0052458  max=0.49465 Jy/beam
! Writing clean map to FITS file: 1111+149_S.fits
! Writing difmap environment to: 1111+149_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1111+149_Suv.ps/vps,1,2
! Attempting to open device: '1111+149_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1111+149_Sim.ps/vps
! Attempting to open device: '1111+149_Sim.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=3.834 mas, bmaj=6.94 mas, bpa=-3.295 degrees
! Estimated noise=1.32344 mJy/beam.
! The new contour levels are:
!  -0.00393458 0.00393458 0.00786917 0.0157383 0.0314767 0.0629533 0.125907 0.251813 0.503627 1.00725 2.01451 4.02901 8.05803 16.1161 32.2321 64.4642 128.928 257.857 515.714 1031.43 2062.85 4125.71 8251.42 16502.8
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.834 x 6.94 at -3.295 degrees (North through East)
! Clean map  min=-0.0052458  max=0.49465 Jy/beam
quit
! Quitting program
! Log file 1111+149_S.log closed on Wed Apr  2 22:19:35 1997