! Started logfile: J0241-0815_S_1999_05_10_pus_uvs.log on Mon Jan 21 17:25:38 2008
obs J0241-0815_S_1999_05_10_pus_uva.fits
! Reading UV FITS file: J0241-0815_S_1999_05_10_pus_uva.fits
! AN table 1: 58 integrations on 153 of 153 possible baselines.
! AN table 2: 161 integrations on 153 of 153 possible baselines.
! AN table 3: 61 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.114823 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0241-0815
! 
! 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 1998 lines of history.
! 
! Reading 19676 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 J0241-0815_S_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 = 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 969 telescope corrections were flagged in sub-array 1.
!  A total of 2038 telescope corrections were flagged in sub-array 2.
!  A total of 586 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 969 telescope corrections were flagged in sub-array 1.
!  A total of 2038 telescope corrections were flagged in sub-array 2.
!  A total of 586 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 969 telescope corrections were flagged in sub-array 1.
!  A total of 2038 telescope corrections were flagged in sub-array 2.
!  A total of 586 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 969 telescope corrections were flagged in sub-array 1.
!  A total of 2038 telescope corrections were flagged in sub-array 2.
!  A total of 586 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.717225Jy  sigma=0.005643
! Fit after  self-cal, rms=0.508997Jy  sigma=0.004116
! 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.316 mas, bmaj=5.154 mas, bpa=11.06 degrees
! Estimated noise=1228.95 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.52297 Jy
! Component: 100  -  total flux cleaned = 0.762444 Jy
! Total flux subtracted in 100 components = 0.762444 Jy
! Clean residual min=-0.039907 max=0.153380 Jy/beam
! Clean residual mean=0.001521 rms=0.017871 Jy/beam
! Combined flux in latest and established models = 0.762444 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 14 components and 0.762444 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398955Jy  sigma=0.003457
! Fit after  self-cal, rms=0.398292Jy  sigma=0.003453
! Inverting map 
! Added new window around map position (3.5, 1.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.156127 Jy
! Component: 100  -  total flux cleaned = 0.256626 Jy
! Total flux subtracted in 100 components = 0.256626 Jy
! Clean residual min=-0.027911 max=0.090339 Jy/beam
! Clean residual mean=0.000915 rms=0.010938 Jy/beam
! Combined flux in latest and established models = 1.01907 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 27 components and 1.01907 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.271641Jy  sigma=0.002291
! Fit after  self-cal, rms=0.267987Jy  sigma=0.002263
! Inverting map 
! Added new window around map position (7.5, 4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0903626 Jy
! Component: 100  -  total flux cleaned = 0.148748 Jy
! Total flux subtracted in 100 components = 0.148748 Jy
! Clean residual min=-0.020036 max=0.049646 Jy/beam
! Clean residual mean=0.000552 rms=0.006827 Jy/beam
! Combined flux in latest and established models = 1.16782 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 42 components and 1.16782 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.210070Jy  sigma=0.001721
! Fit after  self-cal, rms=0.206960Jy  sigma=0.001691
! Inverting map 
! Added new window around map position (-3.5, -1).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0514579 Jy
! Component: 100  -  total flux cleaned = 0.0874276 Jy
! Total flux subtracted in 100 components = 0.0874276 Jy
! Clean residual min=-0.012820 max=0.027616 Jy/beam
! Clean residual mean=0.000332 rms=0.004562 Jy/beam
! Combined flux in latest and established models = 1.25525 Jy
! Performing phase self-cal
! Adding 22 model components to the UV plane model.
! The established model now contains 57 components and 1.25525 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.182840Jy  sigma=0.001456
! Fit after  self-cal, rms=0.182415Jy  sigma=0.001452
! Inverting map 
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
win_mult = win_mult * 1.6
clean_niter = clean_niter * 2
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.253 mas, bmaj=7.219 mas, bpa=8.222 degrees
! Estimated noise=608.211 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.0484098 Jy
! Component: 100  -  total flux cleaned = 0.0770281 Jy
! Component: 150  -  total flux cleaned = 0.0953149 Jy
! Component: 200  -  total flux cleaned = 0.107387 Jy
! Total flux subtracted in 200 components = 0.107387 Jy
! Clean residual min=-0.009553 max=0.033208 Jy/beam
! Clean residual mean=0.000347 rms=0.004458 Jy/beam
! Combined flux in latest and established models = 1.36263 Jy
! Performing phase self-cal
! Adding 59 model components to the UV plane model.
! The established model now contains 107 components and 1.36263 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.169067Jy  sigma=0.001316
! Fit after  self-cal, rms=0.168764Jy  sigma=0.001314
! Inverting map 
! Added new window around map position (-17.5, -7).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0262783 Jy
! Component: 100  -  total flux cleaned = 0.0396395 Jy
! Component: 150  -  total flux cleaned = 0.0493675 Jy
! Component: 200  -  total flux cleaned = 0.0566137 Jy
! Total flux subtracted in 200 components = 0.0566137 Jy
! Clean residual min=-0.008346 max=0.013206 Jy/beam
! Clean residual mean=-0.000067 rms=0.002633 Jy/beam
! Combined flux in latest and established models = 1.41925 Jy
! Performing phase self-cal
! Adding 48 model components to the UV plane model.
! The established model now contains 149 components and 1.41925 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.164767Jy  sigma=0.001270
! Fit after  self-cal, rms=0.164331Jy  sigma=0.001266
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.13     FD        1.00*    GC        1.08     HH        1.00*    
!   HN        1.00*    KK        0.97     KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        0.94     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.99     GC        1.00*    HH        1.00     
!   HN        1.03     KK        1.04     KP        1.03     LA        1.01     
!   MC        1.00*    MK        0.96     NL        0.99     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        1.03     SC        1.03     
!   WF        0.97     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.00     GC        1.00*    HH        1.00*    
!   HN        1.02     KK        1.00*    KP        1.02     LA        1.02     
!   MC        1.00*    MK        1.00*    NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.06     PT        1.02     SC        1.01     
!   WF        0.98     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.03     FD        1.00*    GC        1.04     HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.01     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        1.03     GC        1.00*    HH        0.85     
!   HN        1.00     KK        1.02     KP        1.02     LA        0.98     
!   MC        1.00*    MK        1.02     NL        1.00     NY        1.00*    
!   ON        1.00*    OV        1.02     PT        1.00     SC        1.05     
!   WF        0.99     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.07     FD        1.02     GC        1.00*    HH        1.00*    
!   HN        1.00     KK        1.00*    KP        1.03     LA        0.97     
!   MC        1.00*    MK        1.00*    NL        1.01     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.99     SC        1.00     
!   WF        0.99     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        1.00*    GC        1.00     HH        1.00*    
!   HN        1.00*    KK        0.94     KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        0.97     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.00     GC        1.00*    HH        1.00     
!   HN        1.02     KK        1.01     KP        1.00     LA        0.99     
!   MC        1.00*    MK        0.96     NL        0.98     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.98     SC        1.02     
!   WF        1.01     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.06     FD        0.99     GC        1.00*    HH        1.00*    
!   HN        0.99     KK        1.00*    KP        1.01     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        0.98     NY        1.00*    
!   ON        1.00*    OV        0.99     PT        0.94     SC        0.99     
!   WF        0.99     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.00*    GC        1.03     HH        1.00*    
!   HN        1.00*    KK        0.94     KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        0.99     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.92     FD        0.97     GC        1.00*    HH        1.11     
!   HN        0.99     KK        0.97     KP        1.00     LA        0.98     
!   MC        1.00*    MK        1.00     NL        0.97     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        1.01     SC        1.03     
!   WF        1.02     WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.96     GC        1.00*    HH        1.00*    
!   HN        0.98     KK        1.00*    KP        1.01     LA        0.98     
!   MC        1.00*    MK        1.00*    NL        0.98     NY        1.00*    
!   ON        1.00*    OV        0.96     PT        0.99     SC        0.99     
!   WF        1.05     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.164331Jy  sigma=0.001266
! Fit after  self-cal, rms=0.160233Jy  sigma=0.001225
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.264 mas, bmaj=7.251 mas, bpa=8.865 degrees
! Estimated noise=612.155 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.00681301 Jy
! Component: 100  -  total flux cleaned = 0.00859252 Jy
! Component: 150  -  total flux cleaned = 0.0096115 Jy
! Component: 200  -  total flux cleaned = 0.00993795 Jy
! Total flux subtracted in 200 components = 0.00993795 Jy
! Clean residual min=-0.004374 max=0.006741 Jy/beam
! Clean residual mean=-0.000081 rms=0.001721 Jy/beam
! Combined flux in latest and established models = 1.42918 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 177 components and 1.42918 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159912Jy  sigma=0.001221
! Fit after  self-cal, rms=0.159898Jy  sigma=0.001221
! 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.159898Jy  sigma=0.001221
! Fit after  self-cal, rms=0.159878Jy  sigma=0.001219
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.262 mas, bmaj=7.25 mas, bpa=8.868 degrees
! Estimated noise=612.435 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00455129 Jy
! Component: 100  -  total flux cleaned = 0.00581961 Jy
! Component: 150  -  total flux cleaned = 0.0060976 Jy
! Component: 200  -  total flux cleaned = 0.00641927 Jy
! Total flux subtracted in 200 components = 0.00641927 Jy
! Clean residual min=-0.003948 max=0.006823 Jy/beam
! Clean residual mean=-0.000051 rms=0.001417 Jy/beam
! Combined flux in latest and established models = 1.4356 Jy
selfcal
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 193 components and 1.4356 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159717Jy  sigma=0.001217
! Fit after  self-cal, rms=0.159692Jy  sigma=0.001217
flux_cutoff = imstat(rms) * dynam
! Inverting map 
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (14, 8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00412272 Jy
! Component: 100  -  total flux cleaned = 0.00518551 Jy
! Component: 150  -  total flux cleaned = 0.00585439 Jy
! Component: 200  -  total flux cleaned = 0.00634856 Jy
! Total flux subtracted in 200 components = 0.00634856 Jy
! Clean residual min=-0.004025 max=0.004774 Jy/beam
! Clean residual mean=-0.000091 rms=0.001226 Jy/beam
! Combined flux in latest and established models = 1.44195 Jy
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 209 components and 1.44195 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159498Jy  sigma=0.001215
! Fit after  self-cal, rms=0.159468Jy  sigma=0.001215
! 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.159468Jy  sigma=0.001215
! Fit after  self-cal, rms=0.159553Jy  sigma=0.001214
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.256 mas, bmaj=7.241 mas, bpa=8.964 degrees
! Estimated noise=612.772 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00362709 Jy
! Component: 100  -  total flux cleaned = 0.005659 Jy
! Component: 150  -  total flux cleaned = 0.00631574 Jy
! Component: 200  -  total flux cleaned = 0.00663524 Jy
! Total flux subtracted in 200 components = 0.00663524 Jy
! Clean residual min=-0.003860 max=0.004676 Jy/beam
! Clean residual mean=-0.000074 rms=0.001103 Jy/beam
! Combined flux in latest and established models = 1.44859 Jy
selfcal
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 229 components and 1.44859 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159453Jy  sigma=0.001213
! Fit after  self-cal, rms=0.159434Jy  sigma=0.001213
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.000617204 Jy
! Component: 100  -  total flux cleaned = 0.00074187 Jy
! Component: 150  -  total flux cleaned = 0.000743393 Jy
! Component: 200  -  total flux cleaned = 0.000849378 Jy
! Total flux subtracted in 200 components = 0.000849378 Jy
! Clean residual min=-0.003745 max=0.004590 Jy/beam
! Clean residual mean=-0.000076 rms=0.001070 Jy/beam
! Combined flux in latest and established models = 1.44944 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 239 components and 1.44944 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159393Jy  sigma=0.001213
! Fit after  self-cal, rms=0.159385Jy  sigma=0.001213
! Inverting map 
! Added new window around map position (42, 13).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00461309 Jy
! Component: 100  -  total flux cleaned = 0.0071416 Jy
! Component: 150  -  total flux cleaned = 0.00893386 Jy
! Component: 200  -  total flux cleaned = 0.00983662 Jy
! Total flux subtracted in 200 components = 0.00983662 Jy
! Clean residual min=-0.003502 max=0.002989 Jy/beam
! Clean residual mean=-0.000101 rms=0.000868 Jy/beam
! Combined flux in latest and established models = 1.45927 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 254 components and 1.45927 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159243Jy  sigma=0.001212
! Fit after  self-cal, rms=0.159223Jy  sigma=0.001211
! 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.159223Jy  sigma=0.001211
! Fit after  self-cal, rms=0.159122Jy  sigma=0.001211
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.114 mas, bmaj=13.58 mas, bpa=-2.495 degrees
! Estimated noise=744.179 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00300505 Jy
! Component: 100  -  total flux cleaned = 0.00491753 Jy
! Component: 150  -  total flux cleaned = 0.0063368 Jy
! Component: 200  -  total flux cleaned = 0.00693745 Jy
! Total flux subtracted in 200 components = 0.00693745 Jy
! Clean residual min=-0.003586 max=0.002376 Jy/beam
! Clean residual mean=-0.000175 rms=0.000942 Jy/beam
! Combined flux in latest and established models = 1.46621 Jy
selfcal
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 281 components and 1.46621 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159105Jy  sigma=0.001211
! Fit after  self-cal, rms=0.159101Jy  sigma=0.001211
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.000503497 Jy
! Component: 100  -  total flux cleaned = 0.000737747 Jy
! Component: 150  -  total flux cleaned = 0.000876448 Jy
! Component: 200  -  total flux cleaned = 0.00100326 Jy
! Total flux subtracted in 200 components = 0.00100326 Jy
! Clean residual min=-0.003536 max=0.002338 Jy/beam
! Clean residual mean=-0.000175 rms=0.000900 Jy/beam
! Combined flux in latest and established models = 1.46721 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 293 components and 1.46721 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.159096Jy  sigma=0.001211
! Fit after  self-cal, rms=0.159094Jy  sigma=0.001211
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Estimated beam: bmin=3.244 mas, bmaj=7.222 mas, bpa=9.261 degrees
! Estimated noise=612.878 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.244 x 7.222 at 9.261 degrees (North through East)
! Clean map  min=-0.0029535  max=0.68905 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.159094Jy  sigma=0.001211
! Fit after  self-cal, rms=0.152061Jy  sigma=0.001086
! Inverting map and beam 
! Estimated beam: bmin=3.25 mas, bmaj=7.233 mas, bpa=9.126 degrees
! Estimated noise=613.327 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000479949 Jy
! Component: 100  -  total flux cleaned = 0.000486513 Jy
! Component: 150  -  total flux cleaned = 0.000594278 Jy
! Component: 200  -  total flux cleaned = 0.000693289 Jy
! Total flux subtracted in 200 components = 0.000693289 Jy
! Clean residual min=-0.002843 max=0.002370 Jy/beam
! Clean residual mean=-0.000099 rms=0.000738 Jy/beam
! Combined flux in latest and established models = 1.46791 Jy
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 315 components and 1.46791 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152016Jy  sigma=0.001086
! Fit after  self-cal, rms=0.152021Jy  sigma=0.001086
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000324092 Jy
! Component: 100  -  total flux cleaned = 0.000323496 Jy
! Component: 150  -  total flux cleaned = 0.000366306 Jy
! Component: 200  -  total flux cleaned = 0.000445909 Jy
! Total flux subtracted in 200 components = 0.000445909 Jy
! Clean residual min=-0.002866 max=0.002373 Jy/beam
! Clean residual mean=-0.000100 rms=0.000724 Jy/beam
! Combined flux in latest and established models = 1.46835 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 327 components and 1.46835 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.151995Jy  sigma=0.001085
! Fit after  self-cal, rms=0.151992Jy  sigma=0.001085
! 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.151992Jy  sigma=0.001085
! Fit after  self-cal, rms=0.152509Jy  sigma=0.001085
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.322 mas, bmaj=5.157 mas, bpa=11.91 degrees
! Estimated noise=1229.98 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.529545 Jy
! Component: 100  -  total flux cleaned = 0.780199 Jy
! Component: 150  -  total flux cleaned = 0.943087 Jy
! Component: 200  -  total flux cleaned = 1.05528 Jy
! Total flux subtracted in 200 components = 1.05528 Jy
! Clean residual min=-0.026837 max=0.062725 Jy/beam
! Clean residual mean=0.000782 rms=0.009441 Jy/beam
! Combined flux in latest and established models = 1.05528 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 41 model components to the UV plane model.
! The established model now contains 41 components and 1.05528 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.244 mas, bmaj=7.221 mas, bpa=9.145 degrees
! Estimated noise=613.177 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.13386 Jy
! Component: 100  -  total flux cleaned = 0.209824 Jy
! Component: 150  -  total flux cleaned = 0.258375 Jy
! Component: 200  -  total flux cleaned = 0.291118 Jy
! Total flux subtracted in 200 components = 0.291118 Jy
! Clean residual min=-0.009822 max=0.018046 Jy/beam
! Clean residual mean=0.000755 rms=0.004688 Jy/beam
! Combined flux in latest and established models = 1.3464 Jy
! Adding 81 model components to the UV plane model.
! The established model now contains 105 components and 1.3464 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=8.123 mas, bmaj=13.58 mas, bpa=-2.463 degrees
! Estimated noise=744.374 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0374468 Jy
! Component: 100  -  total flux cleaned = 0.0607626 Jy
! Component: 150  -  total flux cleaned = 0.0758909 Jy
! Component: 200  -  total flux cleaned = 0.086283 Jy
! Total flux subtracted in 200 components = 0.086283 Jy
! Clean residual min=-0.005865 max=0.006789 Jy/beam
! Clean residual mean=0.000215 rms=0.002224 Jy/beam
! Combined flux in latest and established models = 1.43268 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.00780061 Jy
! Component: 100  -  total flux cleaned = 0.0138362 Jy
! Component: 150  -  total flux cleaned = 0.0185799 Jy
! Component: 200  -  total flux cleaned = 0.0223432 Jy
! Total flux subtracted in 200 components = 0.0223432 Jy
! Clean residual min=-0.004534 max=0.003304 Jy/beam
! Clean residual mean=-0.000039 rms=0.001149 Jy/beam
! Combined flux in latest and established models = 1.45503 Jy
! Adding 158 model components to the UV plane model.
! The established model now contains 258 components and 1.45503 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.244 mas, bmaj=7.221 mas, bpa=9.145 degrees
! Estimated noise=613.177 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00305914 Jy
! Component: 100  -  total flux cleaned = 0.0050208 Jy
! Component: 150  -  total flux cleaned = 0.00695655 Jy
! Component: 200  -  total flux cleaned = 0.00791631 Jy
! Total flux subtracted in 200 components = 0.00791631 Jy
! Clean residual min=-0.003774 max=0.003072 Jy/beam
! Clean residual mean=-0.000055 rms=0.000835 Jy/beam
! Combined flux in latest and established models = 1.46294 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 283 components and 1.46294 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.152782Jy  sigma=0.001088
! Fit after  self-cal, rms=0.152668Jy  sigma=0.001087
wmodel J0241-0815_S_1999_05_10_pus_map.mod
! Writing 283 model components to file: J0241-0815_S_1999_05_10_pus_map.mod
wobs J0241-0815_S_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J0241-0815_S_1999_05_10_pus_uvs.fits
wwins J0241-0815_S_1999_05_10_pus_map.win
! wwins: Wrote 7 windows to J0241-0815_S_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 
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = -0.00102732 Jy
! Component: 100  -  total flux cleaned = -0.00113122 Jy
! Component: 150  -  total flux cleaned = -0.00122633 Jy
! Component: 200  -  total flux cleaned = -0.00127202 Jy
! Component: 250  -  total flux cleaned = -0.00140214 Jy
! Component: 300  -  total flux cleaned = -0.00148646 Jy
! Component: 350  -  total flux cleaned = -0.00165057 Jy
! Component: 400  -  total flux cleaned = -0.00189002 Jy
! Component: 450  -  total flux cleaned = -0.00204548 Jy
! Component: 500  -  total flux cleaned = -0.00223543 Jy
! Component: 550  -  total flux cleaned = -0.00227253 Jy
! Component: 600  -  total flux cleaned = -0.00230893 Jy
! Component: 650  -  total flux cleaned = -0.00230903 Jy
! Component: 700  -  total flux cleaned = -0.00241426 Jy
! Component: 750  -  total flux cleaned = -0.00237994 Jy
! Component: 800  -  total flux cleaned = -0.00238002 Jy
! Component: 850  -  total flux cleaned = -0.00234679 Jy
! Component: 900  -  total flux cleaned = -0.00234685 Jy
! Component: 950  -  total flux cleaned = -0.00231428 Jy
! Component: 1000  -  total flux cleaned = -0.00225065 Jy
! Component: 1050  -  total flux cleaned = -0.00218824 Jy
! Component: 1100  -  total flux cleaned = -0.002158 Jy
! Component: 1150  -  total flux cleaned = -0.00215819 Jy
! Component: 1200  -  total flux cleaned = -0.00212845 Jy
! Component: 1250  -  total flux cleaned = -0.00212874 Jy
! Component: 1300  -  total flux cleaned = -0.00218766 Jy
! Component: 1350  -  total flux cleaned = -0.00215891 Jy
! Component: 1400  -  total flux cleaned = -0.00224559 Jy
! Component: 1450  -  total flux cleaned = -0.0022738 Jy
! Component: 1500  -  total flux cleaned = -0.00224574 Jy
! Component: 1550  -  total flux cleaned = -0.00224596 Jy
! Component: 1600  -  total flux cleaned = -0.00227386 Jy
! Component: 1650  -  total flux cleaned = -0.00221884 Jy
! Component: 1700  -  total flux cleaned = -0.0023011 Jy
! Component: 1750  -  total flux cleaned = -0.00230081 Jy
! Component: 1800  -  total flux cleaned = -0.002301 Jy
! Component: 1850  -  total flux cleaned = -0.00238065 Jy
! Component: 1900  -  total flux cleaned = -0.00232795 Jy
! Component: 1950  -  total flux cleaned = -0.00240659 Jy
! Component: 2000  -  total flux cleaned = -0.00245826 Jy
! Total flux subtracted in 2048 components = -0.00253533 Jy
! Clean residual min=-0.001474 max=0.001414 Jy/beam
! Clean residual mean=-0.000016 rms=0.000509 Jy/beam
! Combined flux in latest and established models = 1.46041 Jy
keep
! Adding 122 model components to the UV plane model.
! The established model now contains 405 components and 1.46041 Jy
![Exited script file: muppet]
wmap "J0241-0815_S_1999_05_10_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.244 x 7.221 at 9.145 degrees (North through East)
! Clean map  min=-0.002755  max=0.68861 Jy/beam
! Writing clean map to FITS file: J0241-0815_S_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.688612 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000508145 
device "J0241-0815_S_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J0241-0815_S_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.221378 0.221378 0.442756 0.885512 1.77102 3.54205 7.0841 14.1682 28.3364 56.6728
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.688 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.244 x 7.221 at 9.145 degrees (North through East)
! Clean map  min=-0.002755  max=0.68861 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0241-0815_S_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J0241-0815_S_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0241-0815_S_1999_05_10_pus_uvs.log closed on Mon Jan 21 17:25:52 2008