! Started logfile: J1832+8049_S_2006_02_14_yyk_uvs.log on Wed Jul  5 13:30:41 2006
obs J1832+8049_S_2006_02_14_yyk_uva.fits
! Reading UV FITS file: J1832+8049_S_2006_02_14_yyk_uva.fits
! AN table 1: 878 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.782232 visibilities/baseline/integration-bin.
! Found source: J1832+8049
! 
! 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.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2683 lines of history.
! 
! Reading 123624 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 J1832+8049_S_2006_02_14_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.
uvav time_av, true
! Averaging into 30 second bins.
! 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
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.182247 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=2.277 mas, bmaj=10.51 mas, bpa=-0.0002503 degrees
! Estimated noise=1.36717 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 = 0.0969212 Jy
! Component: 100  -  total flux cleaned = 0.129291 Jy
! Total flux subtracted in 100 components = 0.129291 Jy
! Clean residual min=-0.017385 max=0.039097 Jy/beam
! Clean residual mean=-0.000109 rms=0.006232 Jy/beam
! Combined flux in latest and established models = 0.129291 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 13 components and 0.129291 Jy
! 
! Correcting IF 1.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 17 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.128438Jy  sigma=1.676151
! Fit after  self-cal, rms=0.127091Jy  sigma=1.650209
! Inverting map and beam 
! Estimated beam: bmin=2.277 mas, bmaj=10.51 mas, bpa=-0.0002503 degrees
! Estimated noise=1.36717 mJy/beam.
! Added new window around map position (5, 4).
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0431941 Jy
! Component: 100  -  total flux cleaned = 0.0620631 Jy
! Total flux subtracted in 100 components = 0.0620632 Jy
! Clean residual min=-0.012350 max=0.017055 Jy/beam
! Clean residual mean=-0.000075 rms=0.003738 Jy/beam
! Combined flux in latest and established models = 0.191354 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 28 components and 0.191354 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.111934Jy  sigma=1.297103
! Fit after  self-cal, rms=0.109869Jy  sigma=1.241292
! Inverting map 
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=2.899 mas, bmaj=10.49 mas, bpa=0.1463 degrees
! Estimated noise=0.8058 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.0200543 Jy
! Component: 100  -  total flux cleaned = 0.0284252 Jy
! Component: 150  -  total flux cleaned = 0.0339893 Jy
! Component: 200  -  total flux cleaned = 0.0379538 Jy
! Total flux subtracted in 200 components = 0.0379538 Jy
! Clean residual min=-0.006226 max=0.005321 Jy/beam
! Clean residual mean=-0.000029 rms=0.001642 Jy/beam
! Combined flux in latest and established models = 0.229308 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 46 model components to the UV plane model.
! The established model now contains 72 components and 0.229308 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.106290Jy  sigma=1.167560
! Fit after  self-cal, rms=0.106064Jy  sigma=1.160708
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.899 x 10.49 at 0.1463 degrees (North through East)
! Clean map  min=-0.005413  max=0.11692 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.0297
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.94     FD        0.91     HN        1.05     KP        0.95     
!   LA        1.17     MK        0.96     NL        0.89     OV        0.93     
!   PT        1.00*    SC        0.91     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 1.0083
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.98     HN        0.95     KP        0.97     
!   LA        1.11     MK        0.91     NL        0.97     OV        0.96     
!   PT        1.00*    SC        1.05     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.974454
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.11     FD        0.99     HN        1.06     KP        0.98     
!   LA        0.94     MK        1.00     NL        1.15     OV        1.03     
!   PT        1.00*    SC        1.00     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    NL        1.00*    OV        1.00*    
!   PT        1.00*    SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.106064Jy  sigma=1.160708
! Fit after  self-cal, rms=0.104532Jy  sigma=1.141301
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.104532Jy  sigma=1.141301
! Fit after  self-cal, rms=0.104531Jy  sigma=1.141291
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.861 mas, bmaj=10.5 mas, bpa=0.3088 degrees
! Estimated noise=0.803478 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.00537364 Jy
! Component: 100  -  total flux cleaned = 0.00789285 Jy
! Component: 150  -  total flux cleaned = 0.00904424 Jy
! Component: 200  -  total flux cleaned = 0.00978219 Jy
! Total flux subtracted in 200 components = 0.00978219 Jy
! Clean residual min=-0.004066 max=0.003418 Jy/beam
! Clean residual mean=-0.000009 rms=0.001019 Jy/beam
! Combined flux in latest and established models = 0.23909 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 97 components and 0.23909 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.104106Jy  sigma=1.135345
! Fit after  self-cal, rms=0.104082Jy  sigma=1.134470
! 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.104082Jy  sigma=1.134470
! Fit after  self-cal, rms=0.101745Jy  sigma=1.051606
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.00183413 Jy
! Component: 100  -  total flux cleaned = 0.00232153 Jy
! Component: 150  -  total flux cleaned = 0.00272381 Jy
! Component: 200  -  total flux cleaned = 0.00294041 Jy
! Total flux subtracted in 200 components = 0.00294041 Jy
! Clean residual min=-0.003745 max=0.002920 Jy/beam
! Clean residual mean=-0.000012 rms=0.000917 Jy/beam
! Combined flux in latest and established models = 0.24203 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 113 components and 0.24203 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.101619Jy  sigma=1.049846
! Fit after  self-cal, rms=0.101110Jy  sigma=1.040629
! 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: 2.861 x 10.5 at 0.3088 degrees (North through East)
! Clean map  min=-0.0034273  max=0.11794 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.101110Jy  sigma=1.040629
! Fit after  self-cal, rms=0.100422Jy  sigma=1.033325
! 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.100422Jy  sigma=1.033325
! Fit after  self-cal, rms=0.100322Jy  sigma=1.031021
! Inverting map and beam 
! Estimated beam: bmin=2.808 mas, bmaj=10.56 mas, bpa=0.454 degrees
! Estimated noise=0.799338 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00247262 Jy
! Component: 100  -  total flux cleaned = 0.00399848 Jy
! Component: 150  -  total flux cleaned = 0.00502963 Jy
! Component: 200  -  total flux cleaned = 0.00555797 Jy
! Total flux subtracted in 200 components = 0.00555797 Jy
! Clean residual min=-0.003502 max=0.002821 Jy/beam
! Clean residual mean=-0.000019 rms=0.000885 Jy/beam
! Combined flux in latest and established models = 0.247588 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 29 model components to the UV plane model.
! The established model now contains 119 components and 0.247588 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.100168Jy  sigma=1.029367
! Fit after  self-cal, rms=0.100240Jy  sigma=1.028569
! 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=0.100240Jy  sigma=1.028569
! Fit after  self-cal, rms=0.099239Jy  sigma=1.007575
! 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.099239Jy  sigma=1.007575
! Fit after  self-cal, rms=0.099297Jy  sigma=1.007263
! Inverting map and beam 
! Estimated beam: bmin=2.76 mas, bmaj=10.55 mas, bpa=0.6416 degrees
! Estimated noise=0.795032 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00127685 Jy
! Component: 100  -  total flux cleaned = 0.00176643 Jy
! Component: 150  -  total flux cleaned = 0.00206554 Jy
! Component: 200  -  total flux cleaned = 0.00223703 Jy
! Total flux subtracted in 200 components = 0.00223703 Jy
! Clean residual min=-0.003260 max=0.002637 Jy/beam
! Clean residual mean=-0.000007 rms=0.000857 Jy/beam
! Combined flux in latest and established models = 0.249825 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 40 model components to the UV plane model.
! The established model now contains 136 components and 0.249825 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099240Jy  sigma=1.006439
! Fit after  self-cal, rms=0.099304Jy  sigma=1.006316
! 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=6.444 mas, bmaj=10.89 mas, bpa=0.3355 degrees
! Estimated noise=1.06701 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.000735578 Jy
! Component: 100  -  total flux cleaned = 0.00107603 Jy
! Component: 150  -  total flux cleaned = 0.00132294 Jy
! Component: 200  -  total flux cleaned = 0.00149081 Jy
! Total flux subtracted in 200 components = 0.00149081 Jy
! Clean residual min=-0.003732 max=0.003448 Jy/beam
! Clean residual mean=-0.000002 rms=0.001166 Jy/beam
! Combined flux in latest and established models = 0.251316 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 145 components and 0.251316 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099279Jy  sigma=1.006414
! Fit after  self-cal, rms=0.099328Jy  sigma=1.006344
! 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=2.232 mas, bmaj=10.58 mas, bpa=0.1549 degrees
! Estimated noise=1.31858 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.107587 Jy
! Component: 100  -  total flux cleaned = 0.15661 Jy
! Component: 150  -  total flux cleaned = 0.185631 Jy
! Component: 200  -  total flux cleaned = 0.20375 Jy
! Total flux subtracted in 200 components = 0.20375 Jy
! Clean residual min=-0.008442 max=0.008872 Jy/beam
! Clean residual mean=-0.000060 rms=0.002324 Jy/beam
! Combined flux in latest and established models = 0.20375 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 0.20375 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.76 mas, bmaj=10.55 mas, bpa=0.6416 degrees
! Estimated noise=0.795032 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.015854 Jy
! Component: 100  -  total flux cleaned = 0.0248955 Jy
! Component: 150  -  total flux cleaned = 0.0307816 Jy
! Component: 200  -  total flux cleaned = 0.0349244 Jy
! Total flux subtracted in 200 components = 0.0349244 Jy
! Clean residual min=-0.003508 max=0.003281 Jy/beam
! Clean residual mean=-0.000026 rms=0.001006 Jy/beam
! Combined flux in latest and established models = 0.238674 Jy
! Adding 56 model components to the UV plane model.
! The established model now contains 72 components and 0.238674 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=6.444 mas, bmaj=10.89 mas, bpa=0.3355 degrees
! Estimated noise=1.06701 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.00573605 Jy
! Component: 100  -  total flux cleaned = 0.00895286 Jy
! Component: 150  -  total flux cleaned = 0.0103732 Jy
! Component: 200  -  total flux cleaned = 0.0110839 Jy
! Total flux subtracted in 200 components = 0.0110839 Jy
! Clean residual min=-0.003428 max=0.003649 Jy/beam
! Clean residual mean=-0.000012 rms=0.001175 Jy/beam
! Combined flux in latest and established models = 0.249758 Jy
! Adding 55 model components to the UV plane model.
! The established model now contains 119 components and 0.249758 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.76 mas, bmaj=10.55 mas, bpa=0.6416 degrees
! Estimated noise=0.795032 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000496012 Jy
! Component: 100  -  total flux cleaned = 0.000679109 Jy
! Component: 150  -  total flux cleaned = 0.000876531 Jy
! Component: 200  -  total flux cleaned = 0.00104506 Jy
! Total flux subtracted in 200 components = 0.00104506 Jy
! Clean residual min=-0.003256 max=0.002695 Jy/beam
! Clean residual mean=-0.000007 rms=0.000867 Jy/beam
! Combined flux in latest and established models = 0.250803 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 137 components and 0.250803 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.099343Jy  sigma=1.006743
! Fit after  self-cal, rms=0.099398Jy  sigma=1.006645
wmodel J1832+8049_S_2006_02_14_yyk\_map.mod
! Writing 137 model components to file: J1832+8049_S_2006_02_14_yyk_map.mod
wobs J1832+8049_S_2006_02_14_yyk\_uvs.fits
! Writing UV FITS file: J1832+8049_S_2006_02_14_yyk_uvs.fits
wwins J1832+8049_S_2006_02_14_yyk\_map.win
! wwins: Wrote 2 windows to J1832+8049_S_2006_02_14_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.00142291 Jy
! Component: 100  -  total flux cleaned = -0.00210461 Jy
! Component: 150  -  total flux cleaned = -0.00197509 Jy
! Component: 200  -  total flux cleaned = -0.00176629 Jy
! Component: 250  -  total flux cleaned = -0.00140913 Jy
! Component: 300  -  total flux cleaned = -0.00118241 Jy
! Component: 350  -  total flux cleaned = -0.000964659 Jy
! Component: 400  -  total flux cleaned = -0.000755166 Jy
! Component: 450  -  total flux cleaned = -0.00068777 Jy
! Component: 500  -  total flux cleaned = -0.000623346 Jy
! Component: 550  -  total flux cleaned = -0.000749663 Jy
! Component: 600  -  total flux cleaned = -0.000902919 Jy
! Component: 650  -  total flux cleaned = -0.000843288 Jy
! Component: 700  -  total flux cleaned = -0.000815371 Jy
! Component: 750  -  total flux cleaned = -0.000958581 Jy
! Component: 800  -  total flux cleaned = -0.00101486 Jy
! Component: 850  -  total flux cleaned = -0.00109732 Jy
! Component: 900  -  total flux cleaned = -0.00120468 Jy
! Component: 950  -  total flux cleaned = -0.00130998 Jy
! Component: 1000  -  total flux cleaned = -0.00128467 Jy
! Component: 1050  -  total flux cleaned = -0.00133541 Jy
! Component: 1100  -  total flux cleaned = -0.00140988 Jy
! Component: 1150  -  total flux cleaned = -0.00145834 Jy
! Component: 1200  -  total flux cleaned = -0.00145854 Jy
! Component: 1250  -  total flux cleaned = -0.00152951 Jy
! Component: 1300  -  total flux cleaned = -0.00164613 Jy
! Component: 1350  -  total flux cleaned = -0.00171476 Jy
! Component: 1400  -  total flux cleaned = -0.00185053 Jy
! Component: 1450  -  total flux cleaned = -0.00191744 Jy
! Component: 1500  -  total flux cleaned = -0.0019395 Jy
! Component: 1550  -  total flux cleaned = -0.00207038 Jy
! Component: 1600  -  total flux cleaned = -0.00217793 Jy
! Component: 1650  -  total flux cleaned = -0.00224176 Jy
! Component: 1700  -  total flux cleaned = -0.00230499 Jy
! Component: 1750  -  total flux cleaned = -0.00238822 Jy
! Component: 1800  -  total flux cleaned = -0.00242927 Jy
! Component: 1850  -  total flux cleaned = -0.00251083 Jy
! Component: 1900  -  total flux cleaned = -0.00255131 Jy
! Component: 1950  -  total flux cleaned = -0.00267121 Jy
! Component: 2000  -  total flux cleaned = -0.00265177 Jy
! Total flux subtracted in 2048 components = -0.00278838 Jy
! Clean residual min=-0.001197 max=0.001142 Jy/beam
! Clean residual mean=-0.000003 rms=0.000410 Jy/beam
! Combined flux in latest and established models = 0.248015 Jy
keep
! Adding 144 model components to the UV plane model.
! The established model now contains 281 components and 0.248015 Jy
![Exited script file: muppet]
wmap "J1832+8049_S_2006_02_14_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.76 x 10.55 at 0.6416 degrees (North through East)
! Clean map  min=-0.0026027  max=0.11745 Jy/beam
! Writing clean map to FITS file: J1832+8049_S_2006_02_14_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.117451 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000415448 
device "J1832+8049_S_2006_02_14_yyk\_map.eps/VPS"
! Attempting to open device: 'J1832+8049_S_2006_02_14_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.06117 1.06117 2.12233 4.24466 8.48932 16.9786 33.9573 67.9146
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.117 
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.76 x 10.55 at 0.6416 degrees (North through East)
! Clean map  min=-0.0026027  max=0.11745 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1832+8049_S_2006_02_14_yyk\_map.gif/gif"
! Attempting to open device: 'J1832+8049_S_2006_02_14_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1832+8049_S_2006_02_14_yyk_uvs.log closed on Wed Jul  5 13:31:32 2006