! Started logfile: J1924-2914_S_1999_12_20_pus_uvs.log on Fri Dec 21 13:33:25 2007
obs J1924-2914_S_1999_12_20_pus_uva.fits
! Reading UV FITS file: J1924-2914_S_1999_12_20_pus_uva.fits
! AN table 1: 15 integrations on 190 of 190 possible baselines.
! AN table 2: 62 integrations on 190 of 190 possible baselines.
! AN table 3: 93 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.0394118 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1924-2914
! 
! 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.22497e+09        8e+06          1        8e+06
!  02        2  2.24497e+09        8e+06          1        8e+06
!  03        3  2.33497e+09        8e+06          1        8e+06
!  04        4  2.36497e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2287 lines of history.
! 
! Reading 5092 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 = 512 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
![@muppet J1924-2914_S_1999_12_20_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 = 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 288 telescope corrections were flagged in sub-array 1.
!  A total of 1109 telescope corrections were flagged in sub-array 2.
!  A total of 1613 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 288 telescope corrections were flagged in sub-array 1.
!  A total of 1109 telescope corrections were flagged in sub-array 2.
!  A total of 1590 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 300 telescope corrections were flagged in sub-array 1.
!  A total of 1109 telescope corrections were flagged in sub-array 2.
!  A total of 1590 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 300 telescope corrections were flagged in sub-array 1.
!  A total of 1109 telescope corrections were flagged in sub-array 2.
!  A total of 1590 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=6.633258Jy  sigma=0.046583
! Fit after  self-cal, rms=6.047639Jy  sigma=0.042912
! 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.339 mas, bmaj=6.777 mas, bpa=0.165 degrees
! Estimated noise=2248.66 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 = 4.04438 Jy
! Component: 100  -  total flux cleaned = 5.76238 Jy
! Total flux subtracted in 100 components = 5.76238 Jy
! Clean residual min=-0.338882 max=1.100293 Jy/beam
! Clean residual mean=-0.007747 rms=0.150437 Jy/beam
! Combined flux in latest and established models = 5.76238 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 32 components and 5.76238 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.618350Jy  sigma=0.018214
! Fit after  self-cal, rms=2.614452Jy  sigma=0.018191
! Inverting map 
! Added new window around map position (3.5, 3).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.18135 Jy
! Component: 100  -  total flux cleaned = 1.958 Jy
! Total flux subtracted in 100 components = 1.958 Jy
! Clean residual min=-0.223963 max=0.575853 Jy/beam
! Clean residual mean=-0.003509 rms=0.085138 Jy/beam
! Combined flux in latest and established models = 7.72038 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 55 components and 7.72038 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.493277Jy  sigma=0.010080
! Fit after  self-cal, rms=1.470510Jy  sigma=0.009903
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.589662 Jy
! Component: 100  -  total flux cleaned = 0.986421 Jy
! Total flux subtracted in 100 components = 0.986421 Jy
! Clean residual min=-0.180869 max=0.318590 Jy/beam
! Clean residual mean=-0.001382 rms=0.053318 Jy/beam
! Combined flux in latest and established models = 8.7068 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 75 components and 8.7068 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.966664Jy  sigma=0.006275
! Fit after  self-cal, rms=0.951868Jy  sigma=0.006152
! 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=2.944 mas, bmaj=8.575 mas, bpa=-2.853 degrees
! Estimated noise=1553.94 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.49669 Jy
! Component: 100  -  total flux cleaned = 0.771971 Jy
! Component: 150  -  total flux cleaned = 0.938361 Jy
! Component: 200  -  total flux cleaned = 1.04051 Jy
! Total flux subtracted in 200 components = 1.04051 Jy
! Clean residual min=-0.125093 max=0.131902 Jy/beam
! Clean residual mean=0.003867 rms=0.037568 Jy/beam
! Combined flux in latest and established models = 9.74731 Jy
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 99 components and 9.74731 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.605048Jy  sigma=0.003871
! Fit after  self-cal, rms=0.593365Jy  sigma=0.003763
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 12 telescope corrections were flagged in sub-array 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*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TS        0.00*    
!   WF        0.00*    WZ        0.00*    GN        0.00*    NL        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.04     KP        1.00     LA        0.99     
!   MC        1.00*    MK        0.98     NY        1.00*    ON        1.00*    
!   OV        0.99     PT        1.03     SC        1.02     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.03     
! 
!  A total of 99 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        0.94     KK        1.00*    KP        1.01     LA        1.00     
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.09     PT        1.00*    SC        1.01     TS        1.00*    
!   WF        1.04     WZ        1.00*    GN        0.94     NL        0.97     
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 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*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TS        0.00*    
!   WF        0.00*    WZ        0.00*    GN        0.00*    NL        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.04     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.00     LA        0.97     
!   MC        1.00*    MK        0.96     NY        1.00*    ON        1.00*    
!   OV        1.00     PT        1.00     SC        1.00     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.02     
! 
!  A total of 90 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.96     GC        1.00*    HH        1.00*    
!   HN        1.00     KK        1.00*    KP        1.00     LA        0.97     
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.06     PT        1.00*    SC        0.99     TS        1.00*    
!   WF        1.01     WZ        1.00*    GN        0.93     NL        0.94     
! 
! 
! 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*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TS        0.00*    
!   WF        0.00*    WZ        0.00*    GN        0.00*    NL        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.02     FD        1.02     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.06     KP        1.00     LA        1.01     
!   MC        1.00*    MK        0.95     NY        1.00*    ON        1.00*    
!   OV        1.01     PT        0.99     SC        1.02     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.01     
! 
!  A total of 90 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.96     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        0.98     LA        1.02     
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.09     PT        1.00*    SC        1.01     TS        1.00*    
!   WF        1.02     WZ        1.00*    GN        0.94     NL        0.92     
! 
! 
! 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*    NY        0.00*    ON        0.00*    
!   OV        0.00*    PT        0.00*    SC        0.00*    TS        0.00*    
!   WF        0.00*    WZ        0.00*    GN        0.00*    NL        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.01     GC        1.00*    HH        1.00*    
!   HN        1.00*    KK        1.05     KP        1.00     LA        1.00     
!   MC        1.00*    MK        0.99     NY        1.00*    ON        1.00*    
!   OV        0.98     PT        1.04     SC        1.00     TS        1.00*    
!   WF        1.00*    WZ        1.00*    GN        1.00*    NL        1.01     
! 
!  A total of 90 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00*    FD        0.95     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        0.99     LA        1.00     
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.04     PT        1.00*    SC        1.03     TS        1.00*    
!   WF        1.02     WZ        1.00*    GN        0.94     NL        0.92     
! 
! 
! Fit before self-cal, rms=0.593365Jy  sigma=0.003763
! Fit after  self-cal, rms=0.490923Jy  sigma=0.003129
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.976 mas, bmaj=8.81 mas, bpa=-4.157 degrees
! Estimated noise=1619.09 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.053571 Jy
! Component: 100  -  total flux cleaned = 0.0608205 Jy
! Component: 150  -  total flux cleaned = 0.0573615 Jy
! Component: 200  -  total flux cleaned = 0.0557164 Jy
! Total flux subtracted in 200 components = 0.0557164 Jy
! Clean residual min=-0.131038 max=0.087684 Jy/beam
! Clean residual mean=0.003329 rms=0.021462 Jy/beam
! Combined flux in latest and established models = 9.80303 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 120 components and 9.80302 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.462956Jy  sigma=0.002997
! Fit after  self-cal, rms=0.460440Jy  sigma=0.002973
! 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.460440Jy  sigma=0.002973
! Fit after  self-cal, rms=0.459470Jy  sigma=0.002960
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.983 mas, bmaj=8.829 mas, bpa=-4.193 degrees
! Estimated noise=1622.99 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0255628 Jy
! Component: 100  -  total flux cleaned = 0.0272423 Jy
! Component: 150  -  total flux cleaned = 0.027244 Jy
! Component: 200  -  total flux cleaned = 0.0260666 Jy
! Total flux subtracted in 200 components = 0.0260666 Jy
! Clean residual min=-0.120529 max=0.086505 Jy/beam
! Clean residual mean=0.003029 rms=0.019954 Jy/beam
! Combined flux in latest and established models = 9.82909 Jy
selfcal
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 131 components and 9.82909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.445933Jy  sigma=0.002892
! Fit after  self-cal, rms=0.443412Jy  sigma=0.002874
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.00440881 Jy
! Component: 100  -  total flux cleaned = 0.00560108 Jy
! Component: 150  -  total flux cleaned = 0.00564221 Jy
! Component: 200  -  total flux cleaned = 0.00474295 Jy
! Total flux subtracted in 200 components = 0.00474295 Jy
! Clean residual min=-0.117704 max=0.083707 Jy/beam
! Clean residual mean=0.002996 rms=0.019105 Jy/beam
! Combined flux in latest and established models = 9.83383 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 135 components and 9.83383 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.435391Jy  sigma=0.002831
! Fit after  self-cal, rms=0.433371Jy  sigma=0.002817
! 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.433371Jy  sigma=0.002817
! Fit after  self-cal, rms=0.432256Jy  sigma=0.002810
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.99 mas, bmaj=8.848 mas, bpa=-4.241 degrees
! Estimated noise=1625.08 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00606097 Jy
! Component: 100  -  total flux cleaned = 0.0071472 Jy
! Component: 150  -  total flux cleaned = 0.00710783 Jy
! Component: 200  -  total flux cleaned = 0.00713561 Jy
! Total flux subtracted in 200 components = 0.00713561 Jy
! Clean residual min=-0.104536 max=0.083469 Jy/beam
! Clean residual mean=0.002799 rms=0.018252 Jy/beam
! Combined flux in latest and established models = 9.84097 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 139 components and 9.84097 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.425493Jy  sigma=0.002771
! Fit after  self-cal, rms=0.423340Jy  sigma=0.002757
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.000477175 Jy
! Component: 100  -  total flux cleaned = 0.00253069 Jy
! Component: 150  -  total flux cleaned = 0.00339939 Jy
! Component: 200  -  total flux cleaned = 0.0049546 Jy
! Total flux subtracted in 200 components = 0.0049546 Jy
! Clean residual min=-0.100680 max=0.080749 Jy/beam
! Clean residual mean=0.002761 rms=0.017652 Jy/beam
! Combined flux in latest and established models = 9.84593 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 141 components and 9.84593 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.418272Jy  sigma=0.002725
! Fit after  self-cal, rms=0.416280Jy  sigma=0.002713
! 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.416280Jy  sigma=0.002713
! Fit after  self-cal, rms=0.416032Jy  sigma=0.002711
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.688 mas, bmaj=16.59 mas, bpa=0.07394 degrees
! Estimated noise=2075 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000929388 Jy
! Component: 100  -  total flux cleaned = 0.00264359 Jy
! Component: 150  -  total flux cleaned = 0.0043394 Jy
! Component: 200  -  total flux cleaned = 0.00540922 Jy
! Total flux subtracted in 200 components = 0.00540922 Jy
! Clean residual min=-0.024515 max=0.046889 Jy/beam
! Clean residual mean=0.005468 rms=0.009943 Jy/beam
! Combined flux in latest and established models = 9.85134 Jy
selfcal
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 144 components and 9.85134 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.415112Jy  sigma=0.002709
! Fit after  self-cal, rms=0.413261Jy  sigma=0.002693
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.00320478 Jy
! Component: 100  -  total flux cleaned = -0.00255406 Jy
! Component: 150  -  total flux cleaned = -0.00113785 Jy
! Component: 200  -  total flux cleaned = -0.000812662 Jy
! Total flux subtracted in 200 components = -0.000812662 Jy
! Clean residual min=-0.025015 max=0.047223 Jy/beam
! Clean residual mean=0.005494 rms=0.009999 Jy/beam
! Combined flux in latest and established models = 9.85052 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 149 components and 9.85052 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.412501Jy  sigma=0.002695
! Fit after  self-cal, rms=0.411031Jy  sigma=0.002681
! Inverting map 
! Added new window around map position (9.5, 63.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0273392 Jy
! Component: 100  -  total flux cleaned = 0.0293961 Jy
! Component: 150  -  total flux cleaned = 0.0317686 Jy
! Component: 200  -  total flux cleaned = 0.0351131 Jy
! Total flux subtracted in 200 components = 0.0351131 Jy
! Clean residual min=-0.026050 max=0.032528 Jy/beam
! Clean residual mean=0.004647 rms=0.008786 Jy/beam
! Combined flux in latest and established models = 9.88564 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 165 components and 9.88564 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.405173Jy  sigma=0.002647
! Fit after  self-cal, rms=0.404305Jy  sigma=0.002640
! 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=2.994 mas, bmaj=8.857 mas, bpa=-4.264 degrees
! Estimated noise=1626.52 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.994 x 8.857 at -4.264 degrees (North through East)
! Clean map  min=-0.074944  max=5.1624 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.404305Jy  sigma=0.002640
! Fit after  self-cal, rms=0.313353Jy  sigma=0.002003
! Inverting map and beam 
! Estimated beam: bmin=2.995 mas, bmaj=8.858 mas, bpa=-4.169 degrees
! Estimated noise=1625.22 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00209859 Jy
! Component: 100  -  total flux cleaned = 0.0122499 Jy
! Component: 150  -  total flux cleaned = 0.0248403 Jy
! Component: 200  -  total flux cleaned = 0.0329135 Jy
! Total flux subtracted in 200 components = 0.0329135 Jy
! Clean residual min=-0.082894 max=0.065194 Jy/beam
! Clean residual mean=0.000897 rms=0.014154 Jy/beam
! Combined flux in latest and established models = 9.91855 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 185 components and 9.91855 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.287572Jy  sigma=0.001845
! Fit after  self-cal, rms=0.287609Jy  sigma=0.001841
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0108756 Jy
! Component: 100  -  total flux cleaned = 0.010896 Jy
! Component: 150  -  total flux cleaned = 0.0121496 Jy
! Component: 200  -  total flux cleaned = 0.00982449 Jy
! Total flux subtracted in 200 components = 0.00982449 Jy
! Clean residual min=-0.078554 max=0.061374 Jy/beam
! Clean residual mean=0.000821 rms=0.013286 Jy/beam
! Combined flux in latest and established models = 9.92838 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 204 components and 9.92838 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.275390Jy  sigma=0.001773
! Fit after  self-cal, rms=0.275674Jy  sigma=0.001771
! 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.275674Jy  sigma=0.001771
! Fit after  self-cal, rms=0.274481Jy  sigma=0.001765
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.536 mas, bmaj=7.338 mas, bpa=-2.059 degrees
! Estimated noise=2126.93 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 4.3037 Jy
! Component: 100  -  total flux cleaned = 6.13849 Jy
! Component: 150  -  total flux cleaned = 7.29109 Jy
! Component: 200  -  total flux cleaned = 8.06101 Jy
! Total flux subtracted in 200 components = 8.06101 Jy
! Clean residual min=-0.147494 max=0.417839 Jy/beam
! Clean residual mean=-0.003628 rms=0.070601 Jy/beam
! Combined flux in latest and established models = 8.06101 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 48 model components to the UV plane model.
! The established model now contains 48 components and 8.06101 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.994 mas, bmaj=8.855 mas, bpa=-4.175 degrees
! Estimated noise=1625.89 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.735761 Jy
! Component: 100  -  total flux cleaned = 1.16197 Jy
! Component: 150  -  total flux cleaned = 1.41766 Jy
! Component: 200  -  total flux cleaned = 1.57356 Jy
! Total flux subtracted in 200 components = 1.57356 Jy
! Clean residual min=-0.072918 max=0.107297 Jy/beam
! Clean residual mean=0.003250 rms=0.021153 Jy/beam
! Combined flux in latest and established models = 9.63457 Jy
! Adding 45 model components to the UV plane model.
! The established model now contains 82 components and 9.63457 Jy
! Inverting map 
! Added new window around map position (0.5, 19).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0980958 Jy
! Component: 100  -  total flux cleaned = 0.132217 Jy
! Component: 150  -  total flux cleaned = 0.163749 Jy
! Component: 200  -  total flux cleaned = 0.186551 Jy
! Total flux subtracted in 200 components = 0.186551 Jy
! Clean residual min=-0.069571 max=0.068495 Jy/beam
! Clean residual mean=0.001615 rms=0.014248 Jy/beam
! Combined flux in latest and established models = 9.82112 Jy
! Adding 28 model components to the UV plane model.
! The established model now contains 107 components and 9.82112 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=7.674 mas, bmaj=16.59 mas, bpa=0.07898 degrees
! Estimated noise=2077.33 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0562124 Jy
! Component: 100  -  total flux cleaned = 0.0821138 Jy
! Component: 150  -  total flux cleaned = 0.0921745 Jy
! Component: 200  -  total flux cleaned = 0.0999719 Jy
! Total flux subtracted in 200 components = 0.0999719 Jy
! Clean residual min=-0.023058 max=0.028874 Jy/beam
! Clean residual mean=0.001632 rms=0.007263 Jy/beam
! Combined flux in latest and established models = 9.92109 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.00554791 Jy
! Component: 100  -  total flux cleaned = 0.00735889 Jy
! Component: 150  -  total flux cleaned = 0.00932387 Jy
! Component: 200  -  total flux cleaned = 0.0107356 Jy
! Total flux subtracted in 200 components = 0.0107356 Jy
! Clean residual min=-0.021407 max=0.027930 Jy/beam
! Clean residual mean=0.001441 rms=0.006955 Jy/beam
! Combined flux in latest and established models = 9.93183 Jy
! Adding 50 model components to the UV plane model.
! The established model now contains 149 components and 9.93183 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.994 mas, bmaj=8.855 mas, bpa=-4.175 degrees
! Estimated noise=1625.89 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00150739 Jy
! Component: 100  -  total flux cleaned = 0.00491634 Jy
! Component: 150  -  total flux cleaned = 0.00210354 Jy
! Component: 200  -  total flux cleaned = 0.000795041 Jy
! Total flux subtracted in 200 components = 0.000795041 Jy
! Clean residual min=-0.070585 max=0.050616 Jy/beam
! Clean residual mean=0.000712 rms=0.011589 Jy/beam
! Combined flux in latest and established models = 9.93262 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 175 components and 9.93262 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.254965Jy  sigma=0.001645
! Fit after  self-cal, rms=0.252255Jy  sigma=0.001611
wmodel J1924-2914_S_1999_12_20_pus_map.mod
! Writing 175 model components to file: J1924-2914_S_1999_12_20_pus_map.mod
wobs J1924-2914_S_1999_12_20_pus_uvs.fits
! Writing UV FITS file: J1924-2914_S_1999_12_20_pus_uvs.fits
wwins J1924-2914_S_1999_12_20_pus_map.win
! wwins: Wrote 4 windows to J1924-2914_S_1999_12_20_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.0290698 Jy
! Component: 100  -  total flux cleaned = -0.0329229 Jy
! Component: 150  -  total flux cleaned = -0.0305398 Jy
! Component: 200  -  total flux cleaned = -0.0269323 Jy
! Component: 250  -  total flux cleaned = -0.0209298 Jy
! Component: 300  -  total flux cleaned = -0.015279 Jy
! Component: 350  -  total flux cleaned = -0.00992024 Jy
! Component: 400  -  total flux cleaned = -0.00482622 Jy
! Component: 450  -  total flux cleaned = -0.00214063 Jy
! Component: 500  -  total flux cleaned = 0.00145001 Jy
! Component: 550  -  total flux cleaned = 0.00489228 Jy
! Component: 600  -  total flux cleaned = 0.00866309 Jy
! Component: 650  -  total flux cleaned = 0.0127342 Jy
! Component: 700  -  total flux cleaned = 0.0144868 Jy
! Component: 750  -  total flux cleaned = 0.0157631 Jy
! Component: 800  -  total flux cleaned = 0.0165884 Jy
! Component: 850  -  total flux cleaned = 0.0177953 Jy
! Component: 900  -  total flux cleaned = 0.0189709 Jy
! Component: 950  -  total flux cleaned = 0.0204938 Jy
! Component: 1000  -  total flux cleaned = 0.0216012 Jy
! Component: 1050  -  total flux cleaned = 0.0219594 Jy
! Component: 1100  -  total flux cleaned = 0.0223104 Jy
! Component: 1150  -  total flux cleaned = 0.0226492 Jy
! Component: 1200  -  total flux cleaned = 0.0219727 Jy
! Component: 1250  -  total flux cleaned = 0.0226344 Jy
! Component: 1300  -  total flux cleaned = 0.0223082 Jy
! Component: 1350  -  total flux cleaned = 0.0223118 Jy
! Component: 1400  -  total flux cleaned = 0.0226281 Jy
! Component: 1450  -  total flux cleaned = 0.0232388 Jy
! Component: 1500  -  total flux cleaned = 0.0229448 Jy
! Component: 1550  -  total flux cleaned = 0.023534 Jy
! Component: 1600  -  total flux cleaned = 0.0241087 Jy
! Component: 1650  -  total flux cleaned = 0.0246713 Jy
! Component: 1700  -  total flux cleaned = 0.0249499 Jy
! Component: 1750  -  total flux cleaned = 0.0257621 Jy
! Component: 1800  -  total flux cleaned = 0.0262921 Jy
! Component: 1850  -  total flux cleaned = 0.0268183 Jy
! Component: 1900  -  total flux cleaned = 0.0275915 Jy
! Component: 1950  -  total flux cleaned = 0.029101 Jy
! Component: 2000  -  total flux cleaned = 0.0293486 Jy
! Total flux subtracted in 2048 components = 0.0303245 Jy
! Clean residual min=-0.012125 max=0.013726 Jy/beam
! Clean residual mean=0.000444 rms=0.004737 Jy/beam
! Combined flux in latest and established models = 9.96294 Jy
keep
! Adding 120 model components to the UV plane model.
! The established model now contains 293 components and 9.96295 Jy
![Exited script file: muppet]
wmap "J1924-2914_S_1999_12_20_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.994 x 8.855 at -4.175 degrees (North through East)
! Clean map  min=-0.051805  max=5.1305 Jy/beam
! Writing clean map to FITS file: J1924-2914_S_1999_12_20_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 5.13047 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00473238 
device "J1924-2914_S_1999_12_20_pus\_map.eps/VPS"
! Attempting to open device: 'J1924-2914_S_1999_12_20_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.276722 0.276722 0.553445 1.10689 2.21378 4.42756 8.85511 17.7102 35.4205 70.8409
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0141 
print "peak=",int(1000*peak_flux)/1000
! peak= 5.13 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.994 x 8.855 at -4.175 degrees (North through East)
! Clean map  min=-0.051805  max=5.1305 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1924-2914_S_1999_12_20_pus\_map.gif/vgif"
! Attempting to open device: 'J1924-2914_S_1999_12_20_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1924-2914_S_1999_12_20_pus_uvs.log closed on Fri Dec 21 13:33:38 2007