! Started logfile: J1421+1013_S_2005_07_09_yyk_uvs.log on Fri Jan 20 10:34:45 2006
obs J1421+1013_S_2005_07_09_yyk_uve.fits
! Reading UV FITS file: J1421+1013_S_2005_07_09_yyk_uve.fits
! AN table 1: 10 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.802222 visibilities/baseline/integration-bin.
! Found source: J1421+1013
! 
! 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 1602 lines of history.
! 
! Reading 1444 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 J1421+1013_S_2005_07_09_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)= 0.100587 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.89 mas, bmaj=9.199 mas, bpa=-17.96 degrees
! Estimated noise=1.71206 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.0627724 Jy
! Component: 100  -  total flux cleaned = 0.0783141 Jy
! Total flux subtracted in 100 components = 0.0783141 Jy
! Clean residual min=-0.006880 max=0.012188 Jy/beam
! Clean residual mean=0.000055 rms=0.002497 Jy/beam
! Combined flux in latest and established models = 0.0783141 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 18 model components to the UV plane model.
! The established model now contains 18 components and 0.0783141 Jy
! 
! Correcting IF 1.
!  A total of 35 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 37 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 29 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 38 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.064276Jy  sigma=1.146194
! Fit after  self-cal, rms=0.061383Jy  sigma=1.081991
! Inverting map and beam 
! Estimated beam: bmin=3.888 mas, bmaj=9.199 mas, bpa=-18.01 degrees
! Estimated noise=1.72344 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=5.755 mas, bmaj=10.1 mas, bpa=-12.06 degrees
! Estimated noise=1.26168 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.00909553 Jy
! Component: 100  -  total flux cleaned = 0.0116653 Jy
! Component: 150  -  total flux cleaned = 0.0122652 Jy
! Component: 200  -  total flux cleaned = 0.0123316 Jy
! Total flux subtracted in 200 components = 0.0123316 Jy
! Clean residual min=-0.004926 max=0.013120 Jy/beam
! Clean residual mean=0.000050 rms=0.002107 Jy/beam
! Combined flux in latest and established models = 0.0906458 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 33 model components to the UV plane model.
! The established model now contains 49 components and 0.0906457 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.060207Jy  sigma=1.060288
! Fit after  self-cal, rms=0.060215Jy  sigma=1.060022
! Inverting map 
! Added new window around map position (-27, -6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0126793 Jy
! Component: 100  -  total flux cleaned = 0.017423 Jy
! Component: 150  -  total flux cleaned = 0.0196729 Jy
! Component: 200  -  total flux cleaned = 0.0210687 Jy
! Total flux subtracted in 200 components = 0.0210687 Jy
! Clean residual min=-0.003086 max=0.003308 Jy/beam
! Clean residual mean=-0.000024 rms=0.001099 Jy/beam
! Combined flux in latest and established models = 0.111714 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 39 model components to the UV plane model.
! The established model now contains 88 components and 0.111714 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.058185Jy  sigma=1.013783
! Fit after  self-cal, rms=0.058011Jy  sigma=1.009398
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.755 x 10.1 at -12.06 degrees (North through East)
! Clean map  min=-0.0032973  max=0.073759 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.00987
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.91     FD        1.05     HN        1.00*    KP        0.98     
!   LA        0.97     MK        1.00*    NL        0.92     OV        1.00     
!   PT        1.07     SC        1.00*    
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.981249
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     HN        1.00*    KP        1.05     
!   LA        1.03     MK        1.00*    NL        0.99     OV        1.15     
!   PT        1.01     SC        1.00*    
! 
! 
! Correcting IF 3.
!  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*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  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.058011Jy  sigma=1.009398
! Fit after  self-cal, rms=0.057441Jy  sigma=1.005000
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.057441Jy  sigma=1.005000
! Fit after  self-cal, rms=0.057428Jy  sigma=1.004889
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=5.72 mas, bmaj=9.957 mas, bpa=-11.87 degrees
! Estimated noise=1.26499 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.00315629 Jy
! Component: 100  -  total flux cleaned = 0.00514965 Jy
! Component: 150  -  total flux cleaned = 0.00638316 Jy
! Component: 200  -  total flux cleaned = 0.00703617 Jy
! Total flux subtracted in 200 components = 0.00703617 Jy
! Clean residual min=-0.002927 max=0.003176 Jy/beam
! Clean residual mean=-0.000047 rms=0.000907 Jy/beam
! Combined flux in latest and established models = 0.118751 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 41 model components to the UV plane model.
! The established model now contains 115 components and 0.118751 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.057216Jy  sigma=1.001084
! Fit after  self-cal, rms=0.057201Jy  sigma=1.000743
! 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.057201Jy  sigma=1.000743
! Fit after  self-cal, rms=0.052911Jy  sigma=0.924142
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.0026472 Jy
! Component: 100  -  total flux cleaned = 0.00357775 Jy
! Component: 150  -  total flux cleaned = 0.00396494 Jy
! Component: 200  -  total flux cleaned = 0.00404819 Jy
! Total flux subtracted in 200 components = 0.00404819 Jy
! Clean residual min=-0.002734 max=0.003247 Jy/beam
! Clean residual mean=-0.000063 rms=0.000883 Jy/beam
! Combined flux in latest and established models = 0.122799 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 144 components and 0.122799 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052701Jy  sigma=0.921350
! Fit after  self-cal, rms=0.052213Jy  sigma=0.915097
! 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.72 x 9.957 at -11.87 degrees (North through East)
! Clean map  min=-0.0028063  max=0.075803 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
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=9.445 mas, bmaj=12.4 mas, bpa=25.14 degrees
! Estimated noise=1.35394 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.00063106 Jy
! Component: 100  -  total flux cleaned = 0.000879626 Jy
! Component: 150  -  total flux cleaned = 0.00101652 Jy
! Component: 200  -  total flux cleaned = 0.0010794 Jy
! Total flux subtracted in 200 components = 0.0010794 Jy
! Clean residual min=-0.002793 max=0.003482 Jy/beam
! Clean residual mean=-0.000096 rms=0.000969 Jy/beam
! Combined flux in latest and established models = 0.123878 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 166 components and 0.123878 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052169Jy  sigma=0.914445
! Fit after  self-cal, rms=0.052094Jy  sigma=0.913376
! 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.894 mas, bmaj=9.125 mas, bpa=-17.92 degrees
! Estimated noise=1.71557 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0681149 Jy
! Component: 100  -  total flux cleaned = 0.0881611 Jy
! Component: 150  -  total flux cleaned = 0.0991738 Jy
! Component: 200  -  total flux cleaned = 0.106025 Jy
! Total flux subtracted in 200 components = 0.106025 Jy
! Clean residual min=-0.004896 max=0.004941 Jy/beam
! Clean residual mean=0.000011 rms=0.001351 Jy/beam
! Combined flux in latest and established models = 0.106025 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 41 model components to the UV plane model.
! The established model now contains 41 components and 0.106025 Jy
! Inverting map and beam 
! Estimated beam: bmin=5.72 mas, bmaj=9.957 mas, bpa=-11.87 degrees
! Estimated noise=1.26499 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.00574708 Jy
! Component: 100  -  total flux cleaned = 0.00972337 Jy
! Component: 150  -  total flux cleaned = 0.0126567 Jy
! Component: 200  -  total flux cleaned = 0.0148237 Jy
! Total flux subtracted in 200 components = 0.0148237 Jy
! Clean residual min=-0.003209 max=0.003570 Jy/beam
! Clean residual mean=-0.000063 rms=0.000924 Jy/beam
! Combined flux in latest and established models = 0.120849 Jy
! Adding 37 model components to the UV plane model.
! The established model now contains 78 components and 0.120849 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=9.445 mas, bmaj=12.4 mas, bpa=25.14 degrees
! Estimated noise=1.35394 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.00157196 Jy
! Component: 100  -  total flux cleaned = 0.00233092 Jy
! Component: 150  -  total flux cleaned = 0.00290391 Jy
! Component: 200  -  total flux cleaned = 0.00321563 Jy
! Total flux subtracted in 200 components = 0.00321563 Jy
! Clean residual min=-0.002890 max=0.003498 Jy/beam
! Clean residual mean=-0.000099 rms=0.000987 Jy/beam
! Combined flux in latest and established models = 0.124065 Jy
! Adding 40 model components to the UV plane model.
! The established model now contains 112 components and 0.124065 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=5.72 mas, bmaj=9.957 mas, bpa=-11.87 degrees
! Estimated noise=1.26499 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000450162 Jy
! Component: 100  -  total flux cleaned = 0.000636925 Jy
! Component: 150  -  total flux cleaned = 0.000763581 Jy
! Component: 200  -  total flux cleaned = 0.00080375 Jy
! Total flux subtracted in 200 components = 0.00080375 Jy
! Clean residual min=-0.002862 max=0.003493 Jy/beam
! Clean residual mean=-0.000071 rms=0.000877 Jy/beam
! Combined flux in latest and established models = 0.124868 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 23 model components to the UV plane model.
! The established model now contains 127 components and 0.124868 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.052083Jy  sigma=0.913729
! Fit after  self-cal, rms=0.052102Jy  sigma=0.913204
wmodel J1421+1013_S_2005_07_09_yyk\_map.mod
! Writing 127 model components to file: J1421+1013_S_2005_07_09_yyk_map.mod
wobs J1421+1013_S_2005_07_09_yyk\_uvs.fits
! Writing UV FITS file: J1421+1013_S_2005_07_09_yyk_uvs.fits
wwins J1421+1013_S_2005_07_09_yyk\_map.win
! wwins: Wrote 2 windows to J1421+1013_S_2005_07_09_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.00130842 Jy
! Component: 100  -  total flux cleaned = 0.00156627 Jy
! Component: 150  -  total flux cleaned = 0.00133935 Jy
! Component: 200  -  total flux cleaned = 0.00138099 Jy
! Component: 250  -  total flux cleaned = 0.00142324 Jy
! Component: 300  -  total flux cleaned = 0.0015386 Jy
! Component: 350  -  total flux cleaned = 0.00142687 Jy
! Component: 400  -  total flux cleaned = 0.00138955 Jy
! Component: 450  -  total flux cleaned = 0.00132018 Jy
! Component: 500  -  total flux cleaned = 0.00128667 Jy
! Component: 550  -  total flux cleaned = 0.00122202 Jy
! Component: 600  -  total flux cleaned = 0.00131622 Jy
! Component: 650  -  total flux cleaned = 0.00140802 Jy
! Component: 700  -  total flux cleaned = 0.00140879 Jy
! Component: 750  -  total flux cleaned = 0.0014966 Jy
! Component: 800  -  total flux cleaned = 0.00149598 Jy
! Component: 850  -  total flux cleaned = 0.00146831 Jy
! Component: 900  -  total flux cleaned = 0.00152284 Jy
! Component: 950  -  total flux cleaned = 0.00152275 Jy
! Component: 1000  -  total flux cleaned = 0.00152305 Jy
! Component: 1050  -  total flux cleaned = 0.00157438 Jy
! Component: 1100  -  total flux cleaned = 0.00164911 Jy
! Component: 1150  -  total flux cleaned = 0.00159997 Jy
! Component: 1200  -  total flux cleaned = 0.00164799 Jy
! Component: 1250  -  total flux cleaned = 0.00164781 Jy
! Component: 1300  -  total flux cleaned = 0.00167136 Jy
! Component: 1350  -  total flux cleaned = 0.0016489 Jy
! Component: 1400  -  total flux cleaned = 0.00169379 Jy
! Component: 1450  -  total flux cleaned = 0.00167227 Jy
! Component: 1500  -  total flux cleaned = 0.00165097 Jy
! Component: 1550  -  total flux cleaned = 0.00167189 Jy
! Component: 1600  -  total flux cleaned = 0.00171356 Jy
! Component: 1650  -  total flux cleaned = 0.00175504 Jy
! Component: 1700  -  total flux cleaned = 0.00183571 Jy
! Component: 1750  -  total flux cleaned = 0.00185544 Jy
! Component: 1800  -  total flux cleaned = 0.00185542 Jy
! Component: 1850  -  total flux cleaned = 0.00183627 Jy
! Component: 1900  -  total flux cleaned = 0.00189304 Jy
! Component: 1950  -  total flux cleaned = 0.00189311 Jy
! Component: 2000  -  total flux cleaned = 0.00191167 Jy
! Total flux subtracted in 2048 components = 0.00191152 Jy
! Clean residual min=-0.001058 max=0.001350 Jy/beam
! Clean residual mean=-0.000033 rms=0.000390 Jy/beam
! Combined flux in latest and established models = 0.12678 Jy
keep
! Adding 123 model components to the UV plane model.
! The established model now contains 250 components and 0.12678 Jy
![Exited script file: muppet]
wmap "J1421+1013_S_2005_07_09_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 5.72 x 9.957 at -11.87 degrees (North through East)
! Clean map  min=-0.0026347  max=0.075378 Jy/beam
! Writing clean map to FITS file: J1421+1013_S_2005_07_09_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0753783 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000394086 
device "J1421+1013_S_2005_07_09_yyk\_map.eps/VPS"
! Attempting to open device: 'J1421+1013_S_2005_07_09_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.56843 1.56843 3.13687 6.27373 12.5475 25.0949 50.1898
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0011 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.075 
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.72 x 9.957 at -11.87 degrees (North through East)
! Clean map  min=-0.0026347  max=0.075378 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1421+1013_S_2005_07_09_yyk\_map.gif/gif"
! Attempting to open device: 'J1421+1013_S_2005_07_09_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1421+1013_S_2005_07_09_yyk_uvs.log closed on Fri Jan 20 10:34:49 2006