! Started logfile: J1924-2914_S_2003_06_18_pus_uvs.log on Wed Jan 24 19:02:50 2007
obs J1924-2914_S_2003_06_18_pus_uva.fits
! Reading UV FITS file: J1924-2914_S_2003_06_18_pus_uva.fits
! AN table 1: 15 integrations on 153 of 153 possible baselines.
! AN table 2: 12 integrations on 153 of 153 possible baselines.
! AN table 3: 11 integrations on 153 of 153 possible baselines.
! AN table 4: 155 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.107454 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1924-2914
! 
! 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 12692 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 166 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 198 telescope corrections were flagged in sub-array 3.
!  A total of 2076 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 166 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 198 telescope corrections were flagged in sub-array 3.
!  A total of 2072 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 166 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 198 telescope corrections were flagged in sub-array 3.
!  A total of 2082 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 166 telescope corrections were flagged in sub-array 1.
!  A total of 216 telescope corrections were flagged in sub-array 2.
!  A total of 198 telescope corrections were flagged in sub-array 3.
!  A total of 2087 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=5.028401Jy  sigma=0.047607
! Fit after  self-cal, rms=4.704566Jy  sigma=0.044673
! 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=2.961 mas, bmaj=11.66 mas, bpa=-0.8999 degrees
! Estimated noise=1530.46 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 = 3.00629 Jy
! Component: 100  -  total flux cleaned = 4.45029 Jy
! Total flux subtracted in 100 components = 4.45029 Jy
! Clean residual min=-0.317448 max=0.900768 Jy/beam
! Clean residual mean=0.002043 rms=0.110204 Jy/beam
! Combined flux in latest and established models = 4.45029 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 18 components and 4.45028 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.413320Jy  sigma=0.022737
! Fit after  self-cal, rms=2.388204Jy  sigma=0.022586
! Inverting map 
! Added new window around map position (4, 3.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.03441 Jy
! Component: 100  -  total flux cleaned = 1.69992 Jy
! Total flux subtracted in 100 components = 1.69992 Jy
! Clean residual min=-0.193945 max=0.424580 Jy/beam
! Clean residual mean=0.000647 rms=0.059797 Jy/beam
! Combined flux in latest and established models = 6.15021 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 38 components and 6.15021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.395132Jy  sigma=0.013001
! Fit after  self-cal, rms=1.365539Jy  sigma=0.012795
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.504746 Jy
! Component: 100  -  total flux cleaned = 0.829184 Jy
! Total flux subtracted in 100 components = 0.829184 Jy
! Clean residual min=-0.134574 max=0.202557 Jy/beam
! Clean residual mean=0.000020 rms=0.036708 Jy/beam
! Combined flux in latest and established models = 6.97939 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 60 components and 6.97939 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.957975Jy  sigma=0.008721
! Fit after  self-cal, rms=0.947050Jy  sigma=0.008651
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.262171 Jy
! Component: 100  -  total flux cleaned = 0.448199 Jy
! Total flux subtracted in 100 components = 0.448199 Jy
! Clean residual min=-0.101018 max=0.129604 Jy/beam
! Clean residual mean=-0.000332 rms=0.027314 Jy/beam
! Combined flux in latest and established models = 7.42759 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 95 components and 7.42759 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.787378Jy  sigma=0.006969
! Fit after  self-cal, rms=0.782136Jy  sigma=0.006935
! 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=3.953 mas, bmaj=15.41 mas, bpa=-4.382 degrees
! Estimated noise=775.464 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.298982 Jy
! Component: 100  -  total flux cleaned = 0.466885 Jy
! Component: 150  -  total flux cleaned = 0.567375 Jy
! Component: 200  -  total flux cleaned = 0.628783 Jy
! Total flux subtracted in 200 components = 0.628783 Jy
! Clean residual min=-0.088360 max=0.086927 Jy/beam
! Clean residual mean=-0.007929 rms=0.024899 Jy/beam
! Combined flux in latest and established models = 8.05637 Jy
! Performing phase self-cal
! Adding 76 model components to the UV plane model.
! The established model now contains 159 components and 8.05638 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.672117Jy  sigma=0.005674
! Fit after  self-cal, rms=0.664827Jy  sigma=0.005609
! 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        1.08     FD        0.98     GG        1.00*    HN        1.00*    
!   KK        1.07     KP        0.95     LA        1.00     MA        1.00*    
!   MK        0.96     NL        1.07     ON        1.00*    OV        0.89     
!   PT        0.97     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    
! 
!  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 15 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.05     FD        0.95     GG        1.00*    HN        1.03     
!   KK        1.00*    KP        0.91     LA        0.98     MA        1.00*    
!   MK        1.00*    NL        1.04     ON        1.00*    OV        1.09     
!   PT        0.99     SC        0.93     TC        1.00*    TS        1.00*    
!   WF        1.04     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        0.99     GG        1.00*    HN        1.00*    
!   KK        1.04     KP        1.04     LA        0.99     MA        1.00*    
!   MK        1.07     NL        1.01     ON        1.00*    OV        0.93     
!   PT        0.97     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    
! 
!  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 15 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00     FD        0.96     GG        1.00*    HN        1.12     
!   KK        1.00*    KP        1.01     LA        0.98     MA        1.00*    
!   MK        1.00*    NL        1.00     ON        1.00*    OV        0.99     
!   PT        0.99     SC        0.95     TC        1.00*    TS        1.00*    
!   WF        1.00     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.00     GG        1.00*    HN        1.00*    
!   KK        1.01     KP        1.02     LA        0.96     MA        1.00*    
!   MK        1.03     NL        1.02     ON        1.00*    OV        0.91     
!   PT        0.99     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    
! 
!  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 15 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.03     FD        0.97     GG        1.00*    HN        1.10     
!   KK        1.00*    KP        1.01     LA        0.96     MA        1.00*    
!   MK        1.00*    NL        1.00     ON        1.00*    OV        1.12     
!   PT        1.01     SC        1.07     TC        1.00*    TS        1.00*    
!   WF        1.04     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.99     GG        1.00*    HN        1.00*    
!   KK        1.04     KP        1.03     LA        1.00     MA        1.00*    
!   MK        0.97     NL        1.08     ON        1.00*    OV        0.81     
!   PT        1.04     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  Telescope amplitude corrections in sub-array 2:
!   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*    
! 
!  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 15 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.96     GG        1.00*    HN        1.06     
!   KK        1.00*    KP        1.02     LA        0.99     MA        1.00*    
!   MK        1.00*    NL        1.05     ON        1.00*    OV        1.09     
!   PT        1.05     SC        1.06     TC        1.00*    TS        1.00*    
!   WF        1.03     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.664827Jy  sigma=0.005609
! Fit after  self-cal, rms=0.579814Jy  sigma=0.004487
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.985 mas, bmaj=15.5 mas, bpa=-4.107 degrees
! Estimated noise=784.475 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.00236903 Jy
! Component: 100  -  total flux cleaned = 0.00341447 Jy
! Component: 150  -  total flux cleaned = 0.00509243 Jy
! Component: 200  -  total flux cleaned = 0.00728694 Jy
! Total flux subtracted in 200 components = 0.00728694 Jy
! Clean residual min=-0.065545 max=0.048374 Jy/beam
! Clean residual mean=-0.003976 rms=0.018921 Jy/beam
! Combined flux in latest and established models = 8.06366 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 173 components and 8.06366 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.576420Jy  sigma=0.004462
! Fit after  self-cal, rms=0.576048Jy  sigma=0.004458
! 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.576048Jy  sigma=0.004458
! Fit after  self-cal, rms=0.522301Jy  sigma=0.003668
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.987 mas, bmaj=15.56 mas, bpa=-3.99 degrees
! Estimated noise=785.635 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00918106 Jy
! Component: 100  -  total flux cleaned = -0.013238 Jy
! Component: 150  -  total flux cleaned = -0.0139354 Jy
! Component: 200  -  total flux cleaned = -0.0133536 Jy
! Total flux subtracted in 200 components = -0.0133536 Jy
! Clean residual min=-0.039926 max=0.045025 Jy/beam
! Clean residual mean=-0.000661 rms=0.013088 Jy/beam
! Combined flux in latest and established models = 8.05031 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 179 components and 8.05031 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.520156Jy  sigma=0.003643
! Fit after  self-cal, rms=0.520149Jy  sigma=0.003640
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.00153114 Jy
! Component: 100  -  total flux cleaned = 0.000951492 Jy
! Component: 150  -  total flux cleaned = 0.000969827 Jy
! Component: 200  -  total flux cleaned = 0.0014504 Jy
! Total flux subtracted in 200 components = 0.0014504 Jy
! Clean residual min=-0.038683 max=0.043834 Jy/beam
! Clean residual mean=-0.000702 rms=0.013044 Jy/beam
! Combined flux in latest and established models = 8.05176 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 186 components and 8.05176 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.518852Jy  sigma=0.003630
! Fit after  self-cal, rms=0.518576Jy  sigma=0.003628
! 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.518576Jy  sigma=0.003628
! Fit after  self-cal, rms=0.400662Jy  sigma=0.002559
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.986 mas, bmaj=15.62 mas, bpa=-3.905 degrees
! Estimated noise=788.213 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00146327 Jy
! Component: 100  -  total flux cleaned = 0.000245002 Jy
! Component: 150  -  total flux cleaned = 0.00166011 Jy
! Component: 200  -  total flux cleaned = 0.00286997 Jy
! Total flux subtracted in 200 components = 0.00286997 Jy
! Clean residual min=-0.021832 max=0.027294 Jy/beam
! Clean residual mean=0.001030 rms=0.005703 Jy/beam
! Combined flux in latest and established models = 8.05463 Jy
selfcal
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 194 components and 8.05463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.397310Jy  sigma=0.002528
! Fit after  self-cal, rms=0.401518Jy  sigma=0.002525
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 (8.5, 5.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0173879 Jy
! Component: 100  -  total flux cleaned = 0.0128233 Jy
! Component: 150  -  total flux cleaned = 0.0102554 Jy
! Component: 200  -  total flux cleaned = 0.00856883 Jy
! Total flux subtracted in 200 components = 0.00856883 Jy
! Clean residual min=-0.018144 max=0.021961 Jy/beam
! Clean residual mean=0.000845 rms=0.005200 Jy/beam
! Combined flux in latest and established models = 8.0632 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 209 components and 8.0632 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398241Jy  sigma=0.002498
! Fit after  self-cal, rms=0.397708Jy  sigma=0.002493
! 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.397708Jy  sigma=0.002493
! Fit after  self-cal, rms=0.397530Jy  sigma=0.002487
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.796 mas, bmaj=21.01 mas, bpa=-6.554 degrees
! Estimated noise=914.882 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00999648 Jy
! Component: 100  -  total flux cleaned = 0.0095173 Jy
! Component: 150  -  total flux cleaned = 0.00732259 Jy
! Component: 200  -  total flux cleaned = 0.00500674 Jy
! Total flux subtracted in 200 components = 0.00500674 Jy
! Clean residual min=-0.012840 max=0.016722 Jy/beam
! Clean residual mean=0.001654 rms=0.005008 Jy/beam
! Combined flux in latest and established models = 8.0682 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 222 components and 8.0682 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.396309Jy  sigma=0.002475
! Fit after  self-cal, rms=0.395278Jy  sigma=0.002471
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.00209051 Jy
! Component: 100  -  total flux cleaned = 0.00217906 Jy
! Component: 150  -  total flux cleaned = 0.00083842 Jy
! Component: 200  -  total flux cleaned = -0.000629739 Jy
! Total flux subtracted in 200 components = -0.000629739 Jy
! Clean residual min=-0.012113 max=0.016392 Jy/beam
! Clean residual mean=0.001640 rms=0.004860 Jy/beam
! Combined flux in latest and established models = 8.06758 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 240 components and 8.06758 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394707Jy  sigma=0.002466
! Fit after  self-cal, rms=0.394257Jy  sigma=0.002463
! 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=3.987 mas, bmaj=15.62 mas, bpa=-3.891 degrees
! Estimated noise=789.109 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.987 x 15.62 at -3.891 degrees (North through East)
! Clean map  min=-0.016695  max=4.4594 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  flux_cutoff = imstat(rms) * dynam
  repeat
    if (peak(flux) > flux_cutoff) peakwin win_mult
    clean clean_niter,clean_gain
    flux_cutoff = imstat(rms) * dynam
    selfcal
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394257Jy  sigma=0.002463
! Fit after  self-cal, rms=0.883425Jy  sigma=0.001816
! Inverting map and beam 
! Estimated beam: bmin=3.986 mas, bmaj=15.61 mas, bpa=-3.9 degrees
! Estimated noise=788.947 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0075357 Jy
! Component: 100  -  total flux cleaned = 0.00700252 Jy
! Component: 150  -  total flux cleaned = 0.007 Jy
! Component: 200  -  total flux cleaned = 0.00699077 Jy
! Total flux subtracted in 200 components = 0.00699077 Jy
! Clean residual min=-0.016639 max=0.015285 Jy/beam
! Clean residual mean=0.000587 rms=0.004229 Jy/beam
! Combined flux in latest and established models = 8.07457 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 263 components and 8.07457 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.882846Jy  sigma=0.001798
! Fit after  self-cal, rms=0.882797Jy  sigma=0.001796
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00163361 Jy
! Component: 100  -  total flux cleaned = 0.000797538 Jy
! Component: 150  -  total flux cleaned = 1.33238e-05 Jy
! Component: 200  -  total flux cleaned = -0.000361364 Jy
! Total flux subtracted in 200 components = -0.000361364 Jy
! Clean residual min=-0.017137 max=0.015067 Jy/beam
! Clean residual mean=0.000578 rms=0.004122 Jy/beam
! Combined flux in latest and established models = 8.07421 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 281 components and 8.0742 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.882446Jy  sigma=0.001784
! Fit after  self-cal, rms=0.882645Jy  sigma=0.001783
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.882645Jy  sigma=0.001783
! Fit after  self-cal, rms=0.888589Jy  sigma=0.001781
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=2.971 mas, bmaj=11.78 mas, bpa=-0.6023 degrees
! Estimated noise=1608.05 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 3.10807 Jy
! Component: 100  -  total flux cleaned = 4.68374 Jy
! Component: 150  -  total flux cleaned = 5.6402 Jy
! Component: 200  -  total flux cleaned = 6.25689 Jy
! Total flux subtracted in 200 components = 6.25689 Jy
! Clean residual min=-0.109202 max=0.335620 Jy/beam
! Clean residual mean=0.001319 rms=0.046308 Jy/beam
! Combined flux in latest and established models = 6.25689 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 39 model components to the UV plane model.
! The established model now contains 39 components and 6.25689 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.985 mas, bmaj=15.6 mas, bpa=-3.899 degrees
! Estimated noise=788.669 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.792764 Jy
! Component: 100  -  total flux cleaned = 1.21568 Jy
! Component: 150  -  total flux cleaned = 1.45565 Jy
! Component: 200  -  total flux cleaned = 1.59778 Jy
! Total flux subtracted in 200 components = 1.59778 Jy
! Clean residual min=-0.031477 max=0.092215 Jy/beam
! Clean residual mean=0.003767 rms=0.015704 Jy/beam
! Combined flux in latest and established models = 7.85467 Jy
! Adding 93 model components to the UV plane model.
! The established model now contains 122 components and 7.85467 Jy
! Inverting map 
! Added new window around map position (-4, -2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0944596 Jy
! Component: 100  -  total flux cleaned = 0.152407 Jy
! Component: 150  -  total flux cleaned = 0.189768 Jy
! Component: 200  -  total flux cleaned = 0.212186 Jy
! Total flux subtracted in 200 components = 0.212186 Jy
! Clean residual min=-0.018471 max=0.015493 Jy/beam
! Clean residual mean=0.000736 rms=0.004788 Jy/beam
! Combined flux in latest and established models = 8.06686 Jy
! Adding 47 model components to the UV plane model.
! The established model now contains 168 components and 8.06686 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.792 mas, bmaj=21 mas, bpa=-6.54 degrees
! Estimated noise=914.851 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0130898 Jy
! Component: 100  -  total flux cleaned = 0.0124035 Jy
! Component: 150  -  total flux cleaned = 0.0109037 Jy
! Component: 200  -  total flux cleaned = 0.00965645 Jy
! Total flux subtracted in 200 components = 0.00965645 Jy
! Clean residual min=-0.012201 max=0.015603 Jy/beam
! Clean residual mean=0.000968 rms=0.004382 Jy/beam
! Combined flux in latest and established models = 8.07651 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.000358083 Jy
! Component: 100  -  total flux cleaned = -0.00137484 Jy
! Component: 150  -  total flux cleaned = -0.00228778 Jy
! Component: 200  -  total flux cleaned = -0.00286526 Jy
! Total flux subtracted in 200 components = -0.00286526 Jy
! Clean residual min=-0.011371 max=0.015083 Jy/beam
! Clean residual mean=0.001008 rms=0.004170 Jy/beam
! Combined flux in latest and established models = 8.07365 Jy
! Adding 61 model components to the UV plane model.
! The established model now contains 224 components and 8.07365 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.985 mas, bmaj=15.6 mas, bpa=-3.899 degrees
! Estimated noise=788.669 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00113724 Jy
! Component: 100  -  total flux cleaned = 0.0010468 Jy
! Component: 150  -  total flux cleaned = 0.00246706 Jy
! Component: 200  -  total flux cleaned = 0.00159618 Jy
! Total flux subtracted in 200 components = 0.00159618 Jy
! Clean residual min=-0.015182 max=0.014937 Jy/beam
! Clean residual mean=0.000554 rms=0.003754 Jy/beam
! Combined flux in latest and established models = 8.07524 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 240 components and 8.07524 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.887980Jy  sigma=0.001756
! Fit after  self-cal, rms=0.889816Jy  sigma=0.001717
wmodel J1924-2914_S_2003_06_18_pus_map.mod
! Writing 240 model components to file: J1924-2914_S_2003_06_18_pus_map.mod
wobs J1924-2914_S_2003_06_18_pus_uvs.fits
! Writing UV FITS file: J1924-2914_S_2003_06_18_pus_uvs.fits
wwins J1924-2914_S_2003_06_18_pus_map.win
! wwins: Wrote 4 windows to J1924-2914_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.00441563 Jy
! Component: 100  -  total flux cleaned = -0.00709048 Jy
! Component: 150  -  total flux cleaned = -0.00623481 Jy
! Component: 200  -  total flux cleaned = -0.00562344 Jy
! Component: 250  -  total flux cleaned = -0.00504808 Jy
! Component: 300  -  total flux cleaned = -0.00412628 Jy
! Component: 350  -  total flux cleaned = -0.00342618 Jy
! Component: 400  -  total flux cleaned = -0.00274592 Jy
! Component: 450  -  total flux cleaned = -0.00192078 Jy
! Component: 500  -  total flux cleaned = -0.000800893 Jy
! Component: 550  -  total flux cleaned = 0.000604738 Jy
! Component: 600  -  total flux cleaned = 0.00167377 Jy
! Component: 650  -  total flux cleaned = 0.00302056 Jy
! Component: 700  -  total flux cleaned = 0.00419391 Jy
! Component: 750  -  total flux cleaned = 0.00534585 Jy
! Component: 800  -  total flux cleaned = 0.00605416 Jy
! Component: 850  -  total flux cleaned = 0.00675162 Jy
! Component: 900  -  total flux cleaned = 0.00757481 Jy
! Component: 950  -  total flux cleaned = 0.00825111 Jy
! Component: 1000  -  total flux cleaned = 0.00878462 Jy
! Component: 1050  -  total flux cleaned = 0.00944344 Jy
! Component: 1100  -  total flux cleaned = 0.00996386 Jy
! Component: 1150  -  total flux cleaned = 0.010479 Jy
! Component: 1200  -  total flux cleaned = 0.0108605 Jy
! Component: 1250  -  total flux cleaned = 0.0116154 Jy
! Component: 1300  -  total flux cleaned = 0.012112 Jy
! Component: 1350  -  total flux cleaned = 0.0126028 Jy
! Component: 1400  -  total flux cleaned = 0.0129675 Jy
! Component: 1450  -  total flux cleaned = 0.0134492 Jy
! Component: 1500  -  total flux cleaned = 0.0140439 Jy
! Component: 1550  -  total flux cleaned = 0.014163 Jy
! Component: 1600  -  total flux cleaned = 0.0146302 Jy
! Component: 1650  -  total flux cleaned = 0.0152082 Jy
! Component: 1700  -  total flux cleaned = 0.0153227 Jy
! Component: 1750  -  total flux cleaned = 0.0157759 Jy
! Component: 1800  -  total flux cleaned = 0.0158876 Jy
! Component: 1850  -  total flux cleaned = 0.0163316 Jy
! Component: 1900  -  total flux cleaned = 0.0163308 Jy
! Component: 1950  -  total flux cleaned = 0.0164397 Jy
! Component: 2000  -  total flux cleaned = 0.0166567 Jy
! Total flux subtracted in 2048 components = 0.0170864 Jy
! Clean residual min=-0.006172 max=0.007022 Jy/beam
! Clean residual mean=0.000327 rms=0.002306 Jy/beam
! Combined flux in latest and established models = 8.09233 Jy
keep
! Adding 130 model components to the UV plane model.
! The established model now contains 366 components and 8.09233 Jy
wmap "J1924-2914_S_2003_06_18_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.985 x 15.6 at -3.899 degrees (North through East)
! Clean map  min=-0.014643  max=4.4186 Jy/beam
! Writing clean map to FITS file: J1924-2914_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 4.41864 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00230926 
device "J1924-2914_S_2003_06_18_pus\_map.eps/VPS"
! Attempting to open device: 'J1924-2914_S_2003_06_18_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.156785 0.156785 0.31357 0.62714 1.25428 2.50856 5.01712 10.0342 20.0685 40.137 80.274
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0069 
print "peak=",int(1000*peak_flux)/1000
! peak= 4.418 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.985 x 15.6 at -3.899 degrees (North through East)
! Clean map  min=-0.014643  max=4.4186 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924-2914_S_2003_06_18_pus\_map.gif/vgif"
! Attempting to open device: 'J1924-2914_S_2003_06_18_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1924-2914_S_2003_06_18_pus_uvs.log closed on Wed Jan 24 19:04:16 2007