! Started logfile: 1424-418_X.log on Wed Jun  9 18:31:00 1999
observe 1424-418_X.edt
! Reading UV FITS file: 1424-418_X.edt
! AN table 1: 12 integrations on 10 of 10 possible baselines.
! AN table 2: 7 integrations on 21 of 21 possible baselines.
! Apparent sampling: 0.734082 visibilities/baseline/integration-bin.
! Found source: 1424-418
! 
! 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 917 lines of history.
! 
! Reading 784 visibilities.
print "***********************************"
! *********************************** 
print "*** Using gonzo instruction set ***"
! *** Using gonzo instruction set *** 
print "***********************************"
! *********************************** 
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
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 = 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.100x0.100 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 27 telescope corrections were flagged in sub-array 1.
!  A total of 7 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  A total of 7 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 24 telescope corrections were flagged in sub-array 1.
!  A total of 7 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  A total of 7 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=1.610457Jy  sigma=6.234655
! Fit after  self-cal, rms=1.609767Jy  sigma=6.244945
! 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.6599 mas, bmaj=4.134 mas, bpa=-6.225 degrees
! Estimated noise=10.3313 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 = 1.90271 Jy
! Total flux subtracted in 50 components = 1.90271 Jy
! Clean residual min=-0.174429 max=0.530861 Jy/beam
! Clean residual mean=0.001469 rms=0.068622 Jy/beam
! Combined flux in latest and established models = 1.90271 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 2 model components to the UV plane model.
! The established model now contains 2 components and 1.90271 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.764569Jy  sigma=2.964395
! Fit after  self-cal, rms=0.764517Jy  sigma=2.964201
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.437165 Jy
! Total flux subtracted in 50 components = 0.437165 Jy
! Clean residual min=-0.092006 max=0.187141 Jy/beam
! Clean residual mean=0.000874 rms=0.034472 Jy/beam
! Combined flux in latest and established models = 2.33987 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 12 components and 2.33987 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.434783Jy  sigma=1.684294
! Fit after  self-cal, rms=0.434634Jy  sigma=1.683685
! 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=0.7608 mas, bmaj=5.066 mas, bpa=-7.233 degrees
! Estimated noise=6.74598 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.304442 Jy
! Component: 100  -  total flux cleaned = 0.455602 Jy
! Total flux subtracted in 100 components = 0.455602 Jy
! Clean residual min=-0.041603 max=0.072993 Jy/beam
! Clean residual mean=0.000728 rms=0.018500 Jy/beam
! Combined flux in latest and established models = 2.79547 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 36 components and 2.79547 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.175367Jy  sigma=0.677937
! Fit after  self-cal, rms=0.174750Jy  sigma=0.675608
! 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.99     KK        0.96     KP        1.04     MK        0.98     
!   OV        1.02     
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.98     KK        0.98     KP        0.97     LA        0.99     
!   MK        1.03     OV        1.01     PT        0.98     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   FD        1.00     KK        0.96     KP        1.03     MK        0.99     
!   OV        1.02     
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.98     KK        1.00     KP        0.96     LA        0.99     
!   MK        1.01     OV        1.02     PT        0.99     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.98     KK        0.96     KP        1.02     MK        0.98     
!   OV        0.99     
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.97     KK        0.98     KP        0.95     LA        0.98     
!   MK        1.01     OV        1.00     PT        0.97     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   FD        0.97     KK        0.94     KP        1.03     MK        0.97     
!   OV        0.96     
! 
!  Telescope amplitude corrections in sub-array 2:
!   FD        0.96     KK        0.97     KP        0.95     LA        0.98     
!   MK        1.01     OV        0.99     PT        0.96     
! 
! 
! Fit before self-cal, rms=0.174750Jy  sigma=0.675608
! Fit after  self-cal, rms=0.130240Jy  sigma=0.510155
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.7608 mas, bmaj=5.071 mas, bpa=-7.217 degrees
! Estimated noise=6.56077 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.9, -0.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0491862 Jy
! Component: 100  -  total flux cleaned = 0.0667034 Jy
! Total flux subtracted in 100 components = 0.0667034 Jy
! Clean residual min=-0.016159 max=0.016430 Jy/beam
! Clean residual mean=0.000321 rms=0.005114 Jy/beam
! Combined flux in latest and established models = 2.86218 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 58 components and 2.86218 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.113843Jy  sigma=0.441683
! Fit after  self-cal, rms=0.113313Jy  sigma=0.439680
! 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.0108122 Jy
! Component: 100  -  total flux cleaned = 0.0133986 Jy
! Total flux subtracted in 100 components = 0.0133986 Jy
! Clean residual min=-0.014150 max=0.016147 Jy/beam
! Clean residual mean=0.000277 rms=0.004630 Jy/beam
! Combined flux in latest and established models = 2.87557 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 37 model components to the UV plane model.
! The established model now contains 93 components and 2.87557 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.112324Jy  sigma=0.435604
! Fit after  self-cal, rms=0.108191Jy  sigma=0.419790
! Inverting map and beam 
! Estimated beam: bmin=0.7589 mas, bmaj=5.059 mas, bpa=-7.22 degrees
! Estimated noise=6.55612 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.0139155 Jy
! Component: 100  -  total flux cleaned = 0.020813 Jy
! Total flux subtracted in 100 components = 0.020813 Jy
! Clean residual min=-0.010477 max=0.010132 Jy/beam
! Clean residual mean=0.000051 rms=0.003496 Jy/beam
! Combined flux in latest and established models = 2.89639 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 109 components and 2.89639 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.106609Jy  sigma=0.413069
! Fit after  self-cal, rms=0.106521Jy  sigma=0.412728
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1424-418_X
! Writing UV FITS file: 1424-418_X.uvf
! Writing 109 model components to file: 1424-418_X.mod
! wwins: Wrote 2 windows to 1424-418_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7589 x 5.059 at -7.22 degrees (North through East)
! Clean map  min=-0.010262  max=2.4949 Jy/beam
! Writing clean map to FITS file: 1424-418_X.fits
! Writing difmap environment to: 1424-418_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1424-418_Xuv.ps/vps,1,2
! Attempting to open device: '1424-418_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1424-418_Xim.ps/vps
! Attempting to open device: '1424-418_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=0.7589 mas, bmaj=5.059 mas, bpa=-7.22 degrees
! Estimated noise=6.55612 mJy/beam.
! The new contour levels are:
!  -0.0105288 0.0105288 0.0210577 0.0421153 0.0842307 0.168461 0.336923 0.673846 1.34769 2.69538 5.39076 10.7815 21.5631 43.1261 86.2522 172.504 345.009 690.018 1380.04 2760.07 5520.14 11040.3
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7589 x 5.059 at -7.22 degrees (North through East)
! Clean map  min=-0.010262  max=2.4949 Jy/beam
quit
! Quitting program
! Log file 1424-418_X.log closed on Wed Jun  9 18:32:15 1999