! Started logfile: 1451-375_S.log on Thu May 10 16:04:09 2001
observe 1451-375_S.edt
! Reading UV FITS file: 1451-375_S.edt
! AN table 1: 10 integrations on 21 of 21 possible baselines.
! Apparent sampling: 0.842857 visibilities/baseline/integration-bin.
! Found source: 1451-375
! 
! 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  2.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1558 lines of history.
! 
! Reading 708 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
float field_size
field_size = 1024
float field_cell
field_cell = 0.4
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 = 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.400x0.400 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 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.171393Jy  sigma=0.981571
! Fit after  self-cal, rms=0.170358Jy  sigma=0.977076
! 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.493 mas, bmaj=28.61 mas, bpa=-7.759 degrees
! Estimated noise=7.08851 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.733582 Jy
! Total flux subtracted in 50 components = 0.733582 Jy
! Clean residual min=-0.058790 max=0.204620 Jy/beam
! Clean residual mean=0.001902 rms=0.032520 Jy/beam
! Combined flux in latest and established models = 0.733582 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 2 model components to the UV plane model.
! The established model now contains 2 components and 0.733582 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.311359Jy  sigma=1.799739
! Fit after  self-cal, rms=0.311355Jy  sigma=1.799722
! 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.159 mas, bmaj=30.8 mas, bpa=-7.455 degrees
! Estimated noise=4.73173 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.216787 Jy
! Component: 100  -  total flux cleaned = 0.297856 Jy
! Total flux subtracted in 100 components = 0.297856 Jy
! Clean residual min=-0.016817 max=0.038627 Jy/beam
! Clean residual mean=0.001060 rms=0.010398 Jy/beam
! Combined flux in latest and established models = 1.03144 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 1.03144 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.137272Jy  sigma=0.784645
! Fit after  self-cal, rms=0.137064Jy  sigma=0.783496
! 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        0.95     KP        0.95     LA        0.97     OV        0.99     
!   PT        0.96     KK        0.92     MK        1.01     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.96     KP        0.95     LA        0.97     OV        1.02     
!   PT        0.95     KK        0.97     MK        1.02     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.98     KP        0.98     LA        0.99     OV        1.05     
!   PT        0.99     KK        1.01     MK        1.00     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.99     KP        0.98     LA        0.99     OV        1.04     
!   PT        0.93     KK        1.00     MK        1.06     
! 
! 
! Fit before self-cal, rms=0.137064Jy  sigma=0.783496
! Fit after  self-cal, rms=0.120072Jy  sigma=0.707857
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.177 mas, bmaj=31.13 mas, bpa=-7.401 degrees
! Estimated noise=4.57361 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.0146971 Jy
! Component: 100  -  total flux cleaned = 0.0158638 Jy
! Total flux subtracted in 100 components = 0.0158638 Jy
! Clean residual min=-0.008952 max=0.011891 Jy/beam
! Clean residual mean=0.000186 rms=0.003104 Jy/beam
! Combined flux in latest and established models = 1.0473 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 43 components and 1.0473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.118479Jy  sigma=0.698044
! Fit after  self-cal, rms=0.118424Jy  sigma=0.697623
! 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 = 0.000442464 Jy
! Component: 100  -  total flux cleaned = 0.00044835 Jy
! Total flux subtracted in 100 components = 0.00044835 Jy
! Clean residual min=-0.008213 max=0.010381 Jy/beam
! Clean residual mean=0.000181 rms=0.002935 Jy/beam
! Combined flux in latest and established models = 1.04775 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 62 components and 1.04775 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.118137Jy  sigma=0.695946
! Fit after  self-cal, rms=0.114458Jy  sigma=0.671520
! Inverting map and beam 
! Estimated beam: bmin=3.166 mas, bmaj=31.11 mas, bpa=-7.402 degrees
! Estimated noise=4.57029 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 = 0.0061615 Jy
! Component: 100  -  total flux cleaned = 0.00680758 Jy
! Total flux subtracted in 100 components = 0.00680758 Jy
! Clean residual min=-0.007196 max=0.009380 Jy/beam
! Clean residual mean=0.000141 rms=0.002680 Jy/beam
! Combined flux in latest and established models = 1.05456 Jy
! Performing phase self-cal over 0.6 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 81 components and 1.05456 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.114140Jy  sigma=0.669226
! Fit after  self-cal, rms=0.114130Jy  sigma=0.669126
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1451-375_S
! Writing UV FITS file: 1451-375_S.uvf
! Writing 81 model components to file: 1451-375_S.mod
! wwins: Wrote 1 windows to 1451-375_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.166 x 31.11 at -7.402 degrees (North through East)
! Clean map  min=-0.0081428  max=0.96249 Jy/beam
! Writing clean map to FITS file: 1451-375_S.fits
! Writing difmap environment to: 1451-375_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1451-375_Suv.ps/vps,1,2
! Attempting to open device: '1451-375_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1451-375_Sim.ps/vps
! Attempting to open device: '1451-375_Sim.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=3.166 mas, bmaj=31.11 mas, bpa=-7.402 degrees
! Estimated noise=4.57029 mJy/beam.
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.166 x 31.11 at -7.402 degrees (North through East)
! Clean map  min=-0.0081428  max=0.96249 Jy/beam
quit
! Quitting program
! Log file 1451-375_S.log closed on Thu May 10 16:04:29 2001