! Started logfile: 1219+044_X.log on Mon Nov 25 17:35:22 1996
observe 1219+044_X.edt
! Reading UV FITS file: 1219+044_X.edt
! AN table 1: 22 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.945707 visibilities/baseline/integration-bin.
! Found source: 1219+044
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.10599e+09         8e+06         8e+06       USB
! 02  8.17599e+09         8e+06         8e+06       USB
! 03  8.49099e+09         8e+06         8e+06       USB
! 04  8.59599e+09         8e+06         8e+06       USB
! 
! Polarization(s): RR
! 
! Read 511 lines of history.
! 
! Reading 2996 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.2
integer clean_niter
clean_niter = 50
float clean_gain
clean_gain = 0.03
float dynam
dynam = 8.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.200x0.200 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 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 30 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.572510Jy  sigma=3.489325
! Fit after  self-cal, rms=0.572404Jy  sigma=3.489867
! 
! 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=1.131 mas, bmaj=2.943 mas, bpa=26.08 degrees
! Estimated noise=4.25577 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.332955 Jy
! Total flux subtracted in 50 components = 0.332955 Jy
! Clean residual min=-0.031107 max=0.093051 Jy/beam
! Clean residual mean=-0.000027 rms=0.010295 Jy/beam
! Combined flux in latest and established models = 0.332955 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 0.332955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.138848Jy  sigma=0.848316
! Fit after  self-cal, rms=0.138843Jy  sigma=0.848284
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0833451 Jy
! Total flux subtracted in 50 components = 0.0833451 Jy
! Clean residual min=-0.016954 max=0.034510 Jy/beam
! Clean residual mean=-0.000012 rms=0.005168 Jy/beam
! Combined flux in latest and established models = 0.4163 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.4163 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.091127Jy  sigma=0.554150
! Fit after  self-cal, rms=0.090936Jy  sigma=0.553060
! 
! 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=1.354 mas, bmaj=3.098 mas, bpa=24.88 degrees
! Estimated noise=2.26463 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.0374327 Jy
! Component: 100  -  total flux cleaned = 0.0537448 Jy
! Total flux subtracted in 100 components = 0.0537448 Jy
! Clean residual min=-0.006803 max=0.009046 Jy/beam
! Clean residual mean=-0.000003 rms=0.001911 Jy/beam
! Combined flux in latest and established models = 0.470045 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 21 components and 0.470045 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.077153Jy  sigma=0.467449
! Fit after  self-cal, rms=0.076943Jy  sigma=0.466212
! 
! 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        0.96     FD        1.03     HN        0.97     KP        0.98     
!   LA        1.01     NL        1.01     OV        0.97     PT        1.00     
!   SC        1.04     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.01     HN        0.97     KP        1.00     
!   LA        1.01     NL        0.98     OV        0.97     PT        1.00     
!   SC        1.03     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00     HN        1.00     KP        1.01     
!   LA        0.97     NL        0.98     OV        0.98     PT        1.01     
!   SC        1.03     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        1.01     HN        0.97     KP        0.98     
!   LA        0.99     NL        0.99     OV        0.98     PT        1.01     
!   SC        1.06     
! 
! 
! Fit before self-cal, rms=0.076943Jy  sigma=0.466212
! Fit after  self-cal, rms=0.074723Jy  sigma=0.455569
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.366 mas, bmaj=3.087 mas, bpa=24.61 degrees
! Estimated noise=2.23144 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.00596183 Jy
! Component: 100  -  total flux cleaned = 0.0067846 Jy
! Total flux subtracted in 100 components = 0.0067846 Jy
! Clean residual min=-0.004053 max=0.005549 Jy/beam
! Clean residual mean=-0.000001 rms=0.001110 Jy/beam
! Combined flux in latest and established models = 0.47683 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 4 model components to the UV plane model.
! The established model now contains 25 components and 0.47683 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074290Jy  sigma=0.452895
! Fit after  self-cal, rms=0.074267Jy  sigma=0.452724
! 
! 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.000622114 Jy
! Component: 100  -  total flux cleaned = 0.000689243 Jy
! Total flux subtracted in 100 components = 0.000689243 Jy
! Clean residual min=-0.004056 max=0.005032 Jy/beam
! Clean residual mean=-0.000001 rms=0.001066 Jy/beam
! Combined flux in latest and established models = 0.477519 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 30 components and 0.477519 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.074195Jy  sigma=0.452273
! Fit after  self-cal, rms=0.073277Jy  sigma=0.445616
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.365 mas, bmaj=3.082 mas, bpa=24.61 degrees
! Estimated noise=2.23304 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.00142238 Jy
! Component: 100  -  total flux cleaned = 0.00172788 Jy
! Total flux subtracted in 100 components = 0.00172788 Jy
! Clean residual min=-0.004123 max=0.004684 Jy/beam
! Clean residual mean=-0.000000 rms=0.001016 Jy/beam
! Combined flux in latest and established models = 0.479247 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 36 components and 0.479247 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.073236Jy  sigma=0.445358
! Fit after  self-cal, rms=0.073236Jy  sigma=0.445347
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1219+044_X
! Writing UV FITS file: 1219+044_X.uvf
! Writing 36 model components to file: 1219+044_X.mod
! wwins: Wrote 1 windows to 1219+044_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.365 x 3.082 at 24.61 degrees (North through East)
! Clean map  min=-0.0039984  max=0.4252 Jy/beam
! Writing clean map to FITS file: 1219+044_X.fits
! Writing difmap environment to: 1219+044_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1219+044_Xuv.ps/vps,1,2
! Attempting to open device: '1219+044_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1219+044_Xim.ps/vps
! Attempting to open device: '1219+044_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=1.365 mas, bmaj=3.082 mas, bpa=24.61 degrees
! Estimated noise=2.23304 mJy/beam.
! The new contour levels are:
!  -0.00304979 0.00304979 0.00609958 0.0121992 0.0243983 0.0487967 0.0975934 0.195187 0.390373 0.780747 1.56149 3.12299 6.24597 12.4919 24.9839 49.9678 99.9356 199.871 399.742 799.485 1598.97 3197.94 6395.88 12791.8
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.365 x 3.082 at 24.61 degrees (North through East)
! Clean map  min=-0.0039984  max=0.4252 Jy/beam
quit
! Quitting program
! Log file 1219+044_X.log closed on Mon Nov 25 17:36:51 1996