! Started logfile: 1919+086_X.log on Tue Feb 24 10:08:34 1998
observe 1919+086_X.edt
! Reading UV FITS file: 1919+086_X.edt
! AN table 1: 38 integrations on 15 of 15 possible baselines.
! Apparent sampling: 0.949123 visibilities/baseline/integration-bin.
! Found source: 1919+086
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 724 lines of history.
! 
! Reading 2164 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.1
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 9.0
float win_mult
win_mult = 1.8
float solint
solint = 3.6/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.100x0.100 milli-arcsec cellsize.
select
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
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 9 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 43 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 43 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.907155Jy  sigma=4.428233
! Fit after  self-cal, rms=0.907030Jy  sigma=4.427915
! 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
peakw 1.0
! Inverting map and beam 
! Estimated beam: bmin=2.458 mas, bmaj=4.914 mas, bpa=-8.716 degrees
! Estimated noise=3.85566 mJy/beam.
! Added new window around map position (0, 0).
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=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0734178 Jy
! Total flux subtracted in 50 components = 0.0734178 Jy
! Clean residual min=-0.012253 max=0.020475 Jy/beam
! Clean residual mean=-0.000084 rms=0.005199 Jy/beam
! Combined flux in latest and established models = 0.0734178 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.0734178 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.064815Jy  sigma=0.313010
! Fit after  self-cal, rms=0.064815Jy  sigma=0.313010
! 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=2.703 mas, bmaj=5.197 mas, bpa=-6.264 degrees
! Estimated noise=3.41182 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.018172 Jy
! Component: 100  -  total flux cleaned = 0.0265442 Jy
! Total flux subtracted in 100 components = 0.0265442 Jy
! Clean residual min=-0.006440 max=0.012365 Jy/beam
! Clean residual mean=-0.000068 rms=0.002906 Jy/beam
! Combined flux in latest and established models = 0.099962 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 34 components and 0.0999619 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060219Jy  sigma=0.290071
! Fit after  self-cal, rms=0.060196Jy  sigma=0.289963
! 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:
!   FD        1.11     KP        0.90     LA        0.90     NL        1.10     
!   OV        1.14     PT        0.90     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.19     KP        0.90     LA        0.88     NL        1.08     
!   OV        1.12     PT        0.90     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.05     KP        0.92     LA        0.92     NL        1.00*    
!   OV        1.13     PT        0.91     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.07     KP        0.95     LA        0.96     NL        1.00*    
!   OV        0.99     PT        0.93     
! 
! 
! Fit before self-cal, rms=0.060196Jy  sigma=0.289963
! Fit after  self-cal, rms=0.059517Jy  sigma=0.284148
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.812 mas, bmaj=5.411 mas, bpa=-7.104 degrees
! Estimated noise=3.34092 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.00105107 Jy
! Component: 100  -  total flux cleaned = -0.00140988 Jy
! Total flux subtracted in 100 components = -0.00140988 Jy
! Clean residual min=-0.005089 max=0.007702 Jy/beam
! Clean residual mean=-0.000025 rms=0.002012 Jy/beam
! Combined flux in latest and established models = 0.0985521 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 47 components and 0.0985521 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059374Jy  sigma=0.283813
! Fit after  self-cal, rms=0.059416Jy  sigma=0.283701
! Inverting map 
dynam = dynam - 1.0
doamp = true
solint = solint * (6.0/3.6)
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 = 3.8894e-05 Jy
! Component: 100  -  total flux cleaned = -0.000175364 Jy
! Total flux subtracted in 100 components = -0.000175364 Jy
! Clean residual min=-0.005018 max=0.007947 Jy/beam
! Clean residual mean=-0.000027 rms=0.001989 Jy/beam
! Combined flux in latest and established models = 0.0983767 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 53 components and 0.0983767 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059353Jy  sigma=0.283548
! Fit after  self-cal, rms=0.059990Jy  sigma=0.278706
! Inverting map and beam 
! Estimated beam: bmin=2.8 mas, bmaj=5.431 mas, bpa=-8.104 degrees
! Estimated noise=3.34226 mJy/beam.
doamp = false
solint = solint / (6.0/3.6)
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 = -9.0748e-05 Jy
! Component: 100  -  total flux cleaned = -0.00029049 Jy
! Total flux subtracted in 100 components = -0.00029049 Jy
! Clean residual min=-0.004809 max=0.007132 Jy/beam
! Clean residual mean=-0.000023 rms=0.001903 Jy/beam
! Combined flux in latest and established models = 0.0980862 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 63 components and 0.0980862 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.059863Jy  sigma=0.278447
! Fit after  self-cal, rms=0.059910Jy  sigma=0.278386
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1919+086_X
! Writing UV FITS file: 1919+086_X.uvf
! Writing 63 model components to file: 1919+086_X.mod
! wwins: Wrote 1 windows to 1919+086_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.8 x 5.431 at -8.104 degrees (North through East)
! Clean map  min=-0.0047958  max=0.092772 Jy/beam
! Writing clean map to FITS file: 1919+086_X.fits
! Writing difmap environment to: 1919+086_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1919+086_Xuv.ps/vps,1,2
! Attempting to open device: '1919+086_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1919+086_Xim.ps/vps
! Attempting to open device: '1919+086_Xim.ps/vps'
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 -1,2048,2
! The new contour levels are:
!  -1 1 2 4 8 16 32 64 128 256 512 1024 2048
cmul = imstat(rms)*3
! Inverting map and beam 
! Estimated beam: bmin=2.8 mas, bmaj=5.431 mas, bpa=-8.104 degrees
! Estimated noise=3.34226 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.8 x 5.431 at -8.104 degrees (North through East)
! Clean map  min=-0.0047958  max=0.092772 Jy/beam
quit
! Quitting program
! Log file 1919+086_X.log closed on Tue Feb 24 10:10:08 1998