! Started logfile: J1454-3747_X_1999_05_10_pus_uvs.log on Mon Jan 14 12:50:12 2008
obs J1454-3747_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J1454-3747_X_1999_05_10_pus_uva.fits
! AN table 1: 9 integrations on 153 of 153 possible baselines.
! AN table 2: 56 integrations on 153 of 153 possible baselines.
! AN table 3: 119 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.0705811 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  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 1759 lines of history.
! 
! Reading 7948 visibilities.
select I
! Polarization I is unavailable.
! Selecting polarization: RR,  channels: 1..4
! Reading IF 1 channels: 1..1
! Reading IF 2 channels: 2..2
! Reading IF 3 channels: 3..3
! Reading IF 4 channels: 4..4
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J1454-3747_X_1999_05_10_pus]
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 162 telescope corrections were flagged in sub-array 1.
!  A total of 747 telescope corrections were flagged in sub-array 2.
!  A total of 1827 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 162 telescope corrections were flagged in sub-array 1.
!  A total of 747 telescope corrections were flagged in sub-array 2.
!  A total of 1827 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 162 telescope corrections were flagged in sub-array 1.
!  A total of 747 telescope corrections were flagged in sub-array 2.
!  A total of 1827 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 162 telescope corrections were flagged in sub-array 1.
!  A total of 747 telescope corrections were flagged in sub-array 2.
!  A total of 1827 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.721283Jy  sigma=0.006355
! Fit after  self-cal, rms=0.470796Jy  sigma=0.004797
! 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 
! Your choice of large map pixels excluded 0.519% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.5841 mas, bmaj=1.784 mas, bpa=-5.8 degrees
! Estimated noise=1562.16 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.491737 Jy
! Component: 100  -  total flux cleaned = 0.68535 Jy
! Total flux subtracted in 100 components = 0.68535 Jy
! Clean residual min=-0.066768 max=0.134244 Jy/beam
! Clean residual mean=0.003492 rms=0.027249 Jy/beam
! Combined flux in latest and established models = 0.68535 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.68535 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.450105Jy  sigma=0.004871
! Fit after  self-cal, rms=0.450034Jy  sigma=0.004871
! Inverting map 
! Your choice of large map pixels excluded 0.519% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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 
! Your choice of large map pixels excluded 0.519% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.8276 mas, bmaj=2.636 mas, bpa=-6.186 degrees
! Estimated noise=818.044 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.264214 Jy
! Component: 100  -  total flux cleaned = 0.381821 Jy
! Component: 150  -  total flux cleaned = 0.436714 Jy
! Component: 200  -  total flux cleaned = 0.462342 Jy
! Total flux subtracted in 200 components = 0.462342 Jy
! Clean residual min=-0.044662 max=0.102714 Jy/beam
! Clean residual mean=0.004285 rms=0.022328 Jy/beam
! Combined flux in latest and established models = 1.14769 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 15 components and 1.14769 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.316699Jy  sigma=0.003036
! Fit after  self-cal, rms=0.316770Jy  sigma=0.003034
! Inverting map 
! Your choice of large map pixels excluded 0.519% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.88     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        0.95     KP        0.95     LA        0.93     
!   MC        1.00*    MK        0.94     NL        1.21     NY        1.00*    
!   ON        1.00*    OV        0.93     PT        0.95     SC        0.75     
!   WF        1.00*    WZ        1.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     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.96     LA        0.93     
!   MC        1.00*    MK        0.89     NL        1.60     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.99     SC        1.21     
!   WF        2.21     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.87     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        0.95     KP        0.97     LA        0.92     
!   MC        1.00*    MK        0.94     NL        1.28     NY        1.00*    
!   ON        1.00*    OV        0.91     PT        0.87     SC        0.76     
!   WF        1.00*    WZ        1.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.91     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        0.97     LA        0.94     
!   MC        1.00*    MK        0.85     NL        1.59     NY        1.00*    
!   ON        1.00*    OV        0.98     PT        0.90     SC        1.19     
!   WF        2.16     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.90     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.08     KP        0.98     LA        0.93     
!   MC        1.00*    MK        0.93     NL        1.30     NY        1.00*    
!   ON        1.00*    OV        0.94     PT        0.88     SC        0.81     
!   WF        1.00*    WZ        1.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     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        1.00     LA        0.94     
!   MC        1.00*    MK        0.94     NL        1.69     NY        1.00*    
!   ON        1.00*    OV        1.03     PT        0.93     SC        1.11     
!   WF        1.94     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HH        0.00*    
!   HN        0.00*    KK        0.00*    KP        0.00*    LA        0.00*    
!   MC        0.00*    MK        0.00*    NL        0.00*    NY        0.00*    
!   ON        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   WF        0.00*    WZ        0.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        0.89     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.02     KP        0.99     LA        0.93     
!   MC        1.00*    MK        0.95     NL        1.30     NY        1.00*    
!   ON        1.00*    OV        0.93     PT        0.90     SC        0.82     
!   WF        1.00*    WZ        1.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.93     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00*    KP        1.00     LA        0.97     
!   MC        1.00*    MK        0.88     NL        1.76     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        0.95     SC        1.04     
!   WF        1.83     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.316770Jy  sigma=0.003034
! Fit after  self-cal, rms=0.439981Jy  sigma=0.002197
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.8315 mas, bmaj=2.568 mas, bpa=-6.449 degrees
! Estimated noise=830.368 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.0105849 Jy
! Component: 100  -  total flux cleaned = 0.0105986 Jy
! Component: 150  -  total flux cleaned = 0.0103665 Jy
! Component: 200  -  total flux cleaned = 0.0101334 Jy
! Total flux subtracted in 200 components = 0.0101334 Jy
! Clean residual min=-0.033987 max=0.034526 Jy/beam
! Clean residual mean=0.000193 rms=0.009594 Jy/beam
! Combined flux in latest and established models = 1.15783 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 22 components and 1.15783 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.438943Jy  sigma=0.002197
! Fit after  self-cal, rms=0.440709Jy  sigma=0.002194
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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.440709Jy  sigma=0.002194
! Fit after  self-cal, rms=0.450068Jy  sigma=0.002192
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.829 mas, bmaj=2.554 mas, bpa=-6.695 degrees
! Estimated noise=835.63 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0107062 Jy
! Component: 100  -  total flux cleaned = 0.0104752 Jy
! Component: 150  -  total flux cleaned = 0.010246 Jy
! Component: 200  -  total flux cleaned = 0.0100179 Jy
! Total flux subtracted in 200 components = 0.0100179 Jy
! Clean residual min=-0.034211 max=0.033824 Jy/beam
! Clean residual mean=0.000183 rms=0.009621 Jy/beam
! Combined flux in latest and established models = 1.16784 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 22 components and 1.16784 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.449058Jy  sigma=0.002192
! Fit after  self-cal, rms=0.449120Jy  sigma=0.002192
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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.000172232 Jy
! Component: 100  -  total flux cleaned = -0.000389334 Jy
! Component: 150  -  total flux cleaned = -0.000603106 Jy
! Component: 200  -  total flux cleaned = -0.000809627 Jy
! Total flux subtracted in 200 components = -0.000809627 Jy
! Clean residual min=-0.033997 max=0.033941 Jy/beam
! Clean residual mean=0.000200 rms=0.009596 Jy/beam
! Combined flux in latest and established models = 1.16703 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 23 components and 1.16703 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.448718Jy  sigma=0.002190
! Fit after  self-cal, rms=0.448746Jy  sigma=0.002190
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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.448746Jy  sigma=0.002190
! Fit after  self-cal, rms=0.542751Jy  sigma=0.001710
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.837 mas, bmaj=2.558 mas, bpa=-6.727 degrees
! Estimated noise=837.248 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00480484 Jy
! Component: 100  -  total flux cleaned = 0.00492949 Jy
! Component: 150  -  total flux cleaned = 0.00493044 Jy
! Component: 200  -  total flux cleaned = 0.00481032 Jy
! Total flux subtracted in 200 components = 0.00481032 Jy
! Clean residual min=-0.019414 max=0.028651 Jy/beam
! Clean residual mean=0.000314 rms=0.007012 Jy/beam
! Combined flux in latest and established models = 1.17184 Jy
selfcal
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 28 components and 1.17184 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.542762Jy  sigma=0.001708
! Fit after  self-cal, rms=0.543928Jy  sigma=0.001708
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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.000404014 Jy
! Component: 100  -  total flux cleaned = 0.000282893 Jy
! Component: 150  -  total flux cleaned = 0.000164263 Jy
! Component: 200  -  total flux cleaned = 4.83148e-05 Jy
! Total flux subtracted in 200 components = 4.83148e-05 Jy
! Clean residual min=-0.019270 max=0.028787 Jy/beam
! Clean residual mean=0.000312 rms=0.007026 Jy/beam
! Combined flux in latest and established models = 1.17189 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 29 components and 1.17189 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.543799Jy  sigma=0.001707
! Fit after  self-cal, rms=0.543860Jy  sigma=0.001707
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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.543860Jy  sigma=0.001707
! Fit after  self-cal, rms=0.547772Jy  sigma=0.001701
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=2.724 mas, bmaj=9.105 mas, bpa=-1.703 degrees
! Estimated noise=1000.28 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00295988 Jy
! Component: 100  -  total flux cleaned = 0.00298167 Jy
! Component: 150  -  total flux cleaned = 0.00299103 Jy
! Component: 200  -  total flux cleaned = 0.00299563 Jy
! Total flux subtracted in 200 components = 0.00299563 Jy
! Clean residual min=-0.014471 max=0.025332 Jy/beam
! Clean residual mean=0.000625 rms=0.007364 Jy/beam
! Combined flux in latest and established models = 1.17489 Jy
selfcal
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 30 components and 1.17489 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.547920Jy  sigma=0.001703
! Fit after  self-cal, rms=0.547670Jy  sigma=0.001702
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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.000178907 Jy
! Component: 100  -  total flux cleaned = -0.000164391 Jy
! Component: 150  -  total flux cleaned = -0.00015712 Jy
! Component: 200  -  total flux cleaned = -0.000154035 Jy
! Total flux subtracted in 200 components = -0.000154035 Jy
! Clean residual min=-0.014428 max=0.025343 Jy/beam
! Clean residual mean=0.000629 rms=0.007358 Jy/beam
! Combined flux in latest and established models = 1.17473 Jy
! Performing phase self-cal
! Adding 4 model components to the UV plane model.
! The established model now contains 30 components and 1.17473 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.547706Jy  sigma=0.001704
! Fit after  self-cal, rms=0.547481Jy  sigma=0.001703
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.837 mas, bmaj=2.556 mas, bpa=-6.604 degrees
! Estimated noise=835.51 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.837 x 2.556 at -6.604 degrees (North through East)
! Clean map  min=-0.01574  max=0.78709 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.547481Jy  sigma=0.001703
! Fit after  self-cal, rms=0.578947Jy  sigma=0.001588
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.8383 mas, bmaj=2.555 mas, bpa=-6.367 degrees
! Estimated noise=838.337 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00122219 Jy
! Component: 100  -  total flux cleaned = -0.00108261 Jy
! Component: 150  -  total flux cleaned = -0.000952596 Jy
! Component: 200  -  total flux cleaned = -0.000967482 Jy
! Total flux subtracted in 200 components = -0.000967482 Jy
! Clean residual min=-0.017200 max=0.029735 Jy/beam
! Clean residual mean=0.000394 rms=0.006892 Jy/beam
! Combined flux in latest and established models = 1.17377 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 34 components and 1.17377 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.578743Jy  sigma=0.001587
! Fit after  self-cal, rms=0.578821Jy  sigma=0.001587
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Added new window around map position (-1.8, 4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0157356 Jy
! Component: 100  -  total flux cleaned = 0.014363 Jy
! Component: 150  -  total flux cleaned = 0.0125974 Jy
! Component: 200  -  total flux cleaned = 0.0115255 Jy
! Total flux subtracted in 200 components = 0.0115255 Jy
! Clean residual min=-0.016648 max=0.026464 Jy/beam
! Clean residual mean=0.000111 rms=0.006222 Jy/beam
! Combined flux in latest and established models = 1.18529 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 53 components and 1.18529 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.571514Jy  sigma=0.001567
! Fit after  self-cal, rms=0.571968Jy  sigma=0.001560
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Added new window around map position (-8.4, -12.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0179382 Jy
! Component: 100  -  total flux cleaned = 0.0206818 Jy
! Component: 150  -  total flux cleaned = 0.0207355 Jy
! Component: 200  -  total flux cleaned = 0.020199 Jy
! Total flux subtracted in 200 components = 0.020199 Jy
! Clean residual min=-0.017138 max=0.024060 Jy/beam
! Clean residual mean=-0.000096 rms=0.006024 Jy/beam
! Combined flux in latest and established models = 1.20549 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 65 components and 1.20549 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.564752Jy  sigma=0.001547
! Fit after  self-cal, rms=0.564953Jy  sigma=0.001543
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.564953Jy  sigma=0.001543
! Fit after  self-cal, rms=0.555750Jy  sigma=0.001530
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 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.585 mas, bmaj=1.659 mas, bpa=-4.303 degrees
! Estimated noise=1647.54 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.513607 Jy
! Component: 100  -  total flux cleaned = 0.728783 Jy
! Component: 150  -  total flux cleaned = 0.867336 Jy
! Component: 200  -  total flux cleaned = 0.962794 Jy
! Total flux subtracted in 200 components = 0.962794 Jy
! Clean residual min=-0.035350 max=0.058450 Jy/beam
! Clean residual mean=0.001571 rms=0.014120 Jy/beam
! Combined flux in latest and established models = 0.962795 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 0.962795 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.831 mas, bmaj=2.527 mas, bpa=-6.163 degrees
! Estimated noise=830.91 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.124757 Jy
! Component: 100  -  total flux cleaned = 0.183088 Jy
! Component: 150  -  total flux cleaned = 0.217567 Jy
! Component: 200  -  total flux cleaned = 0.234799 Jy
! Total flux subtracted in 200 components = 0.234799 Jy
! Clean residual min=-0.018030 max=0.026851 Jy/beam
! Clean residual mean=0.000490 rms=0.007044 Jy/beam
! Combined flux in latest and established models = 1.19759 Jy
! Adding 46 model components to the UV plane model.
! The established model now contains 54 components and 1.19759 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
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 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=2.703 mas, bmaj=8.934 mas, bpa=-1.358 degrees
! Estimated noise=1006.51 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.012133 Jy
! Component: 100  -  total flux cleaned = 0.0121468 Jy
! Component: 150  -  total flux cleaned = 0.012656 Jy
! Component: 200  -  total flux cleaned = 0.0130765 Jy
! Total flux subtracted in 200 components = 0.0130765 Jy
! Clean residual min=-0.013504 max=0.022509 Jy/beam
! Clean residual mean=0.000671 rms=0.006206 Jy/beam
! Combined flux in latest and established models = 1.21067 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.000737457 Jy
! Component: 100  -  total flux cleaned = 0.00105696 Jy
! Component: 150  -  total flux cleaned = 0.00106127 Jy
! Component: 200  -  total flux cleaned = 0.000783562 Jy
! Total flux subtracted in 200 components = 0.000783562 Jy
! Clean residual min=-0.013261 max=0.021370 Jy/beam
! Clean residual mean=0.000695 rms=0.006061 Jy/beam
! Combined flux in latest and established models = 1.21145 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 71 components and 1.21145 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! Estimated beam: bmin=0.831 mas, bmaj=2.527 mas, bpa=-6.163 degrees
! Estimated noise=830.91 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00214488 Jy
! Component: 100  -  total flux cleaned = 0.00210584 Jy
! Component: 150  -  total flux cleaned = 0.00210899 Jy
! Component: 200  -  total flux cleaned = 0.00263307 Jy
! Total flux subtracted in 200 components = 0.00263307 Jy
! Clean residual min=-0.015388 max=0.024214 Jy/beam
! Clean residual mean=0.000353 rms=0.005930 Jy/beam
! Combined flux in latest and established models = 1.21409 Jy
selfcal
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 89 components and 1.21409 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.548926Jy  sigma=0.001554
! Fit after  self-cal, rms=0.549008Jy  sigma=0.001541
wmodel J1454-3747_X_1999_05_10_pus_map.mod
! Writing 89 model components to file: J1454-3747_X_1999_05_10_pus_map.mod
wobs J1454-3747_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J1454-3747_X_1999_05_10_pus_uvs.fits
wwins J1454-3747_X_1999_05_10_pus_map.win
! wwins: Wrote 3 windows to J1454-3747_X_1999_05_10_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.00993857 Jy
! Component: 100  -  total flux cleaned = 0.018621 Jy
! Component: 150  -  total flux cleaned = 0.0257274 Jy
! Component: 200  -  total flux cleaned = 0.0312365 Jy
! Component: 250  -  total flux cleaned = 0.0370792 Jy
! Component: 300  -  total flux cleaned = 0.0423948 Jy
! Component: 350  -  total flux cleaned = 0.0480491 Jy
! Component: 400  -  total flux cleaned = 0.0532662 Jy
! Component: 450  -  total flux cleaned = 0.0588337 Jy
! Component: 500  -  total flux cleaned = 0.0639964 Jy
! Component: 550  -  total flux cleaned = 0.0683082 Jy
! Component: 600  -  total flux cleaned = 0.0701846 Jy
! Component: 650  -  total flux cleaned = 0.0720306 Jy
! Component: 700  -  total flux cleaned = 0.0731703 Jy
! Component: 750  -  total flux cleaned = 0.0749658 Jy
! Component: 800  -  total flux cleaned = 0.0762922 Jy
! Component: 850  -  total flux cleaned = 0.0776004 Jy
! Component: 900  -  total flux cleaned = 0.0786774 Jy
! Component: 950  -  total flux cleaned = 0.079528 Jy
! Component: 1000  -  total flux cleaned = 0.0803692 Jy
! Total flux subtracted in 1024 components = 0.0809952 Jy
! Clean residual min=-0.011309 max=0.011732 Jy/beam
! Clean residual mean=-0.001017 rms=0.004454 Jy/beam
! Combined flux in latest and established models = 1.29508 Jy
keep
! Adding 52 model components to the UV plane model.
! The established model now contains 140 components and 1.29508 Jy
![Exited script file: muppet]
wmap "J1454-3747_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.831 x 2.527 at -6.163 degrees (North through East)
! Clean map  min=-0.025369  max=0.80268 Jy/beam
! Writing clean map to FITS file: J1454-3747_X_1999_05_10_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.802684 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.443% of the data.
!  The x-axis pixel size should ideally be below 0.1914 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00447157 
device "J1454-3747_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J1454-3747_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.67123 1.67123 3.34246 6.68492 13.3698 26.7397 53.4794
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0134 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.802 
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.831 x 2.527 at -6.163 degrees (North through East)
! Clean map  min=-0.025369  max=0.80268 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1454-3747_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J1454-3747_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1454-3747_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 12:50:25 2008