! Started logfile: J0231+1322_S_1994_08_12_yyk_uvs.log on Sun Jan  7 15:52:20 2007
obs J0231+1322_S_1994_08_12_yyk_uva.fits
! Reading UV FITS file: J0231+1322_S_1994_08_12_yyk_uva.fits
! AN table 1: 71 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.442567 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0231+1322
! 
! 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.22049e+09        4e+06          1        4e+06
!  02        2  2.23236e+09        4e+06          1        4e+06
!  03        3  2.29236e+09        4e+06          1        4e+06
!  04        4  2.32236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 784 lines of history.
! 
! Reading 5656 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
![@muppet J0231+1322_S_1994_08_12_yyk]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.04
float dynam
dynam = 6.0
float amp_soltime1
amp_soltime1 = 10
float amp_soltime2
amp_soltime2 = 1
float phase_soltime1
phase_soltime1=10
float phase_soltime2
phase_soltime2=0.5
float phase_soltime
phase_soltime=phase_soltime1
float ampcor_selflim
ampcor_selflim=1.20
float thresh
thresh = 0.10
float win_mult
win_mult = 1.8
float time_av
time_av = 30
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.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 1.39998 Jy 
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=3.444 mas, bmaj=6.723 mas, bpa=-2.394 degrees
! Estimated noise=2685.04 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.04628 Jy
! Component: 100  -  total flux cleaned = 1.1433 Jy
! Total flux subtracted in 100 components = 1.1433 Jy
! Clean residual min=-0.086329 max=0.158515 Jy/beam
! Clean residual mean=0.001334 rms=0.032371 Jy/beam
! Combined flux in latest and established models = 1.1433 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 1.1433 Jy
! 
! Correcting IF 1.
!  A total of 290 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 290 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 290 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 290 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.566941Jy  sigma=0.003425
! Fit after  self-cal, rms=0.555893Jy  sigma=0.003273
! Inverting map and beam 
! Estimated beam: bmin=3.444 mas, bmaj=6.723 mas, bpa=-2.398 degrees
! Estimated noise=2695.16 mJy/beam.
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! 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=4.36 mas, bmaj=7.443 mas, bpa=-4.161 degrees
! Estimated noise=1449.68 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.130036 Jy
! Component: 100  -  total flux cleaned = 0.127397 Jy
! Component: 150  -  total flux cleaned = 0.127282 Jy
! Component: 200  -  total flux cleaned = 0.127085 Jy
! Total flux subtracted in 200 components = 0.127085 Jy
! Clean residual min=-0.056706 max=0.097267 Jy/beam
! Clean residual mean=0.001980 rms=0.023664 Jy/beam
! Combined flux in latest and established models = 1.27038 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 17 components and 1.27038 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.525146Jy  sigma=0.003076
! Fit after  self-cal, rms=0.525093Jy  sigma=0.003076
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 4.36 x 7.443 at -4.161 degrees (North through East)
! Clean map  min=-0.055793  max=1.2825 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.958821
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.93     FD        0.99     HN        1.01     KP        0.90     
!   LA        0.94     MK        2.10     NL        0.87     OV        0.92     
!   PT        0.90     SC        0.88     
! 
! 
! Correcting IF 2.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.940962
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.08     HN        1.04     KP        0.91     
!   LA        1.04     MK        2.06     NL        0.84     OV        0.90     
!   PT        0.90     SC        0.92     
! 
! 
! Correcting IF 3.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.952109
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.02     HN        1.01     KP        0.92     
!   LA        0.80     MK        1.98     NL        0.91     OV        0.96     
!   PT        1.05     SC        0.95     
! 
! 
! Correcting IF 4.
!  A total of 12 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.909882
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.06     HN        1.06     KP        0.97     
!   LA        0.85     MK        2.19     NL        0.89     OV        1.21     
!   PT        0.89     SC        0.90     
! 
! 
! Fit before self-cal, rms=0.525093Jy  sigma=0.003076
! Fit after  self-cal, rms=0.566177Jy  sigma=0.002688
selfcal false, false, phase_soltime
! Performing phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.566177Jy  sigma=0.002688
! Fit after  self-cal, rms=0.566193Jy  sigma=0.002688
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.288 mas, bmaj=7.777 mas, bpa=14.93 degrees
! Estimated noise=1257.27 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.154862 Jy
! Component: 100  -  total flux cleaned = -0.165263 Jy
! Component: 150  -  total flux cleaned = -0.161432 Jy
! Component: 200  -  total flux cleaned = -0.160475 Jy
! Total flux subtracted in 200 components = -0.160475 Jy
! Clean residual min=-0.024989 max=0.041197 Jy/beam
! Clean residual mean=0.000802 rms=0.008342 Jy/beam
! Combined flux in latest and established models = 1.10991 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 30 components and 1.10991 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.505166Jy  sigma=0.002329
! Fit after  self-cal, rms=0.505098Jy  sigma=0.002329
! Inverting map 
! Added new window around map position (6.5, 3).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0311587 Jy
! Component: 100  -  total flux cleaned = 0.0321571 Jy
! Component: 150  -  total flux cleaned = 0.033079 Jy
! Component: 200  -  total flux cleaned = 0.0330766 Jy
! Total flux subtracted in 200 components = 0.0330766 Jy
! Clean residual min=-0.023365 max=0.028752 Jy/beam
! Clean residual mean=0.000549 rms=0.007054 Jy/beam
! Combined flux in latest and established models = 1.14299 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 52 components and 1.14299 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.494059Jy  sigma=0.002281
! Fit after  self-cal, rms=0.493877Jy  sigma=0.002279
! Inverting map 
print "************** FINISHED AMPLITUDE GSCALE SELF-CAL **************"
! ************** FINISHED AMPLITUDE GSCALE SELF-CAL ************** 
! 
phase_soltime=phase_soltime2
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.493877Jy  sigma=0.002279
! Fit after  self-cal, rms=0.488544Jy  sigma=0.002251
dynam = dynam - 0.5
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 false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00386059 Jy
! Component: 100  -  total flux cleaned = 0.00309643 Jy
! Component: 150  -  total flux cleaned = 0.00310226 Jy
! Component: 200  -  total flux cleaned = 0.00237574 Jy
! Total flux subtracted in 200 components = 0.00237574 Jy
! Clean residual min=-0.022318 max=0.026292 Jy/beam
! Clean residual mean=0.000515 rms=0.006788 Jy/beam
! Combined flux in latest and established models = 1.14536 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 64 components and 1.14536 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.482442Jy  sigma=0.002230
! Fit after  self-cal, rms=0.481557Jy  sigma=0.002226
! Inverting map 
print "*** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime ***"
! *** FINISHED NATURAL WEIGHTING CLEAN with shorter phase_soltime *** 
! 
dynam = dynam - 0.25
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.288 x 7.777 at 14.93 degrees (North through East)
! Clean map  min=-0.021391  max=1.1577 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true, amp_soltime1
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true, amp_soltime2
  selfcal false, false, phase_soltime
  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 false,false,phase_soltime
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  print "************** FINISHED AMPLITUDE SELF-CAL **************"
  end if
