! Started logfile: J1427-4206_X_2003_06_18_pus_uvs.log on Wed Jan 17 17:31:48 2007
obs J1427-4206_X_2003_06_18_pus_uva.fits
! Reading UV FITS file: J1427-4206_X_2003_06_18_pus_uva.fits
! AN table 1: 93 integrations on 153 of 153 possible baselines.
! AN table 2: 136 integrations on 153 of 153 possible baselines.
! AN table 3: 27 integrations on 153 of 153 possible baselines.
! AN table 4: 38 integrations on 153 of 153 possible baselines.
! AN table 5: Unused.
! AN table 6: 42 integrations on 153 of 153 possible baselines.
! AN table 7: Unused.
! AN table 8: Unused.
! AN table 9: Unused.
! Apparent sampling: 0.0666044 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  8.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2231 lines of history.
! 
! Reading 13696 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
float field_size
field_size = 256
float field_cell
field_cell = 0.2
float taper_size
taper_size = 70.
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 = 256x256 pixels with 0.200x0.200 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 1395 telescope corrections were flagged in sub-array 1.
!  A total of 2412 telescope corrections were flagged in sub-array 2.
!  A total of 346 telescope corrections were flagged in sub-array 3.
!  A total of 600 telescope corrections were flagged in sub-array 4.
!  A total of 557 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 1395 telescope corrections were flagged in sub-array 1.
!  A total of 2412 telescope corrections were flagged in sub-array 2.
!  A total of 346 telescope corrections were flagged in sub-array 3.
!  A total of 600 telescope corrections were flagged in sub-array 4.
!  A total of 557 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 1395 telescope corrections were flagged in sub-array 1.
!  A total of 2412 telescope corrections were flagged in sub-array 2.
!  A total of 346 telescope corrections were flagged in sub-array 3.
!  A total of 600 telescope corrections were flagged in sub-array 4.
!  A total of 557 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 1395 telescope corrections were flagged in sub-array 1.
!  A total of 2412 telescope corrections were flagged in sub-array 2.
!  A total of 346 telescope corrections were flagged in sub-array 3.
!  A total of 600 telescope corrections were flagged in sub-array 4.
!  A total of 557 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=1.402682Jy  sigma=0.015305
! Fit after  self-cal, rms=1.108436Jy  sigma=0.013755
! 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=0.6092 mas, bmaj=2.071 mas, bpa=4.1 degrees
! Estimated noise=1507.78 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 = 1.45281 Jy
! Component: 100  -  total flux cleaned = 1.78451 Jy
! Total flux subtracted in 100 components = 1.78451 Jy
! Clean residual min=-0.116659 max=0.194181 Jy/beam
! Clean residual mean=0.003833 rms=0.035681 Jy/beam
! Combined flux in latest and established models = 1.78451 Jy
! Performing phase self-cal
! Adding 3 model components to the UV plane model.
! The established model now contains 3 components and 1.78451 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.447267Jy  sigma=0.005528
! Fit after  self-cal, rms=0.447249Jy  sigma=0.005528
! 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=0.8664 mas, bmaj=2.784 mas, bpa=-6.774 degrees
! Estimated noise=749.716 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.243045 Jy
! Component: 100  -  total flux cleaned = 0.326496 Jy
! Component: 150  -  total flux cleaned = 0.35922 Jy
! Component: 200  -  total flux cleaned = 0.369192 Jy
! Total flux subtracted in 200 components = 0.369192 Jy
! Clean residual min=-0.065012 max=0.103434 Jy/beam
! Clean residual mean=0.001570 rms=0.026304 Jy/beam
! Combined flux in latest and established models = 2.1537 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 2.1537 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.329357Jy  sigma=0.003834
! Fit after  self-cal, rms=0.329313Jy  sigma=0.003834
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.93     GG        1.00*    HN        1.00*    
!   KK        1.09     KP        0.98     LA        1.00     MA        1.00*    
!   MK        0.96     NL        1.00*    ON        1.00*    OV        1.00     
!   PT        0.96     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  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*    
! 
!  A total of 6 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        0.98     KP        0.99     LA        1.00     MA        1.00*    
!   MK        0.92     NL        1.00*    ON        1.00*    OV        0.99     
!   PT        0.97     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.95     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.07     LA        1.00     MA        1.00*    
!   MK        1.00*    NL        1.93     ON        1.00*    OV        1.03     
!   PT        1.05     SC        0.95     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.91     GG        1.00*    HN        1.00*    
!   KK        1.09     KP        0.93     LA        1.00     MA        1.00*    
!   MK        0.98     NL        1.00*    ON        1.00*    OV        0.99     
!   PT        0.99     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  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*    
! 
!  A total of 6 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        0.96     KP        0.94     LA        1.00     MA        1.00*    
!   MK        0.94     NL        1.00*    ON        1.00*    OV        0.99     
!   PT        1.02     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.94     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.02     LA        1.01     MA        1.00*    
!   MK        1.00*    NL        1.88     ON        1.00*    OV        1.02     
!   PT        1.09     SC        0.94     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.90     GG        1.00*    HN        1.00*    
!   KK        1.15     KP        0.96     LA        1.00     MA        1.00*    
!   MK        0.98     NL        1.00*    ON        1.00*    OV        1.01     
!   PT        1.02     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  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*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.94     GG        1.00*    HN        1.00*    
!   KK        1.03     KP        0.98     LA        1.00     MA        1.00*    
!   MK        0.92     NL        1.00*    ON        1.00*    OV        1.02     
!   PT        1.03     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.92     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.05     LA        1.00     MA        1.00*    
!   MK        1.00*    NL        1.84     ON        1.00*    OV        1.05     
!   PT        1.11     SC        0.94     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.88     GG        1.00*    HN        1.00*    
!   KK        1.11     KP        0.93     LA        0.97     MA        1.00*    
!   MK        1.01     NL        1.00*    ON        1.00*    OV        1.01     
!   PT        1.02     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  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*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.92     GG        1.00*    HN        1.00*    
!   KK        0.96     KP        0.94     LA        0.98     MA        1.00*    
!   MK        0.95     NL        1.00*    ON        1.00*    OV        1.00     
!   PT        1.05     SC        1.00*    TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 84 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.91     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.00     LA        0.98     MA        1.00*    
!   MK        1.00*    NL        1.85     ON        1.00*    OV        1.04     
!   PT        1.12     SC        0.99     TC        1.00*    TS        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.329313Jy  sigma=0.003834
! Fit after  self-cal, rms=0.191062Jy  sigma=0.002039
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9167 mas, bmaj=4.309 mas, bpa=-13.67 degrees
! Estimated noise=781.776 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.00392402 Jy
! Component: 100  -  total flux cleaned = -0.00453541 Jy
! Component: 150  -  total flux cleaned = -0.00423834 Jy
! Component: 200  -  total flux cleaned = -0.00422085 Jy
! Total flux subtracted in 200 components = -0.00422085 Jy
! Clean residual min=-0.024403 max=0.036374 Jy/beam
! Clean residual mean=0.000662 rms=0.008699 Jy/beam
! Combined flux in latest and established models = 2.14948 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 16 components and 2.14948 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.189821Jy  sigma=0.002031
! Fit after  self-cal, rms=0.190011Jy  sigma=0.002030
! 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.190011Jy  sigma=0.002030
! Fit after  self-cal, rms=0.181373Jy  sigma=0.001929
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9165 mas, bmaj=4.304 mas, bpa=-13.67 degrees
! Estimated noise=780.717 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00208878 Jy
! Component: 100  -  total flux cleaned = -0.00228856 Jy
! Component: 150  -  total flux cleaned = -0.00229047 Jy
! Component: 200  -  total flux cleaned = -0.00228474 Jy
! Total flux subtracted in 200 components = -0.00228474 Jy
! Clean residual min=-0.020913 max=0.031690 Jy/beam
! Clean residual mean=0.000234 rms=0.007759 Jy/beam
! Combined flux in latest and established models = 2.1472 Jy
selfcal
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 17 components and 2.1472 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.180766Jy  sigma=0.001924
! Fit after  self-cal, rms=0.180755Jy  sigma=0.001924
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.000189073 Jy
! Component: 100  -  total flux cleaned = 0.000184495 Jy
! Component: 150  -  total flux cleaned = 0.000186726 Jy
! Component: 200  -  total flux cleaned = 0.000192336 Jy
! Total flux subtracted in 200 components = 0.000192336 Jy
! Clean residual min=-0.020686 max=0.031502 Jy/beam
! Clean residual mean=0.000227 rms=0.007720 Jy/beam
! Combined flux in latest and established models = 2.14739 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 19 components and 2.14739 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.180370Jy  sigma=0.001921
! Fit after  self-cal, rms=0.180356Jy  sigma=0.001921
! 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.180356Jy  sigma=0.001921
! Fit after  self-cal, rms=0.170881Jy  sigma=0.001831
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=0.9161 mas, bmaj=4.278 mas, bpa=-13.63 degrees
! Estimated noise=780.163 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00116789 Jy
! Component: 100  -  total flux cleaned = -0.00118163 Jy
! Component: 150  -  total flux cleaned = -0.0011831 Jy
! Component: 200  -  total flux cleaned = -0.00118022 Jy
! Total flux subtracted in 200 components = -0.00118022 Jy
! Clean residual min=-0.013637 max=0.029257 Jy/beam
! Clean residual mean=0.000747 rms=0.006888 Jy/beam
! Combined flux in latest and established models = 2.14621 Jy
selfcal
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 22 components and 2.14621 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170694Jy  sigma=0.001829
! Fit after  self-cal, rms=0.170691Jy  sigma=0.001829
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.000168505 Jy
! Component: 100  -  total flux cleaned = 5.83535e-05 Jy
! Component: 150  -  total flux cleaned = 0.000161089 Jy
! Component: 200  -  total flux cleaned = 0.000167127 Jy
! Total flux subtracted in 200 components = 0.000167127 Jy
! Clean residual min=-0.013485 max=0.029078 Jy/beam
! Clean residual mean=0.000741 rms=0.006854 Jy/beam
! Combined flux in latest and established models = 2.14638 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 23 components and 2.14638 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.170565Jy  sigma=0.001828
! Fit after  self-cal, rms=0.170538Jy  sigma=0.001828
! Inverting map 
! Added new window around map position (2.6, -0.6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.02551 Jy
! Component: 100  -  total flux cleaned = 0.0306006 Jy
! Component: 150  -  total flux cleaned = 0.0301153 Jy
! Component: 200  -  total flux cleaned = 0.0305112 Jy
! Total flux subtracted in 200 components = 0.0305112 Jy
! Clean residual min=-0.011054 max=0.009396 Jy/beam
! Clean residual mean=-0.000308 rms=0.003391 Jy/beam
! Combined flux in latest and established models = 2.17689 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 41 components and 2.17689 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.166960Jy  sigma=0.001780
! Fit after  self-cal, rms=0.166442Jy  sigma=0.001774
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 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.166442Jy  sigma=0.001774
! Fit after  self-cal, rms=0.165297Jy  sigma=0.001768
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.357 mas, bmaj=12.21 mas, bpa=-2.878 degrees
! Estimated noise=916.465 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0103814 Jy
! Component: 100  -  total flux cleaned = 0.0109867 Jy
! Component: 150  -  total flux cleaned = 0.0108888 Jy
! Component: 200  -  total flux cleaned = 0.0108183 Jy
! Total flux subtracted in 200 components = 0.0108183 Jy
! Clean residual min=-0.007752 max=0.008359 Jy/beam
! Clean residual mean=-0.000082 rms=0.003687 Jy/beam
! Combined flux in latest and established models = 2.18771 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 56 components and 2.18771 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.164816Jy  sigma=0.001762
! Fit after  self-cal, rms=0.164665Jy  sigma=0.001760
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.00238724 Jy
! Component: 100  -  total flux cleaned = 0.00220894 Jy
! Component: 150  -  total flux cleaned = 0.0020807 Jy
! Component: 200  -  total flux cleaned = 0.00185697 Jy
! Total flux subtracted in 200 components = 0.00185697 Jy
! Clean residual min=-0.008144 max=0.008668 Jy/beam
! Clean residual mean=-0.000189 rms=0.003957 Jy/beam
! Combined flux in latest and established models = 2.18956 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 64 components and 2.18956 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.164449Jy  sigma=0.001759
! Fit after  self-cal, rms=0.164407Jy  sigma=0.001759
! 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=0.9153 mas, bmaj=4.269 mas, bpa=-13.66 degrees
! Estimated noise=779.28 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9153 x 4.269 at -13.66 degrees (North through East)
! Clean map  min=-0.0084797  max=2.0284 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.164407Jy  sigma=0.001759
! Fit after  self-cal, rms=0.137887Jy  sigma=0.001432
! Inverting map and beam 
! Estimated beam: bmin=0.9151 mas, bmaj=4.269 mas, bpa=-13.68 degrees
! Estimated noise=778.057 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00102004 Jy
! Component: 100  -  total flux cleaned = 0.00118013 Jy
! Component: 150  -  total flux cleaned = 0.000839445 Jy
! Component: 200  -  total flux cleaned = 0.000430286 Jy
! Total flux subtracted in 200 components = 0.000430286 Jy
! Clean residual min=-0.008246 max=0.008101 Jy/beam
! Clean residual mean=0.000476 rms=0.002714 Jy/beam
! Combined flux in latest and established models = 2.18999 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 74 components and 2.18999 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.137504Jy  sigma=0.001428
! Fit after  self-cal, rms=0.137466Jy  sigma=0.001428
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00115656 Jy
! Component: 100  -  total flux cleaned = 0.000886478 Jy
! Component: 150  -  total flux cleaned = 0.000551568 Jy
! Component: 200  -  total flux cleaned = 0.00024426 Jy
! Total flux subtracted in 200 components = 0.00024426 Jy
! Clean residual min=-0.008298 max=0.008194 Jy/beam
! Clean residual mean=0.000471 rms=0.002762 Jy/beam
! Combined flux in latest and established models = 2.19024 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 79 components and 2.19024 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.137303Jy  sigma=0.001427
! Fit after  self-cal, rms=0.137293Jy  sigma=0.001427
! 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.137293Jy  sigma=0.001427
! Fit after  self-cal, rms=0.136864Jy  sigma=0.001425
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=0.6936 mas, bmaj=2.949 mas, bpa=-7.813 degrees
! Estimated noise=1755.89 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.56958 Jy
! Component: 100  -  total flux cleaned = 1.9119 Jy
! Component: 150  -  total flux cleaned = 1.99945 Jy
! Component: 200  -  total flux cleaned = 2.04916 Jy
! Total flux subtracted in 200 components = 2.04916 Jy
! Clean residual min=-0.016864 max=0.031984 Jy/beam
! Clean residual mean=0.001377 rms=0.006774 Jy/beam
! Combined flux in latest and established models = 2.04916 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 23 model components to the UV plane model.
! The established model now contains 23 components and 2.04916 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9153 mas, bmaj=4.264 mas, bpa=-13.68 degrees
! Estimated noise=777.709 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.0618309 Jy
! Component: 100  -  total flux cleaned = 0.0923777 Jy
! Component: 150  -  total flux cleaned = 0.10998 Jy
! Component: 200  -  total flux cleaned = 0.121006 Jy
! Total flux subtracted in 200 components = 0.121006 Jy
! Clean residual min=-0.008773 max=0.009894 Jy/beam
! Clean residual mean=0.001104 rms=0.003267 Jy/beam
! Combined flux in latest and established models = 2.17016 Jy
! Adding 54 model components to the UV plane model.
! The established model now contains 69 components and 2.17016 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.351 mas, bmaj=12.19 mas, bpa=-2.875 degrees
! Estimated noise=915.053 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0102243 Jy
! Component: 100  -  total flux cleaned = 0.015387 Jy
! Component: 150  -  total flux cleaned = 0.0167742 Jy
! Component: 200  -  total flux cleaned = 0.0172714 Jy
! Total flux subtracted in 200 components = 0.0172714 Jy
! Clean residual min=-0.006233 max=0.009753 Jy/beam
! Clean residual mean=0.000863 rms=0.003500 Jy/beam
! Combined flux in latest and established models = 2.18743 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.000264554 Jy
! Component: 100  -  total flux cleaned = 0.000348906 Jy
! Component: 150  -  total flux cleaned = 0.000431319 Jy
! Component: 200  -  total flux cleaned = 0.000580928 Jy
! Total flux subtracted in 200 components = 0.000580928 Jy
! Clean residual min=-0.006453 max=0.009932 Jy/beam
! Clean residual mean=0.000817 rms=0.003470 Jy/beam
! Combined flux in latest and established models = 2.18801 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 100 components and 2.18801 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9153 mas, bmaj=4.264 mas, bpa=-13.68 degrees
! Estimated noise=777.709 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000546348 Jy
! Component: 100  -  total flux cleaned = -0.000314505 Jy
! Component: 150  -  total flux cleaned = -0.000109303 Jy
! Component: 200  -  total flux cleaned = -0.000111055 Jy
! Total flux subtracted in 200 components = -0.000111055 Jy
! Clean residual min=-0.007098 max=0.007654 Jy/beam
! Clean residual mean=0.000506 rms=0.002477 Jy/beam
! Combined flux in latest and established models = 2.1879 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 115 components and 2.1879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.136776Jy  sigma=0.001425
! Fit after  self-cal, rms=0.136502Jy  sigma=0.001422
wmodel J1427-4206_X_2003_06_18_pus_map.mod
! Writing 115 model components to file: J1427-4206_X_2003_06_18_pus_map.mod
wobs J1427-4206_X_2003_06_18_pus_uvs.fits
! Writing UV FITS file: J1427-4206_X_2003_06_18_pus_uvs.fits
wwins J1427-4206_X_2003_06_18_pus_map.win
! wwins: Wrote 2 windows to J1427-4206_X_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=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00061164 Jy
! Component: 100  -  total flux cleaned = 0.000499509 Jy
! Component: 150  -  total flux cleaned = 0.00140355 Jy
! Component: 200  -  total flux cleaned = 0.00189395 Jy
! Component: 250  -  total flux cleaned = 0.00243137 Jy
! Component: 300  -  total flux cleaned = 0.0030857 Jy
! Component: 350  -  total flux cleaned = 0.00350251 Jy
! Component: 400  -  total flux cleaned = 0.00376611 Jy
! Component: 450  -  total flux cleaned = 0.00408143 Jy
! Component: 500  -  total flux cleaned = 0.00444729 Jy
! Component: 550  -  total flux cleaned = 0.00485933 Jy
! Component: 600  -  total flux cleaned = 0.00525618 Jy
! Component: 650  -  total flux cleaned = 0.00574994 Jy
! Component: 700  -  total flux cleaned = 0.00617372 Jy
! Component: 750  -  total flux cleaned = 0.00663758 Jy
! Component: 800  -  total flux cleaned = 0.0070884 Jy
! Component: 850  -  total flux cleaned = 0.00757548 Jy
! Component: 900  -  total flux cleaned = 0.0080966 Jy
! Component: 950  -  total flux cleaned = 0.008513 Jy
! Component: 1000  -  total flux cleaned = 0.00887562 Jy
! Total flux subtracted in 1024 components = 0.00909827 Jy
! Clean residual min=-0.002669 max=0.003270 Jy/beam
! Clean residual mean=0.000204 rms=0.001031 Jy/beam
! Combined flux in latest and established models = 2.197 Jy
keep
! Adding 70 model components to the UV plane model.
! The established model now contains 182 components and 2.197 Jy
wmap "J1427-4206_X_2003_06_18_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9153 x 4.264 at -13.68 degrees (North through East)
! Clean map  min=-0.0039269  max=2.0431 Jy/beam
! Writing clean map to FITS file: J1427-4206_X_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 2.04312 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00102 
device "J1427-4206_X_2003_06_18_pus\_map.eps/VPS"
! Attempting to open device: 'J1427-4206_X_2003_06_18_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.149771 0.149771 0.299542 0.599084 1.19817 2.39634 4.79268 9.58535 19.1707 38.3414 76.6828
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.003 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.043 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9153 x 4.264 at -13.68 degrees (North through East)
! Clean map  min=-0.0039269  max=2.0431 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1427-4206_X_2003_06_18_pus\_map.gif/vgif"
! Attempting to open device: 'J1427-4206_X_2003_06_18_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1427-4206_X_2003_06_18_pus_uvs.log closed on Wed Jan 17 17:32:54 2007