! Started logfile: J1357+1919_S_1998_10_01_pus_uvs.log on Fri Feb  8 12:40:51 2008
obs J1357+1919_S_1998_10_01_pus_uva.fits
! Reading UV FITS file: J1357+1919_S_1998_10_01_pus_uva.fits
! AN table 1: 27 integrations on 136 of 136 possible baselines.
! AN table 2: 326 integrations on 136 of 136 possible baselines.
! AN table 3: 92 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.238764 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1357+1919
! 
! 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.22298e+09        4e+06          1        4e+06
!  02        2  2.24298e+09        4e+06          1        4e+06
!  03        3  2.33298e+09        4e+06          1        4e+06
!  04        4  2.36298e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 1537 lines of history.
! 
! Reading 57800 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 J1357+1919_S_1998_10_01_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 459 telescope corrections were flagged in sub-array 1.
!  A total of 3135 telescope corrections were flagged in sub-array 2.
!  A total of 924 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 2.
!  A total of 459 telescope corrections were flagged in sub-array 1.
!  A total of 3135 telescope corrections were flagged in sub-array 2.
!  A total of 924 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 3.
!  A total of 459 telescope corrections were flagged in sub-array 1.
!  A total of 3135 telescope corrections were flagged in sub-array 2.
!  A total of 924 telescope corrections were flagged in sub-array 3.
! 
! Correcting IF 4.
!  A total of 459 telescope corrections were flagged in sub-array 1.
!  A total of 3135 telescope corrections were flagged in sub-array 2.
!  A total of 924 telescope corrections were flagged in sub-array 3.
! 
! Fit before self-cal, rms=0.961759Jy  sigma=0.006805
! Fit after  self-cal, rms=0.583011Jy  sigma=0.003871
! 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.849 mas, bmaj=4.346 mas, bpa=-2.128 degrees
! Estimated noise=720.597 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.453602 Jy
! Component: 100  -  total flux cleaned = 0.624989 Jy
! Total flux subtracted in 100 components = 0.624989 Jy
! Clean residual min=-0.027089 max=0.077327 Jy/beam
! Clean residual mean=0.000176 rms=0.007390 Jy/beam
! Combined flux in latest and established models = 0.624989 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.624989 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.427661Jy  sigma=0.002815
! Fit after  self-cal, rms=0.426599Jy  sigma=0.002809
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0904597 Jy
! Component: 100  -  total flux cleaned = 0.138432 Jy
! Total flux subtracted in 100 components = 0.138432 Jy
! Clean residual min=-0.018144 max=0.056650 Jy/beam
! Clean residual mean=0.000150 rms=0.005308 Jy/beam
! Combined flux in latest and established models = 0.763421 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 12 components and 0.763421 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.404185Jy  sigma=0.002602
! Fit after  self-cal, rms=0.403705Jy  sigma=0.002599
! Inverting map 
! Added new window around map position (7, -10).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0530724 Jy
! Component: 100  -  total flux cleaned = 0.0864287 Jy
! Total flux subtracted in 100 components = 0.0864287 Jy
! Clean residual min=-0.014764 max=0.025263 Jy/beam
! Clean residual mean=0.000145 rms=0.004234 Jy/beam
! Combined flux in latest and established models = 0.84985 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 30 components and 0.84985 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.394396Jy  sigma=0.002516
! Fit after  self-cal, rms=0.393699Jy  sigma=0.002512
! Inverting map 
! Added new window around map position (3.5, -4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0300612 Jy
! Component: 100  -  total flux cleaned = 0.0513628 Jy
! Total flux subtracted in 100 components = 0.0513628 Jy
! Clean residual min=-0.014181 max=0.021891 Jy/beam
! Clean residual mean=0.000141 rms=0.003737 Jy/beam
! Combined flux in latest and established models = 0.901213 Jy
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 35 components and 0.901213 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.390813Jy  sigma=0.002485
! Fit after  self-cal, rms=0.390588Jy  sigma=0.002483
! 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.545 mas, bmaj=5.489 mas, bpa=-5.381 degrees
! Estimated noise=418.096 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 (16, -24).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0290583 Jy
! Component: 100  -  total flux cleaned = 0.0490074 Jy
! Component: 150  -  total flux cleaned = 0.0643278 Jy
! Component: 200  -  total flux cleaned = 0.0765137 Jy
! Total flux subtracted in 200 components = 0.0765137 Jy
! Clean residual min=-0.011422 max=0.016387 Jy/beam
! Clean residual mean=0.000714 rms=0.003694 Jy/beam
! Combined flux in latest and established models = 0.977726 Jy
! Performing phase self-cal
! Adding 47 model components to the UV plane model.
! The established model now contains 77 components and 0.977726 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.387825Jy  sigma=0.002460
! Fit after  self-cal, rms=0.387619Jy  sigma=0.002458
! 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*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.94     FD        0.97     GC        1.03     HN        1.00     
!   KK        0.98     KP        1.04     LA        0.94     MK        0.90     
!   NL        0.94     NY        0.97     ON        1.00*    OV        0.98     
!   PT        0.96     SC        1.00     WF        1.02     MC        1.00*    
!   GN        1.04     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.04     FD        1.16     GC        1.01     HN        1.00*    
!   KK        0.91     KP        1.10     LA        1.03     MK        0.95     
!   NL        1.00*    NY        1.00*    ON        1.00*    OV        1.00     
!   PT        1.08     SC        1.00*    WF        1.00*    MC        1.00*    
!   GN        1.00*    
! 
! 
! Correcting IF 2.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.94     FD        0.97     GC        1.04     HN        1.03     
!   KK        1.00     KP        0.94     LA        0.97     MK        1.00     
!   NL        0.92     NY        1.00     ON        1.00*    OV        0.96     
!   PT        0.94     SC        1.06     WF        1.04     MC        1.00*    
!   GN        1.06     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.02     FD        1.09     GC        1.08     HN        1.00*    
!   KK        0.93     KP        1.04     LA        1.09     MK        0.99     
!   NL        1.00*    NY        1.00*    ON        1.00*    OV        1.05     
!   PT        1.05     SC        1.00*    WF        1.00*    MC        1.00*    
!   GN        1.00*    
! 
! 
! Correcting IF 3.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.03     GC        1.03     HN        1.00     
!   KK        1.00     KP        0.98     LA        0.98     MK        0.92     
!   NL        0.93     NY        0.98     ON        1.00*    OV        0.99     
!   PT        0.96     SC        1.00     WF        1.05     MC        1.00*    
!   GN        1.05     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.04     FD        1.14     GC        1.07     HN        1.00*    
!   KK        0.96     KP        1.04     LA        1.08     MK        0.92     
!   NL        1.00*    NY        1.00*    ON        1.00*    OV        1.05     
!   PT        1.08     SC        1.00*    WF        1.00*    MC        1.00*    
!   GN        1.00*    
! 
! 
! Correcting IF 4.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.00*    FD        0.00*    GC        0.00*    HN        0.00*    
!   KK        0.00*    KP        0.00*    LA        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    ON        0.00*    OV        0.00*    
!   PT        0.00*    SC        0.00*    WF        0.00*    MC        0.00*    
!   GN        0.00*    
! 
!  A total of 63 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        0.97     GC        1.03     HN        1.02     
!   KK        1.01     KP        0.98     LA        0.96     MK        0.98     
!   NL        0.94     NY        0.99     ON        1.00*    OV        1.00     
!   PT        1.07     SC        1.03     WF        1.02     MC        1.00*    
!   GN        1.03     
! 
!  A total of 3 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.07     FD        1.11     GC        1.05     HN        1.00*    
!   KK        0.94     KP        1.06     LA        1.06     MK        0.93     
!   NL        1.00*    NY        1.00*    ON        1.00*    OV        1.05     
!   PT        1.08     SC        1.00*    WF        1.00*    MC        1.00*    
!   GN        1.00*    
! 
! 
! Fit before self-cal, rms=0.387619Jy  sigma=0.002458
! Fit after  self-cal, rms=0.385593Jy  sigma=0.002429
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.552 mas, bmaj=5.512 mas, bpa=-6.024 degrees
! Estimated noise=413.628 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.0130966 Jy
! Component: 100  -  total flux cleaned = 0.0222005 Jy
! Component: 150  -  total flux cleaned = 0.0264195 Jy
! Component: 200  -  total flux cleaned = 0.0284846 Jy
! Total flux subtracted in 200 components = 0.0284846 Jy
! Clean residual min=-0.011145 max=0.014094 Jy/beam
! Clean residual mean=0.000839 rms=0.002831 Jy/beam
! Combined flux in latest and established models = 1.00621 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 109 components and 1.00621 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.384903Jy  sigma=0.002425
! Fit after  self-cal, rms=0.384997Jy  sigma=0.002424
! Inverting map 
! Added new window around map position (43.5, -77).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0145789 Jy
! Component: 100  -  total flux cleaned = 0.0236103 Jy
! Component: 150  -  total flux cleaned = 0.0299121 Jy
! Component: 200  -  total flux cleaned = 0.0341432 Jy
! Total flux subtracted in 200 components = 0.0341432 Jy
! Clean residual min=-0.010936 max=0.012051 Jy/beam
! Clean residual mean=0.000652 rms=0.002529 Jy/beam
! Combined flux in latest and established models = 1.04035 Jy
! Performing phase self-cal
! Adding 60 model components to the UV plane model.
! The established model now contains 161 components and 1.04035 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.384333Jy  sigma=0.002419
! Fit after  self-cal, rms=0.384272Jy  sigma=0.002418
! 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.384272Jy  sigma=0.002418
! Fit after  self-cal, rms=0.384225Jy  sigma=0.002405
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.535 mas, bmaj=5.503 mas, bpa=-6.094 degrees
! Estimated noise=413.328 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00766539 Jy
! Component: 100  -  total flux cleaned = 0.012872 Jy
! Component: 150  -  total flux cleaned = 0.0161077 Jy
! Component: 200  -  total flux cleaned = 0.0189062 Jy
! Total flux subtracted in 200 components = 0.0189062 Jy
! Clean residual min=-0.005959 max=0.012009 Jy/beam
! Clean residual mean=0.000667 rms=0.001801 Jy/beam
! Combined flux in latest and established models = 1.05926 Jy
selfcal
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 182 components and 1.05926 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383975Jy  sigma=0.002403
! Fit after  self-cal, rms=0.383973Jy  sigma=0.002403
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 (46, -99).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0134241 Jy
! Component: 100  -  total flux cleaned = 0.0219299 Jy
! Component: 150  -  total flux cleaned = 0.0279031 Jy
! Component: 200  -  total flux cleaned = 0.0326404 Jy
! Total flux subtracted in 200 components = 0.0326404 Jy
! Clean residual min=-0.005285 max=0.006666 Jy/beam
! Clean residual mean=0.000525 rms=0.001415 Jy/beam
! Combined flux in latest and established models = 1.0919 Jy
! Performing phase self-cal
! Adding 43 model components to the UV plane model.
! The established model now contains 219 components and 1.0919 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383386Jy  sigma=0.002398
! Fit after  self-cal, rms=0.383346Jy  sigma=0.002398
! Inverting map 
! Added new window around map position (66.5, -115.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00638399 Jy
! Component: 100  -  total flux cleaned = 0.011168 Jy
! Component: 150  -  total flux cleaned = 0.0154349 Jy
! Component: 200  -  total flux cleaned = 0.0193005 Jy
! Total flux subtracted in 200 components = 0.0193005 Jy
! Clean residual min=-0.004993 max=0.005895 Jy/beam
! Clean residual mean=0.000459 rms=0.001323 Jy/beam
! Combined flux in latest and established models = 1.1112 Jy
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 237 components and 1.1112 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383137Jy  sigma=0.002397
! Fit after  self-cal, rms=0.383119Jy  sigma=0.002397
! Inverting map 
! Added new window around map position (86.5, 37).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00538601 Jy
! Component: 100  -  total flux cleaned = 0.00890208 Jy
! Component: 150  -  total flux cleaned = 0.011837 Jy
! Component: 200  -  total flux cleaned = 0.0144415 Jy
! Total flux subtracted in 200 components = 0.0144415 Jy
! Clean residual min=-0.004788 max=0.005506 Jy/beam
! Clean residual mean=0.000403 rms=0.001244 Jy/beam
! Combined flux in latest and established models = 1.12564 Jy
! Performing phase self-cal
! Adding 51 model components to the UV plane model.
! The established model now contains 256 components and 1.12564 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.382984Jy  sigma=0.002396
! Fit after  self-cal, rms=0.382968Jy  sigma=0.002396
! Inverting map 
! Added new window around map position (51, -50).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00401861 Jy
! Component: 100  -  total flux cleaned = 0.00656963 Jy
! Component: 150  -  total flux cleaned = 0.00867379 Jy
! Component: 200  -  total flux cleaned = 0.0106438 Jy
! Total flux subtracted in 200 components = 0.0106438 Jy
! Clean residual min=-0.004616 max=0.005017 Jy/beam
! Clean residual mean=0.000356 rms=0.001199 Jy/beam
! Combined flux in latest and established models = 1.13629 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 270 components and 1.13629 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.382860Jy  sigma=0.002395
! Fit after  self-cal, rms=0.382852Jy  sigma=0.002395
! 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.382852Jy  sigma=0.002395
! Fit after  self-cal, rms=0.383593Jy  sigma=0.002395
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=3.528 mas, bmaj=5.501 mas, bpa=-5.988 degrees
! Estimated noise=413.002 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00389906 Jy
! Component: 100  -  total flux cleaned = 0.00686372 Jy
! Component: 150  -  total flux cleaned = 0.00922494 Jy
! Component: 200  -  total flux cleaned = 0.0114309 Jy
! Total flux subtracted in 200 components = 0.0114309 Jy
! Clean residual min=-0.004338 max=0.005158 Jy/beam
! Clean residual mean=0.000389 rms=0.001116 Jy/beam
! Combined flux in latest and established models = 1.14772 Jy
selfcal
! Performing phase self-cal
! Adding 55 model components to the UV plane model.
! The established model now contains 293 components and 1.14772 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383506Jy  sigma=0.002394
! Fit after  self-cal, rms=0.383520Jy  sigma=0.002394
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 (-45, -54.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00428151 Jy
! Component: 100  -  total flux cleaned = 0.00675813 Jy
! Component: 150  -  total flux cleaned = 0.00875878 Jy
! Component: 200  -  total flux cleaned = 0.0105489 Jy
! Total flux subtracted in 200 components = 0.0105489 Jy
! Clean residual min=-0.004441 max=0.004582 Jy/beam
! Clean residual mean=0.000338 rms=0.001081 Jy/beam
! Combined flux in latest and established models = 1.15827 Jy
! Performing phase self-cal
! Adding 50 model components to the UV plane model.
! The established model now contains 317 components and 1.15827 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383432Jy  sigma=0.002394
! Fit after  self-cal, rms=0.383424Jy  sigma=0.002394
! Inverting map 
! Added new window around map position (42.5, 23).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00391681 Jy
! Component: 100  -  total flux cleaned = 0.00604244 Jy
! Component: 150  -  total flux cleaned = 0.00791717 Jy
! Component: 200  -  total flux cleaned = 0.00935429 Jy
! Total flux subtracted in 200 components = 0.00935429 Jy
! Clean residual min=-0.004259 max=0.004338 Jy/beam
! Clean residual mean=0.000297 rms=0.001050 Jy/beam
! Combined flux in latest and established models = 1.16762 Jy
! Performing phase self-cal
! Adding 52 model components to the UV plane model.
! The established model now contains 341 components and 1.16762 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383356Jy  sigma=0.002393
! Fit after  self-cal, rms=0.383346Jy  sigma=0.002393
! 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.383346Jy  sigma=0.002393
! Fit after  self-cal, rms=0.383784Jy  sigma=0.002393
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=8.593 mas, bmaj=9.26 mas, bpa=7.589 degrees
! Estimated noise=521.133 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00459945 Jy
! Component: 100  -  total flux cleaned = 0.00814853 Jy
! Component: 150  -  total flux cleaned = 0.0112335 Jy
! Component: 200  -  total flux cleaned = 0.0140064 Jy
! Total flux subtracted in 200 components = 0.0140064 Jy
! Clean residual min=-0.004196 max=0.004837 Jy/beam
! Clean residual mean=0.000581 rms=0.001372 Jy/beam
! Combined flux in latest and established models = 1.18163 Jy
selfcal
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 372 components and 1.18163 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383741Jy  sigma=0.002393
! Fit after  self-cal, rms=0.383742Jy  sigma=0.002393
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.00276982 Jy
! Component: 100  -  total flux cleaned = 0.00522224 Jy
! Component: 150  -  total flux cleaned = 0.00746189 Jy
! Component: 200  -  total flux cleaned = 0.00952123 Jy
! Total flux subtracted in 200 components = 0.00952123 Jy
! Clean residual min=-0.004071 max=0.004815 Jy/beam
! Clean residual mean=0.000491 rms=0.001346 Jy/beam
! Combined flux in latest and established models = 1.19115 Jy
! Performing phase self-cal
! Adding 48 model components to the UV plane model.
! The established model now contains 394 components and 1.19115 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.383725Jy  sigma=0.002393
! Fit after  self-cal, rms=0.383718Jy  sigma=0.002393
! 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.524 mas, bmaj=5.499 mas, bpa=-5.937 degrees
! Estimated noise=412.999 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.524 x 5.499 at -5.937 degrees (North through East)
! Clean map  min=-0.0038982  max=0.60746 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.383718Jy  sigma=0.002393
! Fit after  self-cal, rms=1.434470Jy  sigma=0.002237
! Inverting map and beam 
! Estimated beam: bmin=3.525 mas, bmaj=5.476 mas, bpa=-5.99 degrees
! Estimated noise=413.96 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00242587 Jy
! Component: 100  -  total flux cleaned = 0.0037052 Jy
! Component: 150  -  total flux cleaned = 0.00502934 Jy
! Component: 200  -  total flux cleaned = 0.00617229 Jy
! Total flux subtracted in 200 components = 0.00617229 Jy
! Clean residual min=-0.003892 max=0.004209 Jy/beam
! Clean residual mean=0.000168 rms=0.000956 Jy/beam
! Combined flux in latest and established models = 1.19732 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 418 components and 1.19732 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.434442Jy  sigma=0.002237
! Fit after  self-cal, rms=1.434368Jy  sigma=0.002237
! Inverting map 
! Added new window around map position (100, 3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00333687 Jy
! Component: 100  -  total flux cleaned = 0.00432969 Jy
! Component: 150  -  total flux cleaned = 0.00516771 Jy
! Component: 200  -  total flux cleaned = 0.00574616 Jy
! Total flux subtracted in 200 components = 0.00574616 Jy
! Clean residual min=-0.004017 max=0.004052 Jy/beam
! Clean residual mean=0.000148 rms=0.000937 Jy/beam
! Combined flux in latest and established models = 1.20307 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 440 components and 1.20307 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.434343Jy  sigma=0.002236
! Fit after  self-cal, rms=1.434369Jy  sigma=0.002236
! Inverting map 
! Added new window around map position (-4, -71.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00370943 Jy
! Component: 100  -  total flux cleaned = 0.00464161 Jy
! Component: 150  -  total flux cleaned = 0.00553085 Jy
! Component: 200  -  total flux cleaned = 0.00643776 Jy
! Total flux subtracted in 200 components = 0.00643776 Jy
! Clean residual min=-0.004018 max=0.003631 Jy/beam
! Clean residual mean=0.000113 rms=0.000909 Jy/beam
! Combined flux in latest and established models = 1.2095 Jy
! Performing phase self-cal
! Adding 37 model components to the UV plane model.
! The established model now contains 463 components and 1.2095 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.434342Jy  sigma=0.002236
! Fit after  self-cal, rms=1.434361Jy  sigma=0.002236
! 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.434361Jy  sigma=0.002236
! Fit after  self-cal, rms=1.212601Jy  sigma=0.002236
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.835 mas, bmaj=4.338 mas, bpa=-3.044 degrees
! Estimated noise=710.021 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.444949 Jy
! Component: 100  -  total flux cleaned = 0.618915 Jy
! Component: 150  -  total flux cleaned = 0.709728 Jy
! Component: 200  -  total flux cleaned = 0.770021 Jy
! Total flux subtracted in 200 components = 0.770021 Jy
! Clean residual min=-0.015798 max=0.034109 Jy/beam
! Clean residual mean=0.000162 rms=0.004124 Jy/beam
! Combined flux in latest and established models = 0.770021 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.770021 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.523 mas, bmaj=5.472 mas, bpa=-5.954 degrees
! Estimated noise=414.575 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.0687518 Jy
! Component: 100  -  total flux cleaned = 0.113135 Jy
! Component: 150  -  total flux cleaned = 0.14589 Jy
! Component: 200  -  total flux cleaned = 0.170932 Jy
! Total flux subtracted in 200 components = 0.170932 Jy
! Clean residual min=-0.010004 max=0.014898 Jy/beam
! Clean residual mean=0.001344 rms=0.002875 Jy/beam
! Combined flux in latest and established models = 0.940953 Jy
! Adding 58 model components to the UV plane model.
! The established model now contains 66 components and 0.940953 Jy
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.020527 Jy
! Component: 100  -  total flux cleaned = 0.0382217 Jy
! Component: 150  -  total flux cleaned = 0.0537468 Jy
! Component: 200  -  total flux cleaned = 0.0675121 Jy
! Total flux subtracted in 200 components = 0.0675121 Jy
! Clean residual min=-0.007743 max=0.009175 Jy/beam
! Clean residual mean=0.001039 rms=0.002092 Jy/beam
! Combined flux in latest and established models = 1.00847 Jy
! Adding 71 model components to the UV plane model.
! The established model now contains 118 components and 1.00847 Jy
! Inverting map 
! Added new window around map position (9, -20.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0123646 Jy
! Component: 100  -  total flux cleaned = 0.0235002 Jy
! Component: 150  -  total flux cleaned = 0.0336052 Jy
! Component: 200  -  total flux cleaned = 0.0428858 Jy
! Total flux subtracted in 200 components = 0.0428858 Jy
! Clean residual min=-0.006196 max=0.006941 Jy/beam
! Clean residual mean=0.000849 rms=0.001693 Jy/beam
! Combined flux in latest and established models = 1.05135 Jy
! Adding 74 model components to the UV plane model.
! The established model now contains 164 components and 1.05135 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.599 mas, bmaj=9.245 mas, bpa=8.432 degrees
! Estimated noise=523.784 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0159598 Jy
! Component: 100  -  total flux cleaned = 0.0291618 Jy
! Component: 150  -  total flux cleaned = 0.040613 Jy
! Component: 200  -  total flux cleaned = 0.0506303 Jy
! Total flux subtracted in 200 components = 0.0506303 Jy
! Clean residual min=-0.006820 max=0.008093 Jy/beam
! Clean residual mean=0.001360 rms=0.002221 Jy/beam
! Combined flux in latest and established models = 1.10198 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.00893591 Jy
! Component: 100  -  total flux cleaned = 0.0170373 Jy
! Component: 150  -  total flux cleaned = 0.0244307 Jy
! Component: 200  -  total flux cleaned = 0.0312404 Jy
! Total flux subtracted in 200 components = 0.0312404 Jy
! Clean residual min=-0.005979 max=0.006660 Jy/beam
! Clean residual mean=0.001056 rms=0.001826 Jy/beam
! Combined flux in latest and established models = 1.13322 Jy
! Adding 182 model components to the UV plane model.
! The established model now contains 321 components and 1.13322 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.523 mas, bmaj=5.472 mas, bpa=-5.954 degrees
! Estimated noise=414.575 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00593595 Jy
! Component: 100  -  total flux cleaned = 0.0108388 Jy
! Component: 150  -  total flux cleaned = 0.0152316 Jy
! Component: 200  -  total flux cleaned = 0.0193038 Jy
! Total flux subtracted in 200 components = 0.0193038 Jy
! Clean residual min=-0.004378 max=0.004908 Jy/beam
! Clean residual mean=0.000406 rms=0.001085 Jy/beam
! Combined flux in latest and established models = 1.15253 Jy
selfcal
! Performing phase self-cal
! Adding 29 model components to the UV plane model.
! The established model now contains 348 components and 1.15253 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.212760Jy  sigma=0.002238
! Fit after  self-cal, rms=1.212829Jy  sigma=0.002238
wmodel J1357+1919_S_1998_10_01_pus_map.mod
! Writing 348 model components to file: J1357+1919_S_1998_10_01_pus_map.mod
wobs J1357+1919_S_1998_10_01_pus_uvs.fits
! Writing UV FITS file: J1357+1919_S_1998_10_01_pus_uvs.fits
wwins J1357+1919_S_1998_10_01_pus_map.win
! wwins: Wrote 14 windows to J1357+1919_S_1998_10_01_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.000597365 Jy
! Component: 100  -  total flux cleaned = 0.0010397 Jy
! Component: 150  -  total flux cleaned = 0.0014633 Jy
! Component: 200  -  total flux cleaned = 0.00201022 Jy
! Component: 250  -  total flux cleaned = 0.00280694 Jy
! Component: 300  -  total flux cleaned = 0.00352021 Jy
! Component: 350  -  total flux cleaned = 0.00434729 Jy
! Component: 400  -  total flux cleaned = 0.00528296 Jy
! Component: 450  -  total flux cleaned = 0.00632477 Jy
! Component: 500  -  total flux cleaned = 0.0072288 Jy
! Component: 550  -  total flux cleaned = 0.00823833 Jy
! Component: 600  -  total flux cleaned = 0.0091747 Jy
! Component: 650  -  total flux cleaned = 0.0100984 Jy
! Component: 700  -  total flux cleaned = 0.011066 Jy
! Component: 750  -  total flux cleaned = 0.0119639 Jy
! Component: 800  -  total flux cleaned = 0.0129059 Jy
! Component: 850  -  total flux cleaned = 0.0138907 Jy
! Component: 900  -  total flux cleaned = 0.0148098 Jy
! Component: 950  -  total flux cleaned = 0.0157187 Jy
! Component: 1000  -  total flux cleaned = 0.016565 Jy
! Component: 1050  -  total flux cleaned = 0.0175063 Jy
! Component: 1100  -  total flux cleaned = 0.0182816 Jy
! Component: 1150  -  total flux cleaned = 0.0190494 Jy
! Component: 1200  -  total flux cleaned = 0.0198601 Jy
! Component: 1250  -  total flux cleaned = 0.0204616 Jy
! Component: 1300  -  total flux cleaned = 0.0211077 Jy
! Component: 1350  -  total flux cleaned = 0.0219443 Jy
! Component: 1400  -  total flux cleaned = 0.0224805 Jy
! Component: 1450  -  total flux cleaned = 0.0231083 Jy
! Component: 1500  -  total flux cleaned = 0.0236823 Jy
! Component: 1550  -  total flux cleaned = 0.0242038 Jy
! Component: 1600  -  total flux cleaned = 0.0248618 Jy
! Component: 1650  -  total flux cleaned = 0.0252351 Jy
! Component: 1700  -  total flux cleaned = 0.0258828 Jy
! Component: 1750  -  total flux cleaned = 0.0262958 Jy
! Component: 1800  -  total flux cleaned = 0.0267517 Jy
! Component: 1850  -  total flux cleaned = 0.0273396 Jy
! Component: 1900  -  total flux cleaned = 0.0277885 Jy
! Component: 1950  -  total flux cleaned = 0.0282338 Jy
! Component: 2000  -  total flux cleaned = 0.0288528 Jy
! Component: 2050  -  total flux cleaned = 0.0291602 Jy
! Component: 2100  -  total flux cleaned = 0.0298137 Jy
! Component: 2150  -  total flux cleaned = 0.0300301 Jy
! Component: 2200  -  total flux cleaned = 0.0306325 Jy
! Component: 2250  -  total flux cleaned = 0.031145 Jy
! Component: 2300  -  total flux cleaned = 0.0316541 Jy
! Component: 2350  -  total flux cleaned = 0.0320335 Jy
! Component: 2400  -  total flux cleaned = 0.0324107 Jy
! Component: 2450  -  total flux cleaned = 0.0329098 Jy
! Component: 2500  -  total flux cleaned = 0.0334061 Jy
! Component: 2550  -  total flux cleaned = 0.0338579 Jy
! Component: 2600  -  total flux cleaned = 0.0343071 Jy
! Component: 2650  -  total flux cleaned = 0.0345912 Jy
! Component: 2700  -  total flux cleaned = 0.0351556 Jy
! Component: 2750  -  total flux cleaned = 0.0355165 Jy
! Component: 2800  -  total flux cleaned = 0.0358753 Jy
! Component: 2850  -  total flux cleaned = 0.0363108 Jy
! Component: 2900  -  total flux cleaned = 0.0367437 Jy
! Component: 2950  -  total flux cleaned = 0.0371741 Jy
! Component: 3000  -  total flux cleaned = 0.0374856 Jy
! Component: 3050  -  total flux cleaned = 0.0377569 Jy
! Component: 3100  -  total flux cleaned = 0.0382572 Jy
! Component: 3150  -  total flux cleaned = 0.0386399 Jy
! Component: 3200  -  total flux cleaned = 0.0389444 Jy
! Component: 3250  -  total flux cleaned = 0.0394365 Jy
! Component: 3300  -  total flux cleaned = 0.0397377 Jy
! Component: 3350  -  total flux cleaned = 0.0401495 Jy
! Component: 3400  -  total flux cleaned = 0.0404842 Jy
! Component: 3450  -  total flux cleaned = 0.0408176 Jy
! Component: 3500  -  total flux cleaned = 0.0413331 Jy
! Component: 3550  -  total flux cleaned = 0.0414798 Jy
! Component: 3600  -  total flux cleaned = 0.0419173 Jy
! Component: 3650  -  total flux cleaned = 0.042316 Jy
! Component: 3700  -  total flux cleaned = 0.0425683 Jy
! Component: 3750  -  total flux cleaned = 0.0428192 Jy
! Component: 3800  -  total flux cleaned = 0.0430693 Jy
! Component: 3850  -  total flux cleaned = 0.0435666 Jy
! Component: 3900  -  total flux cleaned = 0.0438845 Jy
! Component: 3950  -  total flux cleaned = 0.0441309 Jy
! Component: 4000  -  total flux cleaned = 0.044376 Jy
! Component: 4050  -  total flux cleaned = 0.0447245 Jy
! Total flux subtracted in 4096 components = 0.0450018 Jy
! Clean residual min=-0.002100 max=0.001877 Jy/beam
! Clean residual mean=0.000194 rms=0.000644 Jy/beam
! Combined flux in latest and established models = 1.19753 Jy
keep
! Adding 347 model components to the UV plane model.
! The established model now contains 692 components and 1.19753 Jy
![Exited script file: muppet]
wmap "J1357+1919_S_1998_10_01_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.523 x 5.472 at -5.954 degrees (North through East)
! Clean map  min=-0.0032403  max=0.60743 Jy/beam
! Writing clean map to FITS file: J1357+1919_S_1998_10_01_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.607426 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000641669 
device "J1357+1919_S_1998_10_01_pus\_map.eps/VPS"
! Attempting to open device: 'J1357+1919_S_1998_10_01_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.316912 0.316912 0.633824 1.26765 2.5353 5.0706 10.1412 20.2824 40.5648 81.1295
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0019 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.607 
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.523 x 5.472 at -5.954 degrees (North through East)
! Clean map  min=-0.0032403  max=0.60743 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1357+1919_S_1998_10_01_pus\_map.gif/vgif"
! Attempting to open device: 'J1357+1919_S_1998_10_01_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1357+1919_S_1998_10_01_pus_uvs.log closed on Fri Feb  8 12:41:49 2008