! Started logfile: J2202+4216_S_1998_10_01_pus_uvs.log on Thu Feb  7 17:30:51 2008
obs J2202+4216_S_1998_10_01_pus_uva.fits
! Reading UV FITS file: J2202+4216_S_1998_10_01_pus_uva.fits
! AN table 1: 501 integrations on 136 of 136 possible baselines.
! AN table 2: 151 integrations on 136 of 136 possible baselines.
! Apparent sampling: 0.201608 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J2202+4216
! 
! 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 71508 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 J2202+4216_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 = 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 5847 telescope corrections were flagged in sub-array 1.
!  A total of 1541 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 2.
!  A total of 5847 telescope corrections were flagged in sub-array 1.
!  A total of 1541 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 3.
!  A total of 5847 telescope corrections were flagged in sub-array 1.
!  A total of 1541 telescope corrections were flagged in sub-array 2.
! 
! Correcting IF 4.
!  A total of 5847 telescope corrections were flagged in sub-array 1.
!  A total of 1541 telescope corrections were flagged in sub-array 2.
! 
! Fit before self-cal, rms=1.884608Jy  sigma=0.013933
! Fit after  self-cal, rms=1.740683Jy  sigma=0.012962
! 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.151 mas, bmaj=2.916 mas, bpa=-11.28 degrees
! Estimated noise=722.034 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 = 1.57452 Jy
! Component: 100  -  total flux cleaned = 2.19018 Jy
! Total flux subtracted in 100 components = 2.19018 Jy
! Clean residual min=-0.039157 max=0.283157 Jy/beam
! Clean residual mean=0.001010 rms=0.016117 Jy/beam
! Combined flux in latest and established models = 2.19018 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 11 components and 2.19018 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.051942Jy  sigma=0.006486
! Fit after  self-cal, rms=1.049924Jy  sigma=0.006475
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.329117 Jy
! Component: 100  -  total flux cleaned = 0.537352 Jy
! Total flux subtracted in 100 components = 0.537352 Jy
! Clean residual min=-0.028706 max=0.137311 Jy/beam
! Clean residual mean=0.000597 rms=0.009551 Jy/beam
! Combined flux in latest and established models = 2.72753 Jy
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 25 components and 2.72753 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.880656Jy  sigma=0.004288
! Fit after  self-cal, rms=0.879256Jy  sigma=0.004282
! Inverting map 
! Added new window around map position (0.5, -4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.1565 Jy
! Component: 100  -  total flux cleaned = 0.267097 Jy
! Total flux subtracted in 100 components = 0.267097 Jy
! Clean residual min=-0.022845 max=0.062573 Jy/beam
! Clean residual mean=0.000399 rms=0.007124 Jy/beam
! Combined flux in latest and established models = 2.99463 Jy
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 35 components and 2.99463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.832301Jy  sigma=0.003505
! Fit after  self-cal, rms=0.831296Jy  sigma=0.003499
! Inverting map 
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0868874 Jy
! Component: 100  -  total flux cleaned = 0.151423 Jy
! Total flux subtracted in 100 components = 0.151423 Jy
! Clean residual min=-0.021365 max=0.043931 Jy/beam
! Clean residual mean=0.000290 rms=0.006057 Jy/beam
! Combined flux in latest and established models = 3.14605 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 47 components and 3.14605 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.815273Jy  sigma=0.003185
! Fit after  self-cal, rms=0.814776Jy  sigma=0.003181
! Inverting map 
! Added new window around map position (3.5, -5.5).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.055538 Jy
! Component: 100  -  total flux cleaned = 0.0997897 Jy
! Total flux subtracted in 100 components = 0.0997897 Jy
! Clean residual min=-0.021164 max=0.028719 Jy/beam
! Clean residual mean=0.000224 rms=0.005519 Jy/beam
! Combined flux in latest and established models = 3.24584 Jy
! Performing phase self-cal
! Adding 20 model components to the UV plane model.
! The established model now contains 53 components and 3.24584 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.807536Jy  sigma=0.003031
! Fit after  self-cal, rms=0.807246Jy  sigma=0.003028
! 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.873 mas, bmaj=3.674 mas, bpa=-8.675 degrees
! Estimated noise=386.236 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.0798941 Jy
! Component: 100  -  total flux cleaned = 0.131783 Jy
! Component: 150  -  total flux cleaned = 0.167942 Jy
! Component: 200  -  total flux cleaned = 0.193985 Jy
! Total flux subtracted in 200 components = 0.193985 Jy
! Clean residual min=-0.016798 max=0.029741 Jy/beam
! Clean residual mean=0.001466 rms=0.005233 Jy/beam
! Combined flux in latest and established models = 3.43983 Jy
! Performing phase self-cal
! Adding 49 model components to the UV plane model.
! The established model now contains 91 components and 3.43983 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.800001Jy  sigma=0.002863
! Fit after  self-cal, rms=0.799339Jy  sigma=0.002853
! Inverting map 
! Added new window around map position (3.5, -12).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0333638 Jy
! Component: 100  -  total flux cleaned = 0.0572297 Jy
! Component: 150  -  total flux cleaned = 0.07546 Jy
! Component: 200  -  total flux cleaned = 0.0896294 Jy
! Total flux subtracted in 200 components = 0.0896294 Jy
! Clean residual min=-0.017723 max=0.019617 Jy/beam
! Clean residual mean=0.000731 rms=0.004610 Jy/beam
! Combined flux in latest and established models = 3.52946 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 122 components and 3.52946 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.797609Jy  sigma=0.002822
! Fit after  self-cal, rms=0.797451Jy  sigma=0.002819
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 138 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.00     GC        1.03     HN        0.96     
!   KK        0.99     KP        1.04     LA        0.95     MK        0.95     
!   NL        0.99     NY        0.95     ON        1.10     OV        1.00     
!   PT        1.03     SC        1.01     WF        0.99     MC        1.00     
!   GN        0.97     
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.95     FD        1.01     GC        1.04     HN        0.98     
!   KK        0.97     KP        0.94     LA        0.95     MK        0.93     
!   NL        1.00     NY        0.95     ON        1.04     OV        0.93     
!   PT        1.01     SC        1.09     WF        0.98     MC        1.00*    
!   GN        0.97     
! 
! 
! Correcting IF 2.
!  A total of 138 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        0.99     GC        1.00     HN        1.02     
!   KK        0.99     KP        0.99     LA        1.01     MK        1.01     
!   NL        0.97     NY        0.98     ON        1.10     OV        1.00     
!   PT        0.99     SC        1.03     WF        1.02     MC        1.13     
!   GN        0.97     
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.97     FD        1.02     GC        1.02     HN        1.04     
!   KK        0.97     KP        0.92     LA        1.01     MK        0.99     
!   NL        0.98     NY        1.00     ON        1.05     OV        0.93     
!   PT        0.98     SC        1.11     WF        1.02     MC        1.00*    
!   GN        0.98     
! 
! 
! Correcting IF 3.
!  A total of 138 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        1.04     GC        1.05     HN        0.98     
!   KK        1.00     KP        1.02     LA        1.00     MK        0.96     
!   NL        0.99     NY        0.99     ON        1.05     OV        1.01     
!   PT        0.99     SC        1.03     WF        1.01     MC        1.06     
!   GN        0.98     
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.07     GC        1.05     HN        1.00     
!   KK        0.97     KP        0.96     LA        1.00     MK        0.93     
!   NL        0.99     NY        1.01     ON        1.00     OV        0.94     
!   PT        0.97     SC        1.12     WF        1.02     MC        1.00*    
!   GN        0.98     
! 
! 
! Correcting IF 4.
!  A total of 138 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.01     GC        1.03     HN        0.99     
!   KK        0.99     KP        1.02     LA        0.99     MK        0.97     
!   NL        0.98     NY        1.00     ON        1.06     OV        1.02     
!   PT        0.97     SC        1.02     WF        1.00     MC        1.13     
!   GN        0.97     
! 
!  A total of 36 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.99     FD        1.03     GC        1.04     HN        1.02     
!   KK        0.97     KP        0.96     LA        0.99     MK        0.94     
!   NL        0.99     NY        1.01     ON        1.07     OV        0.96     
!   PT        0.98     SC        1.10     WF        1.00     MC        1.00*    
!   GN        0.98     
! 
! 
! Fit before self-cal, rms=0.797451Jy  sigma=0.002819
! Fit after  self-cal, rms=0.786830Jy  sigma=0.002686
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.92 mas, bmaj=3.687 mas, bpa=-9.333 degrees
! Estimated noise=385.921 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.00081392 Jy
! Component: 100  -  total flux cleaned = 0.00284154 Jy
! Component: 150  -  total flux cleaned = 0.00624727 Jy
! Component: 200  -  total flux cleaned = 0.00906745 Jy
! Total flux subtracted in 200 components = 0.00906745 Jy
! Clean residual min=-0.016127 max=0.017240 Jy/beam
! Clean residual mean=0.000429 rms=0.003770 Jy/beam
! Combined flux in latest and established models = 3.53852 Jy
! Performing phase self-cal
! Adding 24 model components to the UV plane model.
! The established model now contains 139 components and 3.53853 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.786119Jy  sigma=0.002680
! Fit after  self-cal, rms=0.786321Jy  sigma=0.002679
! 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.786321Jy  sigma=0.002679
! Fit after  self-cal, rms=0.862445Jy  sigma=0.002508
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.937 mas, bmaj=3.7 mas, bpa=-7.251 degrees
! Estimated noise=387.805 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00473574 Jy
! Component: 100  -  total flux cleaned = 0.00566166 Jy
! Component: 150  -  total flux cleaned = 0.00623349 Jy
! Component: 200  -  total flux cleaned = 0.00676628 Jy
! Total flux subtracted in 200 components = 0.00676628 Jy
! Clean residual min=-0.005920 max=0.010827 Jy/beam
! Clean residual mean=0.000672 rms=0.001616 Jy/beam
! Combined flux in latest and established models = 3.54529 Jy
selfcal
! Performing phase self-cal
! Adding 17 model components to the UV plane model.
! The established model now contains 147 components and 3.54529 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862209Jy  sigma=0.002505
! Fit after  self-cal, rms=0.862984Jy  sigma=0.002505
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 (8, -23.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0115684 Jy
! Component: 100  -  total flux cleaned = 0.0160925 Jy
! Component: 150  -  total flux cleaned = 0.0168532 Jy
! Component: 200  -  total flux cleaned = 0.0178068 Jy
! Total flux subtracted in 200 components = 0.0178068 Jy
! Clean residual min=-0.005475 max=0.007496 Jy/beam
! Clean residual mean=0.000542 rms=0.001420 Jy/beam
! Combined flux in latest and established models = 3.5631 Jy
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 165 components and 3.5631 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862786Jy  sigma=0.002501
! Fit after  self-cal, rms=0.862790Jy  sigma=0.002501
! Inverting map 
! Added new window around map position (-2, -3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00264754 Jy
! Component: 100  -  total flux cleaned = 0.00383014 Jy
! Component: 150  -  total flux cleaned = 0.00511711 Jy
! Component: 200  -  total flux cleaned = 0.00611483 Jy
! Total flux subtracted in 200 components = 0.00611483 Jy
! Clean residual min=-0.005196 max=0.006668 Jy/beam
! Clean residual mean=0.000495 rms=0.001368 Jy/beam
! Combined flux in latest and established models = 3.56921 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 182 components and 3.56921 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862660Jy  sigma=0.002499
! Fit after  self-cal, rms=0.862665Jy  sigma=0.002499
! Inverting map 
! Added new window around map position (1, -22.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00568805 Jy
! Component: 100  -  total flux cleaned = 0.00568781 Jy
! Component: 150  -  total flux cleaned = 0.00660251 Jy
! Component: 200  -  total flux cleaned = 0.00712136 Jy
! Total flux subtracted in 200 components = 0.00712136 Jy
! Clean residual min=-0.005157 max=0.006053 Jy/beam
! Clean residual mean=0.000441 rms=0.001310 Jy/beam
! Combined flux in latest and established models = 3.57633 Jy
! Performing phase self-cal
! Adding 32 model components to the UV plane model.
! The established model now contains 193 components and 3.57633 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862551Jy  sigma=0.002497
! Fit after  self-cal, rms=0.862563Jy  sigma=0.002497
! Inverting map 
! Added new window around map position (11.5, -13).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00579748 Jy
! Component: 100  -  total flux cleaned = 0.00693366 Jy
! Component: 150  -  total flux cleaned = 0.0072663 Jy
! Component: 200  -  total flux cleaned = 0.00757963 Jy
! Total flux subtracted in 200 components = 0.00757963 Jy
! Clean residual min=-0.005078 max=0.005861 Jy/beam
! Clean residual mean=0.000387 rms=0.001262 Jy/beam
! Combined flux in latest and established models = 3.58391 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 212 components and 3.58391 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862455Jy  sigma=0.002496
! Fit after  self-cal, rms=0.862454Jy  sigma=0.002496
! Inverting map 
! Added new window around map position (29.5, -43).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00376674 Jy
! Component: 100  -  total flux cleaned = 0.00491331 Jy
! Component: 150  -  total flux cleaned = 0.00551179 Jy
! Component: 200  -  total flux cleaned = 0.00594223 Jy
! Total flux subtracted in 200 components = 0.00594223 Jy
! Clean residual min=-0.004936 max=0.005733 Jy/beam
! Clean residual mean=0.000341 rms=0.001233 Jy/beam
! Combined flux in latest and established models = 3.58986 Jy
! Performing phase self-cal
! Adding 42 model components to the UV plane model.
! The established model now contains 228 components and 3.58986 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862354Jy  sigma=0.002495
! Fit after  self-cal, rms=0.862353Jy  sigma=0.002495
! Inverting map 
! Added new window around map position (11.5, -36.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00525021 Jy
! Component: 100  -  total flux cleaned = 0.00676418 Jy
! Component: 150  -  total flux cleaned = 0.007589 Jy
! Component: 200  -  total flux cleaned = 0.00811521 Jy
! Total flux subtracted in 200 components = 0.00811521 Jy
! Clean residual min=-0.005137 max=0.005007 Jy/beam
! Clean residual mean=0.000284 rms=0.001200 Jy/beam
! Combined flux in latest and established models = 3.59797 Jy
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 239 components and 3.59797 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.862289Jy  sigma=0.002494
! Fit after  self-cal, rms=0.862285Jy  sigma=0.002494
! 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.862285Jy  sigma=0.002494
! Fit after  self-cal, rms=0.882607Jy  sigma=0.002481
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=2.931 mas, bmaj=3.698 mas, bpa=-7.661 degrees
! Estimated noise=387.692 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00244238 Jy
! Component: 100  -  total flux cleaned = 0.00372573 Jy
! Component: 150  -  total flux cleaned = 0.0050339 Jy
! Component: 200  -  total flux cleaned = 0.00608224 Jy
! Total flux subtracted in 200 components = 0.00608224 Jy
! Clean residual min=-0.004246 max=0.004441 Jy/beam
! Clean residual mean=0.000310 rms=0.001029 Jy/beam
! Combined flux in latest and established models = 3.60405 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 251 components and 3.60405 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.882528Jy  sigma=0.002480
! Fit after  self-cal, rms=0.883108Jy  sigma=0.002480
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 (22, 1).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00281428 Jy
! Component: 100  -  total flux cleaned = 0.00407326 Jy
! Component: 150  -  total flux cleaned = 0.00499017 Jy
! Component: 200  -  total flux cleaned = 0.00549114 Jy
! Total flux subtracted in 200 components = 0.00549114 Jy
! Clean residual min=-0.004223 max=0.004357 Jy/beam
! Clean residual mean=0.000267 rms=0.001005 Jy/beam
! Combined flux in latest and established models = 3.60955 Jy
! Performing phase self-cal
! Adding 47 model components to the UV plane model.
! The established model now contains 269 components and 3.60954 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.883050Jy  sigma=0.002480
! Fit after  self-cal, rms=0.883078Jy  sigma=0.002480
! Inverting map 
! Added new window around map position (-52.5, 59.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00333514 Jy
! Component: 100  -  total flux cleaned = 0.00445155 Jy
! Component: 150  -  total flux cleaned = 0.00503806 Jy
! Component: 200  -  total flux cleaned = 0.00537899 Jy
! Total flux subtracted in 200 components = 0.00537899 Jy
! Clean residual min=-0.004170 max=0.003630 Jy/beam
! Clean residual mean=0.000228 rms=0.000988 Jy/beam
! Combined flux in latest and established models = 3.61492 Jy
! Performing phase self-cal
! Adding 49 model components to the UV plane model.
! The established model now contains 284 components and 3.61492 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.883034Jy  sigma=0.002479
! Fit after  self-cal, rms=0.883047Jy  sigma=0.002479
! 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.883047Jy  sigma=0.002479
! Fit after  self-cal, rms=0.884574Jy  sigma=0.002479
clean clean_niter,clean_gain
! Inverting map and beam 
! Estimated beam: bmin=7.847 mas, bmaj=8.543 mas, bpa=34.19 degrees
! Estimated noise=519.869 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00483952 Jy
! Component: 100  -  total flux cleaned = 0.00814043 Jy
! Component: 150  -  total flux cleaned = 0.0101055 Jy
! Component: 200  -  total flux cleaned = 0.0116727 Jy
! Total flux subtracted in 200 components = 0.0116727 Jy
! Clean residual min=-0.003769 max=0.004078 Jy/beam
! Clean residual mean=0.000474 rms=0.001128 Jy/beam
! Combined flux in latest and established models = 3.6266 Jy
selfcal
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 317 components and 3.6266 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.884540Jy  sigma=0.002479
! Fit after  self-cal, rms=0.884569Jy  sigma=0.002479
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.00121685 Jy
! Component: 100  -  total flux cleaned = 0.00225308 Jy
! Component: 150  -  total flux cleaned = 0.00282452 Jy
! Component: 200  -  total flux cleaned = 0.00328572 Jy
! Total flux subtracted in 200 components = 0.00328572 Jy
! Clean residual min=-0.003819 max=0.004139 Jy/beam
! Clean residual mean=0.000406 rms=0.001102 Jy/beam
! Combined flux in latest and established models = 3.62988 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 332 components and 3.62988 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.884553Jy  sigma=0.002478
! Fit after  self-cal, rms=0.884550Jy  sigma=0.002478
! 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.931 mas, bmaj=3.7 mas, bpa=-7.7 degrees
! Estimated noise=387.793 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.931 x 3.7 at -7.7 degrees (North through East)
! Clean map  min=-0.0037992  max=2.2646 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.884550Jy  sigma=0.002478
! Fit after  self-cal, rms=1.254273Jy  sigma=0.002299
! Inverting map and beam 
! Estimated beam: bmin=2.931 mas, bmaj=3.701 mas, bpa=-7.591 degrees
! Estimated noise=387.732 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.00105903 Jy
! Component: 100  -  total flux cleaned = -0.00132225 Jy
! Component: 150  -  total flux cleaned = -0.00132553 Jy
! Component: 200  -  total flux cleaned = -0.0013284 Jy
! Total flux subtracted in 200 components = -0.0013284 Jy
! Clean residual min=-0.003639 max=0.003548 Jy/beam
! Clean residual mean=0.000187 rms=0.000917 Jy/beam
! Combined flux in latest and established models = 3.62855 Jy
! Performing phase self-cal
! Adding 28 model components to the UV plane model.
! The established model now contains 344 components and 3.62855 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.254233Jy  sigma=0.002298
! Fit after  self-cal, rms=1.254249Jy  sigma=0.002298
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00012845 Jy
! Component: 100  -  total flux cleaned = 0.00045702 Jy
! Component: 150  -  total flux cleaned = 0.00077311 Jy
! Component: 200  -  total flux cleaned = 0.00107896 Jy
! Total flux subtracted in 200 components = 0.00107896 Jy
! Clean residual min=-0.003653 max=0.003542 Jy/beam
! Clean residual mean=0.000179 rms=0.000909 Jy/beam
! Combined flux in latest and established models = 3.62963 Jy
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 350 components and 3.62963 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.254220Jy  sigma=0.002298
! Fit after  self-cal, rms=1.254246Jy  sigma=0.002298
! 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.254246Jy  sigma=0.002298
! Fit after  self-cal, rms=1.243308Jy  sigma=0.002298
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.2 mas, bmaj=2.934 mas, bpa=-8.073 degrees
! Estimated noise=741.801 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 1.60279 Jy
! Component: 100  -  total flux cleaned = 2.20562 Jy
! Component: 150  -  total flux cleaned = 2.52733 Jy
! Component: 200  -  total flux cleaned = 2.73427 Jy
! Total flux subtracted in 200 components = 2.73427 Jy
! Clean residual min=-0.020634 max=0.113232 Jy/beam
! Clean residual mean=0.000591 rms=0.007858 Jy/beam
! Combined flux in latest and established models = 2.73427 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 23 model components to the UV plane model.
! The established model now contains 23 components and 2.73427 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.931 mas, bmaj=3.702 mas, bpa=-7.607 degrees
! Estimated noise=387.735 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.26415 Jy
! Component: 100  -  total flux cleaned = 0.417628 Jy
! Component: 150  -  total flux cleaned = 0.517376 Jy
! Component: 200  -  total flux cleaned = 0.585823 Jy
! Total flux subtracted in 200 components = 0.585823 Jy
! Clean residual min=-0.006604 max=0.038473 Jy/beam
! Clean residual mean=0.002679 rms=0.004993 Jy/beam
! Combined flux in latest and established models = 3.32009 Jy
! Adding 73 model components to the UV plane model.
! The established model now contains 86 components and 3.32009 Jy
! Inverting map 
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0492496 Jy
! Component: 100  -  total flux cleaned = 0.0861844 Jy
! Component: 150  -  total flux cleaned = 0.115205 Jy
! Component: 200  -  total flux cleaned = 0.138783 Jy
! Total flux subtracted in 200 components = 0.138783 Jy
! Clean residual min=-0.004908 max=0.015290 Jy/beam
! Clean residual mean=0.001513 rms=0.002522 Jy/beam
! Combined flux in latest and established models = 3.45888 Jy
! Adding 73 model components to the UV plane model.
! The established model now contains 141 components and 3.45888 Jy
! Inverting map 
! Added new window around map position (0, 3).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0196765 Jy
! Component: 100  -  total flux cleaned = 0.0362857 Jy
! Component: 150  -  total flux cleaned = 0.050521 Jy
! Component: 200  -  total flux cleaned = 0.0628247 Jy
! Total flux subtracted in 200 components = 0.0628247 Jy
! Clean residual min=-0.004171 max=0.008550 Jy/beam
! Clean residual mean=0.001005 rms=0.001652 Jy/beam
! Combined flux in latest and established models = 3.5217 Jy
! Adding 78 model components to the UV plane model.
! The established model now contains 194 components and 3.5217 Jy
! Inverting map 
! Added new window around map position (6.5, -4.5).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0108565 Jy
! Component: 100  -  total flux cleaned = 0.0203769 Jy
! Component: 150  -  total flux cleaned = 0.0288235 Jy
! Component: 200  -  total flux cleaned = 0.036371 Jy
! Total flux subtracted in 200 components = 0.036371 Jy
! Clean residual min=-0.003745 max=0.005695 Jy/beam
! Clean residual mean=0.000718 rms=0.001266 Jy/beam
! Combined flux in latest and established models = 3.55807 Jy
! Adding 75 model components to the UV plane model.
! The established model now contains 229 components and 3.55807 Jy
! Inverting map 
! Added new window around map position (13.5, -19).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00695535 Jy
! Component: 100  -  total flux cleaned = 0.0131344 Jy
! Component: 150  -  total flux cleaned = 0.0187923 Jy
! Component: 200  -  total flux cleaned = 0.0240097 Jy
! Total flux subtracted in 200 components = 0.0240097 Jy
! Clean residual min=-0.003584 max=0.004297 Jy/beam
! Clean residual mean=0.000532 rms=0.001088 Jy/beam
! Combined flux in latest and established models = 3.58208 Jy
! Adding 80 model components to the UV plane model.
! The established model now contains 265 components and 3.58208 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.848 mas, bmaj=8.543 mas, bpa=34.06 degrees
! Estimated noise=519.519 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0103484 Jy
! Component: 100  -  total flux cleaned = 0.018008 Jy
! Component: 150  -  total flux cleaned = 0.024071 Jy
! Component: 200  -  total flux cleaned = 0.0290751 Jy
! Total flux subtracted in 200 components = 0.0290751 Jy
! Clean residual min=-0.002681 max=0.004649 Jy/beam
! Clean residual mean=0.000903 rms=0.001227 Jy/beam
! Combined flux in latest and established models = 3.61116 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.00425517 Jy
! Component: 100  -  total flux cleaned = 0.00788225 Jy
! Component: 150  -  total flux cleaned = 0.0109817 Jy
! Component: 200  -  total flux cleaned = 0.0136392 Jy
! Total flux subtracted in 200 components = 0.0136392 Jy
! Clean residual min=-0.002840 max=0.003850 Jy/beam
! Clean residual mean=0.000597 rms=0.001078 Jy/beam
! Combined flux in latest and established models = 3.6248 Jy
! Adding 142 model components to the UV plane model.
! The established model now contains 384 components and 3.62479 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.931 mas, bmaj=3.702 mas, bpa=-7.607 degrees
! Estimated noise=387.735 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000714391 Jy
! Component: 100  -  total flux cleaned = -0.000412682 Jy
! Component: 150  -  total flux cleaned = 3.65886e-06 Jy
! Component: 200  -  total flux cleaned = 0.00026178 Jy
! Total flux subtracted in 200 components = 0.00026178 Jy
! Clean residual min=-0.003604 max=0.003806 Jy/beam
! Clean residual mean=0.000205 rms=0.000906 Jy/beam
! Combined flux in latest and established models = 3.62506 Jy
selfcal
! Performing phase self-cal
! Adding 18 model components to the UV plane model.
! The established model now contains 391 components and 3.62506 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=1.243412Jy  sigma=0.002297
! Fit after  self-cal, rms=1.243543Jy  sigma=0.002297
wmodel J2202+4216_S_1998_10_01_pus_map.mod
! Writing 391 model components to file: J2202+4216_S_1998_10_01_pus_map.mod
wobs J2202+4216_S_1998_10_01_pus_uvs.fits
! Writing UV FITS file: J2202+4216_S_1998_10_01_pus_uvs.fits
wwins J2202+4216_S_1998_10_01_pus_map.win
! wwins: Wrote 15 windows to J2202+4216_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=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000148382 Jy
! Component: 100  -  total flux cleaned = 0.000271612 Jy
! Component: 150  -  total flux cleaned = 0.000509273 Jy
! Component: 200  -  total flux cleaned = 0.0007969 Jy
! Component: 250  -  total flux cleaned = 0.00124677 Jy
! Component: 300  -  total flux cleaned = 0.00179739 Jy
! Component: 350  -  total flux cleaned = 0.00244595 Jy
! Component: 400  -  total flux cleaned = 0.00287131 Jy
! Component: 450  -  total flux cleaned = 0.0033965 Jy
! Component: 500  -  total flux cleaned = 0.00386372 Jy
! Component: 550  -  total flux cleaned = 0.00432531 Jy
! Component: 600  -  total flux cleaned = 0.00473121 Jy
! Component: 650  -  total flux cleaned = 0.0051833 Jy
! Component: 700  -  total flux cleaned = 0.00558125 Jy
! Component: 750  -  total flux cleaned = 0.00597506 Jy
! Component: 800  -  total flux cleaned = 0.00626786 Jy
! Component: 850  -  total flux cleaned = 0.00655815 Jy
! Component: 900  -  total flux cleaned = 0.00684578 Jy
! Component: 950  -  total flux cleaned = 0.00708364 Jy
! Component: 1000  -  total flux cleaned = 0.00741419 Jy
! Component: 1050  -  total flux cleaned = 0.0076955 Jy
! Component: 1100  -  total flux cleaned = 0.00792817 Jy
! Component: 1150  -  total flux cleaned = 0.00820565 Jy
! Component: 1200  -  total flux cleaned = 0.0083894 Jy
! Component: 1250  -  total flux cleaned = 0.00870921 Jy
! Component: 1300  -  total flux cleaned = 0.00884532 Jy
! Component: 1350  -  total flux cleaned = 0.00907131 Jy
! Component: 1400  -  total flux cleaned = 0.00925101 Jy
! Component: 1450  -  total flux cleaned = 0.00951876 Jy
! Component: 1500  -  total flux cleaned = 0.00969619 Jy
! Component: 1550  -  total flux cleaned = 0.00982879 Jy
! Component: 1600  -  total flux cleaned = 0.0100925 Jy
! Component: 1650  -  total flux cleaned = 0.0101361 Jy
! Component: 1700  -  total flux cleaned = 0.0103538 Jy
! Component: 1750  -  total flux cleaned = 0.0105269 Jy
! Component: 1800  -  total flux cleaned = 0.0105701 Jy
! Component: 1850  -  total flux cleaned = 0.0108704 Jy
! Component: 1900  -  total flux cleaned = 0.0109557 Jy
! Component: 1950  -  total flux cleaned = 0.0111256 Jy
! Component: 2000  -  total flux cleaned = 0.0112102 Jy
! Total flux subtracted in 2048 components = 0.0112946 Jy
! Clean residual min=-0.002129 max=0.002542 Jy/beam
! Clean residual mean=0.000124 rms=0.000798 Jy/beam
! Combined flux in latest and established models = 3.63635 Jy
keep
! Adding 166 model components to the UV plane model.
! The established model now contains 557 components and 3.63635 Jy
![Exited script file: muppet]
wmap "J2202+4216_S_1998_10_01_pus\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.931 x 3.702 at -7.607 degrees (North through East)
! Clean map  min=-0.0033141  max=2.2669 Jy/beam
! Writing clean map to FITS file: J2202+4216_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 2.26687 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000798142 
device "J2202+4216_S_1998_10_01_pus\_map.eps/VPS"
! Attempting to open device: 'J2202+4216_S_1998_10_01_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.105627 0.105627 0.211253 0.422507 0.845014 1.69003 3.38006 6.76011 13.5202 27.0404 54.0809
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(1000*peak_flux)/1000
! peak= 2.266 
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.931 x 3.702 at -7.607 degrees (North through East)
! Clean map  min=-0.0033141  max=2.2669 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2202+4216_S_1998_10_01_pus\_map.gif/vgif"
! Attempting to open device: 'J2202+4216_S_1998_10_01_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J2202+4216_S_1998_10_01_pus_uvs.log closed on Thu Feb  7 17:31:36 2008