! Started logfile: J1448+7601_S_2001_07_05_pus_uvs.log on Sun Aug 12 23:35:45 2007
obs J1448+7601_S_2001_07_05_pus_uva.fits
! Reading UV FITS file: J1448+7601_S_2001_07_05_pus_uva.fits
! AN table 1: 62 integrations on 171 of 171 possible baselines.
! AN table 2: 25 integrations on 171 of 171 possible baselines.
! AN table 3: 368 integrations on 171 of 171 possible baselines.
! AN table 4: 312 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.2394 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1448+7601
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! Warning: Unknown AN-table MNTSTA value (3).
!          Will assume that it is ground-based.
! 
! 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.22997e+09        8e+06          1        8e+06
!  02        2  2.25997e+09        8e+06          1        8e+06
!  03        3  2.34997e+09        8e+06          1        8e+06
!  04        4  2.36997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 1774 lines of history.
! 
! Reading 125596 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 = 512 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",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 540 telescope corrections were flagged in sub-array 1.
!  A total of 297 telescope corrections were flagged in sub-array 2.
!  A total of 4223 telescope corrections were flagged in sub-array 3.
!  A total of 3190 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 540 telescope corrections were flagged in sub-array 1.
!  A total of 297 telescope corrections were flagged in sub-array 2.
!  A total of 4224 telescope corrections were flagged in sub-array 3.
!  A total of 3190 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 540 telescope corrections were flagged in sub-array 1.
!  A total of 297 telescope corrections were flagged in sub-array 2.
!  A total of 4224 telescope corrections were flagged in sub-array 3.
!  A total of 3190 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 540 telescope corrections were flagged in sub-array 1.
!  A total of 297 telescope corrections were flagged in sub-array 2.
!  A total of 4224 telescope corrections were flagged in sub-array 3.
!  A total of 3190 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.889074Jy  sigma=0.007650
! Fit after  self-cal, rms=0.827866Jy  sigma=0.007150
! 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.933 mas, bmaj=2.302 mas, bpa=-65.34 degrees
! Estimated noise=686.308 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.146442 Jy
! Component: 100  -  total flux cleaned = 0.179561 Jy
! Total flux subtracted in 100 components = 0.179561 Jy
! Clean residual min=-0.006081 max=0.012133 Jy/beam
! Clean residual mean=-0.000027 rms=0.001586 Jy/beam
! Combined flux in latest and established models = 0.179561 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.179561 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.202928Jy  sigma=0.001436
! Fit after  self-cal, rms=0.202923Jy  sigma=0.001436
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0134756 Jy
! Component: 100  -  total flux cleaned = 0.0207114 Jy
! Total flux subtracted in 100 components = 0.0207114 Jy
! Clean residual min=-0.005273 max=0.005724 Jy/beam
! Clean residual mean=-0.000019 rms=0.001463 Jy/beam
! Combined flux in latest and established models = 0.200272 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 16 components and 0.200272 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.201470Jy  sigma=0.001420
! Fit after  self-cal, rms=0.201478Jy  sigma=0.001420
! 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.573 mas, bmaj=2.999 mas, bpa=-59.08 degrees
! Estimated noise=234.365 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.00908546 Jy
! Component: 100  -  total flux cleaned = 0.0134429 Jy
! Component: 150  -  total flux cleaned = 0.0158279 Jy
! Component: 200  -  total flux cleaned = 0.0171766 Jy
! Total flux subtracted in 200 components = 0.0171766 Jy
! Clean residual min=-0.002501 max=0.003077 Jy/beam
! Clean residual mean=-0.000046 rms=0.000792 Jy/beam
! Combined flux in latest and established models = 0.217448 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 28 components and 0.217448 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.201093Jy  sigma=0.001416
! Fit after  self-cal, rms=0.201094Jy  sigma=0.001416
! 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.04     FD        0.84     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.01     KK        1.00*    KP        1.11     
!   LA        1.02     MC        1.56     MK        1.08     NL        0.87     
!   NY        1.00*    OV        1.06     PT        1.02     SC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.02     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.90     KK        1.00*    KP        1.06     
!   LA        0.99     MC        1.00*    MK        1.09     NL        1.01     
!   NY        1.00*    OV        0.99     PT        0.91     SC        1.04     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 201 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        0.99     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        0.99     KK        0.99     KP        0.95     
!   LA        1.02     MC        1.00     MK        1.05     NL        0.98     
!   NY        0.28     OV        1.02     PT        0.98     SC        1.00     
!   TS        1.01     WF        1.00*    WZ        1.00     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.01     FD        1.01     GC        0.93     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        1.00*    KP        0.88     
!   LA        1.07     MC        1.00*    MK        1.04     NL        1.03     
!   NY        0.97     OV        1.04     PT        0.96     SC        1.00*    
!   TS        1.08     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        1.04     FD        0.80     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.01     KK        1.00*    KP        1.02     
!   LA        1.04     MC        0.98     MK        1.02     NL        0.82     
!   NY        1.00*    OV        1.07     PT        1.04     SC        1.10     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.03     FD        1.03     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.00*    KP        1.05     
!   LA        0.95     MC        1.00*    MK        1.04     NL        1.00     
!   NY        1.00*    OV        1.01     PT        0.98     SC        1.05     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 201 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.03     GC        1.00     GG        1.00*    
!   HH        1.00*    HN        0.98     KK        0.97     KP        0.87     
!   LA        0.94     MC        0.96     MK        1.03     NL        0.98     
!   NY        1.00*    OV        1.03     PT        1.00     SC        1.02     
!   TS        0.98     WF        1.00*    WZ        0.98     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.01     FD        1.04     GC        0.92     GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.00*    KP        0.95     
!   LA        1.03     MC        1.00*    MK        0.99     NL        0.99     
!   NY        1.01     OV        1.02     PT        1.01     SC        1.00*    
!   TS        1.03     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        1.09     FD        0.80     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.07     KK        1.00*    KP        1.03     
!   LA        1.02     MC        1.21     MK        1.06     NL        0.87     
!   NY        1.00*    OV        1.07     PT        1.02     SC        1.05     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.05     FD        0.97     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.08     KK        1.00*    KP        0.92     
!   LA        0.98     MC        1.00*    MK        1.10     NL        1.04     
!   NY        1.00*    OV        1.03     PT        1.02     SC        1.02     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 201 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.96     GC        0.98     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        1.05     KP        1.05     
!   LA        0.99     MC        0.95     MK        1.06     NL        1.01     
!   NY        1.00*    OV        1.01     PT        1.00     SC        1.00     
!   TS        0.98     WF        1.00*    WZ        1.00     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.01     FD        0.97     GC        0.97     GG        1.00*    
!   HH        1.00*    HN        1.05     KK        1.00*    KP        1.07     
!   LA        1.03     MC        1.00*    MK        1.02     NL        1.05     
!   NY        0.95     OV        1.05     PT        1.00     SC        1.00*    
!   TS        1.03     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        1.01     FD        0.86     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.94     KK        1.00*    KP        1.08     
!   LA        1.02     MC        0.88     MK        1.06     NL        0.89     
!   NY        1.00*    OV        0.99     PT        1.02     SC        1.11     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 15 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.94     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.87     KK        1.00*    KP        1.07     
!   LA        0.90     MC        1.00*    MK        1.02     NL        1.07     
!   NY        1.00*    OV        0.99     PT        0.99     SC        1.04     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 201 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        1.01     GC        0.97     GG        1.00*    
!   HH        1.00*    HN        0.94     KK        1.00     KP        1.07     
!   LA        0.98     MC        0.75     MK        1.02     NL        0.99     
!   NY        1.00*    OV        0.99     PT        1.03     SC        1.00     
!   TS        1.02     WF        1.00*    WZ        1.05     
! 
!  A total of 9 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.99     FD        1.01     GC        0.95     GG        1.00*    
!   HH        1.00*    HN        0.94     KK        1.00*    KP        1.03     
!   LA        1.00     MC        1.00*    MK        1.03     NL        1.02     
!   NY        0.96     OV        1.03     PT        1.05     SC        1.00*    
!   TS        1.03     WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.201094Jy  sigma=0.001416
! Fit after  self-cal, rms=0.178670Jy  sigma=0.001412
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.578 mas, bmaj=3.001 mas, bpa=-57.92 degrees
! Estimated noise=235.413 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.000539868 Jy
! Component: 100  -  total flux cleaned = 0.000570782 Jy
! Component: 150  -  total flux cleaned = 0.000517842 Jy
! Component: 200  -  total flux cleaned = 0.00049671 Jy
! Total flux subtracted in 200 components = 0.00049671 Jy
! Clean residual min=-0.002044 max=0.003272 Jy/beam
! Clean residual mean=-0.000045 rms=0.000684 Jy/beam
! Combined flux in latest and established models = 0.217945 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 32 components and 0.217945 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178659Jy  sigma=0.001412
! Fit after  self-cal, rms=0.178666Jy  sigma=0.001412
! 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.178666Jy  sigma=0.001412
! Fit after  self-cal, rms=0.177836Jy  sigma=0.001412
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.575 mas, bmaj=3 mas, bpa=-57.22 degrees
! Estimated noise=235.525 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000415159 Jy
! Component: 100  -  total flux cleaned = 0.000416297 Jy
! Component: 150  -  total flux cleaned = 0.000396921 Jy
! Component: 200  -  total flux cleaned = 0.000379284 Jy
! Total flux subtracted in 200 components = 0.000379284 Jy
! Clean residual min=-0.002053 max=0.003310 Jy/beam
! Clean residual mean=-0.000047 rms=0.000694 Jy/beam
! Combined flux in latest and established models = 0.218324 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 32 components and 0.218324 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.177831Jy  sigma=0.001412
! Fit after  self-cal, rms=0.177838Jy  sigma=0.001412
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 (36, -1.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00315349 Jy
! Component: 100  -  total flux cleaned = 0.00493167 Jy
! Component: 150  -  total flux cleaned = 0.0060704 Jy
! Component: 200  -  total flux cleaned = 0.00671001 Jy
! Total flux subtracted in 200 components = 0.00671001 Jy
! Clean residual min=-0.001909 max=0.003002 Jy/beam
! Clean residual mean=-0.000048 rms=0.000647 Jy/beam
! Combined flux in latest and established models = 0.225035 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 56 components and 0.225035 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.177797Jy  sigma=0.001411
! Fit after  self-cal, rms=0.177793Jy  sigma=0.001411
! Inverting map 
! Added new window around map position (19, 2.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00268281 Jy
! Component: 100  -  total flux cleaned = 0.00415918 Jy
! Component: 150  -  total flux cleaned = 0.00497057 Jy
! Component: 200  -  total flux cleaned = 0.0052445 Jy
! Total flux subtracted in 200 components = 0.0052445 Jy
! Clean residual min=-0.002017 max=0.002732 Jy/beam
! Clean residual mean=-0.000052 rms=0.000621 Jy/beam
! Combined flux in latest and established models = 0.230279 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 73 components and 0.230279 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.177757Jy  sigma=0.001410
! Fit after  self-cal, rms=0.177754Jy  sigma=0.001410
! Inverting map 
! Added new window around map position (38, -17.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0026187 Jy
! Component: 100  -  total flux cleaned = 0.00404978 Jy
! Component: 150  -  total flux cleaned = 0.00509547 Jy
! Component: 200  -  total flux cleaned = 0.00568728 Jy
! Total flux subtracted in 200 components = 0.00568728 Jy
! Clean residual min=-0.002059 max=0.002471 Jy/beam
! Clean residual mean=-0.000045 rms=0.000604 Jy/beam
! Combined flux in latest and established models = 0.235966 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 89 components and 0.235966 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.177725Jy  sigma=0.001410
! Fit after  self-cal, rms=0.177724Jy  sigma=0.001410
! 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.177724Jy  sigma=0.001410
! Fit after  self-cal, rms=0.178362Jy  sigma=0.001409
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.572 mas, bmaj=2.998 mas, bpa=-57.01 degrees
! Estimated noise=236.78 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00154201 Jy
! Component: 100  -  total flux cleaned = 0.00270682 Jy
! Component: 150  -  total flux cleaned = 0.00365005 Jy
! Component: 200  -  total flux cleaned = 0.00423484 Jy
! Total flux subtracted in 200 components = 0.00423484 Jy
! Clean residual min=-0.001917 max=0.002485 Jy/beam
! Clean residual mean=-0.000047 rms=0.000589 Jy/beam
! Combined flux in latest and established models = 0.240201 Jy
selfcal
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 102 components and 0.240201 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178348Jy  sigma=0.001409
! Fit after  self-cal, rms=0.178365Jy  sigma=0.001409
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.000736789 Jy
! Component: 100  -  total flux cleaned = 0.00113074 Jy
! Component: 150  -  total flux cleaned = 0.00138141 Jy
! Component: 200  -  total flux cleaned = 0.00153746 Jy
! Total flux subtracted in 200 components = 0.00153746 Jy
! Clean residual min=-0.001919 max=0.002395 Jy/beam
! Clean residual mean=-0.000047 rms=0.000588 Jy/beam
! Combined flux in latest and established models = 0.241739 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 110 components and 0.241738 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178360Jy  sigma=0.001409
! Fit after  self-cal, rms=0.178359Jy  sigma=0.001409
! 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.178359Jy  sigma=0.001409
! Fit after  self-cal, rms=0.178541Jy  sigma=0.001408
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.895 mas, bmaj=8.924 mas, bpa=38.45 degrees
! Estimated noise=354.676 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00168495 Jy
! Component: 100  -  total flux cleaned = 0.0021503 Jy
! Component: 150  -  total flux cleaned = 0.00237186 Jy
! Component: 200  -  total flux cleaned = 0.00248809 Jy
! Total flux subtracted in 200 components = 0.00248809 Jy
! Clean residual min=-0.003714 max=0.004204 Jy/beam
! Clean residual mean=-0.000152 rms=0.001228 Jy/beam
! Combined flux in latest and established models = 0.244227 Jy
selfcal
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 123 components and 0.244227 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178543Jy  sigma=0.001408
! Fit after  self-cal, rms=0.178547Jy  sigma=0.001408
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.000218487 Jy
! Component: 100  -  total flux cleaned = 0.000253879 Jy
! Component: 150  -  total flux cleaned = 0.00028755 Jy
! Component: 200  -  total flux cleaned = 0.000286471 Jy
! Total flux subtracted in 200 components = 0.000286471 Jy
! Clean residual min=-0.003690 max=0.004220 Jy/beam
! Clean residual mean=-0.000152 rms=0.001221 Jy/beam
! Combined flux in latest and established models = 0.244513 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 130 components and 0.244513 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178551Jy  sigma=0.001408
! Fit after  self-cal, rms=0.178551Jy  sigma=0.001408
! 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.57 mas, bmaj=2.996 mas, bpa=-56.9 degrees
! Estimated noise=237.221 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.57 x 2.996 at -56.9 degrees (North through East)
! Clean map  min=-0.0018209  max=0.19456 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.935 mas, bmaj=2.292 mas, bpa=-61.93 degrees
! Estimated noise=690.164 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.146235 Jy
! Component: 100  -  total flux cleaned = 0.180821 Jy
! Component: 150  -  total flux cleaned = 0.196014 Jy
! Component: 200  -  total flux cleaned = 0.204441 Jy
! Total flux subtracted in 200 components = 0.204441 Jy
! Clean residual min=-0.005260 max=0.004921 Jy/beam
! Clean residual mean=-0.000024 rms=0.001346 Jy/beam
! Combined flux in latest and established models = 0.204441 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.204441 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.57 mas, bmaj=2.996 mas, bpa=-56.9 degrees
! Estimated noise=237.221 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.00966419 Jy
! Component: 100  -  total flux cleaned = 0.014885 Jy
! Component: 150  -  total flux cleaned = 0.0188625 Jy
! Component: 200  -  total flux cleaned = 0.0221448 Jy
! Total flux subtracted in 200 components = 0.0221448 Jy
! Clean residual min=-0.002027 max=0.003152 Jy/beam
! Clean residual mean=-0.000054 rms=0.000681 Jy/beam
! Combined flux in latest and established models = 0.226586 Jy
! Adding 38 model components to the UV plane model.
! The established model now contains 44 components and 0.226586 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.00331299 Jy
! Component: 100  -  total flux cleaned = 0.00587312 Jy
! Component: 150  -  total flux cleaned = 0.00810203 Jy
! Component: 200  -  total flux cleaned = 0.0100558 Jy
! Total flux subtracted in 200 components = 0.0100558 Jy
! Clean residual min=-0.001881 max=0.002701 Jy/beam
! Clean residual mean=-0.000052 rms=0.000604 Jy/beam
! Combined flux in latest and established models = 0.236641 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 71 components and 0.236641 Jy
! Inverting map 
! Added new window around map position (-36, 1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00243903 Jy
! Component: 100  -  total flux cleaned = 0.00408938 Jy
! Component: 150  -  total flux cleaned = 0.0055566 Jy
! Component: 200  -  total flux cleaned = 0.00687074 Jy
! Total flux subtracted in 200 components = 0.00687074 Jy
! Clean residual min=-0.001873 max=0.002425 Jy/beam
! Clean residual mean=-0.000052 rms=0.000567 Jy/beam
! Combined flux in latest and established models = 0.243512 Jy
! Adding 47 model components to the UV plane model.
! The established model now contains 91 components and 0.243512 Jy
! Inverting map 
! Added new window around map position (26.5, 15).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00247606 Jy
! Component: 100  -  total flux cleaned = 0.00393678 Jy
! Component: 150  -  total flux cleaned = 0.00514072 Jy
! Component: 200  -  total flux cleaned = 0.00605301 Jy
! Total flux subtracted in 200 components = 0.00605301 Jy
! Clean residual min=-0.001868 max=0.002260 Jy/beam
! Clean residual mean=-0.000055 rms=0.000530 Jy/beam
! Combined flux in latest and established models = 0.249565 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 109 components and 0.249565 Jy
! Inverting map 
! Added new window around map position (-45.5, 19).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00212272 Jy
! Component: 100  -  total flux cleaned = 0.00314507 Jy
! Component: 150  -  total flux cleaned = 0.00390005 Jy
! Component: 200  -  total flux cleaned = 0.00452887 Jy
! Total flux subtracted in 200 components = 0.00452887 Jy
! Clean residual min=-0.001755 max=0.001909 Jy/beam
! Clean residual mean=-0.000050 rms=0.000511 Jy/beam
! Combined flux in latest and established models = 0.254094 Jy
! Adding 41 model components to the UV plane model.
! The established model now contains 131 components and 0.254094 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.895 mas, bmaj=8.924 mas, bpa=38.45 degrees
! Estimated noise=354.676 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00134173 Jy
! Component: 100  -  total flux cleaned = 0.0021263 Jy
! Component: 150  -  total flux cleaned = 0.00287244 Jy
! Component: 200  -  total flux cleaned = 0.00351925 Jy
! Total flux subtracted in 200 components = 0.00351925 Jy
! Clean residual min=-0.002945 max=0.003300 Jy/beam
! Clean residual mean=-0.000148 rms=0.000983 Jy/beam
! Combined flux in latest and established models = 0.257613 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.000330041 Jy
! Component: 100  -  total flux cleaned = 0.000498472 Jy
! Component: 150  -  total flux cleaned = 0.000595349 Jy
! Component: 200  -  total flux cleaned = 0.000658257 Jy
! Total flux subtracted in 200 components = 0.000658257 Jy
! Clean residual min=-0.002905 max=0.003298 Jy/beam
! Clean residual mean=-0.000148 rms=0.000967 Jy/beam
! Combined flux in latest and established models = 0.258271 Jy
! Adding 39 model components to the UV plane model.
! The established model now contains 164 components and 0.258271 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.57 mas, bmaj=2.996 mas, bpa=-56.9 degrees
! Estimated noise=237.221 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000112773 Jy
! Component: 100  -  total flux cleaned = -8.21821e-05 Jy
! Component: 150  -  total flux cleaned = 7.68373e-06 Jy
! Component: 200  -  total flux cleaned = 9.37747e-05 Jy
! Total flux subtracted in 200 components = 9.37747e-05 Jy
! Clean residual min=-0.001763 max=0.001812 Jy/beam
! Clean residual mean=-0.000048 rms=0.000494 Jy/beam
! Combined flux in latest and established models = 0.258365 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 179 components and 0.258365 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.178460Jy  sigma=0.001407
! Fit after  self-cal, rms=0.178445Jy  sigma=0.001407
wmodel J1448+7601_S_2001_07_05_pus_map.mod
! Writing 179 model components to file: J1448+7601_S_2001_07_05_pus_map.mod
wobs J1448+7601_S_2001_07_05_pus_uvs.fits
! Writing UV FITS file: J1448+7601_S_2001_07_05_pus_uvs.fits
wwins J1448+7601_S_2001_07_05_pus_map.win
! wwins: Wrote 8 windows to J1448+7601_S_2001_07_05_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 = -3.0289e-05 Jy
! Component: 100  -  total flux cleaned = -0.000156359 Jy
! Component: 150  -  total flux cleaned = -0.00012661 Jy
! Component: 200  -  total flux cleaned = -0.000184735 Jy
! Component: 250  -  total flux cleaned = -0.000241206 Jy
! Component: 300  -  total flux cleaned = -0.000185619 Jy
! Component: 350  -  total flux cleaned = -0.000212923 Jy
! Component: 400  -  total flux cleaned = -0.000265693 Jy
! Component: 450  -  total flux cleaned = -0.000291855 Jy
! Component: 500  -  total flux cleaned = -0.000394415 Jy
! Component: 550  -  total flux cleaned = -0.000470239 Jy
! Component: 600  -  total flux cleaned = -0.000569629 Jy
! Component: 650  -  total flux cleaned = -0.000594283 Jy
! Component: 700  -  total flux cleaned = -0.000570406 Jy
! Component: 750  -  total flux cleaned = -0.000546434 Jy
! Component: 800  -  total flux cleaned = -0.000428055 Jy
! Component: 850  -  total flux cleaned = -0.000311026 Jy
! Component: 900  -  total flux cleaned = -0.000288002 Jy
! Component: 950  -  total flux cleaned = -0.000219107 Jy
! Component: 1000  -  total flux cleaned = -0.000128445 Jy
! Component: 1050  -  total flux cleaned = -0.000128727 Jy
! Component: 1100  -  total flux cleaned = -6.18196e-05 Jy
! Component: 1150  -  total flux cleaned = -6.18082e-05 Jy
! Component: 1200  -  total flux cleaned = -6.17428e-05 Jy
! Component: 1250  -  total flux cleaned = 2.86654e-06 Jy
! Component: 1300  -  total flux cleaned = -0.000104815 Jy
! Component: 1350  -  total flux cleaned = -8.35713e-05 Jy
! Component: 1400  -  total flux cleaned = -6.26649e-05 Jy
! Component: 1450  -  total flux cleaned = -8.3637e-05 Jy
! Component: 1500  -  total flux cleaned = -4.22174e-05 Jy
! Component: 1550  -  total flux cleaned = -0.000104072 Jy
! Component: 1600  -  total flux cleaned = -6.29661e-05 Jy
! Component: 1650  -  total flux cleaned = -0.000123979 Jy
! Component: 1700  -  total flux cleaned = -0.000144006 Jy
! Component: 1750  -  total flux cleaned = -0.000164001 Jy
! Component: 1800  -  total flux cleaned = -0.000203607 Jy
! Component: 1850  -  total flux cleaned = -0.000243004 Jy
! Component: 1900  -  total flux cleaned = -0.000380021 Jy
! Component: 1950  -  total flux cleaned = -0.000438352 Jy
! Component: 2000  -  total flux cleaned = -0.000418898 Jy
! Total flux subtracted in 2048 components = -0.000495905 Jy
! Clean residual min=-0.001087 max=0.001064 Jy/beam
! Clean residual mean=-0.000044 rms=0.000380 Jy/beam
! Combined flux in latest and established models = 0.257869 Jy
keep
! Adding 193 model components to the UV plane model.
! The established model now contains 372 components and 0.257869 Jy
wmap "J1448+7601_S_2001_07_05_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.57 x 2.996 at -56.9 degrees (North through East)
! Clean map  min=-0.0015424  max=0.19425 Jy/beam
! Writing clean map to FITS file: J1448+7601_S_2001_07_05_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.194247 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000379772 
device "J1448+7601_S_2001_07_05_pus\_map.eps/VPS"
! Attempting to open device: 'J1448+7601_S_2001_07_05_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.586529 0.586529 1.17306 2.34612 4.69223 9.38446 18.7689 37.5379 75.0757
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.194 
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.57 x 2.996 at -56.9 degrees (North through East)
! Clean map  min=-0.0015424  max=0.19425 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1448+7601_S_2001_07_05_pus\_map.gif/vgif"
! Attempting to open device: 'J1448+7601_S_2001_07_05_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1448+7601_S_2001_07_05_pus_uvs.log closed on Sun Aug 12 23:39:59 2007