! Performing amp+phase self-cal over 10 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.481557Jy  sigma=0.002226
! Fit after  self-cal, rms=2.511118Jy  sigma=0.001826
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.511118Jy  sigma=0.001826
! Fit after  self-cal, rms=2.511268Jy  sigma=0.001826
! Inverting map and beam 
! Estimated beam: bmin=5.035 mas, bmaj=7.502 mas, bpa=7.164 degrees
! Estimated noise=1235.54 mJy/beam.
! Added new window around map position (29.5, 9).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0206355 Jy
! Component: 100  -  total flux cleaned = 0.0322848 Jy
! Component: 150  -  total flux cleaned = 0.0385447 Jy
! Component: 200  -  total flux cleaned = 0.0420836 Jy
! Total flux subtracted in 200 components = 0.0420836 Jy
! Clean residual min=-0.009005 max=0.010328 Jy/beam
! Clean residual mean=0.000265 rms=0.002775 Jy/beam
! Combined flux in latest and established models = 1.18744 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 98 components and 1.18745 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.511167Jy  sigma=0.001815
! Fit after  self-cal, rms=2.511173Jy  sigma=0.001814
! Inverting map 
! Performing amp+phase self-cal over 1 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.511173Jy  sigma=0.001814
! Fit after  self-cal, rms=2.552184Jy  sigma=0.001810
! Performing phase self-cal over 0.5 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.552184Jy  sigma=0.001810
! Fit after  self-cal, rms=2.552761Jy  sigma=0.001810
! Inverting map and beam 
! Estimated beam: bmin=5.031 mas, bmaj=7.501 mas, bpa=6.89 degrees
! Estimated noise=1235.04 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00725118 Jy
! Component: 100  -  total flux cleaned = 0.00985612 Jy
! Component: 150  -  total flux cleaned = 0.011501 Jy
! Component: 200  -  total flux cleaned = 0.0125856 Jy
! Total flux subtracted in 200 components = 0.0125856 Jy
! Clean residual min=-0.008015 max=0.009661 Jy/beam
! Clean residual mean=0.000268 rms=0.002595 Jy/beam
! Combined flux in latest and established models = 1.20003 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 30 model components to the UV plane model.
! The established model now contains 108 components and 1.20003 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.552692Jy  sigma=0.001808
! Fit after  self-cal, rms=2.552883Jy  sigma=0.001808
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.979 mas, bmaj=10.77 mas, bpa=-11.16 degrees
! Estimated noise=1399.79 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal false,false,phase_soltime
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00679671 Jy
! Component: 100  -  total flux cleaned = 0.00930086 Jy
! Component: 150  -  total flux cleaned = 0.0105975 Jy
! Component: 200  -  total flux cleaned = 0.0115848 Jy
! Total flux subtracted in 200 components = 0.0115848 Jy
! Clean residual min=-0.008006 max=0.009660 Jy/beam
! Clean residual mean=0.000408 rms=0.002779 Jy/beam
! Combined flux in latest and established models = 1.21162 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 136 components and 1.21162 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.552873Jy  sigma=0.001807
! Fit after  self-cal, rms=2.552990Jy  sigma=0.001807
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
win_mult = win_mult / 1.4
print "************** FINISHED TAPERING SELF-CAL CLEAN **************"
! ************** FINISHED TAPERING SELF-CAL CLEAN ************** 
! 
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true,true,true
! clrmod: Cleared the established, tentative and continuum 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=3.667 mas, bmaj=6.551 mas, bpa=2.024 degrees
! Estimated noise=2494.06 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 1.00746 Jy
! Component: 100  -  total flux cleaned = 1.16055 Jy
! Component: 150  -  total flux cleaned = 1.17114 Jy
! Component: 200  -  total flux cleaned = 1.17865 Jy
! Total flux subtracted in 200 components = 1.17865 Jy
! Clean residual min=-0.029523 max=0.029496 Jy/beam
! Clean residual mean=0.000192 rms=0.007252 Jy/beam
! Combined flux in latest and established models = 1.17865 Jy
uvw 0,-2
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -2.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 21 model components to the UV plane model.
! The established model now contains 21 components and 1.17865 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.031 mas, bmaj=7.501 mas, bpa=6.89 degrees
! Estimated noise=1235.04 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.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0038237 Jy
! Component: 100  -  total flux cleaned = -0.00106403 Jy
! Component: 150  -  total flux cleaned = 0.0035156 Jy
! Component: 200  -  total flux cleaned = 0.00736856 Jy
! Total flux subtracted in 200 components = 0.00736856 Jy
! Clean residual min=-0.012249 max=0.013691 Jy/beam
! Clean residual mean=0.000312 rms=0.003518 Jy/beam
! Combined flux in latest and established models = 1.18602 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 46 components and 1.18602 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.979 mas, bmaj=10.77 mas, bpa=-11.16 degrees
! Estimated noise=1399.79 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.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0126636 Jy
! Component: 100  -  total flux cleaned = 0.0176586 Jy
! Component: 150  -  total flux cleaned = 0.0191689 Jy
! Component: 200  -  total flux cleaned = 0.0198232 Jy
! Total flux subtracted in 200 components = 0.0198232 Jy
! Clean residual min=-0.009195 max=0.011362 Jy/beam
! Clean residual mean=0.000421 rms=0.002972 Jy/beam
! Combined flux in latest and established models = 1.20584 Jy
! Adding 27 model components to the UV plane model.
! The established model now contains 73 components and 1.20584 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.031 mas, bmaj=7.501 mas, bpa=6.89 degrees
! Estimated noise=1235.04 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0027796 Jy
! Component: 100  -  total flux cleaned = -0.0023848 Jy
! Component: 150  -  total flux cleaned = -0.0019907 Jy
! Component: 200  -  total flux cleaned = -0.00164835 Jy
! Total flux subtracted in 200 components = -0.00164835 Jy
! Clean residual min=-0.009290 max=0.012068 Jy/beam
! Clean residual mean=0.000282 rms=0.002880 Jy/beam
! Combined flux in latest and established models = 1.20419 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 32 model components to the UV plane model.
! The established model now contains 97 components and 1.20419 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=2.552988Jy  sigma=0.001815
! Fit after  self-cal, rms=2.553074Jy  sigma=0.001814
wmodel J0231+1322_S_1994_08_12_yyk\_map.mod
! Writing 97 model components to file: J0231+1322_S_1994_08_12_yyk_map.mod
wobs J0231+1322_S_1994_08_12_yyk\_uvs.fits
! Writing UV FITS file: J0231+1322_S_1994_08_12_yyk_uvs.fits
wwins J0231+1322_S_1994_08_12_yyk\_map.win
! wwins: Wrote 3 windows to J0231+1322_S_1994_08_12_yyk_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.0033243 Jy
! Component: 100  -  total flux cleaned = 0.0049506 Jy
! Component: 150  -  total flux cleaned = 0.00709258 Jy
! Component: 200  -  total flux cleaned = 0.00884811 Jy
! Component: 250  -  total flux cleaned = 0.0106889 Jy
! Component: 300  -  total flux cleaned = 0.0127488 Jy
! Component: 350  -  total flux cleaned = 0.0146175 Jy
! Component: 400  -  total flux cleaned = 0.0161798 Jy
! Component: 450  -  total flux cleaned = 0.0179558 Jy
! Component: 500  -  total flux cleaned = 0.0195674 Jy
! Component: 550  -  total flux cleaned = 0.0215026 Jy
! Component: 600  -  total flux cleaned = 0.0233914 Jy
! Component: 650  -  total flux cleaned = 0.0250133 Jy
! Component: 700  -  total flux cleaned = 0.0270547 Jy
! Component: 750  -  total flux cleaned = 0.0288319 Jy
! Component: 800  -  total flux cleaned = 0.0304681 Jy
! Component: 850  -  total flux cleaned = 0.032181 Jy
! Component: 900  -  total flux cleaned = 0.0336502 Jy
! Component: 950  -  total flux cleaned = 0.0349908 Jy
! Component: 1000  -  total flux cleaned = 0.0363072 Jy
! Component: 1050  -  total flux cleaned = 0.0373029 Jy
! Component: 1100  -  total flux cleaned = 0.0382827 Jy
! Component: 1150  -  total flux cleaned = 0.0392471 Jy
! Component: 1200  -  total flux cleaned = 0.0402894 Jy
! Component: 1250  -  total flux cleaned = 0.0414087 Jy
! Component: 1300  -  total flux cleaned = 0.0428781 Jy
! Component: 1350  -  total flux cleaned = 0.0436922 Jy
! Component: 1400  -  total flux cleaned = 0.0448534 Jy
! Component: 1450  -  total flux cleaned = 0.0456448 Jy
! Component: 1500  -  total flux cleaned = 0.0465159 Jy
! Component: 1550  -  total flux cleaned = 0.0475457 Jy
! Component: 1600  -  total flux cleaned = 0.0483913 Jy
! Component: 1650  -  total flux cleaned = 0.0491424 Jy
! Component: 1700  -  total flux cleaned = 0.0498024 Jy
! Component: 1750  -  total flux cleaned = 0.0505366 Jy
! Component: 1800  -  total flux cleaned = 0.0513403 Jy
! Component: 1850  -  total flux cleaned = 0.0517373 Jy
! Component: 1900  -  total flux cleaned = 0.0523651 Jy
! Component: 1950  -  total flux cleaned = 0.0528326 Jy
! Component: 2000  -  total flux cleaned = 0.0536011 Jy
! Total flux subtracted in 2048 components = 0.0541319 Jy
! Clean residual min=-0.004797 max=0.004417 Jy/beam
! Clean residual mean=0.000223 rms=0.001522 Jy/beam
! Combined flux in latest and established models = 1.25833 Jy
keep
! Adding 106 model components to the UV plane model.
! The established model now contains 202 components and 1.25833 Jy
![Exited script file: muppet]
wmap "J0231+1322_S_1994_08_12_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.031 x 7.501 at 6.89 degrees (North through East)
! Clean map  min=-0.0085686  max=1.1364 Jy/beam
! Writing clean map to FITS file: J0231+1322_S_1994_08_12_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.13637 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00149384 
device "J0231+1322_S_1994_08_12_yyk\_map.eps/VPS"
! Attempting to open device: 'J0231+1322_S_1994_08_12_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.394372 0.394372 0.788743 1.57749 3.15497 6.30995 12.6199 25.2398 50.4796
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0044 
print "peak=",int(peak_flux*1000)/1000
! peak= 1.136 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.031 x 7.501 at 6.89 degrees (North through East)
! Clean map  min=-0.0085686  max=1.1364 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0231+1322_S_1994_08_12_yyk\_map.gif/gif"
! Attempting to open device: 'J0231+1322_S_1994_08_12_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0231+1322_S_1994_08_12_yyk_uvs.log closed on Sun Jan  7 15:52:25 2007