! Started logfile: J1448+7601_S_2003_05_07_pus_uvs.log on Sun Dec 24 11:02:21 2006
obs J1448+7601_S_2003_05_07_pus_uva.fits
! Reading UV FITS file: J1448+7601_S_2003_05_07_pus_uva.fits
! AN table 1: 19 integrations on 171 of 171 possible baselines.
! AN table 2: 169 integrations on 171 of 171 possible baselines.
! AN table 3: 64 integrations on 171 of 171 possible baselines.
! AN table 4: 82 integrations on 171 of 171 possible baselines.
! AN table 5: 464 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.156788 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1448+7601
! 
! 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  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1680 lines of history.
! 
! Reading 85580 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 = 512
float field_cell
field_cell = 0.5
float taper_size
taper_size = 20.
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 = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 361 telescope corrections were flagged in sub-array 1.
!  A total of 2659 telescope corrections were flagged in sub-array 2.
!  A total of 1020 telescope corrections were flagged in sub-array 3.
!  A total of 1193 telescope corrections were flagged in sub-array 4.
!  A total of 5164 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 361 telescope corrections were flagged in sub-array 1.
!  A total of 2780 telescope corrections were flagged in sub-array 2.
!  A total of 1020 telescope corrections were flagged in sub-array 3.
!  A total of 1193 telescope corrections were flagged in sub-array 4.
!  A total of 5235 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 361 telescope corrections were flagged in sub-array 1.
!  A total of 2780 telescope corrections were flagged in sub-array 2.
!  A total of 1020 telescope corrections were flagged in sub-array 3.
!  A total of 1193 telescope corrections were flagged in sub-array 4.
!  A total of 5238 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 361 telescope corrections were flagged in sub-array 1.
!  A total of 2661 telescope corrections were flagged in sub-array 2.
!  A total of 1023 telescope corrections were flagged in sub-array 3.
!  A total of 1193 telescope corrections were flagged in sub-array 4.
!  A total of 5169 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.901029Jy  sigma=0.006388
! Fit after  self-cal, rms=0.844121Jy  sigma=0.006084
! 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 
! Estimated beam: bmin=1.947 mas, bmaj=2.117 mas, bpa=-82.97 degrees
! Estimated noise=818.178 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.15743 Jy
! Component: 100  -  total flux cleaned = 0.198079 Jy
! Total flux subtracted in 100 components = 0.198079 Jy
! Clean residual min=-0.006523 max=0.016772 Jy/beam
! Clean residual mean=0.000076 rms=0.001725 Jy/beam
! Combined flux in latest and established models = 0.198079 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.198079 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.323120Jy  sigma=0.001646
! Fit after  self-cal, rms=0.322940Jy  sigma=0.001645
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0181807 Jy
! Component: 100  -  total flux cleaned = 0.0275844 Jy
! Total flux subtracted in 100 components = 0.0275844 Jy
! Clean residual min=-0.005741 max=0.006705 Jy/beam
! Clean residual mean=0.000044 rms=0.001513 Jy/beam
! Combined flux in latest and established models = 0.225664 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 12 components and 0.225664 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.321217Jy  sigma=0.001632
! Fit after  self-cal, rms=0.321042Jy  sigma=0.001631
! Inverting map 
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 
! Estimated beam: bmin=2.354 mas, bmaj=2.676 mas, bpa=-65.75 degrees
! Estimated noise=356.285 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.0104315 Jy
! Component: 100  -  total flux cleaned = 0.0152493 Jy
! Component: 150  -  total flux cleaned = 0.0176396 Jy
! Component: 200  -  total flux cleaned = 0.0188759 Jy
! Total flux subtracted in 200 components = 0.0188759 Jy
! Clean residual min=-0.007665 max=0.005849 Jy/beam
! Clean residual mean=0.000185 rms=0.001725 Jy/beam
! Combined flux in latest and established models = 0.24454 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 26 components and 0.24454 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.320531Jy  sigma=0.001630
! Fit after  self-cal, rms=0.320409Jy  sigma=0.001630
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 69 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        1.15     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.00     LA        1.13     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        0.81     PT        1.16     SC        1.00*    TC        1.00*    
!   TS        1.02     WF        1.05     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.08     FD        0.96     GG        1.00*    HN        0.61     
!   KK        1.00*    KP        0.94     LA        1.05     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.11     ON        1.00*    
!   OV        0.97     PT        1.11     SC        1.00*    TC        1.00*    
!   TS        0.91     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.98     GG        1.00*    HN        0.93     
!   KK        1.00     KP        0.86     LA        1.15     MA        1.00*    
!   MC        1.00*    MK        1.06     NL        1.01     ON        1.00*    
!   OV        1.07     PT        0.99     SC        1.00*    TC        1.00*    
!   TS        1.00     WF        1.00*    WZ        1.00*    
! 
!  A total of 54 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.01     FD        1.06     GG        1.00*    HN        0.89     
!   KK        1.04     KP        1.05     LA        1.06     MA        0.74     
!   MC        1.06     MK        0.98     NL        0.97     ON        0.95     
!   OV        1.10     PT        1.06     SC        0.94     TC        1.00*    
!   TS        1.04     WF        0.83     WZ        0.98     
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.20     FD        1.17     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.12     LA        1.08     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        0.95     PT        1.07     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        0.97     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.08     FD        1.08     GG        1.00*    HN        0.88     
!   KK        1.00*    KP        1.09     LA        0.97     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.98     ON        1.00*    
!   OV        1.00     PT        1.08     SC        1.00*    TC        1.00*    
!   TS        1.03     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.15     GG        1.00*    HN        1.03     
!   KK        1.06     KP        0.98     LA        0.95     MA        1.00*    
!   MC        1.00*    MK        0.95     NL        1.04     ON        1.00*    
!   OV        1.06     PT        1.07     SC        1.00*    TC        1.00*    
!   TS        1.03     WF        1.00*    WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.08     FD        1.09     GG        1.00*    HN        1.02     
!   KK        1.07     KP        1.07     LA        0.99     MA        0.91     
!   MC        1.05     MK        1.07     NL        0.98     ON        0.99     
!   OV        1.06     PT        1.05     SC        0.95     TC        1.00*    
!   TS        0.99     WF        0.98     WZ        1.02     
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.20     FD        1.02     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.38     LA        1.11     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        0.22     PT        1.25     SC        1.00*    TC        1.00*    
!   TS        1.00*    WF        1.08     WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        0.95     GG        1.00*    HN        0.71     
!   KK        1.00*    KP        1.13     LA        1.14     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.98     ON        1.00*    
!   OV        0.88     PT        0.96     SC        1.00*    TC        1.00*    
!   TS        1.16     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.08     GG        1.00*    HN        1.00     
!   KK        0.98     KP        1.01     LA        1.02     MA        1.00*    
!   MC        1.00*    MK        1.03     NL        1.09     ON        1.00*    
!   OV        1.06     PT        1.01     SC        1.00*    TC        1.00*    
!   TS        1.04     WF        1.00*    WZ        1.00*    
! 
!  A total of 15 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.05     FD        1.01     GG        1.00*    HN        1.08     
!   KK        0.98     KP        1.22     LA        0.99     MA        1.23     
!   MC        0.95     MK        1.00     NL        1.00     ON        1.01     
!   OV        0.57     PT        1.09     SC        1.13     TC        1.00*    
!   TS        1.01     WF        1.02     WZ        1.07     
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    
! 
!  A total of 69 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        1.05     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.06     LA        1.03     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        2.59     PT        1.07     SC        1.00*    TC        1.00*    
!   TS        1.01     WF        1.06     WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        1.03     GG        1.00*    HN        0.88     
!   KK        1.00*    KP        0.97     LA        0.97     MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        0.97     ON        1.00*    
!   OV        0.88     PT        1.06     SC        1.00*    TC        1.00*    
!   TS        1.03     WF        1.00*    WZ        1.00*    
! 
!  A total of 33 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.04     GG        1.00*    HN        0.96     
!   KK        0.93     KP        0.91     LA        1.04     MA        1.00*    
!   MC        1.00*    MK        1.21     NL        0.92     ON        1.00*    
!   OV        1.28     PT        1.01     SC        1.00*    TC        1.00*    
!   TS        1.04     WF        1.00*    WZ        1.00*    
! 
!  A total of 54 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.98     FD        1.02     GG        1.00*    HN        0.82     
!   KK        1.04     KP        1.04     LA        1.03     MA        1.00     
!   MC        1.01     MK        1.10     NL        0.93     ON        0.92     
!   OV        0.81     PT        1.02     SC        1.12     TC        1.00*    
!   TS        1.05     WF        0.94     WZ        1.05     
! 
! 
! Fit before self-cal, rms=0.320409Jy  sigma=0.001630
! Fit after  self-cal, rms=0.290392Jy  sigma=0.001595
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.356 mas, bmaj=2.692 mas, bpa=-66.35 degrees
! Estimated noise=359.494 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.000955672 Jy
! Component: 100  -  total flux cleaned = 0.00101643 Jy
! Component: 150  -  total flux cleaned = 0.00101632 Jy
! Component: 200  -  total flux cleaned = 0.00103654 Jy
! Total flux subtracted in 200 components = 0.00103654 Jy
! Clean residual min=-0.003932 max=0.003968 Jy/beam
! Clean residual mean=0.000047 rms=0.001021 Jy/beam
! Combined flux in latest and established models = 0.245576 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 32 components and 0.245576 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.290381Jy  sigma=0.001595
! Fit after  self-cal, rms=0.291527Jy  sigma=0.001580
! Inverting map 
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.291527Jy  sigma=0.001580
! Fit after  self-cal, rms=0.305242Jy  sigma=0.001559
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.36 mas, bmaj=2.7 mas, bpa=-65.8 degrees
! Estimated noise=361.493 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000886008 Jy
! Component: 100  -  total flux cleaned = 0.00107774 Jy
! Component: 150  -  total flux cleaned = 0.00120059 Jy
! Component: 200  -  total flux cleaned = 0.0012752 Jy
! Total flux subtracted in 200 components = 0.0012752 Jy
! Clean residual min=-0.003101 max=0.003862 Jy/beam
! Clean residual mean=0.000072 rms=0.000813 Jy/beam
! Combined flux in latest and established models = 0.246851 Jy
selfcal
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 34 components and 0.246851 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.305223Jy  sigma=0.001559
! Fit after  self-cal, rms=0.307232Jy  sigma=0.001554
flux_cutoff = imstat(rms) * dynam
! Inverting map 
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.000849234 Jy
! Component: 100  -  total flux cleaned = -0.000849684 Jy
! Component: 150  -  total flux cleaned = -0.000849795 Jy
! Component: 200  -  total flux cleaned = -0.000850246 Jy
! Total flux subtracted in 200 components = -0.000850246 Jy
! Clean residual min=-0.004056 max=0.003481 Jy/beam
! Clean residual mean=0.000077 rms=0.000872 Jy/beam
! Combined flux in latest and established models = 0.246001 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 37 components and 0.246001 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.307231Jy  sigma=0.001554
! Fit after  self-cal, rms=0.307199Jy  sigma=0.001554
! Inverting map 
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.307199Jy  sigma=0.001554
! Fit after  self-cal, rms=0.326352Jy  sigma=0.001551
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.364 mas, bmaj=2.712 mas, bpa=-65.44 degrees
! Estimated noise=363.705 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000345787 Jy
! Component: 100  -  total flux cleaned = 0.000400163 Jy
! Component: 150  -  total flux cleaned = 0.000465292 Jy
! Component: 200  -  total flux cleaned = 0.000519412 Jy
! Total flux subtracted in 200 components = 0.000519412 Jy
! Clean residual min=-0.003387 max=0.003489 Jy/beam
! Clean residual mean=0.000100 rms=0.000820 Jy/beam
! Combined flux in latest and established models = 0.24652 Jy
selfcal
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 37 components and 0.24652 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.326337Jy  sigma=0.001551
! Fit after  self-cal, rms=0.327117Jy  sigma=0.001550
flux_cutoff = imstat(rms) * dynam
! Inverting map 
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.00042591 Jy
! Component: 100  -  total flux cleaned = -0.000426996 Jy
! Component: 150  -  total flux cleaned = -0.000427 Jy
! Component: 200  -  total flux cleaned = -0.000427079 Jy
! Total flux subtracted in 200 components = -0.000427079 Jy
! Clean residual min=-0.003715 max=0.003408 Jy/beam
! Clean residual mean=0.000099 rms=0.000823 Jy/beam
! Combined flux in latest and established models = 0.246093 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 39 components and 0.246093 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.327119Jy  sigma=0.001550
! Fit after  self-cal, rms=0.327132Jy  sigma=0.001550
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 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.327132Jy  sigma=0.001550
! Fit after  self-cal, rms=0.340068Jy  sigma=0.001550
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.544 mas, bmaj=10.36 mas, bpa=-19.24 degrees
! Estimated noise=530.936 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00102183 Jy
! Component: 100  -  total flux cleaned = 0.00102268 Jy
! Component: 150  -  total flux cleaned = 0.00102354 Jy
! Component: 200  -  total flux cleaned = 0.00102431 Jy
! Total flux subtracted in 200 components = 0.00102431 Jy
! Clean residual min=-0.002657 max=0.004814 Jy/beam
! Clean residual mean=0.000308 rms=0.001108 Jy/beam
! Combined flux in latest and established models = 0.247118 Jy
selfcal
! Performing phase self-cal
! Adding 3 model components to the UV plane model.
! The established model now contains 40 components and 0.247118 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340059Jy  sigma=0.001550
! Fit after  self-cal, rms=0.340343Jy  sigma=0.001550
flux_cutoff = imstat(rms) * dynam
! Inverting map 
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 (37.5, 9).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00499429 Jy
! Component: 100  -  total flux cleaned = 0.0079729 Jy
! Component: 150  -  total flux cleaned = 0.00976166 Jy
! Component: 200  -  total flux cleaned = 0.0105553 Jy
! Total flux subtracted in 200 components = 0.0105553 Jy
! Clean residual min=-0.002741 max=0.003110 Jy/beam
! Clean residual mean=0.000138 rms=0.000781 Jy/beam
! Combined flux in latest and established models = 0.257673 Jy
! Performing phase self-cal
! Adding 50 model components to the UV plane model.
! The established model now contains 90 components and 0.257673 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340298Jy  sigma=0.001550
! Fit after  self-cal, rms=0.340275Jy  sigma=0.001550
! Inverting map 
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 
! Estimated beam: bmin=2.367 mas, bmaj=2.72 mas, bpa=-65.24 degrees
! Estimated noise=365.657 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.367 x 2.72 at -65.24 degrees (North through East)
! Clean map  min=-0.003315  max=0.21353 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 
! Estimated beam: bmin=1.945 mas, bmaj=2.154 mas, bpa=-82.16 degrees
! Estimated noise=846.597 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.161461 Jy
! Component: 100  -  total flux cleaned = 0.20359 Jy
! Component: 150  -  total flux cleaned = 0.223011 Jy
! Component: 200  -  total flux cleaned = 0.232473 Jy
! Total flux subtracted in 200 components = 0.232473 Jy
! Clean residual min=-0.005701 max=0.005169 Jy/beam
! Clean residual mean=0.000026 rms=0.001378 Jy/beam
! Combined flux in latest and established models = 0.232473 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.232473 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.367 mas, bmaj=2.72 mas, bpa=-65.24 degrees
! Estimated noise=365.657 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.007504 Jy
! Component: 100  -  total flux cleaned = 0.011859 Jy
! Component: 150  -  total flux cleaned = 0.0152628 Jy
! Component: 200  -  total flux cleaned = 0.0179082 Jy
! Total flux subtracted in 200 components = 0.0179082 Jy
! Clean residual min=-0.003400 max=0.003586 Jy/beam
! Clean residual mean=0.000099 rms=0.000791 Jy/beam
! Combined flux in latest and established models = 0.250382 Jy
! Adding 32 model components to the UV plane model.
! The established model now contains 39 components and 0.250382 Jy
! Inverting map 
! Added new window around map position (3.5, 0.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00305344 Jy
! Component: 100  -  total flux cleaned = 0.00452401 Jy
! Component: 150  -  total flux cleaned = 0.00551698 Jy
! Component: 200  -  total flux cleaned = 0.00627844 Jy
! Total flux subtracted in 200 components = 0.00627844 Jy
! Clean residual min=-0.003365 max=0.002930 Jy/beam
! Clean residual mean=0.000061 rms=0.000748 Jy/beam
! Combined flux in latest and established models = 0.25666 Jy
! Adding 46 model components to the UV plane model.
! The established model now contains 71 components and 0.25666 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.544 mas, bmaj=10.36 mas, bpa=-19.24 degrees
! Estimated noise=530.936 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00232801 Jy
! Component: 100  -  total flux cleaned = 0.00328645 Jy
! Component: 150  -  total flux cleaned = 0.00407231 Jy
! Component: 200  -  total flux cleaned = 0.0044197 Jy
! Total flux subtracted in 200 components = 0.0044197 Jy
! Clean residual min=-0.002779 max=0.002864 Jy/beam
! Clean residual mean=0.000111 rms=0.000762 Jy/beam
! Combined flux in latest and established models = 0.26108 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.000187238 Jy
! Component: 100  -  total flux cleaned = 0.000253337 Jy
! Component: 150  -  total flux cleaned = 0.000312652 Jy
! Component: 200  -  total flux cleaned = 0.00034069 Jy
! Total flux subtracted in 200 components = 0.00034069 Jy
! Clean residual min=-0.002692 max=0.002889 Jy/beam
! Clean residual mean=0.000105 rms=0.000749 Jy/beam
! Combined flux in latest and established models = 0.261421 Jy
! Adding 57 model components to the UV plane model.
! The established model now contains 126 components and 0.261421 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.367 mas, bmaj=2.72 mas, bpa=-65.24 degrees
! Estimated noise=365.657 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00105774 Jy
! Component: 100  -  total flux cleaned = -0.00120889 Jy
! Component: 150  -  total flux cleaned = -0.00106747 Jy
! Component: 200  -  total flux cleaned = -0.000934323 Jy
! Total flux subtracted in 200 components = -0.000934323 Jy
! Clean residual min=-0.003508 max=0.002932 Jy/beam
! Clean residual mean=0.000039 rms=0.000714 Jy/beam
! Combined flux in latest and established models = 0.260486 Jy
selfcal
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 146 components and 0.260486 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.340158Jy  sigma=0.001549
! Fit after  self-cal, rms=0.340108Jy  sigma=0.001548
wmodel J1448+7601_S_2003_05_07_pus_map.mod
! Writing 146 model components to file: J1448+7601_S_2003_05_07_pus_map.mod
wobs J1448+7601_S_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J1448+7601_S_2003_05_07_pus_uvs.fits
wwins J1448+7601_S_2003_05_07_pus_map.win
! wwins: Wrote 3 windows to J1448+7601_S_2003_05_07_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000583483 Jy
! Component: 100  -  total flux cleaned = -0.000691049 Jy
! Component: 150  -  total flux cleaned = -0.000642835 Jy
! Component: 200  -  total flux cleaned = -0.000643786 Jy
! Component: 250  -  total flux cleaned = -0.000459485 Jy
! Component: 300  -  total flux cleaned = -0.000459741 Jy
! Component: 350  -  total flux cleaned = -0.000283317 Jy
! Component: 400  -  total flux cleaned = -0.000111469 Jy
! Component: 450  -  total flux cleaned = -2.66642e-05 Jy
! Component: 500  -  total flux cleaned = 0.000223144 Jy
! Component: 550  -  total flux cleaned = 0.000427536 Jy
! Component: 600  -  total flux cleaned = 0.00054852 Jy
! Component: 650  -  total flux cleaned = 0.000826413 Jy
! Component: 700  -  total flux cleaned = 0.0010216 Jy
! Component: 750  -  total flux cleaned = 0.00117574 Jy
! Component: 800  -  total flux cleaned = 0.00136629 Jy
! Component: 850  -  total flux cleaned = 0.00159214 Jy
! Component: 900  -  total flux cleaned = 0.00181535 Jy
! Component: 950  -  total flux cleaned = 0.00207325 Jy
! Component: 1000  -  total flux cleaned = 0.00236445 Jy
! Component: 1050  -  total flux cleaned = 0.00250874 Jy
! Component: 1100  -  total flux cleaned = 0.00272281 Jy
! Component: 1150  -  total flux cleaned = 0.00293467 Jy
! Component: 1200  -  total flux cleaned = 0.00314436 Jy
! Component: 1250  -  total flux cleaned = 0.00338626 Jy
! Component: 1300  -  total flux cleaned = 0.0034889 Jy
! Component: 1350  -  total flux cleaned = 0.00352318 Jy
! Component: 1400  -  total flux cleaned = 0.00379336 Jy
! Component: 1450  -  total flux cleaned = 0.00389378 Jy
! Component: 1500  -  total flux cleaned = 0.00412632 Jy
! Component: 1550  -  total flux cleaned = 0.00429074 Jy
! Component: 1600  -  total flux cleaned = 0.00435591 Jy
! Component: 1650  -  total flux cleaned = 0.00455081 Jy
! Component: 1700  -  total flux cleaned = 0.0046796 Jy
! Component: 1750  -  total flux cleaned = 0.00483959 Jy
! Component: 1800  -  total flux cleaned = 0.00493483 Jy
! Component: 1850  -  total flux cleaned = 0.00506121 Jy
! Component: 1900  -  total flux cleaned = 0.00512411 Jy
! Component: 1950  -  total flux cleaned = 0.00531123 Jy
! Component: 2000  -  total flux cleaned = 0.0053734 Jy
! Total flux subtracted in 2048 components = 0.0054352 Jy
! Clean residual min=-0.001954 max=0.002116 Jy/beam
! Clean residual mean=0.000018 rms=0.000575 Jy/beam
! Combined flux in latest and established models = 0.265921 Jy
keep
! Adding 165 model components to the UV plane model.
! The established model now contains 311 components and 0.265921 Jy
wmap "J1448+7601_S_2003_05_07_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.367 x 2.72 at -65.24 degrees (North through East)
! Clean map  min=-0.0029478  max=0.21349 Jy/beam
! Writing clean map to FITS file: J1448+7601_S_2003_05_07_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.213494 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000574433 
device "J1448+7601_S_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J1448+7601_S_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.807187 0.807187 1.61437 3.22875 6.4575 12.915 25.83 51.66
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.213 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.367 x 2.72 at -65.24 degrees (North through East)
! Clean map  min=-0.0029478  max=0.21349 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1448+7601_S_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J1448+7601_S_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1448+7601_S_2003_05_07_pus_uvs.log closed on Sun Dec 24 11:05:40 2006