! Started logfile: 1213+350_S.log on Tue Aug 29 12:31:54 1995
observe 1213+350_S.edt
! Reading UV FITS file: 1213+350_S.edt
! AN table 1: 106 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.759748 visibilities/baseline/integration-bin.
! Found source: 1213+350
! 
! 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 469 lines of history.
! 
! Reading 14496 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 = 6.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 209 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 211 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 210 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 209 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.313402Jy  sigma=1.353633
! Fit after  self-cal, rms=0.313257Jy  sigma=1.353046
! 
! 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=3.206 mas, bmaj=4.375 mas, bpa=-3.593 degrees
! Estimated noise=2.45199 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.642739 Jy
! Total flux subtracted in 50 components = 0.642739 Jy
! Clean residual min=-0.041286 max=0.181161 Jy/beam
! Clean residual mean=-0.000708 rms=0.012488 Jy/beam
! Combined flux in latest and established models = 0.642739 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.642739 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.433496Jy  sigma=1.869461
! Fit after  self-cal, rms=0.433434Jy  sigma=1.869188
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.183894 Jy
! Total flux subtracted in 50 components = 0.183894 Jy
! Clean residual min=-0.027610 max=0.092232 Jy/beam
! Clean residual mean=-0.000516 rms=0.008450 Jy/beam
! Combined flux in latest and established models = 0.826633 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 28 components and 0.826633 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322438Jy  sigma=1.388495
! Fit after  self-cal, rms=0.322334Jy  sigma=1.388034
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (4.5, 0).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.110932 Jy
! Total flux subtracted in 50 components = 0.110932 Jy
! Clean residual min=-0.022075 max=0.060076 Jy/beam
! Clean residual mean=-0.000402 rms=0.006502 Jy/beam
! Combined flux in latest and established models = 0.937565 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 50 components and 0.937565 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.268670Jy  sigma=1.155745
! Fit after  self-cal, rms=0.268238Jy  sigma=1.153840
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0781268 Jy
! Total flux subtracted in 50 components = 0.0781268 Jy
! Clean residual min=-0.017715 max=0.044542 Jy/beam
! Clean residual mean=-0.000323 rms=0.005247 Jy/beam
! Combined flux in latest and established models = 1.01569 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 66 components and 1.01569 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235944Jy  sigma=1.013984
! Fit after  self-cal, rms=0.235535Jy  sigma=1.012175
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0572948 Jy
! Total flux subtracted in 50 components = 0.0572948 Jy
! Clean residual min=-0.015427 max=0.036072 Jy/beam
! Clean residual mean=-0.000266 rms=0.004431 Jy/beam
! Combined flux in latest and established models = 1.07299 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 83 components and 1.07299 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.215417Jy  sigma=0.925025
! Fit after  self-cal, rms=0.215085Jy  sigma=0.923556
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0435249 Jy
! Total flux subtracted in 50 components = 0.0435249 Jy
! Clean residual min=-0.014589 max=0.029523 Jy/beam
! Clean residual mean=-0.000223 rms=0.003882 Jy/beam
! Combined flux in latest and established models = 1.11651 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 91 components and 1.11651 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.202157Jy  sigma=0.867526
! Fit after  self-cal, rms=0.201884Jy  sigma=0.866319
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (3.5, 5.5).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0354508 Jy
! Total flux subtracted in 50 components = 0.0354508 Jy
! Clean residual min=-0.013364 max=0.023657 Jy/beam
! Clean residual mean=-0.000190 rms=0.003466 Jy/beam
! Combined flux in latest and established models = 1.15196 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 106 components and 1.15196 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.192974Jy  sigma=0.827728
! Fit after  self-cal, rms=0.192813Jy  sigma=0.827013
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (9, 1.5).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0283969 Jy
! Total flux subtracted in 50 components = 0.0283969 Jy
! Clean residual min=-0.012571 max=0.020565 Jy/beam
! Clean residual mean=-0.000163 rms=0.003169 Jy/beam
! Combined flux in latest and established models = 1.18036 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 117 components and 1.18036 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186806Jy  sigma=0.800976
! Fit after  self-cal, rms=0.186698Jy  sigma=0.800498
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (0, -5.5).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0239173 Jy
! Total flux subtracted in 50 components = 0.0239173 Jy
! Clean residual min=-0.012038 max=0.018573 Jy/beam
! Clean residual mean=-0.000141 rms=0.002937 Jy/beam
! Combined flux in latest and established models = 1.20428 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 126 components and 1.20428 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182329Jy  sigma=0.781562
! Fit after  self-cal, rms=0.182259Jy  sigma=0.781253
! 
! 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=4.232 mas, bmaj=5.502 mas, bpa=-6.315 degrees
! Estimated noise=1.40921 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.039383 Jy
! Component: 100  -  total flux cleaned = 0.0660201 Jy
! Total flux subtracted in 100 components = 0.0660201 Jy
! Clean residual min=-0.009656 max=0.021497 Jy/beam
! Clean residual mean=-0.000181 rms=0.002849 Jy/beam
! Combined flux in latest and established models = 1.2703 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 58 model components to the UV plane model.
! The established model now contains 178 components and 1.2703 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.173731Jy  sigma=0.744233
! Fit after  self-cal, rms=0.173492Jy  sigma=0.743197
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (5, -5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0211143 Jy
! Component: 100  -  total flux cleaned = 0.035623 Jy
! Total flux subtracted in 100 components = 0.035623 Jy
! Clean residual min=-0.008069 max=0.018347 Jy/beam
! Clean residual mean=-0.000114 rms=0.002322 Jy/beam
! Combined flux in latest and established models = 1.30592 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 201 components and 1.30592 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170940Jy  sigma=0.732069
! Fit after  self-cal, rms=0.170805Jy  sigma=0.731487
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-28.5, -20.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0168145 Jy
! Component: 100  -  total flux cleaned = 0.0279645 Jy
! Total flux subtracted in 100 components = 0.0279645 Jy
! Clean residual min=-0.007172 max=0.012656 Jy/beam
! Clean residual mean=-0.000085 rms=0.001917 Jy/beam
! Combined flux in latest and established models = 1.33388 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 28 model components to the UV plane model.
! The established model now contains 215 components and 1.33388 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169172Jy  sigma=0.724292
! Fit after  self-cal, rms=0.169083Jy  sigma=0.723893
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-6.5, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0119878 Jy
! Component: 100  -  total flux cleaned = 0.0208272 Jy
! Total flux subtracted in 100 components = 0.0208272 Jy
! Clean residual min=-0.006692 max=0.008156 Jy/beam
! Clean residual mean=-0.000053 rms=0.001683 Jy/beam
! Combined flux in latest and established models = 1.35471 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 21 model components to the UV plane model.
! The established model now contains 227 components and 1.35471 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.168207Jy  sigma=0.720015
! Fit after  self-cal, rms=0.168177Jy  sigma=0.719885
! 
! 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.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.99     HN        0.99     KP        1.00     
!   LA        0.98     MK        0.97     NL        0.98     OV        0.97     
!   PT        0.98     SC        0.98     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.01     HN        1.06     KP        1.02     
!   LA        1.01     MK        1.02     NL        1.03     OV        1.02     
!   PT        1.00     SC        1.00     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.97     HN        1.00     KP        0.99     
!   LA        0.98     MK        1.00     NL        0.98     OV        0.97     
!   PT        0.96     SC        0.97     
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.01     HN        1.06     KP        1.00     
!   LA        1.01     MK        1.04     NL        1.03     OV        1.01     
!   PT        1.00     SC        0.99     
! 
! 
! Fit before self-cal, rms=0.168177Jy  sigma=0.719885
! Fit after  self-cal, rms=0.163982Jy  sigma=0.699561
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=4.25 mas, bmaj=5.515 mas, bpa=-5.636 degrees
! Estimated noise=1.41234 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.00265472 Jy
! Component: 100  -  total flux cleaned = 0.00263468 Jy
! Total flux subtracted in 100 components = 0.00263468 Jy
! Clean residual min=-0.005637 max=0.005459 Jy/beam
! Clean residual mean=-0.000014 rms=0.001405 Jy/beam
! Combined flux in latest and established models = 1.35735 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 241 components and 1.35735 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163732Jy  sigma=0.698461
! Fit after  self-cal, rms=0.163726Jy  sigma=0.698424
! 
! 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.000749301 Jy
! Component: 100  -  total flux cleaned = 0.000896113 Jy
! Total flux subtracted in 100 components = 0.000896113 Jy
! Clean residual min=-0.005444 max=0.005256 Jy/beam
! Clean residual mean=-0.000014 rms=0.001368 Jy/beam
! Combined flux in latest and established models = 1.35824 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 250 components and 1.35824 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.163598Jy  sigma=0.697856
! Fit after  self-cal, rms=0.160891Jy  sigma=0.683487
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=4.257 mas, bmaj=5.509 mas, bpa=-5.724 degrees
! Estimated noise=1.4162 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)
! Added new window around map position (-106.5, -104).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0021078 Jy
! Component: 100  -  total flux cleaned = 0.00167877 Jy
! Total flux subtracted in 100 components = 0.00167877 Jy
! Clean residual min=-0.003996 max=0.004087 Jy/beam
! Clean residual mean=-0.000040 rms=0.001051 Jy/beam
! Combined flux in latest and established models = 1.35992 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 264 components and 1.35992 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160754Jy  sigma=0.682894
! Fit after  self-cal, rms=0.160750Jy  sigma=0.682873
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1213+350_S
! Writing UV FITS file: 1213+350_S.uvf
! Writing 264 model components to file: 1213+350_S.mod
! wwins: Wrote 9 windows to 1213+350_S.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.257 x 5.509 at -5.724 degrees (North through East)
! Clean map  min=-0.0039605  max=0.85578 Jy/beam
! Writing clean map to FITS file: 1213+350_S.fits
! Writing difmap environment to: 1213+350_S.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1213+350_Suv.ps/vps,1,2
! Attempting to open device: '1213+350_Suv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1213+350_Sim.ps/vps
! Attempting to open device: '1213+350_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=4.257 mas, bmaj=5.509 mas, bpa=-5.724 degrees
! Estimated noise=1.4162 mJy/beam.
! The new contour levels are:
!  -0.00315046 0.00315046 0.00630091 0.0126018 0.0252037 0.0504073 0.100815 0.201629 0.403259 0.806517 1.61303 3.22607 6.45214 12.9043 25.8085 51.6171 103.234 206.468 412.937 825.873 1651.75 3303.49 6606.99 13214
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.257 x 5.509 at -5.724 degrees (North through East)
! Clean map  min=-0.0039605  max=0.85578 Jy/beam
quit
! Quitting program
! Log file 1213+350_S.log closed on Tue Aug 29 12:34:48 1995