! Started logfile: J0457-2324_X_1999_05_10_pus_uvs.log on Mon Jan 14 12:34:19 2008
obs J0457-2324_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J0457-2324_X_1999_05_10_pus_uva.fits
! AN table 1: 11 integrations on 153 of 153 possible baselines.
! AN table 2: 191 integrations on 153 of 153 possible baselines.
! AN table 3: 67 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.119421 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0457-2324
! 
! 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 19660 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 J0457-2324_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 198 telescope corrections were flagged in sub-array 1.
!  A total of 2505 telescope corrections were flagged in sub-array 2.
!  A total of 784 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 198 telescope corrections were flagged in sub-array 1.
!  A total of 2505 telescope corrections were flagged in sub-array 2.
!  A total of 784 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 198 telescope corrections were flagged in sub-array 1.
!  A total of 2505 telescope corrections were flagged in sub-array 2.
!  A total of 784 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 198 telescope corrections were flagged in sub-array 1.
!  A total of 2580 telescope corrections were flagged in sub-array 2.
!  A total of 784 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.800448Jy  sigma=0.007542
! Fit after  self-cal, rms=0.472009Jy  sigma=0.004727
! 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.79% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.6392 mas, bmaj=1.354 mas, bpa=-1.707 degrees
! Estimated noise=1130.75 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.96289 Jy
! Component: 100  -  total flux cleaned = 1.2021 Jy
! Total flux subtracted in 100 components = 1.2021 Jy
! Clean residual min=-0.042310 max=0.102257 Jy/beam
! Clean residual mean=0.001538 rms=0.013442 Jy/beam
! Combined flux in latest and established models = 1.2021 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 1.2021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.344891Jy  sigma=0.003255
! Fit after  self-cal, rms=0.344944Jy  sigma=0.003255
! Inverting map 
! Your choice of large map pixels excluded 0.79% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.120572 Jy
! Component: 100  -  total flux cleaned = 0.193402 Jy
! Total flux subtracted in 100 components = 0.193402 Jy
! Clean residual min=-0.030563 max=0.048549 Jy/beam
! Clean residual mean=0.000546 rms=0.008921 Jy/beam
! Combined flux in latest and established models = 1.3955 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 14 components and 1.3955 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.266559Jy  sigma=0.002196
! Fit after  self-cal, rms=0.266603Jy  sigma=0.002196
! Inverting map 
! Your choice of large map pixels excluded 0.79% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.79% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8837 mas, bmaj=2.251 mas, bpa=-10.1 degrees
! Estimated noise=536.409 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.0877952 Jy
! Component: 100  -  total flux cleaned = 0.123952 Jy
! Component: 150  -  total flux cleaned = 0.14056 Jy
! Component: 200  -  total flux cleaned = 0.148363 Jy
! Total flux subtracted in 200 components = 0.148363 Jy
! Clean residual min=-0.024312 max=0.027258 Jy/beam
! Clean residual mean=-0.003264 rms=0.006008 Jy/beam
! Combined flux in latest and established models = 1.54386 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 29 components and 1.54386 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.248680Jy  sigma=0.001817
! Fit after  self-cal, rms=0.248681Jy  sigma=0.001817
! Inverting map 
! Your choice of large map pixels excluded 0.79% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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 69 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        0.95     GC        1.00*    HH        0.86     
!   HN        1.05     KK        1.00     KP        0.99     LA        0.97     
!   MC        1.20     MK        0.97     NL        1.05     NY        1.00*    
!   ON        1.18     OV        0.98     PT        1.01     SC        1.05     
!   WF        1.05     WZ        1.06     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        0.98     GC        1.00*    HH        0.92     
!   HN        1.01     KK        0.92     KP        1.00     LA        1.02     
!   MC        1.00*    MK        0.96     NL        1.11     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        1.02     SC        1.12     
!   WF       15.63     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 69 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        0.95     GC        1.00*    HH        0.87     
!   HN        1.05     KK        1.02     KP        1.00     LA        0.98     
!   MC        1.24     MK        0.96     NL        1.00     NY        1.00*    
!   ON        1.16     OV        0.96     PT        0.93     SC        1.04     
!   WF        1.13     WZ        1.11     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        0.98     GC        1.00*    HH        0.94     
!   HN        1.02     KK        0.92     KP        1.03     LA        1.04     
!   MC        1.00*    MK        0.98     NL        1.15     NY        1.00*    
!   ON        1.00*    OV        0.97     PT        0.94     SC        1.12     
!   WF       23.32     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 69 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.98     GC        1.00*    HH        0.89     
!   HN        1.08     KK        1.09     KP        1.02     LA        0.98     
!   MC        1.23     MK        0.98     NL        1.01     NY        1.00*    
!   ON        1.27     OV        0.99     PT        0.95     SC        1.07     
!   WF        1.12     WZ        1.28     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.02     GC        1.00*    HH        1.03     
!   HN        1.06     KK        0.98     KP        1.05     LA        1.04     
!   MC        1.00*    MK        0.98     NL        1.16     NY        1.00*    
!   ON        1.00*    OV        1.00     PT        0.96     SC        1.14     
!   WF       14.32     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 30 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        0.97     GC        1.00*    HH        1.00*    
!   HN        1.08     KK        1.05     KP        1.01     LA        1.00     
!   MC        1.00*    MK        0.99     NL        1.04     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.97     SC        1.04     
!   WF        1.11     WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.02     GC        1.00*    HH        1.20     
!   HN        1.05     KK        0.99     KP        1.04     LA        1.07     
!   MC        1.00*    MK        0.98     NL        1.15     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.98     SC        1.11     
!   WF       12.70     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.248681Jy  sigma=0.001817
! Fit after  self-cal, rms=0.595226Jy  sigma=0.001286
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8867 mas, bmaj=2.328 mas, bpa=-10.55 degrees
! Estimated noise=537.635 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.00108477 Jy
! Component: 100  -  total flux cleaned = -0.000959018 Jy
! Component: 150  -  total flux cleaned = -0.000953027 Jy
! Component: 200  -  total flux cleaned = -0.000947954 Jy
! Total flux subtracted in 200 components = -0.000947954 Jy
! Clean residual min=-0.006728 max=0.007700 Jy/beam
! Clean residual mean=-0.000277 rms=0.001861 Jy/beam
! Combined flux in latest and established models = 1.54291 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 31 components and 1.54291 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.595176Jy  sigma=0.001284
! Fit after  self-cal, rms=0.596011Jy  sigma=0.001284
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.596011Jy  sigma=0.001284
! Fit after  self-cal, rms=0.604096Jy  sigma=0.001258
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8879 mas, bmaj=2.331 mas, bpa=-10.47 degrees
! Estimated noise=538.107 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00100118 Jy
! Component: 100  -  total flux cleaned = -0.000906729 Jy
! Component: 150  -  total flux cleaned = -0.000915554 Jy
! Component: 200  -  total flux cleaned = -0.000916909 Jy
! Total flux subtracted in 200 components = -0.000916909 Jy
! Clean residual min=-0.005618 max=0.006718 Jy/beam
! Clean residual mean=-0.000009 rms=0.001485 Jy/beam
! Combined flux in latest and established models = 1.542 Jy
selfcal
! Performing phase self-cal
! Adding 6 model components to the UV plane model.
! The established model now contains 33 components and 1.542 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.604072Jy  sigma=0.001257
! Fit after  self-cal, rms=0.604092Jy  sigma=0.001257
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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)
! Added new window around map position (0, -4.4).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00333081 Jy
! Component: 100  -  total flux cleaned = 0.00347943 Jy
! Component: 150  -  total flux cleaned = 0.00334716 Jy
! Component: 200  -  total flux cleaned = 0.00347238 Jy
! Total flux subtracted in 200 components = 0.00347238 Jy
! Clean residual min=-0.005806 max=0.004610 Jy/beam
! Clean residual mean=-0.000148 rms=0.001338 Jy/beam
! Combined flux in latest and established models = 1.54547 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 49 components and 1.54547 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.603953Jy  sigma=0.001254
! Fit after  self-cal, rms=0.603961Jy  sigma=0.001253
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.603961Jy  sigma=0.001253
! Fit after  self-cal, rms=0.607460Jy  sigma=0.001242
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8888 mas, bmaj=2.334 mas, bpa=-10.42 degrees
! Estimated noise=538.46 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00178592 Jy
! Component: 100  -  total flux cleaned = 0.00169222 Jy
! Component: 150  -  total flux cleaned = 0.0016016 Jy
! Component: 200  -  total flux cleaned = 0.00151961 Jy
! Total flux subtracted in 200 components = 0.00151961 Jy
! Clean residual min=-0.003865 max=0.004307 Jy/beam
! Clean residual mean=0.000075 rms=0.001027 Jy/beam
! Combined flux in latest and established models = 1.54699 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 62 components and 1.54699 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.607429Jy  sigma=0.001241
! Fit after  self-cal, rms=0.607415Jy  sigma=0.001241
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.00039798 Jy
! Component: 100  -  total flux cleaned = 0.000402326 Jy
! Component: 150  -  total flux cleaned = 0.000405351 Jy
! Component: 200  -  total flux cleaned = 0.00040774 Jy
! Total flux subtracted in 200 components = 0.00040774 Jy
! Clean residual min=-0.003876 max=0.004387 Jy/beam
! Clean residual mean=0.000058 rms=0.001013 Jy/beam
! Combined flux in latest and established models = 1.5474 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 63 components and 1.5474 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.607387Jy  sigma=0.001240
! Fit after  self-cal, rms=0.607375Jy  sigma=0.001240
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.607375Jy  sigma=0.001240
! Fit after  self-cal, rms=0.607172Jy  sigma=0.001240
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=2.496 mas, bmaj=5.144 mas, bpa=8.369 degrees
! Estimated noise=640.567 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000785541 Jy
! Component: 100  -  total flux cleaned = 0.000906973 Jy
! Component: 150  -  total flux cleaned = 0.000994046 Jy
! Component: 200  -  total flux cleaned = 0.00109116 Jy
! Total flux subtracted in 200 components = 0.00109116 Jy
! Clean residual min=-0.002288 max=0.004165 Jy/beam
! Clean residual mean=0.000148 rms=0.001173 Jy/beam
! Combined flux in latest and established models = 1.54849 Jy
selfcal
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 74 components and 1.54849 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.607178Jy  sigma=0.001240
! Fit after  self-cal, rms=0.607184Jy  sigma=0.001240
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.000168449 Jy
! Component: 100  -  total flux cleaned = 0.000289624 Jy
! Component: 150  -  total flux cleaned = 0.000386554 Jy
! Component: 200  -  total flux cleaned = 0.000438932 Jy
! Total flux subtracted in 200 components = 0.000438932 Jy
! Clean residual min=-0.002382 max=0.004240 Jy/beam
! Clean residual mean=0.000115 rms=0.001183 Jy/beam
! Combined flux in latest and established models = 1.54893 Jy
! Performing phase self-cal
! Adding 15 model components to the UV plane model.
! The established model now contains 80 components and 1.54893 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.607190Jy  sigma=0.001240
! Fit after  self-cal, rms=0.607198Jy  sigma=0.001240
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.889 mas, bmaj=2.334 mas, bpa=-10.41 degrees
! Estimated noise=538.554 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.889 x 2.334 at -10.41 degrees (North through East)
! Clean map  min=-0.0029358  max=1.3568 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.607198Jy  sigma=0.001240
! Fit after  self-cal, rms=1.118876Jy  sigma=0.001097
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8898 mas, bmaj=2.334 mas, bpa=-10.38 degrees
! Estimated noise=538.382 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -8.90276e-05 Jy
! Component: 100  -  total flux cleaned = -0.000167499 Jy
! Component: 150  -  total flux cleaned = -0.000240349 Jy
! Component: 200  -  total flux cleaned = -0.000370746 Jy
! Total flux subtracted in 200 components = -0.000370746 Jy
! Clean residual min=-0.003475 max=0.004204 Jy/beam
! Clean residual mean=0.000102 rms=0.000952 Jy/beam
! Combined flux in latest and established models = 1.54856 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 91 components and 1.54856 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.118853Jy  sigma=0.001097
! Fit after  self-cal, rms=1.118856Jy  sigma=0.001097
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000158273 Jy
! Component: 100  -  total flux cleaned = 9.78533e-05 Jy
! Component: 150  -  total flux cleaned = 3.95006e-05 Jy
! Component: 200  -  total flux cleaned = -1.3493e-05 Jy
! Total flux subtracted in 200 components = -1.3493e-05 Jy
! Clean residual min=-0.003385 max=0.004165 Jy/beam
! Clean residual mean=0.000102 rms=0.000942 Jy/beam
! Combined flux in latest and established models = 1.54854 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 91 components and 1.54854 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.118837Jy  sigma=0.001096
! Fit after  self-cal, rms=1.118836Jy  sigma=0.001096
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Added new window around map position (-3.6, -2.2).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00386958 Jy
! Component: 100  -  total flux cleaned = 0.00485527 Jy
! Component: 150  -  total flux cleaned = 0.00516716 Jy
! Component: 200  -  total flux cleaned = 0.00531316 Jy
! Total flux subtracted in 200 components = 0.00531316 Jy
! Clean residual min=-0.003531 max=0.002671 Jy/beam
! Clean residual mean=-0.000095 rms=0.000788 Jy/beam
! Combined flux in latest and established models = 1.55386 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 103 components and 1.55386 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.118832Jy  sigma=0.001095
! Fit after  self-cal, rms=1.118821Jy  sigma=0.001095
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.118821Jy  sigma=0.001095
! Fit after  self-cal, rms=1.122224Jy  sigma=0.001095
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.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.6431 mas, bmaj=1.412 mas, bpa=-2.68 degrees
! Estimated noise=1158.57 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.989609 Jy
! Component: 100  -  total flux cleaned = 1.23005 Jy
! Component: 150  -  total flux cleaned = 1.3492 Jy
! Component: 200  -  total flux cleaned = 1.42025 Jy
! Total flux subtracted in 200 components = 1.42025 Jy
! Clean residual min=-0.011751 max=0.036521 Jy/beam
! Clean residual mean=0.000701 rms=0.004600 Jy/beam
! Combined flux in latest and established models = 1.42025 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 20 model components to the UV plane model.
! The established model now contains 20 components and 1.42025 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8899 mas, bmaj=2.334 mas, bpa=-10.38 degrees
! Estimated noise=538.305 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.0676043 Jy
! Component: 100  -  total flux cleaned = 0.0957935 Jy
! Component: 150  -  total flux cleaned = 0.110141 Jy
! Component: 200  -  total flux cleaned = 0.119169 Jy
! Total flux subtracted in 200 components = 0.119169 Jy
! Clean residual min=-0.003425 max=0.007191 Jy/beam
! Clean residual mean=0.000596 rms=0.001318 Jy/beam
! Combined flux in latest and established models = 1.53941 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 46 components and 1.53941 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Added new window around map position (-1.2, 0).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00687381 Jy
! Component: 100  -  total flux cleaned = 0.0110154 Jy
! Component: 150  -  total flux cleaned = 0.0121153 Jy
! Component: 200  -  total flux cleaned = 0.0127352 Jy
! Total flux subtracted in 200 components = 0.0127352 Jy
! Clean residual min=-0.003310 max=0.003184 Jy/beam
! Clean residual mean=0.000086 rms=0.000839 Jy/beam
! Combined flux in latest and established models = 1.55215 Jy
! Adding 23 model components to the UV plane model.
! The established model now contains 61 components and 1.55215 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 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.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=2.494 mas, bmaj=5.141 mas, bpa=8.367 degrees
! Estimated noise=639.987 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00173113 Jy
! Component: 100  -  total flux cleaned = 0.0023169 Jy
! Component: 150  -  total flux cleaned = 0.00276475 Jy
! Component: 200  -  total flux cleaned = 0.00289477 Jy
! Total flux subtracted in 200 components = 0.00289476 Jy
! Clean residual min=-0.002092 max=0.001709 Jy/beam
! Clean residual mean=-0.000035 rms=0.000624 Jy/beam
! Combined flux in latest and established models = 1.55504 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 = 5.69416e-05 Jy
! Component: 100  -  total flux cleaned = 8.44927e-05 Jy
! Component: 150  -  total flux cleaned = 0.000109185 Jy
! Component: 200  -  total flux cleaned = 0.000132963 Jy
! Total flux subtracted in 200 components = 0.000132963 Jy
! Clean residual min=-0.002082 max=0.001724 Jy/beam
! Clean residual mean=-0.000045 rms=0.000608 Jy/beam
! Combined flux in latest and established models = 1.55518 Jy
! Adding 24 model components to the UV plane model.
! The established model now contains 85 components and 1.55518 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! Estimated beam: bmin=0.8899 mas, bmaj=2.334 mas, bpa=-10.38 degrees
! Estimated noise=538.305 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000799568 Jy
! Component: 100  -  total flux cleaned = -0.000800469 Jy
! Component: 150  -  total flux cleaned = -0.000903119 Jy
! Component: 200  -  total flux cleaned = -0.000899899 Jy
! Total flux subtracted in 200 components = -0.000899899 Jy
! Clean residual min=-0.003105 max=0.002482 Jy/beam
! Clean residual mean=0.000008 rms=0.000760 Jy/beam
! Combined flux in latest and established models = 1.55428 Jy
selfcal
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 93 components and 1.55428 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.122846Jy  sigma=0.001098
! Fit after  self-cal, rms=1.122382Jy  sigma=0.001098
wmodel J0457-2324_X_1999_05_10_pus_map.mod
! Writing 93 model components to file: J0457-2324_X_1999_05_10_pus_map.mod
wobs J0457-2324_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J0457-2324_X_1999_05_10_pus_uvs.fits
wwins J0457-2324_X_1999_05_10_pus_map.win
! wwins: Wrote 4 windows to J0457-2324_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.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.000741821 Jy
! Component: 100  -  total flux cleaned = -0.000691028 Jy
! Component: 150  -  total flux cleaned = -0.000691427 Jy
! Component: 200  -  total flux cleaned = -0.000733255 Jy
! Component: 250  -  total flux cleaned = -0.00069307 Jy
! Component: 300  -  total flux cleaned = -0.000772054 Jy
! Component: 350  -  total flux cleaned = -0.000733731 Jy
! Component: 400  -  total flux cleaned = -0.000733945 Jy
! Component: 450  -  total flux cleaned = -0.000660676 Jy
! Component: 500  -  total flux cleaned = -0.000661349 Jy
! Component: 550  -  total flux cleaned = -0.000661471 Jy
! Component: 600  -  total flux cleaned = -0.000591677 Jy
! Component: 650  -  total flux cleaned = -0.000591737 Jy
! Component: 700  -  total flux cleaned = -0.000557787 Jy
! Component: 750  -  total flux cleaned = -0.000457499 Jy
! Component: 800  -  total flux cleaned = -0.000457786 Jy
! Component: 850  -  total flux cleaned = -0.000392563 Jy
! Component: 900  -  total flux cleaned = -0.000360374 Jy
! Component: 950  -  total flux cleaned = -0.00036041 Jy
! Component: 1000  -  total flux cleaned = -0.000360505 Jy
! Total flux subtracted in 1024 components = -0.000329259 Jy
! Clean residual min=-0.001562 max=0.001844 Jy/beam
! Clean residual mean=0.000012 rms=0.000610 Jy/beam
! Combined flux in latest and established models = 1.55395 Jy
keep
! Adding 58 model components to the UV plane model.
! The established model now contains 149 components and 1.55395 Jy
![Exited script file: muppet]
wmap "J0457-2324_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8899 x 2.334 at -10.38 degrees (North through East)
! Clean map  min=-0.0026529  max=1.3595 Jy/beam
! Writing clean map to FITS file: J0457-2324_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 1.35947 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.802% of the data.
!  The x-axis pixel size should ideally be below 0.1635 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000612389 
device "J0457-2324_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J0457-2324_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.135138 0.135138 0.270277 0.540554 1.08111 2.16221 4.32443 8.64886 17.2977 34.5954 69.1909
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0018 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.359 
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.8899 x 2.334 at -10.38 degrees (North through East)
! Clean map  min=-0.0026529  max=1.3595 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0457-2324_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J0457-2324_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0457-2324_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 12:34:30 2008