! Started logfile: J1454-3747_S_2003_05_07_pus_uvs.log on Tue Dec 26 14:46:26 2006
obs J1454-3747_S_2003_05_07_pus_uva.fits
! Reading UV FITS file: J1454-3747_S_2003_05_07_pus_uva.fits
! AN table 1: 232 integrations on 171 of 171 possible baselines.
! AN table 2: 144 integrations on 171 of 171 possible baselines.
! AN table 3: 214 integrations on 171 of 171 possible baselines.
! AN table 4: 19 integrations on 171 of 171 possible baselines.
! AN table 5: 120 integrations on 171 of 171 possible baselines.
! Apparent sampling: 0.0470403 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1454-3747
! 
! 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 1680 lines of history.
! 
! Reading 23456 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 = 512
float field_cell
field_cell = 0.5
float taper_size
taper_size = 20.
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 512x512 pixels with 0.500x0.500 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 4036 telescope corrections were flagged in sub-array 1.
!  A total of 1956 telescope corrections were flagged in sub-array 2.
!  A total of 3823 telescope corrections were flagged in sub-array 3.
!  A total of 361 telescope corrections were flagged in sub-array 4.
!  A total of 1584 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 4033 telescope corrections were flagged in sub-array 1.
!  A total of 1957 telescope corrections were flagged in sub-array 2.
!  A total of 3865 telescope corrections were flagged in sub-array 3.
!  A total of 361 telescope corrections were flagged in sub-array 4.
!  A total of 1584 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 4083 telescope corrections were flagged in sub-array 1.
!  A total of 1958 telescope corrections were flagged in sub-array 2.
!  A total of 3754 telescope corrections were flagged in sub-array 3.
!  A total of 361 telescope corrections were flagged in sub-array 4.
!  A total of 1584 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 4083 telescope corrections were flagged in sub-array 1.
!  A total of 1958 telescope corrections were flagged in sub-array 2.
!  A total of 3808 telescope corrections were flagged in sub-array 3.
!  A total of 361 telescope corrections were flagged in sub-array 4.
!  A total of 1584 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=1.156213Jy  sigma=0.006974
! Fit after  self-cal, rms=0.526422Jy  sigma=0.002166
! 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.225 mas, bmaj=3.266 mas, bpa=2.966 degrees
! Estimated noise=2005.36 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.551736 Jy
! Component: 100  -  total flux cleaned = 0.692643 Jy
! Total flux subtracted in 100 components = 0.692643 Jy
! Clean residual min=-0.028718 max=0.067084 Jy/beam
! Clean residual mean=0.000865 rms=0.009117 Jy/beam
! Combined flux in latest and established models = 0.692643 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.692643 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.486009Jy  sigma=0.001979
! Fit after  self-cal, rms=0.486207Jy  sigma=0.001979
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.075854 Jy
! Component: 100  -  total flux cleaned = 0.120311 Jy
! Total flux subtracted in 100 components = 0.120311 Jy
! Clean residual min=-0.024617 max=0.048618 Jy/beam
! Clean residual mean=0.000496 rms=0.006999 Jy/beam
! Combined flux in latest and established models = 0.812954 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 13 components and 0.812954 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.464598Jy  sigma=0.001642
! Fit after  self-cal, rms=0.464708Jy  sigma=0.001642
! Inverting map 
! Added new window around map position (-6.5, -4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0424832 Jy
! Component: 100  -  total flux cleaned = 0.0682138 Jy
! Total flux subtracted in 100 components = 0.0682138 Jy
! Clean residual min=-0.023758 max=0.036588 Jy/beam
! Clean residual mean=0.000274 rms=0.006237 Jy/beam
! Combined flux in latest and established models = 0.881168 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 26 components and 0.881168 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.457975Jy  sigma=0.001529
! Fit after  self-cal, rms=0.457485Jy  sigma=0.001523
! 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.167 mas, bmaj=5.457 mas, bpa=-5.065 degrees
! Estimated noise=786.126 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.0474732 Jy
! Component: 100  -  total flux cleaned = 0.0738745 Jy
! Component: 150  -  total flux cleaned = 0.0891816 Jy
! Component: 200  -  total flux cleaned = 0.0981066 Jy
! Total flux subtracted in 200 components = 0.0981066 Jy
! Clean residual min=-0.017901 max=0.021169 Jy/beam
! Clean residual mean=-0.000129 rms=0.005472 Jy/beam
! Combined flux in latest and established models = 0.979274 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 42 components and 0.979274 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.453567Jy  sigma=0.001450
! Fit after  self-cal, rms=0.453394Jy  sigma=0.001445
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 201 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        0.95     GG        1.00*    HN        1.00*    
!   KK        0.83     KP        1.00*    LA        1.06     MA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.00*    ON        1.00*    
!   OV        1.12     PT        1.10     SC        1.00*    TC        0.95     
!   TS        1.24     WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.96     GG        1.00*    HN        1.00*    
!   KK        1.02     KP        0.97     LA        1.03     MA        1.00*    
!   MC        1.00*    MK        0.92     NL        1.21     ON        1.00*    
!   OV        0.94     PT        1.03     SC        0.89     TC        0.99     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 51 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.96     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        0.99     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.02     SC        0.93     TC        1.04     
!   TS        1.00*    WF        0.99     WZ        1.00*    
! 
!  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*    
!   MC        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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        0.93     KP        0.97     LA        1.03     MA        1.00*    
!   MC        1.00*    MK        0.92     NL        1.03     ON        1.00*    
!   OV        0.93     PT        1.01     SC        0.90     TC        1.08     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 204 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00     GG        1.00*    HN        1.00*    
!   KK        0.93     KP        1.00*    LA        1.04     MA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.00*    ON        1.00*    
!   OV        1.07     PT        1.06     SC        1.00*    TC        0.98     
!   TS        1.23     WF        1.00*    WZ        1.00*    
! 
!  A total of 48 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        1.07     KP        0.98     LA        0.98     MA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.28     ON        1.00*    
!   OV        0.98     PT        1.02     SC        0.91     TC        1.12     
!   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.00*    KP        1.00     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.02     SC        0.93     TC        0.97     
!   TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  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*    
!   MC        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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.01     GG        1.00*    HN        1.00*    
!   KK        0.95     KP        0.97     LA        0.98     MA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.07     ON        1.00*    
!   OV        0.96     PT        1.00     SC        0.96     TC        1.04     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 198 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.00*    KP        1.00*    LA        1.04     MA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.00*    ON        1.00*    
!   OV        1.12     PT        1.09     SC        1.00*    TC        0.96     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.09     KP        0.99     LA        0.99     MA        1.00*    
!   MC        1.00*    MK        0.95     NL        1.30     ON        1.00*    
!   OV        1.01     PT        1.02     SC        1.04     TC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 120 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.96     GG        1.00*    HN        1.00*    
!   KK        1.00*    KP        1.01     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.05     SC        1.10     TC        0.86     
!   TS        1.00*    WF        1.08     WZ        1.00*    
! 
!  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*    
!   MC        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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        0.95     KP        0.99     LA        0.99     MA        1.00*    
!   MC        1.00*    MK        0.93     NL        1.07     ON        1.00*    
!   OV        0.91     PT        1.02     SC        1.11     TC        1.01     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 198 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.00*    KP        1.00*    LA        1.08     MA        1.00*    
!   MC        1.00*    MK        1.05     NL        1.00*    ON        1.00*    
!   OV        1.11     PT        1.05     SC        1.00*    TC        0.94     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 48 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.97     GG        1.00*    HN        1.00*    
!   KK        1.06     KP        0.99     LA        0.99     MA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.23     ON        1.00*    
!   OV        0.93     PT        0.97     SC        1.08     TC        1.04     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 66 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.00*    KP        1.02     LA        1.00*    MA        1.00*    
!   MC        1.00*    MK        1.00*    NL        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.00     SC        1.09     TC        0.94     
!   TS        1.00*    WF        1.05     WZ        1.00*    
! 
!  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*    
!   MC        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 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        0.98     GG        1.00*    HN        1.00*    
!   KK        0.94     KP        0.98     LA        0.99     MA        1.00*    
!   MC        1.00*    MK        0.95     NL        1.02     ON        1.00*    
!   OV        0.83     PT        0.97     SC        1.19     TC        0.92     
!   TS        1.00*    WF        1.00*    WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.453394Jy  sigma=0.001445
! Fit after  self-cal, rms=0.415039Jy  sigma=0.001370
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.204 mas, bmaj=5.893 mas, bpa=-4.867 degrees
! Estimated noise=783.869 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.00213204 Jy
! Component: 100  -  total flux cleaned = -0.00143527 Jy
! Component: 150  -  total flux cleaned = -0.000710866 Jy
! Component: 200  -  total flux cleaned = -0.000324112 Jy
! Total flux subtracted in 200 components = -0.000324112 Jy
! Clean residual min=-0.009977 max=0.016546 Jy/beam
! Clean residual mean=0.000223 rms=0.003537 Jy/beam
! Combined flux in latest and established models = 0.97895 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 51 components and 0.97895 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.414895Jy  sigma=0.001369
! Fit after  self-cal, rms=0.415086Jy  sigma=0.001368
! 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.415086Jy  sigma=0.001368
! Fit after  self-cal, rms=0.415802Jy  sigma=0.001322
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.208 mas, bmaj=5.887 mas, bpa=-4.728 degrees
! Estimated noise=785.111 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00120345 Jy
! Component: 100  -  total flux cleaned = -0.000921185 Jy
! Component: 150  -  total flux cleaned = -0.000204704 Jy
! Component: 200  -  total flux cleaned = -0.000106549 Jy
! Total flux subtracted in 200 components = -0.000106549 Jy
! Clean residual min=-0.007336 max=0.010125 Jy/beam
! Clean residual mean=0.000038 rms=0.002509 Jy/beam
! Combined flux in latest and established models = 0.978844 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 59 components and 0.978844 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.415699Jy  sigma=0.001321
! Fit after  self-cal, rms=0.415823Jy  sigma=0.001320
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.000383054 Jy
! Component: 100  -  total flux cleaned = -1.81444e-05 Jy
! Component: 150  -  total flux cleaned = -1.50131e-05 Jy
! Component: 200  -  total flux cleaned = 6.11693e-05 Jy
! Total flux subtracted in 200 components = 6.11693e-05 Jy
! Clean residual min=-0.007053 max=0.009682 Jy/beam
! Clean residual mean=0.000039 rms=0.002478 Jy/beam
! Combined flux in latest and established models = 0.978905 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 63 components and 0.978905 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.415784Jy  sigma=0.001320
! Fit after  self-cal, rms=0.415770Jy  sigma=0.001320
! 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.415770Jy  sigma=0.001320
! Fit after  self-cal, rms=0.417805Jy  sigma=0.001300
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.204 mas, bmaj=5.894 mas, bpa=-4.674 degrees
! Estimated noise=783.988 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00163787 Jy
! Component: 100  -  total flux cleaned = 0.00190482 Jy
! Component: 150  -  total flux cleaned = 0.00206909 Jy
! Component: 200  -  total flux cleaned = 0.0022145 Jy
! Total flux subtracted in 200 components = 0.0022145 Jy
! Clean residual min=-0.006050 max=0.008985 Jy/beam
! Clean residual mean=0.000152 rms=0.002074 Jy/beam
! Combined flux in latest and established models = 0.981119 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 67 components and 0.981119 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.417775Jy  sigma=0.001299
! Fit after  self-cal, rms=0.417937Jy  sigma=0.001299
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 (-9.5, -17).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.008718 Jy
! Component: 100  -  total flux cleaned = 0.00946134 Jy
! Component: 150  -  total flux cleaned = 0.00973778 Jy
! Component: 200  -  total flux cleaned = 0.00995783 Jy
! Total flux subtracted in 200 components = 0.00995783 Jy
! Clean residual min=-0.005091 max=0.005556 Jy/beam
! Clean residual mean=-0.000044 rms=0.001517 Jy/beam
! Combined flux in latest and established models = 0.991077 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 84 components and 0.991077 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.417726Jy  sigma=0.001296
! Fit after  self-cal, rms=0.417679Jy  sigma=0.001296
! 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.417679Jy  sigma=0.001296
! Fit after  self-cal, rms=0.416167Jy  sigma=0.001295
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=9.198 mas, bmaj=32.06 mas, bpa=-4.858 degrees
! Estimated noise=895.889 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00582425 Jy
! Component: 100  -  total flux cleaned = 0.00682088 Jy
! Component: 150  -  total flux cleaned = 0.00701532 Jy
! Component: 200  -  total flux cleaned = 0.00717338 Jy
! Total flux subtracted in 200 components = 0.00717338 Jy
! Clean residual min=-0.004287 max=0.004236 Jy/beam
! Clean residual mean=-0.000096 rms=0.001560 Jy/beam
! Combined flux in latest and established models = 0.998251 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 98 components and 0.998251 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.416132Jy  sigma=0.001295
! Fit after  self-cal, rms=0.416089Jy  sigma=0.001294
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.00165563 Jy
! Component: 100  -  total flux cleaned = 0.00171412 Jy
! Component: 150  -  total flux cleaned = 0.00171747 Jy
! Component: 200  -  total flux cleaned = 0.0017573 Jy
! Total flux subtracted in 200 components = 0.0017573 Jy
! Clean residual min=-0.004022 max=0.003905 Jy/beam
! Clean residual mean=-0.000153 rms=0.001514 Jy/beam
! Combined flux in latest and established models = 1.00001 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 112 components and 1.00001 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.416087Jy  sigma=0.001294
! Fit after  self-cal, rms=0.416081Jy  sigma=0.001294
! 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.202 mas, bmaj=5.886 mas, bpa=-4.556 degrees
! Estimated noise=784.337 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.202 x 5.886 at -4.556 degrees (North through East)
! Clean map  min=-0.006903  max=0.77302 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.416081Jy  sigma=0.001294
! Fit after  self-cal, rms=0.566732Jy  sigma=0.001112
! Inverting map and beam 
! Estimated beam: bmin=3.203 mas, bmaj=5.885 mas, bpa=-4.524 degrees
! Estimated noise=784.364 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00201926 Jy
! Component: 100  -  total flux cleaned = 0.00220537 Jy
! Component: 150  -  total flux cleaned = 0.00236307 Jy
! Component: 200  -  total flux cleaned = 0.0024333 Jy
! Total flux subtracted in 200 components = 0.0024333 Jy
! Clean residual min=-0.003979 max=0.003672 Jy/beam
! Clean residual mean=-0.000042 rms=0.001016 Jy/beam
! Combined flux in latest and established models = 1.00244 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 119 components and 1.00244 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.566705Jy  sigma=0.001112
! Fit after  self-cal, rms=0.566701Jy  sigma=0.001112
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000831523 Jy
! Component: 100  -  total flux cleaned = 0.000893793 Jy
! Component: 150  -  total flux cleaned = 0.000895999 Jy
! Component: 200  -  total flux cleaned = 0.000847613 Jy
! Total flux subtracted in 200 components = 0.000847613 Jy
! Clean residual min=-0.004066 max=0.003646 Jy/beam
! Clean residual mean=-0.000058 rms=0.000998 Jy/beam
! Combined flux in latest and established models = 1.00329 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 126 components and 1.00329 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.566676Jy  sigma=0.001112
! Fit after  self-cal, rms=0.566680Jy  sigma=0.001112
! 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.566680Jy  sigma=0.001112
! Fit after  self-cal, rms=0.573200Jy  sigma=0.001112
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.236 mas, bmaj=3.605 mas, bpa=3.786 degrees
! Estimated noise=1983.19 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.551296 Jy
! Component: 100  -  total flux cleaned = 0.696658 Jy
! Component: 150  -  total flux cleaned = 0.772279 Jy
! Component: 200  -  total flux cleaned = 0.819816 Jy
! Total flux subtracted in 200 components = 0.819816 Jy
! Clean residual min=-0.012660 max=0.027051 Jy/beam
! Clean residual mean=0.000586 rms=0.004556 Jy/beam
! Combined flux in latest and established models = 0.819816 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 13 model components to the UV plane model.
! The established model now contains 13 components and 0.819816 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.204 mas, bmaj=5.884 mas, bpa=-4.476 degrees
! Estimated noise=784.673 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.0749593 Jy
! Component: 100  -  total flux cleaned = 0.11542 Jy
! Component: 150  -  total flux cleaned = 0.139411 Jy
! Component: 200  -  total flux cleaned = 0.154569 Jy
! Total flux subtracted in 200 components = 0.154569 Jy
! Clean residual min=-0.005265 max=0.009043 Jy/beam
! Clean residual mean=0.000437 rms=0.002347 Jy/beam
! Combined flux in latest and established models = 0.974385 Jy
! Adding 62 model components to the UV plane model.
! The established model now contains 70 components and 0.974385 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=9.189 mas, bmaj=32.02 mas, bpa=-4.844 degrees
! Estimated noise=895.75 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0147507 Jy
! Component: 100  -  total flux cleaned = 0.0220078 Jy
! Component: 150  -  total flux cleaned = 0.0257241 Jy
! Component: 200  -  total flux cleaned = 0.0276492 Jy
! Total flux subtracted in 200 components = 0.0276492 Jy
! Clean residual min=-0.003177 max=0.003185 Jy/beam
! Clean residual mean=-0.000018 rms=0.001120 Jy/beam
! Combined flux in latest and established models = 1.00203 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.000864638 Jy
! Component: 100  -  total flux cleaned = 0.000993582 Jy
! Component: 150  -  total flux cleaned = 0.00111362 Jy
! Component: 200  -  total flux cleaned = 0.00122449 Jy
! Total flux subtracted in 200 components = 0.00122449 Jy
! Clean residual min=-0.003115 max=0.003161 Jy/beam
! Clean residual mean=-0.000055 rms=0.001072 Jy/beam
! Combined flux in latest and established models = 1.00326 Jy
! Adding 63 model components to the UV plane model.
! The established model now contains 123 components and 1.00326 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.204 mas, bmaj=5.884 mas, bpa=-4.476 degrees
! Estimated noise=784.673 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000775374 Jy
! Component: 100  -  total flux cleaned = -0.00104403 Jy
! Component: 150  -  total flux cleaned = -0.000970744 Jy
! Component: 200  -  total flux cleaned = -0.000902831 Jy
! Total flux subtracted in 200 components = -0.000902831 Jy
! Clean residual min=-0.003893 max=0.003759 Jy/beam
! Clean residual mean=-0.000016 rms=0.000962 Jy/beam
! Combined flux in latest and established models = 1.00236 Jy
selfcal
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 133 components and 1.00236 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.573156Jy  sigma=0.001112
! Fit after  self-cal, rms=0.573304Jy  sigma=0.001111
wmodel J1454-3747_S_2003_05_07_pus_map.mod
! Writing 133 model components to file: J1454-3747_S_2003_05_07_pus_map.mod
wobs J1454-3747_S_2003_05_07_pus_uvs.fits
! Writing UV FITS file: J1454-3747_S_2003_05_07_pus_uvs.fits
wwins J1454-3747_S_2003_05_07_pus_map.win
! wwins: Wrote 3 windows to J1454-3747_S_2003_05_07_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.000870641 Jy
! Component: 100  -  total flux cleaned = -0.00137112 Jy
! Component: 150  -  total flux cleaned = -0.00148883 Jy
! Component: 200  -  total flux cleaned = -0.0013215 Jy
! Component: 250  -  total flux cleaned = -0.00121358 Jy
! Component: 300  -  total flux cleaned = -0.00116017 Jy
! Component: 350  -  total flux cleaned = -0.000956739 Jy
! Component: 400  -  total flux cleaned = -0.000906551 Jy
! Component: 450  -  total flux cleaned = -0.000809798 Jy
! Component: 500  -  total flux cleaned = -0.00076407 Jy
! Component: 550  -  total flux cleaned = -0.000764409 Jy
! Component: 600  -  total flux cleaned = -0.000674076 Jy
! Component: 650  -  total flux cleaned = -0.000630144 Jy
! Component: 700  -  total flux cleaned = -0.000587106 Jy
! Component: 750  -  total flux cleaned = -0.000672902 Jy
! Component: 800  -  total flux cleaned = -0.000715544 Jy
! Component: 850  -  total flux cleaned = -0.000715517 Jy
! Component: 900  -  total flux cleaned = -0.000756858 Jy
! Component: 950  -  total flux cleaned = -0.000716242 Jy
! Component: 1000  -  total flux cleaned = -0.000716516 Jy
! Component: 1050  -  total flux cleaned = -0.000677282 Jy
! Component: 1100  -  total flux cleaned = -0.000756129 Jy
! Component: 1150  -  total flux cleaned = -0.000717589 Jy
! Component: 1200  -  total flux cleaned = -0.000756481 Jy
! Component: 1250  -  total flux cleaned = -0.00079476 Jy
! Component: 1300  -  total flux cleaned = -0.000794578 Jy
! Component: 1350  -  total flux cleaned = -0.000757183 Jy
! Component: 1400  -  total flux cleaned = -0.000794543 Jy
! Component: 1450  -  total flux cleaned = -0.000757529 Jy
! Component: 1500  -  total flux cleaned = -0.000794376 Jy
! Component: 1550  -  total flux cleaned = -0.000830448 Jy
! Component: 1600  -  total flux cleaned = -0.000794294 Jy
! Component: 1650  -  total flux cleaned = -0.000794364 Jy
! Component: 1700  -  total flux cleaned = -0.000758738 Jy
! Component: 1750  -  total flux cleaned = -0.00075888 Jy
! Component: 1800  -  total flux cleaned = -0.000688956 Jy
! Component: 1850  -  total flux cleaned = -0.000863594 Jy
! Component: 1900  -  total flux cleaned = -0.000828628 Jy
! Component: 1950  -  total flux cleaned = -0.000863164 Jy
! Component: 2000  -  total flux cleaned = -0.000862972 Jy
! Total flux subtracted in 2048 components = -0.000760599 Jy
! Clean residual min=-0.002091 max=0.002116 Jy/beam
! Clean residual mean=0.000011 rms=0.000616 Jy/beam
! Combined flux in latest and established models = 1.0016 Jy
keep
! Adding 112 model components to the UV plane model.
! The established model now contains 245 components and 1.00159 Jy
wmap "J1454-3747_S_2003_05_07_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.204 x 5.884 at -4.476 degrees (North through East)
! Clean map  min=-0.0036586  max=0.76993 Jy/beam
! Writing clean map to FITS file: J1454-3747_S_2003_05_07_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.769928 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000615722 
device "J1454-3747_S_2003_05_07_pus\_map.eps/VPS"
! Attempting to open device: 'J1454-3747_S_2003_05_07_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.239914 0.239914 0.479829 0.959658 1.91932 3.83863 7.67726 15.3545 30.709 61.4181
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.769 
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.204 x 5.884 at -4.476 degrees (North through East)
! Clean map  min=-0.0036586  max=0.76993 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1454-3747_S_2003_05_07_pus\_map.gif/vgif"
! Attempting to open device: 'J1454-3747_S_2003_05_07_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1454-3747_S_2003_05_07_pus_uvs.log closed on Tue Dec 26 14:49:36 2006