! Started logfile: J0241-0815_S_2000_05_22_pus_uvs.log on Mon Nov 19 18:36:14 2007
obs J0241-0815_S_2000_05_22_pus_uva.fits
! Reading UV FITS file: J0241-0815_S_2000_05_22_pus_uva.fits
! AN table 1: 19 integrations on 190 of 190 possible baselines.
! AN table 2: 58 integrations on 190 of 190 possible baselines.
! AN table 3: 197 integrations on 190 of 190 possible baselines.
! AN table 4: 38 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.121592 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 2003 lines of history.
! 
! Reading 28832 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_2000_05_22_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 380 telescope corrections were flagged in sub-array 1.
!  A total of 796 telescope corrections were flagged in sub-array 2.
!  A total of 2617 telescope corrections were flagged in sub-array 3.
!  A total of 517 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 2.
!  A total of 380 telescope corrections were flagged in sub-array 1.
!  A total of 796 telescope corrections were flagged in sub-array 2.
!  A total of 2617 telescope corrections were flagged in sub-array 3.
!  A total of 517 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 3.
!  A total of 380 telescope corrections were flagged in sub-array 1.
!  A total of 796 telescope corrections were flagged in sub-array 2.
!  A total of 2617 telescope corrections were flagged in sub-array 3.
!  A total of 517 telescope corrections were flagged in sub-array 4.
! 
! Correcting IF 4.
!  A total of 380 telescope corrections were flagged in sub-array 1.
!  A total of 796 telescope corrections were flagged in sub-array 2.
!  A total of 2617 telescope corrections were flagged in sub-array 3.
!  A total of 517 telescope corrections were flagged in sub-array 4.
! 
! Fit before self-cal, rms=0.941747Jy  sigma=0.007779
! Fit after  self-cal, rms=0.560146Jy  sigma=0.004456
! 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.247 mas, bmaj=6.177 mas, bpa=-1.327 degrees
! Estimated noise=854.622 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.414741 Jy
! Component: 100  -  total flux cleaned = 0.609397 Jy
! Total flux subtracted in 100 components = 0.609397 Jy
! Clean residual min=-0.037521 max=0.103885 Jy/beam
! Clean residual mean=0.002002 rms=0.013837 Jy/beam
! Combined flux in latest and established models = 0.609397 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.609397 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.408466Jy  sigma=0.003517
! Fit after  self-cal, rms=0.406923Jy  sigma=0.003507
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.119574 Jy
! Component: 100  -  total flux cleaned = 0.196201 Jy
! Total flux subtracted in 100 components = 0.196201 Jy
! Clean residual min=-0.032242 max=0.087750 Jy/beam
! Clean residual mean=0.001420 rms=0.010800 Jy/beam
! Combined flux in latest and established models = 0.805597 Jy
! Performing phase self-cal
! Adding 21 model components to the UV plane model.
! The established model now contains 30 components and 0.805597 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.325692Jy  sigma=0.002726
! Fit after  self-cal, rms=0.325536Jy  sigma=0.002723
! Inverting map 
! Added new window around map position (6.5, 5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0838195 Jy
! Component: 100  -  total flux cleaned = 0.136797 Jy
! Total flux subtracted in 100 components = 0.136797 Jy
! Clean residual min=-0.027463 max=0.047399 Jy/beam
! Clean residual mean=0.001026 rms=0.008960 Jy/beam
! Combined flux in latest and established models = 0.942394 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 55 components and 0.942394 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.279508Jy  sigma=0.002282
! Fit after  self-cal, rms=0.276775Jy  sigma=0.002262
! 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.053 mas, bmaj=6.978 mas, bpa=1.343 degrees
! Estimated noise=519.019 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 (3.5, 3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.112364 Jy
! Component: 100  -  total flux cleaned = 0.180745 Jy
! Component: 150  -  total flux cleaned = 0.227147 Jy
! Component: 200  -  total flux cleaned = 0.260409 Jy
! Total flux subtracted in 200 components = 0.260409 Jy
! Clean residual min=-0.022385 max=0.041047 Jy/beam
! Clean residual mean=0.001411 rms=0.008284 Jy/beam
! Combined flux in latest and established models = 1.2028 Jy
! Performing phase self-cal
! Adding 69 model components to the UV plane model.
! The established model now contains 114 components and 1.2028 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.228181Jy  sigma=0.001747
! Fit after  self-cal, rms=0.226252Jy  sigma=0.001730
! Inverting map 
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*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.07     FD        0.97     GC        1.04     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.88     KP        0.92     
!   MA        1.00*    MC        1.00*    MK        0.98     NL        1.08     
!   NY        1.00*    OV        1.19     PT        0.99     SC        1.00*    
!   TS        1.17     WF        1.00*    WZ        1.00*    LA        0.99     
! 
!  A total of 141 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.92     FD        0.96     GC        1.49     GG        1.00*    
!   HH        1.00*    HN        1.00     KK        0.90     KP        1.00     
!   MA        1.00*    MC        1.00*    MK        0.95     NL        1.03     
!   NY        1.00*    OV        0.97     PT        0.95     SC        0.94     
!   TS        1.00*    WF        1.01     WZ        1.00*    LA        0.94     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.91     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.05     KK        1.00*    KP        0.89     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.05     
!   NY        1.00*    OV        0.99     PT        0.91     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        0.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.04     FD        0.99     GC        1.03     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.95     KP        0.96     
!   MA        1.00*    MC        1.00*    MK        0.93     NL        1.13     
!   NY        1.00*    OV        1.05     PT        1.00     SC        1.00*    
!   TS        1.03     WF        1.00*    WZ        1.00*    LA        0.97     
! 
!  A total of 141 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.91     FD        0.95     GC        1.49     GG        1.00*    
!   HH        1.00*    HN        1.09     KK        0.94     KP        0.97     
!   MA        1.00*    MC        1.00*    MK        0.89     NL        1.05     
!   NY        1.00*    OV        0.96     PT        0.95     SC        0.97     
!   TS        1.00*    WF        1.04     WZ        1.00*    LA        0.88     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.93     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.13     KK        1.00*    KP        0.96     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.07     
!   NY        1.00*    OV        0.98     PT        0.92     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        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        0.98     GC        0.94     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.91     KP        1.03     
!   MA        1.00*    MC        1.00*    MK        0.93     NL        1.07     
!   NY        1.00*    OV        1.08     PT        0.96     SC        1.00*    
!   TS        1.17     WF        1.00*    WZ        1.00*    LA        1.04     
! 
!  A total of 141 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.89     FD        0.95     GC        1.45     GG        1.00*    
!   HH        1.00*    HN        1.03     KK        0.95     KP        0.97     
!   MA        1.00*    MC        1.00*    MK        0.86     NL        1.01     
!   NY        1.00*    OV        1.00     PT        0.92     SC        0.98     
!   TS        1.00*    WF        1.04     WZ        1.00*    LA        0.93     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.96     FD        0.92     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.07     KK        1.00*    KP        1.02     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.03     
!   NY        1.00*    OV        1.02     PT        0.90     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   MA        0.00*    MC        0.00*    MK        0.00*    NL        0.00*    
!   NY        0.00*    OV        0.00*    PT        0.00*    SC        0.00*    
!   TS        0.00*    WF        0.00*    WZ        0.00*    LA        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        0.97     GC        0.96     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.93     KP        1.01     
!   MA        1.00*    MC        1.00*    MK        0.98     NL        1.08     
!   NY        1.00*    OV        1.10     PT        0.95     SC        1.00*    
!   TS        1.13     WF        1.00*    WZ        1.00*    LA        1.03     
! 
!  A total of 141 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.92     FD        0.96     GC        1.47     GG        1.00*    
!   HH        1.00*    HN        1.07     KK        0.94     KP        0.98     
!   MA        1.00*    MC        1.00*    MK        0.91     NL        1.04     
!   NY        1.00*    OV        0.97     PT        0.90     SC        0.96     
!   TS        1.00*    WF        1.02     WZ        1.00*    LA        0.94     
! 
!  Telescope amplitude corrections in sub-array 4:
!   BR        0.98     FD        0.92     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.09     KK        1.00*    KP        0.98     
!   MA        1.00*    MC        1.00*    MK        1.00*    NL        1.06     
!   NY        1.00*    OV        0.98     PT        0.93     SC        1.00*    
!   TS        1.00*    WF        1.00*    WZ        1.00*    LA        1.00*    
! 
! 
! Fit before self-cal, rms=0.226252Jy  sigma=0.001730
! Fit after  self-cal, rms=0.236558Jy  sigma=0.001533
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.092 mas, bmaj=7.207 mas, bpa=0.3166 degrees
! Estimated noise=513.461 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 (-18.5, -8.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0332388 Jy
! Component: 100  -  total flux cleaned = 0.0466252 Jy
! Component: 150  -  total flux cleaned = 0.0514272 Jy
! Component: 200  -  total flux cleaned = 0.0546332 Jy
! Total flux subtracted in 200 components = 0.0546332 Jy
! Clean residual min=-0.014921 max=0.017295 Jy/beam
! Clean residual mean=0.000245 rms=0.004403 Jy/beam
! Combined flux in latest and established models = 1.25744 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 146 components and 1.25744 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.230398Jy  sigma=0.001483
! Fit after  self-cal, rms=0.230422Jy  sigma=0.001478
! 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.230422Jy  sigma=0.001478
! Fit after  self-cal, rms=0.347266Jy  sigma=0.001405
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.115 mas, bmaj=7.422 mas, bpa=0.003055 degrees
! Estimated noise=529.616 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00300943 Jy
! Component: 100  -  total flux cleaned = 0.00715173 Jy
! Component: 150  -  total flux cleaned = 0.0106717 Jy
! Component: 200  -  total flux cleaned = 0.0137893 Jy
! Total flux subtracted in 200 components = 0.0137893 Jy
! Clean residual min=-0.014549 max=0.014461 Jy/beam
! Clean residual mean=0.000379 rms=0.004216 Jy/beam
! Combined flux in latest and established models = 1.27123 Jy
selfcal
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 166 components and 1.27122 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.342799Jy  sigma=0.001387
! Fit after  self-cal, rms=0.344071Jy  sigma=0.001385
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.0038092 Jy
! Component: 100  -  total flux cleaned = 0.00467159 Jy
! Component: 150  -  total flux cleaned = 0.00504143 Jy
! Component: 200  -  total flux cleaned = 0.00575735 Jy
! Total flux subtracted in 200 components = 0.00575735 Jy
! Clean residual min=-0.013603 max=0.013110 Jy/beam
! Clean residual mean=0.000326 rms=0.003997 Jy/beam
! Combined flux in latest and established models = 1.27698 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 185 components and 1.27698 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.342420Jy  sigma=0.001379
! Fit after  self-cal, rms=0.342460Jy  sigma=0.001379
! 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.342460Jy  sigma=0.001379
! Fit after  self-cal, rms=0.393185Jy  sigma=0.001291
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.125 mas, bmaj=7.34 mas, bpa=0.7438 degrees
! Estimated noise=524.694 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00773366 Jy
! Component: 100  -  total flux cleaned = 0.00956666 Jy
! Component: 150  -  total flux cleaned = 0.00981988 Jy
! Component: 200  -  total flux cleaned = 0.0100499 Jy
! Total flux subtracted in 200 components = 0.0100499 Jy
! Clean residual min=-0.006796 max=0.015314 Jy/beam
! Clean residual mean=0.000217 rms=0.002048 Jy/beam
! Combined flux in latest and established models = 1.28703 Jy
selfcal
! Performing phase self-cal
! Adding 23 model components to the UV plane model.
! The established model now contains 207 components and 1.28703 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.392727Jy  sigma=0.001283
! Fit after  self-cal, rms=0.392929Jy  sigma=0.001282
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 (-4.5, -0.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00749949 Jy
! Component: 100  -  total flux cleaned = 0.00695614 Jy
! Component: 150  -  total flux cleaned = 0.006457 Jy
! Component: 200  -  total flux cleaned = 0.00645451 Jy
! Total flux subtracted in 200 components = 0.00645451 Jy
! Clean residual min=-0.005798 max=0.010770 Jy/beam
! Clean residual mean=0.000144 rms=0.001803 Jy/beam
! Combined flux in latest and established models = 1.29349 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 221 components and 1.29349 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.392514Jy  sigma=0.001274
! Fit after  self-cal, rms=0.392406Jy  sigma=0.001274
! Inverting map 
! Added new window around map position (15, 6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00907425 Jy
! Component: 100  -  total flux cleaned = 0.0115598 Jy
! Component: 150  -  total flux cleaned = 0.0121994 Jy
! Component: 200  -  total flux cleaned = 0.0123937 Jy
! Total flux subtracted in 200 components = 0.0123937 Jy
! Clean residual min=-0.006138 max=0.004817 Jy/beam
! Clean residual mean=0.000043 rms=0.001477 Jy/beam
! Combined flux in latest and established models = 1.30588 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 249 components and 1.30588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.392087Jy  sigma=0.001267
! Fit after  self-cal, rms=0.392072Jy  sigma=0.001267
! 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.392072Jy  sigma=0.001267
! Fit after  self-cal, rms=0.398216Jy  sigma=0.001261
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.398 mas, bmaj=12.8 mas, bpa=8.922 degrees
! Estimated noise=644.376 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00880666 Jy
! Component: 100  -  total flux cleaned = 0.0123501 Jy
! Component: 150  -  total flux cleaned = 0.0133591 Jy
! Component: 200  -  total flux cleaned = 0.0135005 Jy
! Total flux subtracted in 200 components = 0.0135005 Jy
! Clean residual min=-0.004065 max=0.005900 Jy/beam
! Clean residual mean=0.000036 rms=0.001480 Jy/beam
! Combined flux in latest and established models = 1.31938 Jy
selfcal
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 279 components and 1.31938 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398119Jy  sigma=0.001258
! Fit after  self-cal, rms=0.398027Jy  sigma=0.001258
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.000804247 Jy
! Component: 100  -  total flux cleaned = 0.000800668 Jy
! Component: 150  -  total flux cleaned = 0.000685799 Jy
! Component: 200  -  total flux cleaned = 0.000789362 Jy
! Total flux subtracted in 200 components = 0.000789362 Jy
! Clean residual min=-0.003914 max=0.005535 Jy/beam
! Clean residual mean=0.000020 rms=0.001375 Jy/beam
! Combined flux in latest and established models = 1.32017 Jy
! Performing phase self-cal
! Adding 34 model components to the UV plane model.
! The established model now contains 295 components and 1.32017 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398013Jy  sigma=0.001257
! Fit after  self-cal, rms=0.398033Jy  sigma=0.001256
! 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.118 mas, bmaj=7.314 mas, bpa=0.9005 degrees
! Estimated noise=522.968 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.118 x 7.314 at 0.9005 degrees (North through East)
! Clean map  min=-0.0051087  max=0.60813 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.398033Jy  sigma=0.001256
! Fit after  self-cal, rms=1.024745Jy  sigma=0.001113
! Inverting map and beam 
! Estimated beam: bmin=3.099 mas, bmaj=7.275 mas, bpa=0.5696 degrees
! Estimated noise=519.929 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00295741 Jy
! Component: 100  -  total flux cleaned = 0.00359536 Jy
! Component: 150  -  total flux cleaned = 0.00372958 Jy
! Component: 200  -  total flux cleaned = 0.00372994 Jy
! Total flux subtracted in 200 components = 0.00372994 Jy
! Clean residual min=-0.004118 max=0.003688 Jy/beam
! Clean residual mean=0.000050 rms=0.000956 Jy/beam
! Combined flux in latest and established models = 1.3239 Jy
! Performing phase self-cal
! Adding 25 model components to the UV plane model.
! The established model now contains 312 components and 1.3239 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.024669Jy  sigma=0.001111
! Fit after  self-cal, rms=1.024692Jy  sigma=0.001111
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000147769 Jy
! Component: 100  -  total flux cleaned = 0.000149795 Jy
! Component: 150  -  total flux cleaned = 4.5108e-05 Jy
! Component: 200  -  total flux cleaned = 4.54807e-05 Jy
! Total flux subtracted in 200 components = 4.54807e-05 Jy
! Clean residual min=-0.003735 max=0.003494 Jy/beam
! Clean residual mean=0.000050 rms=0.000910 Jy/beam
! Combined flux in latest and established models = 1.32395 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 331 components and 1.32395 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.024653Jy  sigma=0.001110
! Fit after  self-cal, rms=1.024655Jy  sigma=0.001110
! Inverting map 
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.024655Jy  sigma=0.001110
! Fit after  self-cal, rms=1.001873Jy  sigma=0.001110
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.262 mas, bmaj=6.464 mas, bpa=-2.874 degrees
! Estimated noise=901.595 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.432754 Jy
! Component: 100  -  total flux cleaned = 0.63862 Jy
! Component: 150  -  total flux cleaned = 0.773244 Jy
! Component: 200  -  total flux cleaned = 0.872124 Jy
! Total flux subtracted in 200 components = 0.872124 Jy
! Clean residual min=-0.018437 max=0.057383 Jy/beam
! Clean residual mean=0.001318 rms=0.007568 Jy/beam
! Combined flux in latest and established models = 0.872124 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 33 model components to the UV plane model.
! The established model now contains 33 components and 0.872124 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.094 mas, bmaj=7.271 mas, bpa=0.5108 degrees
! Estimated noise=519.46 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.136879 Jy
! Component: 100  -  total flux cleaned = 0.219325 Jy
! Component: 150  -  total flux cleaned = 0.273436 Jy
! Component: 200  -  total flux cleaned = 0.311905 Jy
! Total flux subtracted in 200 components = 0.311905 Jy
! Clean residual min=-0.011067 max=0.021661 Jy/beam
! Clean residual mean=0.001383 rms=0.004613 Jy/beam
! Combined flux in latest and established models = 1.18403 Jy
! Adding 61 model components to the UV plane model.
! The established model now contains 80 components and 1.18403 Jy
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0279788 Jy
! Component: 100  -  total flux cleaned = 0.0494491 Jy
! Component: 150  -  total flux cleaned = 0.0664247 Jy
! Component: 200  -  total flux cleaned = 0.079991 Jy
! Total flux subtracted in 200 components = 0.079991 Jy
! Clean residual min=-0.005771 max=0.009037 Jy/beam
! Clean residual mean=0.000625 rms=0.002084 Jy/beam
! Combined flux in latest and established models = 1.26402 Jy
! Adding 49 model components to the UV plane model.
! The established model now contains 122 components and 1.26402 Jy
! Inverting map 
! Added new window around map position (-11, -3.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0111955 Jy
! Component: 100  -  total flux cleaned = 0.0203591 Jy
! Component: 150  -  total flux cleaned = 0.0279847 Jy
! Component: 200  -  total flux cleaned = 0.0344708 Jy
! Total flux subtracted in 200 components = 0.0344708 Jy
! Clean residual min=-0.003805 max=0.004359 Jy/beam
! Clean residual mean=0.000307 rms=0.001222 Jy/beam
! Combined flux in latest and established models = 1.29849 Jy
! Adding 69 model components to the UV plane model.
! The established model now contains 171 components and 1.29849 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.375 mas, bmaj=12.77 mas, bpa=8.835 degrees
! Estimated noise=644.359 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00970816 Jy
! Component: 100  -  total flux cleaned = 0.0164614 Jy
! Component: 150  -  total flux cleaned = 0.0213688 Jy
! Component: 200  -  total flux cleaned = 0.0249976 Jy
! Total flux subtracted in 200 components = 0.0249976 Jy
! Clean residual min=-0.003026 max=0.004255 Jy/beam
! Clean residual mean=0.000183 rms=0.001057 Jy/beam
! Combined flux in latest and established models = 1.32349 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.00242772 Jy
! Component: 100  -  total flux cleaned = 0.00372334 Jy
! Component: 150  -  total flux cleaned = 0.00458617 Jy
! Component: 200  -  total flux cleaned = 0.00513938 Jy
! Total flux subtracted in 200 components = 0.00513938 Jy
! Clean residual min=-0.002745 max=0.004120 Jy/beam
! Clean residual mean=0.000082 rms=0.000960 Jy/beam
! Combined flux in latest and established models = 1.32863 Jy
! Adding 120 model components to the UV plane model.
! The established model now contains 269 components and 1.32863 Jy
! Inverting map 
! Added new window around map position (39, 15.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00362655 Jy
! Component: 100  -  total flux cleaned = 0.00462166 Jy
! Component: 150  -  total flux cleaned = 0.00526612 Jy
! Component: 200  -  total flux cleaned = 0.00578482 Jy
! Total flux subtracted in 200 components = 0.00578482 Jy
! Clean residual min=-0.002414 max=0.002343 Jy/beam
! Clean residual mean=0.000006 rms=0.000723 Jy/beam
! Combined flux in latest and established models = 1.33441 Jy
! Adding 44 model components to the UV plane model.
! The established model now contains 305 components and 1.33441 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.094 mas, bmaj=7.271 mas, bpa=0.5108 degrees
! Estimated noise=519.46 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000131001 Jy
! Component: 100  -  total flux cleaned = 2.0241e-05 Jy
! Component: 150  -  total flux cleaned = 0.000123616 Jy
! Component: 200  -  total flux cleaned = 0.00021369 Jy
! Total flux subtracted in 200 components = 0.00021369 Jy
! Clean residual min=-0.002886 max=0.002795 Jy/beam
! Clean residual mean=-0.000006 rms=0.000711 Jy/beam
! Combined flux in latest and established models = 1.33463 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 332 components and 1.33463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.001890Jy  sigma=0.001105
! Fit after  self-cal, rms=1.001916Jy  sigma=0.001104
wmodel J0241-0815_S_2000_05_22_pus_map.mod
! Writing 332 model components to file: J0241-0815_S_2000_05_22_pus_map.mod
wobs J0241-0815_S_2000_05_22_pus_uvs.fits
! Writing UV FITS file: J0241-0815_S_2000_05_22_pus_uvs.fits
wwins J0241-0815_S_2000_05_22_pus_map.win
! wwins: Wrote 8 windows to J0241-0815_S_2000_05_22_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.000760159 Jy
! Component: 100  -  total flux cleaned = -0.00101424 Jy
! Component: 150  -  total flux cleaned = -0.00133541 Jy
! Component: 200  -  total flux cleaned = -0.00168286 Jy
! Component: 250  -  total flux cleaned = -0.00194545 Jy
! Component: 300  -  total flux cleaned = -0.00212905 Jy
! Component: 350  -  total flux cleaned = -0.0022715 Jy
! Component: 400  -  total flux cleaned = -0.00241047 Jy
! Component: 450  -  total flux cleaned = -0.0025131 Jy
! Component: 500  -  total flux cleaned = -0.00264794 Jy
! Component: 550  -  total flux cleaned = -0.00271486 Jy
! Component: 600  -  total flux cleaned = -0.00297635 Jy
! Component: 650  -  total flux cleaned = -0.00310453 Jy
! Component: 700  -  total flux cleaned = -0.00323053 Jy
! Component: 750  -  total flux cleaned = -0.00329276 Jy
! Component: 800  -  total flux cleaned = -0.00344695 Jy
! Component: 850  -  total flux cleaned = -0.00350793 Jy
! Component: 900  -  total flux cleaned = -0.00368821 Jy
! Component: 950  -  total flux cleaned = -0.00377704 Jy
! Component: 1000  -  total flux cleaned = -0.00386521 Jy
! Component: 1050  -  total flux cleaned = -0.00395213 Jy
! Component: 1100  -  total flux cleaned = -0.00409533 Jy
! Component: 1150  -  total flux cleaned = -0.00412367 Jy
! Component: 1200  -  total flux cleaned = -0.00423596 Jy
! Component: 1250  -  total flux cleaned = -0.00429151 Jy
! Component: 1300  -  total flux cleaned = -0.00437402 Jy
! Component: 1350  -  total flux cleaned = -0.00448264 Jy
! Component: 1400  -  total flux cleaned = -0.00448291 Jy
! Component: 1450  -  total flux cleaned = -0.00458943 Jy
! Component: 1500  -  total flux cleaned = -0.00464188 Jy
! Component: 1550  -  total flux cleaned = -0.00461576 Jy
! Component: 1600  -  total flux cleaned = -0.00466782 Jy
! Component: 1650  -  total flux cleaned = -0.00464207 Jy
! Component: 1700  -  total flux cleaned = -0.00476969 Jy
! Component: 1750  -  total flux cleaned = -0.00474434 Jy
! Component: 1800  -  total flux cleaned = -0.00479434 Jy
! Component: 1850  -  total flux cleaned = -0.0047945 Jy
! Component: 1900  -  total flux cleaned = -0.00476991 Jy
! Component: 1950  -  total flux cleaned = -0.00481887 Jy
! Component: 2000  -  total flux cleaned = -0.00481903 Jy
! Total flux subtracted in 2048 components = -0.00489164 Jy
! Clean residual min=-0.001627 max=0.001335 Jy/beam
! Clean residual mean=0.000013 rms=0.000505 Jy/beam
! Combined flux in latest and established models = 1.32973 Jy
keep
! Adding 139 model components to the UV plane model.
! The established model now contains 469 components and 1.32973 Jy
![Exited script file: muppet]
wmap "J0241-0815_S_2000_05_22_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.094 x 7.271 at 0.5108 degrees (North through East)
! Clean map  min=-0.0024791  max=0.60512 Jy/beam
! Writing clean map to FITS file: J0241-0815_S_2000_05_22_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.605123 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000503376 
device "J0241-0815_S_2000_05_22_pus\_map.eps/VPS"
! Attempting to open device: 'J0241-0815_S_2000_05_22_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.249557 0.249557 0.499114 0.998229 1.99646 3.99292 7.98583 15.9717 31.9433 63.8866
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0015 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.605 
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.094 x 7.271 at 0.5108 degrees (North through East)
! Clean map  min=-0.0024791  max=0.60512 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0241-0815_S_2000_05_22_pus\_map.gif/vgif"
! Attempting to open device: 'J0241-0815_S_2000_05_22_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0241-0815_S_2000_05_22_pus_uvs.log closed on Mon Nov 19 18:36:35 2007