! Started logfile: 1443-162_S.log on Thu Apr  3 00:00:42 1997
observe 1443-162_S.edt
! Reading UV FITS file: 1443-162_S.edt
! AN table 1: 44 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.709596 visibilities/baseline/integration-bin.
! Found source: 1443-162
! 
! 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 5620 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 145 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 120 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 120 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 120 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.634323Jy  sigma=3.901091
! Fit after  self-cal, rms=0.634004Jy  sigma=3.899745
! 
! 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=2.774 mas, bmaj=8.221 mas, bpa=-1.524 degrees
! Estimated noise=2.63532 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.28344 Jy
! Total flux subtracted in 50 components = 0.28344 Jy
! Clean residual min=-0.022761 max=0.080919 Jy/beam
! Clean residual mean=0.000075 rms=0.007134 Jy/beam
! Combined flux in latest and established models = 0.28344 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.28344 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204798Jy  sigma=1.255692
! Fit after  self-cal, rms=0.204790Jy  sigma=1.255637
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.079196 Jy
! Total flux subtracted in 50 components = 0.079196 Jy
! Clean residual min=-0.013824 max=0.033469 Jy/beam
! Clean residual mean=0.000050 rms=0.004077 Jy/beam
! Combined flux in latest and established models = 0.362636 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.362636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.173595Jy  sigma=1.063394
! Fit after  self-cal, rms=0.173569Jy  sigma=1.063228
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0363043 Jy
! Total flux subtracted in 50 components = 0.0363043 Jy
! Clean residual min=-0.011463 max=0.016694 Jy/beam
! Clean residual mean=0.000038 rms=0.003101 Jy/beam
! Combined flux in latest and established models = 0.398941 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 15 components and 0.398941 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.166158Jy  sigma=1.017580
! Fit after  self-cal, rms=0.166126Jy  sigma=1.017374
! 
! 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.594 mas, bmaj=9.575 mas, bpa=-1.096 degrees
! Estimated noise=1.69288 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.025251 Jy
! Component: 100  -  total flux cleaned = 0.0363108 Jy
! Total flux subtracted in 100 components = 0.0363108 Jy
! Clean residual min=-0.007562 max=0.007816 Jy/beam
! Clean residual mean=0.000050 rms=0.002029 Jy/beam
! Combined flux in latest and established models = 0.435251 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 24 components and 0.435251 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.162896Jy  sigma=0.997484
! Fit after  self-cal, rms=0.162839Jy  sigma=0.997144
! 
! 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.01     FD        1.01     HN        0.97     KP        0.99     
!   LA        0.95     MK        1.02     NL        1.00*    OV        0.98     
!   PT        0.98     SC        0.99     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     HN        0.99     KP        0.96     
!   LA        0.99     MK        0.99     NL        1.00     OV        0.98     
!   PT        0.96     SC        1.01     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.00     HN        1.02     KP        0.98     
!   LA        1.01     MK        0.98     NL        1.06     OV        0.96     
!   PT        0.98     SC        1.00     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.05     HN        1.03     KP        1.01     
!   LA        1.01     MK        1.02     NL        1.02     OV        0.97     
!   PT        0.95     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.162839Jy  sigma=0.997144
! Fit after  self-cal, rms=0.160149Jy  sigma=0.992838
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.603 mas, bmaj=9.608 mas, bpa=-1.052 degrees
! Estimated noise=1.67389 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.0016064 Jy
! Component: 100  -  total flux cleaned = 0.00169575 Jy
! Total flux subtracted in 100 components = 0.00169575 Jy
! Clean residual min=-0.007195 max=0.007268 Jy/beam
! Clean residual mean=0.000004 rms=0.001796 Jy/beam
! Combined flux in latest and established models = 0.436947 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 32 components and 0.436947 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160085Jy  sigma=0.992443
! Fit after  self-cal, rms=0.160079Jy  sigma=0.992390
! 
! 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.000147733 Jy
! Component: 100  -  total flux cleaned = 0.000226923 Jy
! Total flux subtracted in 100 components = 0.000226923 Jy
! Clean residual min=-0.007154 max=0.007258 Jy/beam
! Clean residual mean=0.000003 rms=0.001784 Jy/beam
! Combined flux in latest and established models = 0.437174 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 36 components and 0.437174 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160040Jy  sigma=0.992147
! Fit after  self-cal, rms=0.158307Jy  sigma=0.973946
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=3.593 mas, bmaj=9.593 mas, bpa=-1.057 degrees
! Estimated noise=1.67867 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.00213789 Jy
! Component: 100  -  total flux cleaned = 0.00213958 Jy
! Total flux subtracted in 100 components = 0.00213958 Jy
! Clean residual min=-0.006293 max=0.006636 Jy/beam
! Clean residual mean=-0.000010 rms=0.001596 Jy/beam
! Combined flux in latest and established models = 0.439314 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 39 components and 0.439314 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.158255Jy  sigma=0.973589
! Fit after  self-cal, rms=0.158252Jy  sigma=0.973548
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1443-162_S
! Writing UV FITS file: 1443-162_S.uvf
! Writing 39 model components to file: 1443-162_S.mod
! wwins: Wrote 1 windows to 1443-162_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.593 x 9.593 at -1.057 degrees (North through East)
! Clean map  min=-0.0060552  max=0.37789 Jy/beam
! Writing clean map to FITS file: 1443-162_S.fits
! Writing difmap environment to: 1443-162_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1443-162_Suv.ps/vps,1,2
! Attempting to open device: '1443-162_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1443-162_Sim.ps/vps
! Attempting to open device: '1443-162_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.593 mas, bmaj=9.593 mas, bpa=-1.057 degrees
! Estimated noise=1.67867 mJy/beam.
! The new contour levels are:
!  -0.00479767 0.00479767 0.00959533 0.0191907 0.0383813 0.0767627 0.153525 0.307051 0.614101 1.2282 2.45641 4.91281 9.82562 19.6512 39.3025 78.605 157.21 314.42 628.84 1257.68 2515.36 5030.72 10061.4
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.593 x 9.593 at -1.057 degrees (North through East)
! Clean map  min=-0.0060552  max=0.37789 Jy/beam
quit
! Quitting program
! Log file 1443-162_S.log closed on Thu Apr  3 00:05:50 1997