! Started logfile: J0825+6157_X_2000_05_22_pus_uvs.log on Tue Nov 13 12:41:26 2007
obs J0825+6157_X_2000_05_22_pus_uva.fits
! Reading UV FITS file: J0825+6157_X_2000_05_22_pus_uva.fits
! AN table 1: 191 integrations on 190 of 190 possible baselines.
! AN table 2: 195 integrations on 190 of 190 possible baselines.
! AN table 3: 219 integrations on 190 of 190 possible baselines.
! AN table 4: 363 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.204328 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0825+6157
! 
! 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 1888 lines of history.
! 
! Reading 150320 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
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J0825+6157_X_2000_05_22_pus]
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 2763 telescope corrections were flagged in sub-array 1.
!  A total of 2593 telescope corrections were flagged in sub-array 2.
!  A total of 2821 telescope corrections were flagged in sub-array 3.
!  A total of 4828 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2774 telescope corrections were flagged in sub-array 1.
!  A total of 2593 telescope corrections were flagged in sub-array 2.
!  A total of 2831 telescope corrections were flagged in sub-array 3.
!  A total of 4886 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2788 telescope corrections were flagged in sub-array 1.
!  A total of 2593 telescope corrections were flagged in sub-array 2.
!  A total of 2846 telescope corrections were flagged in sub-array 3.
!  A total of 4885 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2767 telescope corrections were flagged in sub-array 1.
!  A total of 2593 telescope corrections were flagged in sub-array 2.
!  A total of 2869 telescope corrections were flagged in sub-array 3.
!  A total of 4831 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.896217Jy  sigma=0.008436
! Fit after  self-cal, rms=0.846736Jy  sigma=0.007991
! 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 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.5425 mas, bmaj=0.5643 mas, bpa=-9.091 degrees
! Estimated noise=427.182 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.128112 Jy
! Component: 100  -  total flux cleaned = 0.181178 Jy
! Total flux subtracted in 100 components = 0.181178 Jy
! Clean residual min=-0.007031 max=0.029597 Jy/beam
! Clean residual mean=0.000093 rms=0.002164 Jy/beam
! Combined flux in latest and established models = 0.181178 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.181178 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.198715Jy  sigma=0.001649
! Fit after  self-cal, rms=0.197843Jy  sigma=0.001644
! Inverting map 
! Your choice of large map pixels excluded 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0321019 Jy
! Component: 100  -  total flux cleaned = 0.050276 Jy
! Total flux subtracted in 100 components = 0.050276 Jy
! Clean residual min=-0.005928 max=0.030207 Jy/beam
! Clean residual mean=0.000059 rms=0.001836 Jy/beam
! Combined flux in latest and established models = 0.231454 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 9 components and 0.231454 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190903Jy  sigma=0.001539
! Fit after  self-cal, rms=0.190523Jy  sigma=0.001537
! Inverting map 
! Your choice of large map pixels excluded 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Added new window around map position (-1.2, -0.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0265459 Jy
! Component: 100  -  total flux cleaned = 0.0386229 Jy
! Total flux subtracted in 100 components = 0.0386229 Jy
! Clean residual min=-0.005317 max=0.009171 Jy/beam
! Clean residual mean=0.000035 rms=0.001554 Jy/beam
! Combined flux in latest and established models = 0.270077 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 13 components and 0.270077 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.186186Jy  sigma=0.001475
! Fit after  self-cal, rms=0.185346Jy  sigma=0.001469
! Inverting map 
! Your choice of large map pixels excluded 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0127695 Jy
! Component: 100  -  total flux cleaned = 0.0202818 Jy
! Total flux subtracted in 100 components = 0.0202818 Jy
! Clean residual min=-0.004864 max=0.006604 Jy/beam
! Clean residual mean=0.000022 rms=0.001442 Jy/beam
! Combined flux in latest and established models = 0.290358 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 15 components and 0.290358 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.184230Jy  sigma=0.001451
! Fit after  self-cal, rms=0.184092Jy  sigma=0.001450
! Inverting map 
! Your choice of large map pixels excluded 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6279 mas, bmaj=0.7056 mas, bpa=-19.79 degrees
! Estimated noise=207.722 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.0108342 Jy
! Component: 100  -  total flux cleaned = 0.0169392 Jy
! Component: 150  -  total flux cleaned = 0.0207433 Jy
! Component: 200  -  total flux cleaned = 0.0231593 Jy
! Total flux subtracted in 200 components = 0.0231593 Jy
! Clean residual min=-0.002022 max=0.003986 Jy/beam
! Clean residual mean=0.000019 rms=0.000576 Jy/beam
! Combined flux in latest and established models = 0.313518 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 23 components and 0.313518 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183558Jy  sigma=0.001441
! Fit after  self-cal, rms=0.183457Jy  sigma=0.001440
! Inverting map 
! Your choice of large map pixels excluded 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Added new window around map position (-2, -0.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00384464 Jy
! Component: 100  -  total flux cleaned = 0.00412912 Jy
! Component: 150  -  total flux cleaned = 0.00428522 Jy
! Component: 200  -  total flux cleaned = 0.00441758 Jy
! Total flux subtracted in 200 components = 0.00441758 Jy
! Clean residual min=-0.002176 max=0.002160 Jy/beam
! Clean residual mean=-0.000003 rms=0.000531 Jy/beam
! Combined flux in latest and established models = 0.317935 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 32 components and 0.317935 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.183355Jy  sigma=0.001439
! Fit after  self-cal, rms=0.183340Jy  sigma=0.001438
! Inverting map 
! Your choice of large map pixels excluded 4.58% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
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        0.93     FD        0.97     GC        0.97     GG        1.00*    
!   HH        1.00*    HN        1.04     KK        0.96     KP        0.99     
!   MA        1.39     MC        0.87     MK        0.95     NL        0.94     
!   NY        1.00     OV        0.94     PT        0.99     SC        1.07     
!   TS        1.01     WF        0.96     WZ        0.94     LA        0.97     
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.95     GC        0.96     GG        1.00*    
!   HH        1.00*    HN        1.02     KK        1.14     KP        1.01     
!   MA        0.98     MC        0.97     MK        1.00     NL        0.98     
!   NY        1.01     OV        0.94     PT        1.03     SC        1.03     
!   TS        1.11     WF        0.37     WZ        0.97     LA        1.00     
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.97     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.05     KP        1.03     
!   MA        1.20     MC        1.26     MK        0.95     NL        1.02     
!   NY        0.97     OV        0.98     PT        1.03     SC        1.00*    
!   TS        1.00*    WF        0.99     WZ        1.19     LA        1.03     
! 
!  A total of 75 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.96     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        0.98     KP        1.03     
!   MA        0.99     MC        1.16     MK        0.95     NL        0.99     
!   NY        0.99     OV        0.97     PT        0.99     SC        1.15     
!   TS        0.91     WF        1.01     WZ        1.04     LA        1.03     
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.97     FD        1.04     GC        1.06     GG        1.00*    
!   HH        1.00*    HN        1.06     KK        0.96     KP        0.95     
!   MA        1.41     MC        0.79     MK        0.92     NL        1.01     
!   NY        0.97     OV        1.00     PT        0.36     SC        0.96     
!   TS        0.95     WF        0.96     WZ        1.01     LA        0.98     
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.99     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        0.96     KK        1.02     KP        0.96     
!   MA        2.19     MC        0.95     MK        1.06     NL        1.01     
!   NY        1.04     OV        0.97     PT        1.00     SC        1.03     
!   TS        1.11     WF        0.59     WZ        0.94     LA        0.95     
! 
!  A total of 63 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        1.03     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        1.00     KK        1.03     KP        0.99     
!   MA        1.08     MC        1.00     MK        0.95     NL        1.02     
!   NY        1.01     OV        1.01     PT        0.98     SC        1.00*    
!   TS        1.00*    WF        1.05     WZ        0.98     LA        0.99     
! 
!  A total of 75 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.99     FD        1.00     GC        1.03     GG        1.00*    
!   HH        1.00*    HN        1.04     KK        0.98     KP        0.97     
!   MA        1.10     MC        1.17     MK        0.95     NL        1.00     
!   NY        1.01     OV        1.01     PT        0.97     SC        1.13     
!   TS        0.91     WF        1.03     WZ        1.04     LA        0.98     
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.04     GC        1.07     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        0.99     KP        1.03     
!   MA        1.50     MC        0.81     MK        0.94     NL        0.98     
!   NY        1.01     OV        0.96     PT        0.37     SC        1.00     
!   TS        0.96     WF        0.97     WZ        0.95     LA        0.99     
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        1.00     GC        1.07     GG        1.00*    
!   HH        1.00*    HN        1.00     KK        1.09     KP        1.01     
!   MA        0.78     MC        0.96     MK        1.00     NL        0.99     
!   NY        1.05     OV        0.98     PT        1.03     SC        1.02     
!   TS        1.12     WF        0.52     WZ        1.00     LA        1.00     
! 
!  A total of 60 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.05     GC        1.04     GG        1.00*    
!   HH        1.00*    HN        1.07     KK        1.08     KP        1.04     
!   MA        0.96     MC        1.13     MK        0.97     NL        0.99     
!   NY        0.98     OV        0.99     PT        1.00     SC        1.00*    
!   TS        1.00*    WF        0.97     WZ        0.94     LA        1.05     
! 
!  A total of 63 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.02     FD        0.98     GC        1.04     GG        1.00*    
!   HH        1.00*    HN        1.05     KK        1.02     KP        1.02     
!   MA        1.10     MC        1.15     MK        0.98     NL        0.99     
!   NY        0.99     OV        0.98     PT        0.99     SC        1.18     
!   TS        0.93     WF        1.01     WZ        1.09     LA        1.03     
! 
! 
! Correcting IF 4.
!  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     GC        1.04     GG        1.00*    
!   HH        1.00*    HN        1.04     KK        1.06     KP        0.97     
!   MA        1.41     MC        0.93     MK        1.04     NL        0.96     
!   NY        0.96     OV        0.95     PT        1.03     SC        1.05     
!   TS        1.04     WF        0.96     WZ        1.04     LA        0.98     
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.97     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        0.96     KP        1.02     
!   MA        0.76     MC        0.97     MK        1.00     NL        1.04     
!   NY        1.06     OV        0.97     PT        1.03     SC        1.04     
!   TS        1.07     WF        0.60     WZ        1.06     LA        0.96     
! 
!  A total of 63 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.03     GC        1.01     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.00     KP        1.01     
!   MA        0.94     MC        1.00     MK        1.02     NL        1.00     
!   NY        0.96     OV        0.98     PT        1.02     SC        1.00*    
!   TS        1.00*    WF        0.95     WZ        1.07     LA        1.02     
! 
!  A total of 72 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        0.98     GC        1.02     GG        1.00*    
!   HH        1.00*    HN        1.04     KK        1.00     KP        1.01     
!   MA        1.06     MC        1.16     MK        1.04     NL        0.99     
!   NY        0.98     OV        0.97     PT        1.03     SC        1.17     
!   TS        0.95     WF        0.96     WZ        1.10     LA        0.99     
! 
! 
! Fit before self-cal, rms=0.183340Jy  sigma=0.001438
! Fit after  self-cal, rms=0.190352Jy  sigma=0.001409
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6285 mas, bmaj=0.7115 mas, bpa=-21.28 degrees
! Estimated noise=208.718 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.00101864 Jy
! Component: 100  -  total flux cleaned = 0.0010138 Jy
! Component: 150  -  total flux cleaned = 0.00105916 Jy
! Component: 200  -  total flux cleaned = 0.00101827 Jy
! Total flux subtracted in 200 components = 0.00101827 Jy
! Clean residual min=-0.001632 max=0.001363 Jy/beam
! Clean residual mean=0.000011 rms=0.000372 Jy/beam
! Combined flux in latest and established models = 0.318953 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 40 components and 0.318953 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190319Jy  sigma=0.001408
! Fit after  self-cal, rms=0.190595Jy  sigma=0.001407
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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.190595Jy  sigma=0.001407
! Fit after  self-cal, rms=0.194251Jy  sigma=0.001404
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6318 mas, bmaj=0.7088 mas, bpa=-21.01 degrees
! Estimated noise=209.319 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000663133 Jy
! Component: 100  -  total flux cleaned = 0.000554853 Jy
! Component: 150  -  total flux cleaned = 0.000522321 Jy
! Component: 200  -  total flux cleaned = 0.000491505 Jy
! Total flux subtracted in 200 components = 0.000491505 Jy
! Clean residual min=-0.001353 max=0.001255 Jy/beam
! Clean residual mean=0.000025 rms=0.000340 Jy/beam
! Combined flux in latest and established models = 0.319445 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 44 components and 0.319445 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194237Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194314Jy  sigma=0.001404
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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.000147676 Jy
! Component: 100  -  total flux cleaned = 0.000119301 Jy
! Component: 150  -  total flux cleaned = 0.000119607 Jy
! Component: 200  -  total flux cleaned = 0.000119884 Jy
! Total flux subtracted in 200 components = 0.000119884 Jy
! Clean residual min=-0.001438 max=0.001270 Jy/beam
! Clean residual mean=0.000023 rms=0.000338 Jy/beam
! Combined flux in latest and established models = 0.319565 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 47 components and 0.319565 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194305Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194303Jy  sigma=0.001404
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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.194303Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194877Jy  sigma=0.001404
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6319 mas, bmaj=0.709 mas, bpa=-21 degrees
! Estimated noise=209.231 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000261998 Jy
! Component: 100  -  total flux cleaned = 0.000262455 Jy
! Component: 150  -  total flux cleaned = 0.000288486 Jy
! Component: 200  -  total flux cleaned = 0.000262955 Jy
! Total flux subtracted in 200 components = 0.000262955 Jy
! Clean residual min=-0.001310 max=0.001269 Jy/beam
! Clean residual mean=0.000024 rms=0.000336 Jy/beam
! Combined flux in latest and established models = 0.319828 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 48 components and 0.319828 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194869Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194880Jy  sigma=0.001404
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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 = 8.09707e-05 Jy
! Component: 100  -  total flux cleaned = 8.13177e-05 Jy
! Component: 150  -  total flux cleaned = 8.03988e-05 Jy
! Component: 200  -  total flux cleaned = 8.09708e-05 Jy
! Total flux subtracted in 200 components = 8.09708e-05 Jy
! Clean residual min=-0.001351 max=0.001270 Jy/beam
! Clean residual mean=0.000024 rms=0.000335 Jy/beam
! Combined flux in latest and established models = 0.319909 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 49 components and 0.319909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194873Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194874Jy  sigma=0.001404
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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.194874Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194878Jy  sigma=0.001404
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=2.305 mas, bmaj=2.636 mas, bpa=26.04 degrees
! Estimated noise=337.252 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000265725 Jy
! Component: 100  -  total flux cleaned = 0.000267181 Jy
! Component: 150  -  total flux cleaned = 0.000256356 Jy
! Component: 200  -  total flux cleaned = 0.000247796 Jy
! Total flux subtracted in 200 components = 0.000247796 Jy
! Clean residual min=-0.001422 max=0.001637 Jy/beam
! Clean residual mean=0.000089 rms=0.000607 Jy/beam
! Combined flux in latest and established models = 0.320156 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 53 components and 0.320156 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194879Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194880Jy  sigma=0.001404
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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 = 4.97866e-05 Jy
! Component: 100  -  total flux cleaned = 7.09498e-05 Jy
! Component: 150  -  total flux cleaned = 6.20606e-05 Jy
! Component: 200  -  total flux cleaned = 5.41384e-05 Jy
! Total flux subtracted in 200 components = 5.41384e-05 Jy
! Clean residual min=-0.001430 max=0.001631 Jy/beam
! Clean residual mean=0.000088 rms=0.000608 Jy/beam
! Combined flux in latest and established models = 0.320211 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 53 components and 0.320211 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194882Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194882Jy  sigma=0.001404
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6318 mas, bmaj=0.7091 mas, bpa=-21 degrees
! Estimated noise=209.16 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6318 x 0.7091 at -21 degrees (North through East)
! Clean map  min=-0.00098252  max=0.17132 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
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 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.5451 mas, bmaj=0.5633 mas, bpa=-10.7 degrees
! Estimated noise=425.083 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.126916 Jy
! Component: 100  -  total flux cleaned = 0.185891 Jy
! Component: 150  -  total flux cleaned = 0.224187 Jy
! Component: 200  -  total flux cleaned = 0.249958 Jy
! Total flux subtracted in 200 components = 0.249958 Jy
! Clean residual min=-0.003657 max=0.014103 Jy/beam
! Clean residual mean=0.000051 rms=0.001217 Jy/beam
! Combined flux in latest and established models = 0.249958 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 11 model components to the UV plane model.
! The established model now contains 11 components and 0.249958 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6318 mas, bmaj=0.7091 mas, bpa=-21 degrees
! Estimated noise=209.16 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.0273645 Jy
! Component: 100  -  total flux cleaned = 0.0436532 Jy
! Component: 150  -  total flux cleaned = 0.0537393 Jy
! Component: 200  -  total flux cleaned = 0.0600009 Jy
! Total flux subtracted in 200 components = 0.0600009 Jy
! Clean residual min=-0.001298 max=0.003256 Jy/beam
! Clean residual mean=0.000080 rms=0.000441 Jy/beam
! Combined flux in latest and established models = 0.309959 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 16 components and 0.309959 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00395899 Jy
! Component: 100  -  total flux cleaned = 0.00654873 Jy
! Component: 150  -  total flux cleaned = 0.00828745 Jy
! Component: 200  -  total flux cleaned = 0.00914704 Jy
! Total flux subtracted in 200 components = 0.00914704 Jy
! Clean residual min=-0.001365 max=0.001237 Jy/beam
! Clean residual mean=0.000030 rms=0.000335 Jy/beam
! Combined flux in latest and established models = 0.319106 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 31 components and 0.319106 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 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 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=2.305 mas, bmaj=2.636 mas, bpa=26.04 degrees
! Estimated noise=337.252 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00109429 Jy
! Component: 100  -  total flux cleaned = 0.00115854 Jy
! Component: 150  -  total flux cleaned = 0.00120881 Jy
! Component: 200  -  total flux cleaned = 0.00124879 Jy
! Total flux subtracted in 200 components = 0.00124879 Jy
! Clean residual min=-0.001431 max=0.001657 Jy/beam
! Clean residual mean=0.000085 rms=0.000614 Jy/beam
! Combined flux in latest and established models = 0.320355 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 = 3.21224e-05 Jy
! Component: 100  -  total flux cleaned = 2.30016e-05 Jy
! Component: 150  -  total flux cleaned = 1.45728e-05 Jy
! Component: 200  -  total flux cleaned = 6.78944e-06 Jy
! Total flux subtracted in 200 components = 6.78944e-06 Jy
! Clean residual min=-0.001444 max=0.001652 Jy/beam
! Clean residual mean=0.000085 rms=0.000612 Jy/beam
! Combined flux in latest and established models = 0.320361 Jy
! Adding 20 model components to the UV plane model.
! The established model now contains 43 components and 0.320361 Jy
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! Estimated beam: bmin=0.6318 mas, bmaj=0.7091 mas, bpa=-21 degrees
! Estimated noise=209.16 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000514253 Jy
! Component: 100  -  total flux cleaned = -0.000547123 Jy
! Component: 150  -  total flux cleaned = -0.00051566 Jy
! Component: 200  -  total flux cleaned = -0.000515714 Jy
! Total flux subtracted in 200 components = -0.000515714 Jy
! Clean residual min=-0.001316 max=0.001297 Jy/beam
! Clean residual mean=0.000025 rms=0.000328 Jy/beam
! Combined flux in latest and established models = 0.319846 Jy
selfcal
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 47 components and 0.319846 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194863Jy  sigma=0.001404
! Fit after  self-cal, rms=0.194847Jy  sigma=0.001404
wmodel J0825+6157_X_2000_05_22_pus_map.mod
! Writing 47 model components to file: J0825+6157_X_2000_05_22_pus_map.mod
wobs J0825+6157_X_2000_05_22_pus_uvs.fits
! Writing UV FITS file: J0825+6157_X_2000_05_22_pus_uvs.fits
wwins J0825+6157_X_2000_05_22_pus_map.win
! wwins: Wrote 3 windows to J0825+6157_X_2000_05_22_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 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -9.43801e-05 Jy
! Component: 100  -  total flux cleaned = -3.04004e-05 Jy
! Component: 150  -  total flux cleaned = 9.30276e-05 Jy
! Component: 200  -  total flux cleaned = 0.000291994 Jy
! Component: 250  -  total flux cleaned = 0.000523608 Jy
! Component: 300  -  total flux cleaned = 0.000730848 Jy
! Component: 350  -  total flux cleaned = 0.000915389 Jy
! Component: 400  -  total flux cleaned = 0.00102419 Jy
! Component: 450  -  total flux cleaned = 0.00114922 Jy
! Component: 500  -  total flux cleaned = 0.00128979 Jy
! Component: 550  -  total flux cleaned = 0.00139364 Jy
! Component: 600  -  total flux cleaned = 0.00149633 Jy
! Component: 650  -  total flux cleaned = 0.00159776 Jy
! Component: 700  -  total flux cleaned = 0.00169827 Jy
! Component: 750  -  total flux cleaned = 0.00184735 Jy
! Component: 800  -  total flux cleaned = 0.001913 Jy
! Component: 850  -  total flux cleaned = 0.00202666 Jy
! Component: 900  -  total flux cleaned = 0.00213926 Jy
! Component: 950  -  total flux cleaned = 0.00221892 Jy
! Component: 1000  -  total flux cleaned = 0.00229784 Jy
! Total flux subtracted in 1024 components = 0.00231358 Jy
! Clean residual min=-0.000812 max=0.000868 Jy/beam
! Clean residual mean=0.000012 rms=0.000297 Jy/beam
! Combined flux in latest and established models = 0.322159 Jy
keep
! Adding 87 model components to the UV plane model.
! The established model now contains 134 components and 0.322159 Jy
![Exited script file: muppet]
wmap "J0825+6157_X_2000_05_22_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.6318 x 0.7091 at -21 degrees (North through East)
! Clean map  min=-0.00099785  max=0.17079 Jy/beam
! Writing clean map to FITS file: J0825+6157_X_2000_05_22_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.170794 
invert
! Inverting map 
! Your choice of large map pixels excluded 4.52% of the data.
!  The x-axis pixel size should ideally be below 0.1554 milli-arcsec
!  The y-axis pixel size should ideally be below 0.1617 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00029708 
device "J0825+6157_X_2000_05_22_pus\_map.eps/VPS"
! Attempting to open device: 'J0825+6157_X_2000_05_22_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.521822 0.521822 1.04364 2.08729 4.17458 8.34915 16.6983 33.3966 66.7932
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0008 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.17 
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.6318 x 0.7091 at -21 degrees (North through East)
! Clean map  min=-0.00099785  max=0.17079 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0825+6157_X_2000_05_22_pus\_map.gif/vgif"
! Attempting to open device: 'J0825+6157_X_2000_05_22_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0825+6157_X_2000_05_22_pus_uvs.log closed on Tue Nov 13 12:42:05 2007