! Started logfile: J1427-4206_S_2003_06_18_pus_uvs.log on Thu Jan 25 21:00:58 2007
obs J1427-4206_S_2003_06_18_pus_uva.fits
! Reading UV FITS file: J1427-4206_S_2003_06_18_pus_uva.fits
! AN table 1: 120 integrations on 153 of 153 possible baselines.
! AN table 2: 71 integrations on 153 of 153 possible baselines.
! AN table 3: 60 integrations on 153 of 153 possible baselines.
! AN table 4: 85 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0334967 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1427-4206
! 
! 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 6888 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 = 1024x1024 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 2160 telescope corrections were flagged in sub-array 1.
!  A total of 1020 telescope corrections were flagged in sub-array 2.
!  A total of 801 telescope corrections were flagged in sub-array 3.
!  A total of 1329 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 2160 telescope corrections were flagged in sub-array 1.
!  A total of 1020 telescope corrections were flagged in sub-array 2.
!  A total of 801 telescope corrections were flagged in sub-array 3.
!  A total of 1329 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 2160 telescope corrections were flagged in sub-array 1.
!  A total of 1020 telescope corrections were flagged in sub-array 2.
!  A total of 801 telescope corrections were flagged in sub-array 3.
!  A total of 1329 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 2160 telescope corrections were flagged in sub-array 1.
!  A total of 1020 telescope corrections were flagged in sub-array 2.
!  A total of 801 telescope corrections were flagged in sub-array 3.
!  A total of 1329 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.668817Jy  sigma=0.005808
! Fit after  self-cal, rms=0.442554Jy  sigma=0.004183
! 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.391 mas, bmaj=8.009 mas, bpa=1.788 degrees
! Estimated noise=1425.21 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.58031 Jy
! Component: 100  -  total flux cleaned = 0.774935 Jy
! Total flux subtracted in 100 components = 0.774935 Jy
! Clean residual min=-0.049751 max=0.108094 Jy/beam
! Clean residual mean=-0.000626 rms=0.017622 Jy/beam
! Combined flux in latest and established models = 0.774935 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 0.774935 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.446755Jy  sigma=0.004133
! Fit after  self-cal, rms=0.446594Jy  sigma=0.004130
! Inverting map 
! Added new window around map position (-2, -9).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.127248 Jy
! Component: 100  -  total flux cleaned = 0.215156 Jy
! Total flux subtracted in 100 components = 0.215156 Jy
! Clean residual min=-0.039260 max=0.080232 Jy/beam
! Clean residual mean=-0.000474 rms=0.013164 Jy/beam
! Combined flux in latest and established models = 0.990091 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 55 components and 0.990091 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.355266Jy  sigma=0.003232
! Fit after  self-cal, rms=0.355191Jy  sigma=0.003219
! Inverting map 
! Added new window around map position (19, 18).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0843963 Jy
! Component: 100  -  total flux cleaned = 0.145769 Jy
! Total flux subtracted in 100 components = 0.145769 Jy
! Clean residual min=-0.038685 max=0.062452 Jy/beam
! Clean residual mean=-0.000391 rms=0.010785 Jy/beam
! Combined flux in latest and established models = 1.13586 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 88 components and 1.13586 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.308187Jy  sigma=0.002753
! Fit after  self-cal, rms=0.307197Jy  sigma=0.002739
! 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.058 mas, bmaj=9.669 mas, bpa=-4.968 degrees
! Estimated noise=967.393 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.116631 Jy
! Component: 100  -  total flux cleaned = 0.195137 Jy
! Component: 150  -  total flux cleaned = 0.249645 Jy
! Component: 200  -  total flux cleaned = 0.28768 Jy
! Total flux subtracted in 200 components = 0.28768 Jy
! Clean residual min=-0.033639 max=0.060144 Jy/beam
! Clean residual mean=-0.000768 rms=0.010264 Jy/beam
! Combined flux in latest and established models = 1.42354 Jy
! Performing phase self-cal
! Adding 57 model components to the UV plane model.
! The established model now contains 122 components and 1.42354 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.250650Jy  sigma=0.002148
! Fit after  self-cal, rms=0.248156Jy  sigma=0.002122
! Inverting map 
! Added new window around map position (7.5, 18).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0553981 Jy
! Component: 100  -  total flux cleaned = 0.0837045 Jy
! Component: 150  -  total flux cleaned = 0.102156 Jy
! Component: 200  -  total flux cleaned = 0.106787 Jy
! Total flux subtracted in 200 components = 0.106787 Jy
! Clean residual min=-0.028892 max=0.033154 Jy/beam
! Clean residual mean=-0.000463 rms=0.007332 Jy/beam
! Combined flux in latest and established models = 1.53033 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 158 components and 1.53033 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.235056Jy  sigma=0.001996
! Fit after  self-cal, rms=0.232854Jy  sigma=0.001975
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   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 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00     GG        1.00*    HN        1.00*    
!   KK        1.00     KP        0.91     LA        0.98     MA        1.00*    
!   MK        1.02     NL        1.33     ON        1.00*    OV        0.95     
!   PT        1.01     SC        0.94     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.99     GG        1.00*    HN        1.00*    
!   KK        1.02     KP        0.96     LA        0.94     MA        1.00*    
!   MK        0.96     NL        1.00*    ON        1.00*    OV        1.25     
!   PT        0.94     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 126 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.98     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.06     LA        1.06     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.11     SC        0.78     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   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 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.01     GG        1.00*    HN        1.00*    
!   KK        0.99     KP        1.05     LA        0.98     MA        1.00*    
!   MK        1.06     NL        1.31     ON        1.00*    OV        1.02     
!   PT        1.00     SC        0.97     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.98     GG        1.00*    HN        1.00*    
!   KK        1.10     KP        1.03     LA        0.92     MA        1.00*    
!   MK        1.01     NL        1.00*    ON        1.00*    OV        1.27     
!   PT        0.96     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 126 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.04     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.17     LA        1.03     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.06     SC        0.83     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   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 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.01     GG        1.00*    HN        1.00*    
!   KK        0.95     KP        1.03     LA        0.95     MA        1.00*    
!   MK        0.99     NL        1.21     ON        1.00*    OV        0.97     
!   PT        1.02     SC        1.06     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.02     KP        1.00     LA        0.94     MA        1.00*    
!   MK        0.96     NL        1.00*    ON        1.00*    OV        1.13     
!   PT        0.99     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 126 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.14     LA        1.01     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.08     SC        1.01     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GG        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MA        0.00*    
!   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 12 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00     GG        1.00*    HN        1.00*    
!   KK        0.90     KP        1.05     LA        0.98     MA        1.00*    
!   MK        0.95     NL        1.28     ON        1.00*    OV        0.88     
!   PT        1.06     SC        1.07     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.99     GG        1.00*    HN        1.00*    
!   KK        1.08     KP        1.00     LA        0.94     MA        1.00*    
!   MK        0.92     NL        1.00*    ON        1.00*    OV        0.91     
!   PT        1.02     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 126 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.14     LA        1.03     MA        1.00*    
!   MK        1.00*    NL        1.00*    ON        1.00*    OV        1.00*    
!   PT        1.14     SC        1.02     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.232854Jy  sigma=0.001975
! Fit after  self-cal, rms=0.226335Jy  sigma=0.001833
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.261 mas, bmaj=15.25 mas, bpa=-13.15 degrees
! Estimated noise=1048.61 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.0143755 Jy
! Component: 100  -  total flux cleaned = 0.0187792 Jy
! Component: 150  -  total flux cleaned = 0.0200616 Jy
! Component: 200  -  total flux cleaned = 0.0203368 Jy
! Total flux subtracted in 200 components = 0.0203368 Jy
! Clean residual min=-0.014792 max=0.019728 Jy/beam
! Clean residual mean=0.000112 rms=0.004685 Jy/beam
! Combined flux in latest and established models = 1.55066 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 175 components and 1.55066 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224462Jy  sigma=0.001818
! Fit after  self-cal, rms=0.224208Jy  sigma=0.001814
! 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.224208Jy  sigma=0.001814
! Fit after  self-cal, rms=0.221646Jy  sigma=0.001797
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.257 mas, bmaj=15.22 mas, bpa=-13.12 degrees
! Estimated noise=1045.77 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00692473 Jy
! Component: 100  -  total flux cleaned = 0.00943929 Jy
! Component: 150  -  total flux cleaned = 0.0106537 Jy
! Component: 200  -  total flux cleaned = 0.0108609 Jy
! Total flux subtracted in 200 components = 0.0108609 Jy
! Clean residual min=-0.013199 max=0.015136 Jy/beam
! Clean residual mean=0.000184 rms=0.003806 Jy/beam
! Combined flux in latest and established models = 1.56152 Jy
selfcal
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 189 components and 1.56152 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.220742Jy  sigma=0.001790
! Fit after  self-cal, rms=0.220459Jy  sigma=0.001788
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.000542458 Jy
! Component: 100  -  total flux cleaned = 0.00123705 Jy
! Component: 150  -  total flux cleaned = 0.00143108 Jy
! Component: 200  -  total flux cleaned = 0.00159417 Jy
! Total flux subtracted in 200 components = 0.00159417 Jy
! Clean residual min=-0.012262 max=0.014632 Jy/beam
! Clean residual mean=0.000196 rms=0.003656 Jy/beam
! Combined flux in latest and established models = 1.56312 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 196 components and 1.56312 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.219981Jy  sigma=0.001784
! Fit after  self-cal, rms=0.219776Jy  sigma=0.001784
! 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.219776Jy  sigma=0.001784
! Fit after  self-cal, rms=0.218615Jy  sigma=0.001782
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.259 mas, bmaj=15.2 mas, bpa=-13.09 degrees
! Estimated noise=1044.03 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00237287 Jy
! Component: 100  -  total flux cleaned = 0.00344736 Jy
! Component: 150  -  total flux cleaned = 0.00362092 Jy
! Component: 200  -  total flux cleaned = 0.00377802 Jy
! Total flux subtracted in 200 components = 0.00377802 Jy
! Clean residual min=-0.011494 max=0.013217 Jy/beam
! Clean residual mean=0.000171 rms=0.003439 Jy/beam
! Combined flux in latest and established models = 1.5669 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 202 components and 1.5669 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.218205Jy  sigma=0.001779
! Fit after  self-cal, rms=0.218041Jy  sigma=0.001778
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.000158488 Jy
! Component: 100  -  total flux cleaned = 0.00032317 Jy
! Component: 150  -  total flux cleaned = 0.000481076 Jy
! Component: 200  -  total flux cleaned = 0.000620815 Jy
! Total flux subtracted in 200 components = 0.000620815 Jy
! Clean residual min=-0.010942 max=0.012822 Jy/beam
! Clean residual mean=0.000178 rms=0.003344 Jy/beam
! Combined flux in latest and established models = 1.56752 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 211 components and 1.56752 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.217763Jy  sigma=0.001776
! Fit after  self-cal, rms=0.217652Jy  sigma=0.001776
! 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.217652Jy  sigma=0.001776
! Fit after  self-cal, rms=0.216861Jy  sigma=0.001775
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=11.04 mas, bmaj=40.3 mas, bpa=-4.583 degrees
! Estimated noise=1293.7 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00207363 Jy
! Component: 100  -  total flux cleaned = 0.00286789 Jy
! Component: 150  -  total flux cleaned = 0.00302247 Jy
! Component: 200  -  total flux cleaned = 0.00317235 Jy
! Total flux subtracted in 200 components = 0.00317235 Jy
! Clean residual min=-0.015048 max=0.013351 Jy/beam
! Clean residual mean=0.000274 rms=0.004337 Jy/beam
! Combined flux in latest and established models = 1.57069 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 222 components and 1.57069 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.216748Jy  sigma=0.001774
! Fit after  self-cal, rms=0.216603Jy  sigma=0.001773
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.000131857 Jy
! Component: 100  -  total flux cleaned = 0.000464024 Jy
! Component: 150  -  total flux cleaned = 0.000756024 Jy
! Component: 200  -  total flux cleaned = 0.000891742 Jy
! Total flux subtracted in 200 components = 0.000891742 Jy
! Clean residual min=-0.014506 max=0.012923 Jy/beam
! Clean residual mean=0.000285 rms=0.004243 Jy/beam
! Combined flux in latest and established models = 1.57158 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 232 components and 1.57158 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.216548Jy  sigma=0.001773
! Fit after  self-cal, rms=0.216430Jy  sigma=0.001772
! 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.26 mas, bmaj=15.18 mas, bpa=-13.06 degrees
! Estimated noise=1042.72 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.26 x 15.18 at -13.06 degrees (North through East)
! Clean map  min=-0.01102  max=0.79036 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.216430Jy  sigma=0.001772
! Fit after  self-cal, rms=0.198120Jy  sigma=0.001535
! Inverting map and beam 
! Estimated beam: bmin=3.259 mas, bmaj=15.17 mas, bpa=-13.06 degrees
! Estimated noise=1041.96 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00081678 Jy
! Component: 100  -  total flux cleaned = -0.00137174 Jy
! Component: 150  -  total flux cleaned = -0.00168817 Jy
! Component: 200  -  total flux cleaned = -0.00209402 Jy
! Total flux subtracted in 200 components = -0.00209402 Jy
! Clean residual min=-0.010605 max=0.011928 Jy/beam
! Clean residual mean=0.000124 rms=0.002869 Jy/beam
! Combined flux in latest and established models = 1.56949 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 243 components and 1.56949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197764Jy  sigma=0.001533
! Fit after  self-cal, rms=0.197725Jy  sigma=0.001532
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000324031 Jy
! Component: 100  -  total flux cleaned = -0.000702742 Jy
! Component: 150  -  total flux cleaned = -0.000818336 Jy
! Component: 200  -  total flux cleaned = -0.00101721 Jy
! Total flux subtracted in 200 components = -0.00101721 Jy
! Clean residual min=-0.010197 max=0.011962 Jy/beam
! Clean residual mean=0.000123 rms=0.002828 Jy/beam
! Combined flux in latest and established models = 1.56847 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 257 components and 1.56847 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.197553Jy  sigma=0.001531
! Fit after  self-cal, rms=0.197505Jy  sigma=0.001531
! Inverting map 
! Added new window around map position (28, 15.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00932384 Jy
! Component: 100  -  total flux cleaned = 0.00910442 Jy
! Component: 150  -  total flux cleaned = 0.00929806 Jy
! Component: 200  -  total flux cleaned = 0.00965481 Jy
! Total flux subtracted in 200 components = 0.00965481 Jy
! Clean residual min=-0.009392 max=0.010793 Jy/beam
! Clean residual mean=0.000120 rms=0.002597 Jy/beam
! Combined flux in latest and established models = 1.57812 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 293 components and 1.57812 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.196746Jy  sigma=0.001525
! Fit after  self-cal, rms=0.196657Jy  sigma=0.001525
! 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.196657Jy  sigma=0.001525
! Fit after  self-cal, rms=0.195593Jy  sigma=0.001524
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.619 mas, bmaj=11.57 mas, bpa=-8.411 degrees
! Estimated noise=1644.65 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.606719 Jy
! Component: 100  -  total flux cleaned = 0.805887 Jy
! Component: 150  -  total flux cleaned = 0.932754 Jy
! Component: 200  -  total flux cleaned = 1.02737 Jy
! Total flux subtracted in 200 components = 1.02737 Jy
! Clean residual min=-0.033160 max=0.065558 Jy/beam
! Clean residual mean=-0.000488 rms=0.011847 Jy/beam
! Combined flux in latest and established models = 1.02737 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 57 model components to the UV plane model.
! The established model now contains 57 components and 1.02737 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.257 mas, bmaj=15.15 mas, bpa=-13.06 degrees
! Estimated noise=1039.66 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)
! Added new window around map position (13, 19.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.170278 Jy
! Component: 100  -  total flux cleaned = 0.279911 Jy
! Component: 150  -  total flux cleaned = 0.355747 Jy
! Component: 200  -  total flux cleaned = 0.409205 Jy
! Total flux subtracted in 200 components = 0.409205 Jy
! Clean residual min=-0.019660 max=0.030383 Jy/beam
! Clean residual mean=-0.000292 rms=0.007499 Jy/beam
! Combined flux in latest and established models = 1.43657 Jy
! Adding 132 model components to the UV plane model.
! The established model now contains 176 components and 1.43657 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=11.03 mas, bmaj=40.24 mas, bpa=-4.597 degrees
! Estimated noise=1290.9 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.056821 Jy
! Component: 100  -  total flux cleaned = 0.0898238 Jy
! Component: 150  -  total flux cleaned = 0.10991 Jy
! Component: 200  -  total flux cleaned = 0.12256 Jy
! Total flux subtracted in 200 components = 0.12256 Jy
! Clean residual min=-0.012543 max=0.012343 Jy/beam
! Clean residual mean=0.000076 rms=0.003720 Jy/beam
! Combined flux in latest and established models = 1.55913 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.00814148 Jy
! Component: 100  -  total flux cleaned = 0.0104874 Jy
! Component: 150  -  total flux cleaned = 0.0117827 Jy
! Component: 200  -  total flux cleaned = 0.0128447 Jy
! Total flux subtracted in 200 components = 0.0128447 Jy
! Clean residual min=-0.010353 max=0.010154 Jy/beam
! Clean residual mean=0.000147 rms=0.003310 Jy/beam
! Combined flux in latest and established models = 1.57198 Jy
! Adding 99 model components to the UV plane model.
! The established model now contains 270 components and 1.57198 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.257 mas, bmaj=15.15 mas, bpa=-13.06 degrees
! Estimated noise=1039.66 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00184133 Jy
! Component: 100  -  total flux cleaned = 0.00182947 Jy
! Component: 150  -  total flux cleaned = 0.00204328 Jy
! Component: 200  -  total flux cleaned = 0.00204447 Jy
! Total flux subtracted in 200 components = 0.00204447 Jy
! Clean residual min=-0.010272 max=0.011404 Jy/beam
! Clean residual mean=0.000092 rms=0.002594 Jy/beam
! Combined flux in latest and established models = 1.57402 Jy
selfcal
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 289 components and 1.57402 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.194856Jy  sigma=0.001524
! Fit after  self-cal, rms=0.194439Jy  sigma=0.001519
wmodel J1427-4206_S_2003_06_18_pus_map.mod
! Writing 289 model components to file: J1427-4206_S_2003_06_18_pus_map.mod
wobs J1427-4206_S_2003_06_18_pus_uvs.fits
! Writing UV FITS file: J1427-4206_S_2003_06_18_pus_uvs.fits
wwins J1427-4206_S_2003_06_18_pus_map.win
! wwins: Wrote 6 windows to J1427-4206_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=4096  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000286444 Jy
! Component: 100  -  total flux cleaned = 0.00122493 Jy
! Component: 150  -  total flux cleaned = 0.00108986 Jy
! Component: 200  -  total flux cleaned = 0.000551019 Jy
! Component: 250  -  total flux cleaned = 3.76573e-05 Jy
! Component: 300  -  total flux cleaned = -8.0268e-05 Jy
! Component: 350  -  total flux cleaned = -0.000197843 Jy
! Component: 400  -  total flux cleaned = 0.000253194 Jy
! Component: 450  -  total flux cleaned = 0.000584963 Jy
! Component: 500  -  total flux cleaned = 0.00155536 Jy
! Component: 550  -  total flux cleaned = 0.00218505 Jy
! Component: 600  -  total flux cleaned = 0.00300308 Jy
! Component: 650  -  total flux cleaned = 0.00340174 Jy
! Component: 700  -  total flux cleaned = 0.00418013 Jy
! Component: 750  -  total flux cleaned = 0.00446765 Jy
! Component: 800  -  total flux cleaned = 0.00530708 Jy
! Component: 850  -  total flux cleaned = 0.00567239 Jy
! Component: 900  -  total flux cleaned = 0.00620689 Jy
! Component: 950  -  total flux cleaned = 0.00655615 Jy
! Component: 1000  -  total flux cleaned = 0.00698434 Jy
! Component: 1050  -  total flux cleaned = 0.00731912 Jy
! Component: 1100  -  total flux cleaned = 0.0077307 Jy
! Component: 1150  -  total flux cleaned = 0.00789388 Jy
! Component: 1200  -  total flux cleaned = 0.00821125 Jy
! Component: 1250  -  total flux cleaned = 0.00821146 Jy
! Component: 1300  -  total flux cleaned = 0.00782964 Jy
! Component: 1350  -  total flux cleaned = 0.00798057 Jy
! Component: 1400  -  total flux cleaned = 0.00775754 Jy
! Component: 1450  -  total flux cleaned = 0.0080513 Jy
! Component: 1500  -  total flux cleaned = 0.00761678 Jy
! Component: 1550  -  total flux cleaned = 0.00726053 Jy
! Component: 1600  -  total flux cleaned = 0.00690996 Jy
! Component: 1650  -  total flux cleaned = 0.00642543 Jy
! Component: 1700  -  total flux cleaned = 0.00608545 Jy
! Component: 1750  -  total flux cleaned = 0.00561435 Jy
! Component: 1800  -  total flux cleaned = 0.00515022 Jy
! Component: 1850  -  total flux cleaned = 0.00475924 Jy
! Component: 1900  -  total flux cleaned = 0.00463079 Jy
! Component: 1950  -  total flux cleaned = 0.00418458 Jy
! Component: 2000  -  total flux cleaned = 0.00412084 Jy
! Component: 2050  -  total flux cleaned = 0.00368434 Jy
! Component: 2100  -  total flux cleaned = 0.00343916 Jy
! Component: 2150  -  total flux cleaned = 0.00319656 Jy
! Component: 2200  -  total flux cleaned = 0.00313631 Jy
! Component: 2250  -  total flux cleaned = 0.00289881 Jy
! Component: 2300  -  total flux cleaned = 0.00284079 Jy
! Component: 2350  -  total flux cleaned = 0.00260734 Jy
! Component: 2400  -  total flux cleaned = 0.00266523 Jy
! Component: 2450  -  total flux cleaned = 0.00260862 Jy
! Component: 2500  -  total flux cleaned = 0.00260837 Jy
! Component: 2550  -  total flux cleaned = 0.00249679 Jy
! Component: 2600  -  total flux cleaned = 0.00249703 Jy
! Component: 2650  -  total flux cleaned = 0.00249629 Jy
! Component: 2700  -  total flux cleaned = 0.00238749 Jy
! Component: 2750  -  total flux cleaned = 0.00233305 Jy
! Component: 2800  -  total flux cleaned = 0.00217333 Jy
! Component: 2850  -  total flux cleaned = 0.00233049 Jy
! Component: 2900  -  total flux cleaned = 0.00206968 Jy
! Component: 2950  -  total flux cleaned = 0.00201831 Jy
! Component: 3000  -  total flux cleaned = 0.00206992 Jy
! Component: 3050  -  total flux cleaned = 0.00222176 Jy
! Component: 3100  -  total flux cleaned = 0.00207141 Jy
! Component: 3150  -  total flux cleaned = 0.00231975 Jy
! Component: 3200  -  total flux cleaned = 0.00212267 Jy
! Component: 3250  -  total flux cleaned = 0.00226992 Jy
! Component: 3300  -  total flux cleaned = 0.00236677 Jy
! Component: 3350  -  total flux cleaned = 0.00241525 Jy
! Component: 3400  -  total flux cleaned = 0.00241539 Jy
! Component: 3450  -  total flux cleaned = 0.00250969 Jy
! Component: 3500  -  total flux cleaned = 0.00260377 Jy
! Component: 3550  -  total flux cleaned = 0.00269685 Jy
! Component: 3600  -  total flux cleaned = 0.00274307 Jy
! Component: 3650  -  total flux cleaned = 0.00274242 Jy
! Component: 3700  -  total flux cleaned = 0.00283343 Jy
! Component: 3750  -  total flux cleaned = 0.00292293 Jy
! Component: 3800  -  total flux cleaned = 0.00292314 Jy
! Component: 3850  -  total flux cleaned = 0.0029678 Jy
! Component: 3900  -  total flux cleaned = 0.00288011 Jy
! Component: 3950  -  total flux cleaned = 0.00314304 Jy
! Component: 4000  -  total flux cleaned = 0.00301222 Jy
! Component: 4050  -  total flux cleaned = 0.0031847 Jy
! Total flux subtracted in 4096 components = 0.00331291 Jy
! Clean residual min=-0.002381 max=0.002383 Jy/beam
! Clean residual mean=0.000047 rms=0.000855 Jy/beam
! Combined flux in latest and established models = 1.57734 Jy
keep
! Adding 295 model components to the UV plane model.
! The established model now contains 584 components and 1.57734 Jy
wmap "J1427-4206_S_2003_06_18_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.257 x 15.15 at -13.06 degrees (North through East)
! Clean map  min=-0.0076357  max=0.80062 Jy/beam
! Writing clean map to FITS file: J1427-4206_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.800618 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000852694 
device "J1427-4206_S_2003_06_18_pus\_map.eps/VPS"
! Attempting to open device: 'J1427-4206_S_2003_06_18_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.319513 0.319513 0.639027 1.27805 2.55611 5.11221 10.2244 20.4489 40.8977 81.7954
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0025 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.8 
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.257 x 15.15 at -13.06 degrees (North through East)
! Clean map  min=-0.0076357  max=0.80062 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1427-4206_S_2003_06_18_pus\_map.gif/vgif"
! Attempting to open device: 'J1427-4206_S_2003_06_18_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1427-4206_S_2003_06_18_pus_uvs.log closed on Thu Jan 25 21:05:41 2007