! Started logfile: J1448+7601_S_2003_06_18_pus_uvs.log on Wed Jan 24 18:00:44 2007
obs J1448+7601_S_2003_06_18_pus_uva.fits
! Reading UV FITS file: J1448+7601_S_2003_06_18_pus_uva.fits
! AN table 1: 44 integrations on 153 of 153 possible baselines.
! AN table 2: 196 integrations on 153 of 153 possible baselines.
! AN table 3: 159 integrations on 153 of 153 possible baselines.
! AN table 4: 381 integrations on 153 of 153 possible baselines.
! AN table 5: 250 integrations on 153 of 153 possible baselines.
! AN table 6: 36 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.262971 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 2429 lines of history.
! 
! Reading 171560 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
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 607 telescope corrections were flagged in sub-array 1.
!  A total of 1200 telescope corrections were flagged in sub-array 2.
!  A total of 2751 telescope corrections were flagged in sub-array 3.
!  A total of 3352 telescope corrections were flagged in sub-array 4.
!  A total of 2378 telescope corrections were flagged in sub-array 5.
!  A total of 512 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 607 telescope corrections were flagged in sub-array 1.
!  A total of 1200 telescope corrections were flagged in sub-array 2.
!  A total of 2751 telescope corrections were flagged in sub-array 3.
!  A total of 3352 telescope corrections were flagged in sub-array 4.
!  A total of 2378 telescope corrections were flagged in sub-array 5.
!  A total of 512 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 607 telescope corrections were flagged in sub-array 1.
!  A total of 1200 telescope corrections were flagged in sub-array 2.
!  A total of 2751 telescope corrections were flagged in sub-array 3.
!  A total of 3358 telescope corrections were flagged in sub-array 4.
!  A total of 2378 telescope corrections were flagged in sub-array 5.
!  A total of 512 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 607 telescope corrections were flagged in sub-array 1.
!  A total of 1200 telescope corrections were flagged in sub-array 2.
!  A total of 2751 telescope corrections were flagged in sub-array 3.
!  A total of 3352 telescope corrections were flagged in sub-array 4.
!  A total of 2526 telescope corrections were flagged in sub-array 5.
!  A total of 544 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.901851Jy  sigma=0.009139
! Fit after  self-cal, rms=0.853633Jy  sigma=0.008744
! 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.715 mas, bmaj=2.367 mas, bpa=4.079 degrees
! Estimated noise=446.256 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.131571 Jy
! Component: 100  -  total flux cleaned = 0.170809 Jy
! Total flux subtracted in 100 components = 0.170809 Jy
! Clean residual min=-0.007385 max=0.018198 Jy/beam
! Clean residual mean=0.000039 rms=0.001686 Jy/beam
! Combined flux in latest and established models = 0.170809 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.170809 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.289969Jy  sigma=0.002071
! Fit after  self-cal, rms=0.289769Jy  sigma=0.002070
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0205256 Jy
! Component: 100  -  total flux cleaned = 0.0322498 Jy
! Total flux subtracted in 100 components = 0.0322498 Jy
! Clean residual min=-0.006115 max=0.006156 Jy/beam
! Clean residual mean=0.000020 rms=0.001454 Jy/beam
! Combined flux in latest and established models = 0.203059 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 10 components and 0.203059 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.287338Jy  sigma=0.002041
! Fit after  self-cal, rms=0.287221Jy  sigma=0.002040
! 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.394 mas, bmaj=3.093 mas, bpa=3.194 degrees
! Estimated noise=174.538 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.0105992 Jy
! Component: 100  -  total flux cleaned = 0.0156827 Jy
! Component: 150  -  total flux cleaned = 0.0183373 Jy
! Component: 200  -  total flux cleaned = 0.0197815 Jy
! Total flux subtracted in 200 components = 0.0197815 Jy
! Clean residual min=-0.003095 max=0.003451 Jy/beam
! Clean residual mean=0.000074 rms=0.000782 Jy/beam
! Combined flux in latest and established models = 0.22284 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 27 components and 0.22284 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.286737Jy  sigma=0.002036
! Fit after  self-cal, rms=0.286724Jy  sigma=0.002036
! Inverting map 
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        1.07     FD        1.00     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.80     LA        0.94     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.83     
!   PT        1.00*    SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.97     GG        1.00*    HN        1.00     
!   KK        1.03     KP        0.96     LA        0.97     MA        1.00*    
!   MK        1.03     NL        1.01     ON        1.04     OV        1.10     
!   PT        0.98     SC        1.00     TC        1.00*    TS        1.04     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 111 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 219 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.16     FD        1.00     GG        1.00*    HN        0.99     
!   KK        1.02     KP        0.89     LA        1.00     MA        1.00*    
!   MK        1.00*    NL        1.02     ON        0.99     OV        1.10     
!   PT        1.02     SC        0.95     TC        1.00*    TS        1.04     
!   WF        1.33     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.07     FD        0.99     GG        1.00*    HN        0.98     
!   KK        1.04     KP        0.89     LA        0.99     MA        1.00*    
!   MK        0.99     NL        1.07     ON        1.00*    OV        1.14     
!   PT        1.04     SC        1.00*    TC        1.00*    TS        1.10     
!   WF        1.00     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        1.04     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.92     LA        1.00*    MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.93     
!   PT        0.94     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.88     FD        0.98     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.99     LA        1.19     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.97     
!   PT        1.00*    SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.98     GG        1.00*    HN        1.05     
!   KK        1.06     KP        1.06     LA        0.98     MA        1.00*    
!   MK        1.12     NL        0.95     ON        1.00     OV        1.20     
!   PT        1.00     SC        1.01     TC        1.00*    TS        1.03     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 111 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 219 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.10     FD        1.01     GG        1.00*    HN        1.06     
!   KK        1.03     KP        1.03     LA        1.02     MA        1.00*    
!   MK        1.00*    NL        0.96     ON        0.86     OV        1.03     
!   PT        1.04     SC        0.97     TC        1.00*    TS        1.02     
!   WF        0.90     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.98     FD        1.00     GG        1.00*    HN        1.03     
!   KK        1.03     KP        1.02     LA        1.01     MA        1.00*    
!   MK        1.03     NL        1.00     ON        1.00*    OV        1.10     
!   PT        0.99     SC        1.00*    TC        1.00*    TS        1.10     
!   WF        1.02     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.88     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.11     LA        1.00*    MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.91     
!   PT        1.00     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.01     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.01     LA        0.92     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.62     
!   PT        1.00*    SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        0.98     GG        1.00*    HN        1.04     
!   KK        1.04     KP        1.03     LA        0.92     MA        1.00*    
!   MK        1.06     NL        0.94     ON        0.99     OV        0.77     
!   PT        1.00     SC        1.16     TC        1.00*    TS        1.04     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 111 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 213 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.09     FD        0.98     GG        1.00*    HN        1.03     
!   KK        1.03     KP        1.05     LA        0.96     MA        1.00*    
!   MK        1.00*    NL        0.96     ON        0.94     OV        0.89     
!   PT        1.01     SC        1.13     TC        1.00*    TS        1.02     
!   WF        0.93     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.01     FD        1.00     GG        1.00*    HN        1.04     
!   KK        0.97     KP        1.05     LA        0.97     MA        1.00*    
!   MK        1.03     NL        0.97     ON        1.00*    OV        0.63     
!   PT        1.00     SC        1.00*    TC        1.00*    TS        1.10     
!   WF        0.98     WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.98     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.21     LA        1.00*    MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.97     
!   PT        0.95     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 6 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        1.03     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.98     LA        0.99     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.69     
!   PT        1.00*    SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.98     GG        1.00*    HN        0.99     
!   KK        1.02     KP        1.04     LA        1.00     MA        1.00*    
!   MK        0.98     NL        0.99     ON        1.06     OV        0.46     
!   PT        1.03     SC        1.23     TC        1.00*    TS        1.06     
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 111 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        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 219 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.07     FD        1.02     GG        1.00*    HN        0.96     
!   KK        1.03     KP        1.04     LA        1.02     MA        1.00*    
!   MK        1.00*    NL        1.04     ON        0.97     OV        0.63     
!   PT        1.09     SC        1.18     TC        1.00*    TS        1.01     
!   WF        0.86     WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.96     FD        1.01     GG        1.00*    HN        0.98     
!   KK        1.00     KP        1.01     LA        1.01     MA        1.00*    
!   MK        0.96     NL        1.01     ON        1.00*    OV        2.55     
!   PT        1.02     SC        1.00*    TC        1.00*    TS        1.13     
!   WF        0.96     WZ        1.00*    
! 
!  A total of 96 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.90     FD        1.00*    GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.80     LA        1.00*    MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        0.17     
!   PT        0.84     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.286724Jy  sigma=0.002036
! Fit after  self-cal, rms=0.260133Jy  sigma=0.002023
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.43 mas, bmaj=3.107 mas, bpa=4.738 degrees
! Estimated noise=177.188 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.000582352 Jy
! Component: 100  -  total flux cleaned = -0.000754166 Jy
! Component: 150  -  total flux cleaned = -0.000921596 Jy
! Component: 200  -  total flux cleaned = -0.00105285 Jy
! Total flux subtracted in 200 components = -0.00105285 Jy
! Clean residual min=-0.001802 max=0.002182 Jy/beam
! Clean residual mean=0.000082 rms=0.000502 Jy/beam
! Combined flux in latest and established models = 0.221787 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 33 components and 0.221787 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.260126Jy  sigma=0.002023
! Fit after  self-cal, rms=0.260088Jy  sigma=0.002020
! 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.260088Jy  sigma=0.002020
! Fit after  self-cal, rms=0.259896Jy  sigma=0.002020
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.442 mas, bmaj=3.114 mas, bpa=4.758 degrees
! Estimated noise=177.812 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 7.10518e-05 Jy
! Component: 100  -  total flux cleaned = -8.34538e-05 Jy
! Component: 150  -  total flux cleaned = -0.000184771 Jy
! Component: 200  -  total flux cleaned = -0.00024623 Jy
! Total flux subtracted in 200 components = -0.00024623 Jy
! Clean residual min=-0.001832 max=0.002226 Jy/beam
! Clean residual mean=0.000077 rms=0.000511 Jy/beam
! Combined flux in latest and established models = 0.221541 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 34 components and 0.221541 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259889Jy  sigma=0.002020
! Fit after  self-cal, rms=0.259938Jy  sigma=0.002019
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 (7, 0.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00194693 Jy
! Component: 100  -  total flux cleaned = 0.00212146 Jy
! Component: 150  -  total flux cleaned = 0.00219401 Jy
! Component: 200  -  total flux cleaned = 0.0021966 Jy
! Total flux subtracted in 200 components = 0.0021966 Jy
! Clean residual min=-0.001814 max=0.001848 Jy/beam
! Clean residual mean=0.000058 rms=0.000498 Jy/beam
! Combined flux in latest and established models = 0.223738 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 51 components and 0.223738 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.259919Jy  sigma=0.002019
! Fit after  self-cal, rms=0.259922Jy  sigma=0.002019
! 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.259922Jy  sigma=0.002019
! Fit after  self-cal, rms=0.261583Jy  sigma=0.002019
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.45 mas, bmaj=3.117 mas, bpa=4.427 degrees
! Estimated noise=179.217 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00156403 Jy
! Component: 100  -  total flux cleaned = 0.00200896 Jy
! Component: 150  -  total flux cleaned = 0.00215129 Jy
! Component: 200  -  total flux cleaned = 0.00220168 Jy
! Total flux subtracted in 200 components = 0.00220168 Jy
! Clean residual min=-0.001946 max=0.001849 Jy/beam
! Clean residual mean=0.000041 rms=0.000505 Jy/beam
! Combined flux in latest and established models = 0.22594 Jy
selfcal
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 54 components and 0.225939 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261570Jy  sigma=0.002019
! Fit after  self-cal, rms=0.261554Jy  sigma=0.002018
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.000358445 Jy
! Component: 100  -  total flux cleaned = 0.000380767 Jy
! Component: 150  -  total flux cleaned = 0.000401614 Jy
! Component: 200  -  total flux cleaned = 0.000420762 Jy
! Total flux subtracted in 200 components = 0.000420762 Jy
! Clean residual min=-0.001917 max=0.001844 Jy/beam
! Clean residual mean=0.000042 rms=0.000502 Jy/beam
! Combined flux in latest and established models = 0.22636 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 59 components and 0.22636 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261548Jy  sigma=0.002018
! Fit after  self-cal, rms=0.261551Jy  sigma=0.002018
! 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.261551Jy  sigma=0.002018
! Fit after  self-cal, rms=0.261620Jy  sigma=0.002018
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.739 mas, bmaj=11.09 mas, bpa=-36.41 degrees
! Estimated noise=261.349 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0010739 Jy
! Component: 100  -  total flux cleaned = 0.00128647 Jy
! Component: 150  -  total flux cleaned = 0.00137938 Jy
! Component: 200  -  total flux cleaned = 0.00142837 Jy
! Total flux subtracted in 200 components = 0.00142837 Jy
! Clean residual min=-0.002195 max=0.003192 Jy/beam
! Clean residual mean=0.000102 rms=0.000868 Jy/beam
! Combined flux in latest and established models = 0.227789 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 68 components and 0.227789 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261620Jy  sigma=0.002018
! Fit after  self-cal, rms=0.261613Jy  sigma=0.002018
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.000165306 Jy
! Component: 100  -  total flux cleaned = 0.000165018 Jy
! Component: 150  -  total flux cleaned = 0.000180327 Jy
! Component: 200  -  total flux cleaned = 0.000180108 Jy
! Total flux subtracted in 200 components = 0.000180108 Jy
! Clean residual min=-0.002212 max=0.003189 Jy/beam
! Clean residual mean=0.000104 rms=0.000867 Jy/beam
! Combined flux in latest and established models = 0.227969 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 68 components and 0.227969 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261615Jy  sigma=0.002018
! Fit after  self-cal, rms=0.261614Jy  sigma=0.002018
! 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.453 mas, bmaj=3.12 mas, bpa=4.136 degrees
! Estimated noise=180.137 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.453 x 3.12 at 4.136 degrees (North through East)
! Clean map  min=-0.0017342  max=0.19133 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.747 mas, bmaj=2.373 mas, bpa=5.02 degrees
! Estimated noise=471.82 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.136703 Jy
! Component: 100  -  total flux cleaned = 0.176017 Jy
! Component: 150  -  total flux cleaned = 0.195636 Jy
! Component: 200  -  total flux cleaned = 0.206898 Jy
! Total flux subtracted in 200 components = 0.206898 Jy
! Clean residual min=-0.004941 max=0.005904 Jy/beam
! Clean residual mean=0.000011 rms=0.001237 Jy/beam
! Combined flux in latest and established models = 0.206898 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.206898 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.453 mas, bmaj=3.12 mas, bpa=4.136 degrees
! Estimated noise=180.137 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.00910397 Jy
! Component: 100  -  total flux cleaned = 0.0136046 Jy
! Component: 150  -  total flux cleaned = 0.0163358 Jy
! Component: 200  -  total flux cleaned = 0.0180988 Jy
! Total flux subtracted in 200 components = 0.0180988 Jy
! Clean residual min=-0.001887 max=0.001836 Jy/beam
! Clean residual mean=0.000059 rms=0.000507 Jy/beam
! Combined flux in latest and established models = 0.224997 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 30 components and 0.224997 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=7.739 mas, bmaj=11.09 mas, bpa=-36.41 degrees
! Estimated noise=261.349 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00179231 Jy
! Component: 100  -  total flux cleaned = 0.00228652 Jy
! Component: 150  -  total flux cleaned = 0.00242181 Jy
! Component: 200  -  total flux cleaned = 0.00253475 Jy
! Total flux subtracted in 200 components = 0.00253475 Jy
! Clean residual min=-0.002185 max=0.003204 Jy/beam
! Clean residual mean=0.000116 rms=0.000865 Jy/beam
! Combined flux in latest and established models = 0.227532 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 = 9.52322e-05 Jy
! Component: 100  -  total flux cleaned = 0.000177734 Jy
! Component: 150  -  total flux cleaned = 0.000250249 Jy
! Component: 200  -  total flux cleaned = 0.000276398 Jy
! Total flux subtracted in 200 components = 0.000276398 Jy
! Clean residual min=-0.002208 max=0.003167 Jy/beam
! Clean residual mean=0.000109 rms=0.000863 Jy/beam
! Combined flux in latest and established models = 0.227808 Jy
! Adding 22 model components to the UV plane model.
! The established model now contains 50 components and 0.227808 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.453 mas, bmaj=3.12 mas, bpa=4.136 degrees
! Estimated noise=180.137 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000105573 Jy
! Component: 100  -  total flux cleaned = -0.000142817 Jy
! Component: 150  -  total flux cleaned = -0.000144118 Jy
! Component: 200  -  total flux cleaned = -0.000174706 Jy
! Total flux subtracted in 200 components = -0.000174706 Jy
! Clean residual min=-0.001916 max=0.001845 Jy/beam
! Clean residual mean=0.000038 rms=0.000497 Jy/beam
! Combined flux in latest and established models = 0.227633 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 60 components and 0.227633 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.261617Jy  sigma=0.002018
! Fit after  self-cal, rms=0.261612Jy  sigma=0.002018
wmodel J1448+7601_S_2003_06_18_pus_map.mod
! Writing 60 model components to file: J1448+7601_S_2003_06_18_pus_map.mod
wobs J1448+7601_S_2003_06_18_pus_uvs.fits
! Writing UV FITS file: J1448+7601_S_2003_06_18_pus_uvs.fits
wwins J1448+7601_S_2003_06_18_pus_map.win
! wwins: Wrote 2 windows to J1448+7601_S_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 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000143089 Jy
! Component: 100  -  total flux cleaned = -0.000142608 Jy
! Component: 150  -  total flux cleaned = -0.000173801 Jy
! Component: 200  -  total flux cleaned = -0.000203794 Jy
! Component: 250  -  total flux cleaned = -0.00011567 Jy
! Component: 300  -  total flux cleaned = 2.78901e-05 Jy
! Component: 350  -  total flux cleaned = 0.00022461 Jy
! Component: 400  -  total flux cleaned = 0.000362078 Jy
! Component: 450  -  total flux cleaned = 0.000496918 Jy
! Component: 500  -  total flux cleaned = 0.000682355 Jy
! Component: 550  -  total flux cleaned = 0.000760247 Jy
! Component: 600  -  total flux cleaned = 0.00088866 Jy
! Component: 650  -  total flux cleaned = 0.000964567 Jy
! Component: 700  -  total flux cleaned = 0.00106419 Jy
! Component: 750  -  total flux cleaned = 0.00106432 Jy
! Component: 800  -  total flux cleaned = 0.00111336 Jy
! Component: 850  -  total flux cleaned = 0.0011616 Jy
! Component: 900  -  total flux cleaned = 0.00120908 Jy
! Component: 950  -  total flux cleaned = 0.00120936 Jy
! Component: 1000  -  total flux cleaned = 0.00127889 Jy
! Component: 1050  -  total flux cleaned = 0.00127876 Jy
! Component: 1100  -  total flux cleaned = 0.00123342 Jy
! Component: 1150  -  total flux cleaned = 0.00125593 Jy
! Component: 1200  -  total flux cleaned = 0.00125581 Jy
! Component: 1250  -  total flux cleaned = 0.00119005 Jy
! Component: 1300  -  total flux cleaned = 0.00114676 Jy
! Component: 1350  -  total flux cleaned = 0.00112534 Jy
! Component: 1400  -  total flux cleaned = 0.00114666 Jy
! Component: 1450  -  total flux cleaned = 0.00110417 Jy
! Component: 1500  -  total flux cleaned = 0.00110419 Jy
! Component: 1550  -  total flux cleaned = 0.00110424 Jy
! Component: 1600  -  total flux cleaned = 0.00110413 Jy
! Component: 1650  -  total flux cleaned = 0.00116545 Jy
! Component: 1700  -  total flux cleaned = 0.00112466 Jy
! Component: 1750  -  total flux cleaned = 0.00114473 Jy
! Component: 1800  -  total flux cleaned = 0.00114471 Jy
! Component: 1850  -  total flux cleaned = 0.0011646 Jy
! Component: 1900  -  total flux cleaned = 0.00116466 Jy
! Component: 1950  -  total flux cleaned = 0.0012037 Jy
! Component: 2000  -  total flux cleaned = 0.00120355 Jy
! Total flux subtracted in 2048 components = 0.00116499 Jy
! Clean residual min=-0.001134 max=0.001115 Jy/beam
! Clean residual mean=0.000021 rms=0.000369 Jy/beam
! Combined flux in latest and established models = 0.228798 Jy
keep
! Adding 164 model components to the UV plane model.
! The established model now contains 224 components and 0.228798 Jy
wmap "J1448+7601_S_2003_06_18_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.453 x 3.12 at 4.136 degrees (North through East)
! Clean map  min=-0.0016197  max=0.19265 Jy/beam
! Writing clean map to FITS file: J1448+7601_S_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 0.192652 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000368663 
device "J1448+7601_S_2003_06_18_pus\_map.eps/VPS"
! Attempting to open device: 'J1448+7601_S_2003_06_18_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.574088 0.574088 1.14818 2.29635 4.5927 9.18541 18.3708 36.7416 73.4833
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.192 
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.453 x 3.12 at 4.136 degrees (North through East)
! Clean map  min=-0.0016197  max=0.19265 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1448+7601_S_2003_06_18_pus\_map.gif/vgif"
! Attempting to open device: 'J1448+7601_S_2003_06_18_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1448+7601_S_2003_06_18_pus_uvs.log closed on Wed Jan 24 18:09:14 2007