! Started logfile: 1830+285_X.log on Thu May 15 13:36:59 1997
observe 1830+285_X.edt
! Reading UV FITS file: 1830+285_X.edt
! AN table 1: 75 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.816889 visibilities/baseline/integration-bin.
! Found source: 1830+285
! 
! Number of spectral-line channels: 1
! 
! IF    Freq (Hz)  Chan BW (Hz)  Full BW (Hz)  Sideband
! 01  8.15049e+09         4e+06         4e+06       USB
! 02  8.23049e+09         4e+06         4e+06       USB
! 03  8.41049e+09         4e+06         4e+06       USB
! 04  8.55049e+09         4e+06         4e+06       USB
! 
! Polarization(s): RR
! 
! Read 351 lines of history.
! 
! Reading 11028 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 173 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 173 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 173 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 173 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.650333Jy  sigma=4.009676
! Fit after  self-cal, rms=0.650300Jy  sigma=4.009441
! 
! 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=0.8688 mas, bmaj=1.318 mas, bpa=-5.959 degrees
! Estimated noise=1.86682 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.270385 Jy
! Total flux subtracted in 50 components = 0.270385 Jy
! Clean residual min=-0.018386 max=0.075425 Jy/beam
! Clean residual mean=-0.000070 rms=0.004274 Jy/beam
! Combined flux in latest and established models = 0.270385 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 0.270385 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.160524Jy  sigma=0.987561
! Fit after  self-cal, rms=0.160524Jy  sigma=0.987561
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0667865 Jy
! Total flux subtracted in 50 components = 0.0667865 Jy
! Clean residual min=-0.013379 max=0.053081 Jy/beam
! Clean residual mean=-0.000035 rms=0.003049 Jy/beam
! Combined flux in latest and established models = 0.337171 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 4 components and 0.337171 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.132402Jy  sigma=0.814054
! Fit after  self-cal, rms=0.132397Jy  sigma=0.814027
! 
! Reinstating the default IF.
! Inverting map 
! Added new window around map position (-2.4, 3).
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0461099 Jy
! Total flux subtracted in 50 components = 0.0461099 Jy
! Clean residual min=-0.009407 max=0.020650 Jy/beam
! Clean residual mean=-0.000013 rms=0.002241 Jy/beam
! Combined flux in latest and established models = 0.383281 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 9 components and 0.383281 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.118447Jy  sigma=0.727857
! Fit after  self-cal, rms=0.117771Jy  sigma=0.723675
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0265062 Jy
! Total flux subtracted in 50 components = 0.0265062 Jy
! Clean residual min=-0.007666 max=0.013557 Jy/beam
! Clean residual mean=0.000000 rms=0.001847 Jy/beam
! Combined flux in latest and established models = 0.409787 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 9 components and 0.409787 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.112755Jy  sigma=0.692718
! Fit after  self-cal, rms=0.112676Jy  sigma=0.692225
! 
! Reinstating the default IF.
! Inverting map 
! clean: niter=50  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0171214 Jy
! Total flux subtracted in 50 components = 0.0171214 Jy
! Clean residual min=-0.007248 max=0.009105 Jy/beam
! Clean residual mean=0.000009 rms=0.001683 Jy/beam
! Combined flux in latest and established models = 0.426909 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 12 components and 0.426909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.110538Jy  sigma=0.679039
! Fit after  self-cal, rms=0.110506Jy  sigma=0.678841
! 
! 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.076 mas, bmaj=1.655 mas, bpa=-2.745 degrees
! Estimated noise=1.18649 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.0132683 Jy
! Component: 100  -  total flux cleaned = 0.0210904 Jy
! Total flux subtracted in 100 components = 0.0210904 Jy
! Clean residual min=-0.005631 max=0.004914 Jy/beam
! Clean residual mean=0.000039 rms=0.001168 Jy/beam
! Combined flux in latest and established models = 0.447999 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 18 components and 0.447999 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.109042Jy  sigma=0.669815
! Fit after  self-cal, rms=0.108991Jy  sigma=0.669502
! 
! 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 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.02     HN        0.95     KP        0.99     
!   LA        0.99     MK        0.96     NL        0.97     OV        1.01     
!   PT        0.96     SC        0.99     
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.02     HN        0.97     KP        1.00     
!   LA        1.00     MK        0.97     NL        0.97     OV        1.00     
!   PT        0.98     SC        0.99     
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.03     HN        0.95     KP        1.02     
!   LA        1.01     MK        0.96     NL        0.97     OV        1.03     
!   PT        0.97     SC        1.03     
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.01     HN        0.97     KP        1.01     
!   LA        1.01     MK        0.98     NL        0.98     OV        1.02     
!   PT        0.98     SC        1.06     
! 
! 
! Fit before self-cal, rms=0.108991Jy  sigma=0.669502
! Fit after  self-cal, rms=0.105898Jy  sigma=0.663658
! 
! Reinstating the default IF.
dynam = dynam - 0.5
doamp = false
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=1.07 mas, bmaj=1.658 mas, bpa=-3.617 degrees
! Estimated noise=1.17552 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.00428932 Jy
! Component: 100  -  total flux cleaned = 0.0046901 Jy
! Total flux subtracted in 100 components = 0.0046901 Jy
! Clean residual min=-0.005317 max=0.004319 Jy/beam
! Clean residual mean=0.000060 rms=0.001026 Jy/beam
! Combined flux in latest and established models = 0.452689 Jy
! Performing phase self-cal over 0.666667 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 29 components and 0.452689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105724Jy  sigma=0.662584
! Fit after  self-cal, rms=0.105709Jy  sigma=0.662468
! 
! 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.000908584 Jy
! Component: 100  -  total flux cleaned = 0.000911297 Jy
! Total flux subtracted in 100 components = 0.000911297 Jy
! Clean residual min=-0.005294 max=0.004388 Jy/beam
! Clean residual mean=0.000061 rms=0.001019 Jy/beam
! Combined flux in latest and established models = 0.453601 Jy
! Performing amp+phase self-cal over 1 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 32 components and 0.453601 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.105656Jy  sigma=0.662133
! Fit after  self-cal, rms=0.104050Jy  sigma=0.646875
! 
! Reinstating the default IF.
! Inverting map and beam 
! Estimated beam: bmin=1.071 mas, bmaj=1.659 mas, bpa=-3.949 degrees
! Estimated noise=1.17829 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.00285934 Jy
! Component: 100  -  total flux cleaned = 0.00404553 Jy
! Total flux subtracted in 100 components = 0.00404553 Jy
! Clean residual min=-0.003044 max=0.003184 Jy/beam
! Clean residual mean=0.000011 rms=0.000772 Jy/beam
! Combined flux in latest and established models = 0.457646 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 39 components and 0.457646 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.103980Jy  sigma=0.646433
! Fit after  self-cal, rms=0.103979Jy  sigma=0.646396
! 
! Reinstating the default IF.
! Inverting map 
print "***********************************"
! *********************************** 
print "*** Finished Amplitude Self-Cal ***"
! *** Finished Amplitude Self-Cal *** 
print "***********************************"
! *********************************** 
save 1830+285_X
! Writing UV FITS file: 1830+285_X.uvf
! Writing 39 model components to file: 1830+285_X.mod
! wwins: Wrote 2 windows to 1830+285_X.win
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.071 x 1.659 at -3.949 degrees (North through East)
! Clean map  min=-0.002837  max=0.35473 Jy/beam
! Writing clean map to FITS file: 1830+285_X.fits
! Writing difmap environment to: 1830+285_X.par
print "****************************"
! **************************** 
print "*** Now, make some plots ***"
! *** Now, make some plots *** 
print "****************************"
! **************************** 
device 1830+285_Xuv.ps/vps,1,2
! Attempting to open device: '1830+285_Xuv.ps/vps'
radplot
! Using default options string "m1"
uvplot
device 1830+285_Xim.ps/vps
! Attempting to open device: '1830+285_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.071 mas, bmaj=1.659 mas, bpa=-3.949 degrees
! Estimated noise=1.17829 mJy/beam.
! The new contour levels are:
!  -0.00231471 0.00231471 0.00462942 0.00925883 0.0185177 0.0370353 0.0740707 0.148141 0.296283 0.592565 1.18513 2.37026 4.74052 9.48104 18.9621 37.9242 75.8484 151.697 303.393 606.787 1213.57 2427.15 4854.29 9708.59 19417.2
mappl cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 1.071 x 1.659 at -3.949 degrees (North through East)
! Clean map  min=-0.002837  max=0.35473 Jy/beam
quit
! Quitting program
! Log file 1830+285_X.log closed on Thu May 15 13:38:52 1997