! Started logfile: J1800+7828_X_2003_06_18_pus_uvs.log on Wed Jan 17 18:09:11 2007
obs J1800+7828_X_2003_06_18_pus_uva.fits
! Reading UV FITS file: J1800+7828_X_2003_06_18_pus_uva.fits
! AN table 1: 139 integrations on 153 of 153 possible baselines.
! AN table 2: 83 integrations on 153 of 153 possible baselines.
! AN table 3: Unused.
! AN table 4: Unused.
! AN table 5: Unused.
! AN table 6: Unused.
! AN table 7: Unused.
! AN table 8: Unused.
! AN table 9: Unused.
! Apparent sampling: 0.67756 visibilities/baseline/integration-bin.
! Found source: J1800+7828
! 
! 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 2231 lines of history.
! 
! Reading 92056 visibilities.
select I
! Polarization I is unavailable.
! 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 = 256
float field_cell
field_cell = 0.2
float taper_size
taper_size = 70.
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 256x256 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 1133 telescope corrections were flagged in sub-array 1.
!  A total of 910 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 1102 telescope corrections were flagged in sub-array 1.
!  A total of 826 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 1112 telescope corrections were flagged in sub-array 1.
!  A total of 910 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 1102 telescope corrections were flagged in sub-array 1.
!  A total of 826 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=1.103318Jy  sigma=0.014315
! Fit after  self-cal, rms=0.556988Jy  sigma=0.007196
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
uvw 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.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.5701 mas, bmaj=0.6065 mas, bpa=27.7 degrees
! Estimated noise=615.009 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.843945 Jy
! Component: 100  -  total flux cleaned = 1.08749 Jy
! Total flux subtracted in 100 components = 1.08749 Jy
! Clean residual min=-0.045624 max=0.224241 Jy/beam
! Clean residual mean=0.000829 rms=0.013021 Jy/beam
! Combined flux in latest and established models = 1.08749 Jy
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 4 components and 1.08749 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.513342Jy  sigma=0.006439
! Fit after  self-cal, rms=0.512372Jy  sigma=0.006434
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Added new window around map position (-1.4, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.195318 Jy
! Component: 100  -  total flux cleaned = 0.302239 Jy
! Total flux subtracted in 100 components = 0.302239 Jy
! Clean residual min=-0.032079 max=0.062379 Jy/beam
! Clean residual mean=0.000507 rms=0.007885 Jy/beam
! Combined flux in latest and established models = 1.38973 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 9 components and 1.38973 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.378915Jy  sigma=0.004212
! Fit after  self-cal, rms=0.366828Jy  sigma=0.004054
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0887975 Jy
! Component: 100  -  total flux cleaned = 0.148097 Jy
! Total flux subtracted in 100 components = 0.148097 Jy
! Clean residual min=-0.017304 max=0.041406 Jy/beam
! Clean residual mean=0.000344 rms=0.004977 Jy/beam
! Combined flux in latest and established models = 1.53783 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 13 components and 1.53783 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321300Jy  sigma=0.003132
! Fit after  self-cal, rms=0.318458Jy  sigma=0.003095
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Added new window around map position (-0.8, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.051641 Jy
! Component: 100  -  total flux cleaned = 0.0862827 Jy
! Total flux subtracted in 100 components = 0.0862827 Jy
! Clean residual min=-0.012611 max=0.024601 Jy/beam
! Clean residual mean=0.000249 rms=0.003691 Jy/beam
! Combined flux in latest and established models = 1.62411 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 22 components and 1.62411 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.300118Jy  sigma=0.002663
! Fit after  self-cal, rms=0.299174Jy  sigma=0.002652
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0300415 Jy
! Component: 100  -  total flux cleaned = 0.0520904 Jy
! Total flux subtracted in 100 components = 0.0520904 Jy
! Clean residual min=-0.010913 max=0.016643 Jy/beam
! Clean residual mean=0.000191 rms=0.003110 Jy/beam
! Combined flux in latest and established models = 1.6762 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 29 components and 1.6762 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.291671Jy  sigma=0.002456
! Fit after  self-cal, rms=0.291300Jy  sigma=0.002452
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 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
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7548 mas, bmaj=0.8862 mas, bpa=-24.15 degrees
! Estimated noise=289.914 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0501633 Jy
! Component: 100  -  total flux cleaned = 0.0782478 Jy
! Component: 150  -  total flux cleaned = 0.0949813 Jy
! Component: 200  -  total flux cleaned = 0.105136 Jy
! Total flux subtracted in 200 components = 0.105136 Jy
! Clean residual min=-0.010596 max=0.019989 Jy/beam
! Clean residual mean=0.000377 rms=0.004265 Jy/beam
! Combined flux in latest and established models = 1.78134 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 44 components and 1.78134 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.284532Jy  sigma=0.002248
! Fit after  self-cal, rms=0.283852Jy  sigma=0.002235
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Added new window around map position (-2.6, 0.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0235739 Jy
! Component: 100  -  total flux cleaned = 0.0359735 Jy
! Component: 150  -  total flux cleaned = 0.0434521 Jy
! Component: 200  -  total flux cleaned = 0.0458227 Jy
! Total flux subtracted in 200 components = 0.0458227 Jy
! Clean residual min=-0.009360 max=0.012370 Jy/beam
! Clean residual mean=-0.000190 rms=0.003313 Jy/beam
! Combined flux in latest and established models = 1.82716 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 69 components and 1.82716 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.282080Jy  sigma=0.002192
! Fit after  self-cal, rms=0.281814Jy  sigma=0.002187
! Inverting map 
! Your choice of large map pixels excluded 1.23% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
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        0.97     FD        1.01     GG        1.00*    HN        0.96     
!   KK        1.07     KP        1.03     LA        0.98     MA        1.00*    
!   MK        0.99     NL        1.04     ON        1.00     OV        0.99     
!   PT        0.99     SC        1.00     TC        1.00*    TS        1.00     
!   WF        1.05     WZ        1.01     
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.93     GG        1.00*    HN        1.06     
!   KK        1.00*    KP        0.99     LA        0.94     MA        1.00*    
!   MK        1.02     NL        1.02     ON        1.00     OV        0.99     
!   PT        0.96     SC        1.05     TC        1.00*    TS        0.99     
!   WF        1.14     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.00     GG        1.00*    HN        0.97     
!   KK        1.05     KP        0.98     LA        0.99     MA        1.19     
!   MK        1.00     NL        1.00     ON        1.03     OV        0.99     
!   PT        1.03     SC        0.95     TC        1.00*    TS        1.00     
!   WF        1.08     WZ        0.94     
! 
!  A total of 33 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.94     GG        1.00*    HN        1.08     
!   KK        1.00*    KP        0.94     LA        0.94     MA        1.05     
!   MK        1.02     NL        0.99     ON        1.01     OV        0.98     
!   PT        1.00     SC        1.00     TC        1.00*    TS        0.99     
!   WF        1.18     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.98     GG        1.00*    HN        0.96     
!   KK        1.11     KP        1.02     LA        0.99     MA        1.16     
!   MK        1.00     NL        0.99     ON        0.99     OV        1.03     
!   PT        1.06     SC        0.98     TC        1.00*    TS        0.98     
!   WF        0.99     WZ        0.97     
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        0.92     GG        1.00*    HN        1.07     
!   KK        1.00*    KP        0.98     LA        0.94     MA        1.00*    
!   MK        1.00     NL        0.97     ON        1.01     OV        1.02     
!   PT        1.03     SC        1.04     TC        1.00*    TS        0.96     
!   WF        1.07     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.97     GG        1.00*    HN        0.98     
!   KK        1.06     KP        0.98     LA        0.97     MA        1.20     
!   MK        1.04     NL        0.99     ON        1.03     OV        1.02     
!   PT        1.06     SC        1.02     TC        1.00*    TS        0.98     
!   WF        0.99     WZ        0.97     
! 
!  A total of 33 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.93     GG        1.00*    HN        1.10     
!   KK        1.00*    KP        0.95     LA        0.93     MA        1.07     
!   MK        1.03     NL        0.97     ON        1.03     OV        1.01     
!   PT        1.03     SC        1.08     TC        1.00*    TS        0.98     
!   WF        1.05     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.281814Jy  sigma=0.002187
! Fit after  self-cal, rms=0.278713Jy  sigma=0.002009
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7562 mas, bmaj=0.8862 mas, bpa=-24.47 degrees
! Estimated noise=290.645 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-4.2, 0).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0116232 Jy
! Component: 100  -  total flux cleaned = 0.0140734 Jy
! Component: 150  -  total flux cleaned = 0.0159354 Jy
! Component: 200  -  total flux cleaned = 0.0174767 Jy
! Total flux subtracted in 200 components = 0.0174767 Jy
! Clean residual min=-0.005018 max=0.011386 Jy/beam
! Clean residual mean=0.000291 rms=0.002021 Jy/beam
! Combined flux in latest and established models = 1.84464 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 86 components and 1.84464 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.278019Jy  sigma=0.001993
! Fit after  self-cal, rms=0.278075Jy  sigma=0.001991
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Added new window around map position (-7, -1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0112846 Jy
! Component: 100  -  total flux cleaned = 0.0177865 Jy
! Component: 150  -  total flux cleaned = 0.0200632 Jy
! Component: 200  -  total flux cleaned = 0.0213455 Jy
! Total flux subtracted in 200 components = 0.0213455 Jy
! Clean residual min=-0.005783 max=0.005853 Jy/beam
! Clean residual mean=0.000043 rms=0.001636 Jy/beam
! Combined flux in latest and established models = 1.86598 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 109 components and 1.86598 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.277587Jy  sigma=0.001979
! Fit after  self-cal, rms=0.277538Jy  sigma=0.001978
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.277538Jy  sigma=0.001978
! Fit after  self-cal, rms=0.274638Jy  sigma=0.001931
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7563 mas, bmaj=0.8859 mas, bpa=-24.12 degrees
! Estimated noise=290.606 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00328286 Jy
! Component: 100  -  total flux cleaned = 0.0048759 Jy
! Component: 150  -  total flux cleaned = 0.00622667 Jy
! Component: 200  -  total flux cleaned = 0.0071609 Jy
! Total flux subtracted in 200 components = 0.0071609 Jy
! Clean residual min=-0.003242 max=0.004590 Jy/beam
! Clean residual mean=0.000144 rms=0.000999 Jy/beam
! Combined flux in latest and established models = 1.87314 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 130 components and 1.87314 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274481Jy  sigma=0.001927
! Fit after  self-cal, rms=0.274478Jy  sigma=0.001927
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (-9.2, 0.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00421666 Jy
! Component: 100  -  total flux cleaned = 0.0061899 Jy
! Component: 150  -  total flux cleaned = 0.00746304 Jy
! Component: 200  -  total flux cleaned = 0.0082318 Jy
! Total flux subtracted in 200 components = 0.0082318 Jy
! Clean residual min=-0.003093 max=0.002826 Jy/beam
! Clean residual mean=0.000055 rms=0.000888 Jy/beam
! Combined flux in latest and established models = 1.88138 Jy
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 143 components and 1.88138 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274346Jy  sigma=0.001925
! Fit after  self-cal, rms=0.274337Jy  sigma=0.001925
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274337Jy  sigma=0.001925
! Fit after  self-cal, rms=0.274197Jy  sigma=0.001923
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7568 mas, bmaj=0.8859 mas, bpa=-24.18 degrees
! Estimated noise=290.596 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000639634 Jy
! Component: 100  -  total flux cleaned = 0.00176583 Jy
! Component: 150  -  total flux cleaned = 0.00259075 Jy
! Component: 200  -  total flux cleaned = 0.00342646 Jy
! Total flux subtracted in 200 components = 0.00342646 Jy
! Clean residual min=-0.003003 max=0.002758 Jy/beam
! Clean residual mean=0.000076 rms=0.000819 Jy/beam
! Combined flux in latest and established models = 1.8848 Jy
selfcal
! Performing phase self-cal
! Adding 30 model components to the UV plane model.
! The established model now contains 147 components and 1.8848 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274123Jy  sigma=0.001922
! Fit after  self-cal, rms=0.274121Jy  sigma=0.001922
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000568748 Jy
! Component: 100  -  total flux cleaned = 0.00135782 Jy
! Component: 150  -  total flux cleaned = 0.0019402 Jy
! Component: 200  -  total flux cleaned = 0.00241445 Jy
! Total flux subtracted in 200 components = 0.00241445 Jy
! Clean residual min=-0.002987 max=0.002607 Jy/beam
! Clean residual mean=0.000048 rms=0.000796 Jy/beam
! Combined flux in latest and established models = 1.88722 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 151 components and 1.88722 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274072Jy  sigma=0.001921
! Fit after  self-cal, rms=0.274067Jy  sigma=0.001921
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274067Jy  sigma=0.001921
! Fit after  self-cal, rms=0.274235Jy  sigma=0.001921
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=2.416 mas, bmaj=2.785 mas, bpa=-1.546 degrees
! Estimated noise=380.64 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0024997 Jy
! Component: 100  -  total flux cleaned = 0.00340723 Jy
! Component: 150  -  total flux cleaned = 0.00409935 Jy
! Component: 200  -  total flux cleaned = 0.00466913 Jy
! Total flux subtracted in 200 components = 0.00466913 Jy
! Clean residual min=-0.003339 max=0.003091 Jy/beam
! Clean residual mean=0.000063 rms=0.001075 Jy/beam
! Combined flux in latest and established models = 1.89189 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 162 components and 1.89189 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274233Jy  sigma=0.001920
! Fit after  self-cal, rms=0.274225Jy  sigma=0.001920
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000764424 Jy
! Component: 100  -  total flux cleaned = 0.00133774 Jy
! Component: 150  -  total flux cleaned = 0.0017428 Jy
! Component: 200  -  total flux cleaned = 0.00197947 Jy
! Total flux subtracted in 200 components = 0.00197947 Jy
! Clean residual min=-0.003341 max=0.003223 Jy/beam
! Clean residual mean=0.000004 rms=0.001042 Jy/beam
! Combined flux in latest and established models = 1.89387 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 163 components and 1.89387 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274220Jy  sigma=0.001920
! Fit after  self-cal, rms=0.274215Jy  sigma=0.001920
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7575 mas, bmaj=0.8858 mas, bpa=-24.19 degrees
! Estimated noise=290.656 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7575 x 0.8858 at -24.19 degrees (North through East)
! Clean map  min=-0.0023659  max=1.1701 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.274215Jy  sigma=0.001920
! Fit after  self-cal, rms=0.261474Jy  sigma=0.001773
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7573 mas, bmaj=0.8864 mas, bpa=-24.2 degrees
! Estimated noise=290.459 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00123003 Jy
! Component: 100  -  total flux cleaned = -0.00123747 Jy
! Component: 150  -  total flux cleaned = -0.00111529 Jy
! Component: 200  -  total flux cleaned = -0.00105689 Jy
! Total flux subtracted in 200 components = -0.00105689 Jy
! Clean residual min=-0.002446 max=0.002445 Jy/beam
! Clean residual mean=0.000035 rms=0.000675 Jy/beam
! Combined flux in latest and established models = 1.89281 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 168 components and 1.89281 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261433Jy  sigma=0.001772
! Fit after  self-cal, rms=0.261430Jy  sigma=0.001772
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000124619 Jy
! Component: 100  -  total flux cleaned = -7.087e-05 Jy
! Component: 150  -  total flux cleaned = -7.33835e-05 Jy
! Component: 200  -  total flux cleaned = -0.000124663 Jy
! Total flux subtracted in 200 components = -0.000124663 Jy
! Clean residual min=-0.002446 max=0.002430 Jy/beam
! Clean residual mean=0.000036 rms=0.000668 Jy/beam
! Combined flux in latest and established models = 1.89268 Jy
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 172 components and 1.89268 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261402Jy  sigma=0.001771
! Fit after  self-cal, rms=0.261399Jy  sigma=0.001771
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261399Jy  sigma=0.001771
! Fit after  self-cal, rms=0.261546Jy  sigma=0.001771
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative models.
uvw 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.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.5723 mas, bmaj=0.607 mas, bpa=29.14 degrees
! Estimated noise=597.734 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.844928 Jy
! Component: 100  -  total flux cleaned = 1.14309 Jy
! Component: 150  -  total flux cleaned = 1.32493 Jy
! Component: 200  -  total flux cleaned = 1.4429 Jy
! Total flux subtracted in 200 components = 1.4429 Jy
! Clean residual min=-0.012972 max=0.063649 Jy/beam
! Clean residual mean=0.000475 rms=0.005568 Jy/beam
! Combined flux in latest and established models = 1.4429 Jy
uvw 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.
flux_cutoff = imstat(rms) * dynam
! Adding 10 model components to the UV plane model.
! The established model now contains 10 components and 1.4429 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7579 mas, bmaj=0.8864 mas, bpa=-24.23 degrees
! Estimated noise=290.505 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.153808 Jy
! Component: 100  -  total flux cleaned = 0.235392 Jy
! Component: 150  -  total flux cleaned = 0.282823 Jy
! Component: 200  -  total flux cleaned = 0.314336 Jy
! Total flux subtracted in 200 components = 0.314336 Jy
! Clean residual min=-0.004082 max=0.017710 Jy/beam
! Clean residual mean=0.001613 rms=0.003764 Jy/beam
! Combined flux in latest and established models = 1.75724 Jy
! Adding 58 model components to the UV plane model.
! The established model now contains 59 components and 1.75724 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0232779 Jy
! Component: 100  -  total flux cleaned = 0.0415437 Jy
! Component: 150  -  total flux cleaned = 0.0561375 Jy
! Component: 200  -  total flux cleaned = 0.0679972 Jy
! Total flux subtracted in 200 components = 0.0679972 Jy
! Clean residual min=-0.002769 max=0.007802 Jy/beam
! Clean residual mean=0.000813 rms=0.001866 Jy/beam
! Combined flux in latest and established models = 1.82524 Jy
! Adding 78 model components to the UV plane model.
! The established model now contains 119 components and 1.82524 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=2.418 mas, bmaj=2.784 mas, bpa=-1.549 degrees
! Estimated noise=380.273 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0202604 Jy
! Component: 100  -  total flux cleaned = 0.0334072 Jy
! Component: 150  -  total flux cleaned = 0.0425504 Jy
! Component: 200  -  total flux cleaned = 0.0491497 Jy
! Total flux subtracted in 200 components = 0.0491497 Jy
! Clean residual min=-0.003011 max=0.004872 Jy/beam
! Clean residual mean=0.000636 rms=0.001510 Jy/beam
! Combined flux in latest and established models = 1.87439 Jy
flux_cutoff = imstat(rms) * dynam
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  keep
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00484768 Jy
! Component: 100  -  total flux cleaned = 0.00843802 Jy
! Component: 150  -  total flux cleaned = 0.0111117 Jy
! Component: 200  -  total flux cleaned = 0.0131147 Jy
! Total flux subtracted in 200 components = 0.0131147 Jy
! Clean residual min=-0.002770 max=0.002835 Jy/beam
! Clean residual mean=0.000245 rms=0.001034 Jy/beam
! Combined flux in latest and established models = 1.8875 Jy
! Adding 122 model components to the UV plane model.
! The established model now contains 220 components and 1.8875 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! Estimated beam: bmin=0.7579 mas, bmaj=0.8864 mas, bpa=-24.23 degrees
! Estimated noise=290.505 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000128912 Jy
! Component: 100  -  total flux cleaned = 0.00066753 Jy
! Component: 150  -  total flux cleaned = 0.00099046 Jy
! Component: 200  -  total flux cleaned = 0.00143109 Jy
! Total flux subtracted in 200 components = 0.00143109 Jy
! Clean residual min=-0.002428 max=0.002433 Jy/beam
! Clean residual mean=0.000086 rms=0.000673 Jy/beam
! Combined flux in latest and established models = 1.88893 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 228 components and 1.88893 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261581Jy  sigma=0.001771
! Fit after  self-cal, rms=0.261501Jy  sigma=0.001770
wmodel J1800+7828_X_2003_06_18_pus_map.mod
! Writing 228 model components to file: J1800+7828_X_2003_06_18_pus_map.mod
wobs J1800+7828_X_2003_06_18_pus_uvs.fits
! Writing UV FITS file: J1800+7828_X_2003_06_18_pus_uvs.fits
wwins J1800+7828_X_2003_06_18_pus_map.win
! wwins: Wrote 7 windows to J1800+7828_X_2003_06_18_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 3.62086e-05 Jy
! Component: 100  -  total flux cleaned = 3.66622e-05 Jy
! Component: 150  -  total flux cleaned = 7.55891e-05 Jy
! Component: 200  -  total flux cleaned = 0.000150833 Jy
! Component: 250  -  total flux cleaned = 0.000260157 Jy
! Component: 300  -  total flux cleaned = 0.000330528 Jy
! Component: 350  -  total flux cleaned = 0.000570355 Jy
! Component: 400  -  total flux cleaned = 0.000737554 Jy
! Component: 450  -  total flux cleaned = 0.000901634 Jy
! Component: 500  -  total flux cleaned = 0.00109469 Jy
! Component: 550  -  total flux cleaned = 0.00125219 Jy
! Component: 600  -  total flux cleaned = 0.00140757 Jy
! Component: 650  -  total flux cleaned = 0.00159104 Jy
! Component: 700  -  total flux cleaned = 0.00171142 Jy
! Component: 750  -  total flux cleaned = 0.00183046 Jy
! Component: 800  -  total flux cleaned = 0.00200667 Jy
! Component: 850  -  total flux cleaned = 0.00206476 Jy
! Component: 900  -  total flux cleaned = 0.00220854 Jy
! Component: 950  -  total flux cleaned = 0.00237856 Jy
! Component: 1000  -  total flux cleaned = 0.00246264 Jy
! Total flux subtracted in 1024 components = 0.00251844 Jy
! Clean residual min=-0.001760 max=0.001996 Jy/beam
! Clean residual mean=0.000053 rms=0.000554 Jy/beam
! Combined flux in latest and established models = 1.89145 Jy
keep
! Adding 87 model components to the UV plane model.
! The established model now contains 313 components and 1.89145 Jy
wmap "J1800+7828_X_2003_06_18_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7579 x 0.8864 at -24.23 degrees (North through East)
! Clean map  min=-0.0019062  max=1.172 Jy/beam
! Writing clean map to FITS file: J1800+7828_X_2003_06_18_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.17202 
invert
! Inverting map 
! Your choice of large map pixels excluded 1.18% of the data.
!  The x-axis pixel size should ideally be below 0.17 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1839 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00055162 
device "J1800+7828_X_2003_06_18_pus\_map.eps/VPS"
! Attempting to open device: 'J1800+7828_X_2003_06_18_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.141198 0.141198 0.282396 0.564791 1.12958 2.25917 4.51833 9.03666 18.0733 36.1467 72.2933
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0016 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.172 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.7579 x 0.8864 at -24.23 degrees (North through East)
! Clean map  min=-0.0019062  max=1.172 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1800+7828_X_2003_06_18_pus\_map.gif/vgif"
! Attempting to open device: 'J1800+7828_X_2003_06_18_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1800+7828_X_2003_06_18_pus_uvs.log closed on Wed Jan 17 18:10:30 2007