! Started logfile: J1104+3812_S_1999_12_20_pus_uvs.log on Fri Dec 21 13:12:36 2007
obs J1104+3812_S_1999_12_20_pus_uva.fits
! Reading UV FITS file: J1104+3812_S_1999_12_20_pus_uva.fits
! AN table 1: 57 integrations on 190 of 190 possible baselines.
! AN table 2: 267 integrations on 190 of 190 possible baselines.
! AN table 3: 158 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.278085 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1104+3812
! 
! 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 2302 lines of history.
! 
! Reading 101868 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 = 1024 
print "field_cell =",field_cell
! field_cell = 0.5 
print "taper_size =",taper_size
! taper_size = 20 
![@muppet J1104+3812_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 = 1024x1024 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 1001 telescope corrections were flagged in sub-array 1.
!  A total of 3120 telescope corrections were flagged in sub-array 2.
!  A total of 1508 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 1001 telescope corrections were flagged in sub-array 1.
!  A total of 3126 telescope corrections were flagged in sub-array 2.
!  A total of 1507 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 1001 telescope corrections were flagged in sub-array 1.
!  A total of 3162 telescope corrections were flagged in sub-array 2.
!  A total of 1724 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 1001 telescope corrections were flagged in sub-array 1.
!  A total of 3129 telescope corrections were flagged in sub-array 2.
!  A total of 1507 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.837152Jy  sigma=0.006683
! Fit after  self-cal, rms=0.756026Jy  sigma=0.006081
! 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=1.944 mas, bmaj=2.632 mas, bpa=8.045 degrees
! Estimated noise=630.852 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.201566 Jy
! Component: 100  -  total flux cleaned = 0.253605 Jy
! Total flux subtracted in 100 components = 0.253605 Jy
! Clean residual min=-0.006380 max=0.022376 Jy/beam
! Clean residual mean=0.000037 rms=0.001611 Jy/beam
! Combined flux in latest and established models = 0.253605 Jy
! Performing phase self-cal
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.253605 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.231588Jy  sigma=0.001426
! Fit after  self-cal, rms=0.231541Jy  sigma=0.001426
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0247133 Jy
! Component: 100  -  total flux cleaned = 0.037697 Jy
! Total flux subtracted in 100 components = 0.037697 Jy
! Clean residual min=-0.005436 max=0.011148 Jy/beam
! Clean residual mean=0.000032 rms=0.001330 Jy/beam
! Combined flux in latest and established models = 0.291302 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 12 components and 0.291302 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.227536Jy  sigma=0.001370
! Fit after  self-cal, rms=0.227464Jy  sigma=0.001370
! Inverting map 
! Added new window around map position (-2.5, 3.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0115027 Jy
! Component: 100  -  total flux cleaned = 0.0196626 Jy
! Total flux subtracted in 100 components = 0.0196626 Jy
! Clean residual min=-0.005425 max=0.006881 Jy/beam
! Clean residual mean=0.000029 rms=0.001250 Jy/beam
! Combined flux in latest and established models = 0.310964 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 23 components and 0.310964 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.226285Jy  sigma=0.001353
! Fit after  self-cal, rms=0.226205Jy  sigma=0.001353
! 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.428 mas, bmaj=3.394 mas, bpa=2.303 degrees
! Estimated noise=289.553 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.0148946 Jy
! Component: 100  -  total flux cleaned = 0.0238761 Jy
! Component: 150  -  total flux cleaned = 0.0297343 Jy
! Component: 200  -  total flux cleaned = 0.0336796 Jy
! Total flux subtracted in 200 components = 0.0336796 Jy
! Clean residual min=-0.003739 max=0.007079 Jy/beam
! Clean residual mean=0.000518 rms=0.001260 Jy/beam
! Combined flux in latest and established models = 0.344644 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 44 components and 0.344644 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.225294Jy  sigma=0.001339
! Fit after  self-cal, rms=0.225232Jy  sigma=0.001339
! Inverting map 
! Added new window around map position (-10, 13).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00862235 Jy
! Component: 100  -  total flux cleaned = 0.0144509 Jy
! Component: 150  -  total flux cleaned = 0.0185578 Jy
! Component: 200  -  total flux cleaned = 0.0217032 Jy
! Total flux subtracted in 200 components = 0.0217032 Jy
! Clean residual min=-0.003224 max=0.005235 Jy/beam
! Clean residual mean=0.000459 rms=0.001067 Jy/beam
! Combined flux in latest and established models = 0.366347 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 78 components and 0.366347 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.224855Jy  sigma=0.001334
! Fit after  self-cal, rms=0.224819Jy  sigma=0.001333
! 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.01     FD        1.00*    GC        0.92     HH        1.00*    
!   HN        0.88     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        0.77     WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 27 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.02     GC        1.00     HH        1.00*    
!   HN        0.95     KK        1.00     KP        1.01     LA        0.97     
!   MC        1.19     MK        1.00     NY        0.96     ON        0.95     
!   OV        1.01     PT        1.00     SC        1.05     TS        1.21     
!   WF        0.98     WZ        1.04     GN        1.05     NL        0.97     
! 
!  A total of 90 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        0.98     GC        1.00     HH        0.95     
!   HN        0.98     KK        1.00*    KP        0.87     LA        0.98     
!   MC        0.95     MK        1.00*    NY        0.97     ON        1.00*    
!   OV        1.04     PT        0.99     SC        1.03     TS        1.00*    
!   WF        0.98     WZ        0.95     GN        1.00*    NL        0.98     
! 
! 
! Correcting IF 2.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        1.00*    GC        0.88     HH        1.00*    
!   HN        1.04     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        0.78     WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 21 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.01     FD        1.05     GC        0.98     HH        1.00*    
!   HN        1.01     KK        0.97     KP        1.00     LA        0.94     
!   MC        0.95     MK        1.01     NY        0.99     ON        1.01     
!   OV        0.98     PT        0.97     SC        1.01     TS        1.19     
!   WF        0.97     WZ        1.05     GN        1.06     NL        0.97     
! 
!  A total of 90 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.04     GC        1.04     HH        0.98     
!   HN        1.04     KK        1.00*    KP        0.99     LA        0.96     
!   MC        1.40     MK        1.00*    NY        0.98     ON        1.00*    
!   OV        1.01     PT        0.97     SC        1.00     TS        1.00*    
!   WF        0.93     WZ        1.02     GN        1.00*    NL        0.99     
! 
! 
! Correcting IF 3.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.06     FD        1.00*    GC        0.91     HH        1.00*    
!   HN        0.83     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        0.76     WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.04     GC        0.98     HH        1.00*    
!   HN        0.98     KK        1.00     KP        0.98     LA        0.97     
!   MC        1.00*    MK        1.00     NY        1.00     ON        0.93     
!   OV        1.02     PT        0.94     SC        1.02     TS        1.11     
!   WF        0.94     WZ        1.08     GN        1.06     NL        0.97     
! 
!  A total of 9 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.01     GC        1.08     HH        0.85     
!   HN        1.00     KK        1.00*    KP        1.03     LA        1.00     
!   MC        1.00*    MK        1.00*    NY        0.96     ON        1.00*    
!   OV        1.05     PT        0.96     SC        1.01     TS        1.00*    
!   WF        1.04     WZ        0.99     GN        1.00*    NL        0.96     
! 
! 
! Correcting IF 4.
!  A total of 39 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.00*    GC        1.00     HH        1.00*    
!   HN        0.86     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.00*    MK        1.00*    NY        1.00*    ON        1.00*    
!   OV        1.00*    PT        1.00*    SC        1.00*    TS        1.00*    
!   WF        0.86     WZ        1.00*    GN        1.00*    NL        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        1.00     GC        1.01     HH        1.00*    
!   HN        0.99     KK        0.97     KP        1.00     LA        0.97     
!   MC        1.31     MK        1.03     NY        0.98     ON        1.00     
!   OV        0.97     PT        0.97     SC        1.03     TS        1.17     
!   WF        0.94     WZ        1.09     GN        1.07     NL        0.96     
! 
!  A total of 90 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.96     FD        1.00     GC        1.02     HH        0.81     
!   HN        1.03     KK        1.00*    KP        1.03     LA        1.00     
!   MC        0.72     MK        1.00*    NY        1.03     ON        1.00*    
!   OV        0.99     PT        0.98     SC        1.04     TS        1.00*    
!   WF        0.97     WZ        1.04     GN        1.00*    NL        0.96     
! 
! 
! Fit before self-cal, rms=0.224819Jy  sigma=0.001333
! Fit after  self-cal, rms=0.221729Jy  sigma=0.001322
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.441 mas, bmaj=3.427 mas, bpa=1.85 degrees
! Estimated noise=290.412 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 = 9.03117e-05 Jy
! Component: 100  -  total flux cleaned = 0.000999933 Jy
! Component: 150  -  total flux cleaned = 0.00159785 Jy
! Component: 200  -  total flux cleaned = 0.00217923 Jy
! Total flux subtracted in 200 components = 0.00217923 Jy
! Clean residual min=-0.002692 max=0.004362 Jy/beam
! Clean residual mean=0.000299 rms=0.000916 Jy/beam
! Combined flux in latest and established models = 0.368527 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 90 components and 0.368527 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221658Jy  sigma=0.001322
! Fit after  self-cal, rms=0.221701Jy  sigma=0.001321
! 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.221701Jy  sigma=0.001321
! Fit after  self-cal, rms=0.222169Jy  sigma=0.001321
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.443 mas, bmaj=3.436 mas, bpa=1.684 degrees
! Estimated noise=290.217 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000779629 Jy
! Component: 100  -  total flux cleaned = -0.000275671 Jy
! Component: 150  -  total flux cleaned = 0.000158572 Jy
! Component: 200  -  total flux cleaned = 0.000488978 Jy
! Total flux subtracted in 200 components = 0.000488978 Jy
! Clean residual min=-0.002679 max=0.004317 Jy/beam
! Clean residual mean=0.000294 rms=0.000902 Jy/beam
! Combined flux in latest and established models = 0.369016 Jy
selfcal
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 92 components and 0.369016 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222132Jy  sigma=0.001321
! Fit after  self-cal, rms=0.222145Jy  sigma=0.001321
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 (-56, 31.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0046884 Jy
! Component: 100  -  total flux cleaned = 0.0078309 Jy
! Component: 150  -  total flux cleaned = 0.0101284 Jy
! Component: 200  -  total flux cleaned = 0.0118401 Jy
! Total flux subtracted in 200 components = 0.0118401 Jy
! Clean residual min=-0.002472 max=0.004167 Jy/beam
! Clean residual mean=0.000259 rms=0.000819 Jy/beam
! Combined flux in latest and established models = 0.380856 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 122 components and 0.380856 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.222006Jy  sigma=0.001319
! Fit after  self-cal, rms=0.221996Jy  sigma=0.001319
! Inverting map 
! Added new window around map position (-60, 49).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00436775 Jy
! Component: 100  -  total flux cleaned = 0.00720422 Jy
! Component: 150  -  total flux cleaned = 0.00928121 Jy
! Component: 200  -  total flux cleaned = 0.0110319 Jy
! Total flux subtracted in 200 components = 0.0110319 Jy
! Clean residual min=-0.002355 max=0.003411 Jy/beam
! Clean residual mean=0.000227 rms=0.000740 Jy/beam
! Combined flux in latest and established models = 0.391888 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 151 components and 0.391888 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221890Jy  sigma=0.001318
! Fit after  self-cal, rms=0.221886Jy  sigma=0.001318
! Inverting map 
! Added new window around map position (-18.5, 12).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00405633 Jy
! Component: 100  -  total flux cleaned = 0.00674963 Jy
! Component: 150  -  total flux cleaned = 0.0086983 Jy
! Component: 200  -  total flux cleaned = 0.0103389 Jy
! Total flux subtracted in 200 components = 0.0103389 Jy
! Clean residual min=-0.002403 max=0.003184 Jy/beam
! Clean residual mean=0.000197 rms=0.000678 Jy/beam
! Combined flux in latest and established models = 0.402226 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 179 components and 0.402226 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221780Jy  sigma=0.001317
! Fit after  self-cal, rms=0.221776Jy  sigma=0.001317
! Inverting map 
! Added new window around map position (-72, 63.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00309172 Jy
! Component: 100  -  total flux cleaned = 0.00512885 Jy
! Component: 150  -  total flux cleaned = 0.00685404 Jy
! Component: 200  -  total flux cleaned = 0.00842592 Jy
! Total flux subtracted in 200 components = 0.00842592 Jy
! Clean residual min=-0.002245 max=0.002866 Jy/beam
! Clean residual mean=0.000172 rms=0.000638 Jy/beam
! Combined flux in latest and established models = 0.410652 Jy
! Performing phase self-cal
! Adding 45 model components to the UV plane model.
! The established model now contains 199 components and 0.410652 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221718Jy  sigma=0.001316
! Fit after  self-cal, rms=0.221711Jy  sigma=0.001316
! Inverting map 
! Added new window around map position (-32, 16.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00304449 Jy
! Component: 100  -  total flux cleaned = 0.00500641 Jy
! Component: 150  -  total flux cleaned = 0.00650873 Jy
! Component: 200  -  total flux cleaned = 0.00768028 Jy
! Total flux subtracted in 200 components = 0.00768028 Jy
! Clean residual min=-0.002178 max=0.002800 Jy/beam
! Clean residual mean=0.000151 rms=0.000596 Jy/beam
! Combined flux in latest and established models = 0.418333 Jy
! Performing phase self-cal
! Adding 44 model components to the UV plane model.
! The established model now contains 225 components and 0.418333 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221654Jy  sigma=0.001316
! Fit after  self-cal, rms=0.221647Jy  sigma=0.001316
! Inverting map 
! Added new window around map position (-93.5, -98.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00258663 Jy
! Component: 100  -  total flux cleaned = 0.00421492 Jy
! Component: 150  -  total flux cleaned = 0.00529871 Jy
! Component: 200  -  total flux cleaned = 0.00631441 Jy
! Total flux subtracted in 200 components = 0.00631441 Jy
! Clean residual min=-0.002129 max=0.002673 Jy/beam
! Clean residual mean=0.000131 rms=0.000572 Jy/beam
! Combined flux in latest and established models = 0.424647 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 243 components and 0.424647 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221598Jy  sigma=0.001315
! Fit after  self-cal, rms=0.221597Jy  sigma=0.001315
! Inverting map 
! Added new window around map position (-49.5, 10).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00269776 Jy
! Component: 100  -  total flux cleaned = 0.00437681 Jy
! Component: 150  -  total flux cleaned = 0.00569737 Jy
! Component: 200  -  total flux cleaned = 0.00678207 Jy
! Total flux subtracted in 200 components = 0.00678207 Jy
! Clean residual min=-0.002009 max=0.002282 Jy/beam
! Clean residual mean=0.000113 rms=0.000534 Jy/beam
! Combined flux in latest and established models = 0.431429 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 264 components and 0.431429 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221554Jy  sigma=0.001315
! Fit after  self-cal, rms=0.221552Jy  sigma=0.001315
! Inverting map 
! Added new window around map position (-50.5, 25).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00205262 Jy
! Component: 100  -  total flux cleaned = 0.00286343 Jy
! Component: 150  -  total flux cleaned = 0.00345834 Jy
! Component: 200  -  total flux cleaned = 0.0041055 Jy
! Total flux subtracted in 200 components = 0.00410551 Jy
! Clean residual min=-0.001957 max=0.002161 Jy/beam
! Clean residual mean=0.000102 rms=0.000520 Jy/beam
! Combined flux in latest and established models = 0.435535 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 288 components and 0.435535 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.221517Jy  sigma=0.001315
! Fit after  self-cal, rms=0.221515Jy  sigma=0.001315
! 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.221515Jy  sigma=0.001315
! Fit after  self-cal, rms=0.223447Jy  sigma=0.001314
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.445 mas, bmaj=3.445 mas, bpa=1.618 degrees
! Estimated noise=290.483 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.000870607 Jy
! Component: 100  -  total flux cleaned = 0.00157755 Jy
! Component: 150  -  total flux cleaned = 0.00236971 Jy
! Component: 200  -  total flux cleaned = 0.00310884 Jy
! Total flux subtracted in 200 components = 0.00310884 Jy
! Clean residual min=-0.001921 max=0.002146 Jy/beam
! Clean residual mean=0.000130 rms=0.000498 Jy/beam
! Combined flux in latest and established models = 0.438643 Jy
selfcal
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 302 components and 0.438643 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223423Jy  sigma=0.001314
! Fit after  self-cal, rms=0.223442Jy  sigma=0.001314
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 (-36.5, 24).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00198774 Jy
! Component: 100  -  total flux cleaned = 0.00262959 Jy
! Component: 150  -  total flux cleaned = 0.00301272 Jy
! Component: 200  -  total flux cleaned = 0.00336922 Jy
! Total flux subtracted in 200 components = 0.00336922 Jy
! Clean residual min=-0.001920 max=0.001906 Jy/beam
! Clean residual mean=0.000121 rms=0.000483 Jy/beam
! Combined flux in latest and established models = 0.442013 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 316 components and 0.442013 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223416Jy  sigma=0.001314
! Fit after  self-cal, rms=0.223415Jy  sigma=0.001314
! 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.223415Jy  sigma=0.001314
! Fit after  self-cal, rms=0.223808Jy  sigma=0.001313
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.565 mas, bmaj=8.762 mas, bpa=-0.3556 degrees
! Estimated noise=419.326 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00309938 Jy
! Component: 100  -  total flux cleaned = 0.00539765 Jy
! Component: 150  -  total flux cleaned = 0.00728531 Jy
! Component: 200  -  total flux cleaned = 0.00886667 Jy
! Total flux subtracted in 200 components = 0.00886667 Jy
! Clean residual min=-0.002895 max=0.002949 Jy/beam
! Clean residual mean=0.000360 rms=0.000877 Jy/beam
! Combined flux in latest and established models = 0.450879 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 333 components and 0.450879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223800Jy  sigma=0.001313
! Fit after  self-cal, rms=0.223804Jy  sigma=0.001313
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.00162073 Jy
! Component: 100  -  total flux cleaned = 0.00294697 Jy
! Component: 150  -  total flux cleaned = 0.00408781 Jy
! Component: 200  -  total flux cleaned = 0.00489073 Jy
! Total flux subtracted in 200 components = 0.00489073 Jy
! Clean residual min=-0.002833 max=0.002856 Jy/beam
! Clean residual mean=0.000312 rms=0.000843 Jy/beam
! Combined flux in latest and established models = 0.45577 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 344 components and 0.45577 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223804Jy  sigma=0.001313
! Fit after  self-cal, rms=0.223804Jy  sigma=0.001313
! 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.446 mas, bmaj=3.449 mas, bpa=1.531 degrees
! Estimated noise=290.668 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.446 x 3.449 at 1.531 degrees (North through East)
! Clean map  min=-0.0016392  max=0.27481 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
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=1.942 mas, bmaj=2.659 mas, bpa=7.778 degrees
! Estimated noise=639.437 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.204543 Jy
! Component: 100  -  total flux cleaned = 0.258245 Jy
! Component: 150  -  total flux cleaned = 0.282361 Jy
! Component: 200  -  total flux cleaned = 0.296385 Jy
! Total flux subtracted in 200 components = 0.296385 Jy
! Clean residual min=-0.004190 max=0.007585 Jy/beam
! Clean residual mean=0.000029 rms=0.001093 Jy/beam
! Combined flux in latest and established models = 0.296385 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 10 model components to the UV plane model.
! The established model now contains 10 components and 0.296385 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.446 mas, bmaj=3.449 mas, bpa=1.531 degrees
! Estimated noise=290.668 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.0182784 Jy
! Component: 100  -  total flux cleaned = 0.0297268 Jy
! Component: 150  -  total flux cleaned = 0.0386782 Jy
! Component: 200  -  total flux cleaned = 0.0462059 Jy
! Total flux subtracted in 200 components = 0.0462059 Jy
! Clean residual min=-0.003032 max=0.005610 Jy/beam
! Clean residual mean=0.000410 rms=0.001130 Jy/beam
! Combined flux in latest and established models = 0.342591 Jy
! Adding 62 model components to the UV plane model.
! The established model now contains 64 components and 0.342591 Jy
! Inverting map 
! Added new window around map position (-5.5, 8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00667679 Jy
! Component: 100  -  total flux cleaned = 0.0124937 Jy
! Component: 150  -  total flux cleaned = 0.0177988 Jy
! Component: 200  -  total flux cleaned = 0.022676 Jy
! Total flux subtracted in 200 components = 0.022676 Jy
! Clean residual min=-0.002539 max=0.003941 Jy/beam
! Clean residual mean=0.000348 rms=0.000914 Jy/beam
! Combined flux in latest and established models = 0.365267 Jy
! Adding 82 model components to the UV plane model.
! The established model now contains 121 components and 0.365267 Jy
! Inverting map 
! Added new window around map position (-43, 26).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00465443 Jy
! Component: 100  -  total flux cleaned = 0.00885843 Jy
! Component: 150  -  total flux cleaned = 0.0127773 Jy
! Component: 200  -  total flux cleaned = 0.0164547 Jy
! Total flux subtracted in 200 components = 0.0164547 Jy
! Clean residual min=-0.002285 max=0.003183 Jy/beam
! Clean residual mean=0.000301 rms=0.000780 Jy/beam
! Combined flux in latest and established models = 0.381721 Jy
! Adding 83 model components to the UV plane model.
! The established model now contains 160 components and 0.381721 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.565 mas, bmaj=8.762 mas, bpa=-0.3556 degrees
! Estimated noise=419.326 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00991286 Jy
! Component: 100  -  total flux cleaned = 0.0177136 Jy
! Component: 150  -  total flux cleaned = 0.0243835 Jy
! Component: 200  -  total flux cleaned = 0.0302185 Jy
! Total flux subtracted in 200 components = 0.0302185 Jy
! Clean residual min=-0.003357 max=0.004883 Jy/beam
! Clean residual mean=0.000767 rms=0.001537 Jy/beam
! Combined flux in latest and established models = 0.41194 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.00514707 Jy
! Component: 100  -  total flux cleaned = 0.00972231 Jy
! Component: 150  -  total flux cleaned = 0.0137978 Jy
! Component: 200  -  total flux cleaned = 0.0174343 Jy
! Total flux subtracted in 200 components = 0.0174343 Jy
! Clean residual min=-0.002877 max=0.003895 Jy/beam
! Clean residual mean=0.000589 rms=0.001168 Jy/beam
! Combined flux in latest and established models = 0.429374 Jy
! Adding 188 model components to the UV plane model.
! The established model now contains 324 components and 0.429374 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.446 mas, bmaj=3.449 mas, bpa=1.531 degrees
! Estimated noise=290.668 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00212224 Jy
! Component: 100  -  total flux cleaned = 0.00395012 Jy
! Component: 150  -  total flux cleaned = 0.00559152 Jy
! Component: 200  -  total flux cleaned = 0.00703881 Jy
! Total flux subtracted in 200 components = 0.00703881 Jy
! Clean residual min=-0.001739 max=0.002092 Jy/beam
! Clean residual mean=0.000145 rms=0.000486 Jy/beam
! Combined flux in latest and established models = 0.436413 Jy
selfcal
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 354 components and 0.436413 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.223840Jy  sigma=0.001313
! Fit after  self-cal, rms=0.223827Jy  sigma=0.001313
wmodel J1104+3812_S_1999_12_20_pus_map.mod
! Writing 354 model components to file: J1104+3812_S_1999_12_20_pus_map.mod
wobs J1104+3812_S_1999_12_20_pus_uvs.fits
! Writing UV FITS file: J1104+3812_S_1999_12_20_pus_uvs.fits
wwins J1104+3812_S_1999_12_20_pus_map.win
! wwins: Wrote 14 windows to J1104+3812_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=4096  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000918498 Jy
! Component: 100  -  total flux cleaned = 0.001749 Jy
! Component: 150  -  total flux cleaned = 0.00245018 Jy
! Component: 200  -  total flux cleaned = 0.00303669 Jy
! Component: 250  -  total flux cleaned = 0.00364296 Jy
! Component: 300  -  total flux cleaned = 0.00420733 Jy
! Component: 350  -  total flux cleaned = 0.00479385 Jy
! Component: 400  -  total flux cleaned = 0.00522006 Jy
! Component: 450  -  total flux cleaned = 0.00576103 Jy
! Component: 500  -  total flux cleaned = 0.00629496 Jy
! Component: 550  -  total flux cleaned = 0.00679358 Jy
! Component: 600  -  total flux cleaned = 0.00722939 Jy
! Component: 650  -  total flux cleaned = 0.00774693 Jy
! Component: 700  -  total flux cleaned = 0.00820231 Jy
! Component: 750  -  total flux cleaned = 0.00862568 Jy
! Component: 800  -  total flux cleaned = 0.00904521 Jy
! Component: 850  -  total flux cleaned = 0.00943363 Jy
! Component: 900  -  total flux cleaned = 0.00981913 Jy
! Component: 950  -  total flux cleaned = 0.0102561 Jy
! Component: 1000  -  total flux cleaned = 0.0106625 Jy
! Component: 1050  -  total flux cleaned = 0.010985 Jy
! Component: 1100  -  total flux cleaned = 0.011439 Jy
! Component: 1150  -  total flux cleaned = 0.0117836 Jy
! Component: 1200  -  total flux cleaned = 0.012126 Jy
! Component: 1250  -  total flux cleaned = 0.0124401 Jy
! Component: 1300  -  total flux cleaned = 0.012804 Jy
! Component: 1350  -  total flux cleaned = 0.0131139 Jy
! Component: 1400  -  total flux cleaned = 0.0133962 Jy
! Component: 1450  -  total flux cleaned = 0.0137536 Jy
! Component: 1500  -  total flux cleaned = 0.0140581 Jy
! Component: 1550  -  total flux cleaned = 0.0144365 Jy
! Component: 1600  -  total flux cleaned = 0.0146623 Jy
! Component: 1650  -  total flux cleaned = 0.0150367 Jy
! Component: 1700  -  total flux cleaned = 0.0153843 Jy
! Component: 1750  -  total flux cleaned = 0.01573 Jy
! Component: 1800  -  total flux cleaned = 0.0159756 Jy
! Component: 1850  -  total flux cleaned = 0.016391 Jy
! Component: 1900  -  total flux cleaned = 0.0166586 Jy
! Component: 1950  -  total flux cleaned = 0.0169732 Jy
! Component: 2000  -  total flux cleaned = 0.0172621 Jy
! Component: 2050  -  total flux cleaned = 0.0175735 Jy
! Component: 2100  -  total flux cleaned = 0.0177882 Jy
! Component: 2150  -  total flux cleaned = 0.0180729 Jy
! Component: 2200  -  total flux cleaned = 0.0183801 Jy
! Component: 2250  -  total flux cleaned = 0.0185683 Jy
! Component: 2300  -  total flux cleaned = 0.0188261 Jy
! Component: 2350  -  total flux cleaned = 0.0190128 Jy
! Component: 2400  -  total flux cleaned = 0.0193379 Jy
! Component: 2450  -  total flux cleaned = 0.0195459 Jy
! Component: 2500  -  total flux cleaned = 0.0197992 Jy
! Component: 2550  -  total flux cleaned = 0.0200053 Jy
! Component: 2600  -  total flux cleaned = 0.0202565 Jy
! Component: 2650  -  total flux cleaned = 0.020484 Jy
! Component: 2700  -  total flux cleaned = 0.0206879 Jy
! Component: 2750  -  total flux cleaned = 0.020936 Jy
! Component: 2800  -  total flux cleaned = 0.0211159 Jy
! Component: 2850  -  total flux cleaned = 0.0213398 Jy
! Component: 2900  -  total flux cleaned = 0.0215851 Jy
! Component: 2950  -  total flux cleaned = 0.0218073 Jy
! Component: 3000  -  total flux cleaned = 0.0220507 Jy
! Component: 3050  -  total flux cleaned = 0.0222713 Jy
! Component: 3100  -  total flux cleaned = 0.022469 Jy
! Component: 3150  -  total flux cleaned = 0.0226661 Jy
! Component: 3200  -  total flux cleaned = 0.0228842 Jy
! Component: 3250  -  total flux cleaned = 0.0231231 Jy
! Component: 3300  -  total flux cleaned = 0.0233181 Jy
! Component: 3350  -  total flux cleaned = 0.0235338 Jy
! Component: 3400  -  total flux cleaned = 0.0236843 Jy
! Component: 3450  -  total flux cleaned = 0.0239201 Jy
! Component: 3500  -  total flux cleaned = 0.0241124 Jy
! Component: 3550  -  total flux cleaned = 0.0243464 Jy
! Component: 3600  -  total flux cleaned = 0.0245796 Jy
! Component: 3650  -  total flux cleaned = 0.0247486 Jy
! Component: 3700  -  total flux cleaned = 0.0249382 Jy
! Component: 3750  -  total flux cleaned = 0.025253 Jy
! Component: 3800  -  total flux cleaned = 0.0253575 Jy
! Component: 3850  -  total flux cleaned = 0.0255869 Jy
! Component: 3900  -  total flux cleaned = 0.0257945 Jy
! Component: 3950  -  total flux cleaned = 0.0259395 Jy
! Component: 4000  -  total flux cleaned = 0.0261459 Jy
! Component: 4050  -  total flux cleaned = 0.0263517 Jy
! Total flux subtracted in 4096 components = 0.0265977 Jy
! Clean residual min=-0.001222 max=0.001187 Jy/beam
! Clean residual mean=0.000073 rms=0.000356 Jy/beam
! Combined flux in latest and established models = 0.463011 Jy
keep
! Adding 360 model components to the UV plane model.
! The established model now contains 714 components and 0.463011 Jy
![Exited script file: muppet]
wmap "J1104+3812_S_1999_12_20_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.446 x 3.449 at 1.531 degrees (North through East)
! Clean map  min=-0.0013176  max=0.2751 Jy/beam
! Writing clean map to FITS file: J1104+3812_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 0.275101 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000356237 
device "J1104+3812_S_1999_12_20_pus\_map.eps/VPS"
! Attempting to open device: 'J1104+3812_S_1999_12_20_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.38848 0.38848 0.776959 1.55392 3.10784 6.21567 12.4313 24.8627 49.7254 99.4508
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.275 
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.446 x 3.449 at 1.531 degrees (North through East)
! Clean map  min=-0.0013176  max=0.2751 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1104+3812_S_1999_12_20_pus\_map.gif/vgif"
! Attempting to open device: 'J1104+3812_S_1999_12_20_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1104+3812_S_1999_12_20_pus_uvs.log closed on Fri Dec 21 13:13:58 2007