! Started logfile: J0912+2205_S_2004_04_30_yyk_uvs.log on Wed Dec  7 00:12:24 2005
obs J0912+2205_S_2004_04_30_yyk_uve.fits
! Reading UV FITS file: J0912+2205_S_2004_04_30_yyk_uve.fits
! AN table 1: 15 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.93037 visibilities/baseline/integration-bin.
! Found source: J0912+2205
! 
! 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 1629 lines of history.
! 
! Reading 2512 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 J0912+2205_S_2004_04_30_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.0948335 Jy 
startmod ,phase_soltime
! Applying default point source starting model.
! Performing phase self-cal over 10 minute time intervals
! 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 7 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 7 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 21 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 36 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.927636Jy  sigma=20.378412
! Fit after  self-cal, rms=0.925400Jy  sigma=20.342952
! 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.668 mas, bmaj=6.766 mas, bpa=0.657 degrees
! Estimated noise=0.981096 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.0642578 Jy
! Component: 100  -  total flux cleaned = 0.0781021 Jy
! Total flux subtracted in 100 components = 0.0781021 Jy
! Clean residual min=-0.004169 max=0.005617 Jy/beam
! Clean residual mean=-0.000007 rms=0.001191 Jy/beam
! Combined flux in latest and established models = 0.078102 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 7 components and 0.078102 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.055348Jy  sigma=1.087349
! Fit after  self-cal, rms=0.055304Jy  sigma=1.086693
! 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=3.423 mas, bmaj=7.893 mas, bpa=0.1354 degrees
! Estimated noise=0.70876 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.00793404 Jy
! Component: 100  -  total flux cleaned = 0.0113313 Jy
! Component: 150  -  total flux cleaned = 0.0130957 Jy
! Component: 200  -  total flux cleaned = 0.0139796 Jy
! Total flux subtracted in 200 components = 0.0139796 Jy
! Clean residual min=-0.004307 max=0.008246 Jy/beam
! Clean residual mean=0.000021 rms=0.001389 Jy/beam
! Combined flux in latest and established models = 0.0920816 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 25 components and 0.0920816 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.054801Jy  sigma=1.067808
! Fit after  self-cal, rms=0.054784Jy  sigma=1.067650
! Inverting map 
! Added new window around map position (-11.5, 6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00855459 Jy
! Component: 100  -  total flux cleaned = 0.0124323 Jy
! Component: 150  -  total flux cleaned = 0.013976 Jy
! Component: 200  -  total flux cleaned = 0.0147543 Jy
! Total flux subtracted in 200 components = 0.0147543 Jy
! Clean residual min=-0.003510 max=0.004402 Jy/beam
! Clean residual mean=-0.000031 rms=0.000901 Jy/beam
! Combined flux in latest and established models = 0.106836 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 38 model components to the UV plane model.
! The established model now contains 63 components and 0.106836 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.053898Jy  sigma=1.043570
! Fit after  self-cal, rms=0.053803Jy  sigma=1.040969
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
selflims ampcor_selflim
! 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.00743
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.95     FD        1.05     HN        0.92     KP        0.94     
!   LA        1.15     MK        1.03     NL        1.02     OV        0.98     
!   PT        1.00     SC        0.89     
! 
! 
! Correcting IF 2.
!  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 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.
!  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.053803Jy  sigma=1.040969
! Fit after  self-cal, rms=0.053492Jy  sigma=1.036644
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.053492Jy  sigma=1.036644
! Fit after  self-cal, rms=0.053491Jy  sigma=1.036632
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.392 mas, bmaj=7.748 mas, bpa=0.8445 degrees
! Estimated noise=0.710004 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.00275738 Jy
! Component: 100  -  total flux cleaned = 0.00380222 Jy
! Component: 150  -  total flux cleaned = 0.00446048 Jy
! Component: 200  -  total flux cleaned = 0.00505025 Jy
! Total flux subtracted in 200 components = 0.00505025 Jy
! Clean residual min=-0.003025 max=0.003580 Jy/beam
! Clean residual mean=-0.000022 rms=0.000759 Jy/beam
! Combined flux in latest and established models = 0.111886 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 25 model components to the UV plane model.
! The established model now contains 75 components and 0.111886 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.053371Jy  sigma=1.033386
! Fit after  self-cal, rms=0.053358Jy  sigma=1.033086
! 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.053358Jy  sigma=1.033086
! Fit after  self-cal, rms=0.049281Jy  sigma=0.958689
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)
! Added new window around map position (-61, -24.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00300073 Jy
! Component: 100  -  total flux cleaned = 0.00405922 Jy
! Component: 150  -  total flux cleaned = 0.0047945 Jy
! Component: 200  -  total flux cleaned = 0.00523293 Jy
! Total flux subtracted in 200 components = 0.00523293 Jy
! Clean residual min=-0.002805 max=0.002783 Jy/beam
! Clean residual mean=-0.000021 rms=0.000671 Jy/beam
! Combined flux in latest and established models = 0.117119 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 35 model components to the UV plane model.
! The established model now contains 105 components and 0.117119 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.049058Jy  sigma=0.953562
! Fit after  self-cal, rms=0.048704Jy  sigma=0.948298
! 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: 3.392 x 7.748 at 0.8445 degrees (North through East)
! Clean map  min=-0.002843  max=0.078691 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=7.699 mas, bmaj=11.47 mas, bpa=-5.397 degrees
! Estimated noise=0.894213 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.00193445 Jy
! Component: 100  -  total flux cleaned = 0.00275005 Jy
! Component: 150  -  total flux cleaned = 0.00318035 Jy
! Component: 200  -  total flux cleaned = 0.00343934 Jy
! Total flux subtracted in 200 components = 0.00343934 Jy
! Clean residual min=-0.002660 max=0.002797 Jy/beam
! Clean residual mean=-0.000044 rms=0.000830 Jy/beam
! Combined flux in latest and established models = 0.120558 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 116 components and 0.120558 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.048714Jy  sigma=0.947916
! Fit after  self-cal, rms=0.048611Jy  sigma=0.946815
! Inverting map 
uvtaper 0,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.661 mas, bmaj=6.729 mas, bpa=0.9353 degrees
! Estimated noise=0.975294 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0663107 Jy
! Component: 100  -  total flux cleaned = 0.0808848 Jy
! Component: 150  -  total flux cleaned = 0.0883759 Jy
! Component: 200  -  total flux cleaned = 0.0931961 Jy
! Total flux subtracted in 200 components = 0.0931961 Jy
! Clean residual min=-0.003616 max=0.004442 Jy/beam
! Clean residual mean=-0.000004 rms=0.000917 Jy/beam
! Combined flux in latest and established models = 0.0931961 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 20 model components to the UV plane model.
! The established model now contains 20 components and 0.0931961 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.392 mas, bmaj=7.748 mas, bpa=0.8445 degrees
! Estimated noise=0.710004 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)
! Added new window around map position (-5.5, 5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00766233 Jy
! Component: 100  -  total flux cleaned = 0.0124458 Jy
! Component: 150  -  total flux cleaned = 0.0159402 Jy
! Component: 200  -  total flux cleaned = 0.0182234 Jy
! Total flux subtracted in 200 components = 0.0182234 Jy
! Clean residual min=-0.003235 max=0.002734 Jy/beam
! Clean residual mean=-0.000008 rms=0.000746 Jy/beam
! Combined flux in latest and established models = 0.11142 Jy
! Adding 46 model components to the UV plane model.
! The established model now contains 61 components and 0.111419 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=7.699 mas, bmaj=11.47 mas, bpa=-5.397 degrees
! Estimated noise=0.894213 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.00340931 Jy
! Component: 100  -  total flux cleaned = 0.00566429 Jy
! Component: 150  -  total flux cleaned = 0.00724014 Jy
! Component: 200  -  total flux cleaned = 0.00810455 Jy
! Total flux subtracted in 200 components = 0.00810455 Jy
! Clean residual min=-0.002779 max=0.002695 Jy/beam
! Clean residual mean=-0.000039 rms=0.000824 Jy/beam
! Combined flux in latest and established models = 0.119524 Jy
! Adding 35 model components to the UV plane model.
! The established model now contains 94 components and 0.119524 Jy
! Inverting map 
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.392 mas, bmaj=7.748 mas, bpa=0.8445 degrees
! Estimated noise=0.710004 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.000726408 Jy
! Component: 100  -  total flux cleaned = -0.000511648 Jy
! Component: 150  -  total flux cleaned = -0.000323668 Jy
! Component: 200  -  total flux cleaned = -0.000149347 Jy
! Total flux subtracted in 200 components = -0.000149347 Jy
! Clean residual min=-0.002781 max=0.002771 Jy/beam
! Clean residual mean=-0.000019 rms=0.000633 Jy/beam
! Combined flux in latest and established models = 0.119375 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 27 model components to the UV plane model.
! The established model now contains 117 components and 0.119375 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.048505Jy  sigma=0.944739
! Fit after  self-cal, rms=0.048427Jy  sigma=0.944016
wmodel J0912+2205_S_2004_04_30_yyk\_map.mod
! Writing 117 model components to file: J0912+2205_S_2004_04_30_yyk_map.mod
wobs J0912+2205_S_2004_04_30_yyk\_uvs.fits
! Writing UV FITS file: J0912+2205_S_2004_04_30_yyk_uvs.fits
wwins J0912+2205_S_2004_04_30_yyk\_map.win
! wwins: Wrote 4 windows to J0912+2205_S_2004_04_30_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.000185071 Jy
! Component: 100  -  total flux cleaned = -0.000395508 Jy
! Component: 150  -  total flux cleaned = -0.000395844 Jy
! Component: 200  -  total flux cleaned = -0.000326856 Jy
! Component: 250  -  total flux cleaned = -0.000359018 Jy
! Component: 300  -  total flux cleaned = -0.000359623 Jy
! Component: 350  -  total flux cleaned = -0.000268977 Jy
! Component: 400  -  total flux cleaned = -0.000210354 Jy
! Component: 450  -  total flux cleaned = -0.000124896 Jy
! Component: 500  -  total flux cleaned = -6.97209e-05 Jy
! Component: 550  -  total flux cleaned = -0.00012323 Jy
! Component: 600  -  total flux cleaned = -0.00020113 Jy
! Component: 650  -  total flux cleaned = -0.00014977 Jy
! Component: 700  -  total flux cleaned = -0.000100326 Jy
! Component: 750  -  total flux cleaned = -0.000173403 Jy
! Component: 800  -  total flux cleaned = -0.000220976 Jy
! Component: 850  -  total flux cleaned = -0.000267761 Jy
! Component: 900  -  total flux cleaned = -0.000336496 Jy
! Component: 950  -  total flux cleaned = -0.000268298 Jy
! Component: 1000  -  total flux cleaned = -0.000312768 Jy
! Component: 1050  -  total flux cleaned = -0.00033472 Jy
! Component: 1100  -  total flux cleaned = -0.000399492 Jy
! Component: 1150  -  total flux cleaned = -0.000399815 Jy
! Component: 1200  -  total flux cleaned = -0.000463131 Jy
! Component: 1250  -  total flux cleaned = -0.000401248 Jy
! Component: 1300  -  total flux cleaned = -0.000442356 Jy
! Component: 1350  -  total flux cleaned = -0.000542769 Jy
! Component: 1400  -  total flux cleaned = -0.000502723 Jy
! Component: 1450  -  total flux cleaned = -0.000560999 Jy
! Component: 1500  -  total flux cleaned = -0.000541278 Jy
! Component: 1550  -  total flux cleaned = -0.000617661 Jy
! Component: 1600  -  total flux cleaned = -0.000617381 Jy
! Component: 1650  -  total flux cleaned = -0.000636128 Jy
! Component: 1700  -  total flux cleaned = -0.000673249 Jy
! Component: 1750  -  total flux cleaned = -0.000727635 Jy
! Component: 1800  -  total flux cleaned = -0.000745653 Jy
! Component: 1850  -  total flux cleaned = -0.000763579 Jy
! Component: 1900  -  total flux cleaned = -0.000816664 Jy
! Component: 1950  -  total flux cleaned = -0.000903905 Jy
! Component: 2000  -  total flux cleaned = -0.000972656 Jy
! Total flux subtracted in 2048 components = -0.00105746 Jy
! Clean residual min=-0.001303 max=0.001159 Jy/beam
! Clean residual mean=-0.000009 rms=0.000356 Jy/beam
! Combined flux in latest and established models = 0.118317 Jy
keep
! Adding 141 model components to the UV plane model.
! The established model now contains 258 components and 0.118317 Jy
![Exited script file: muppet]
wmap "J0912+2205_S_2004_04_30_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.392 x 7.748 at 0.8445 degrees (North through East)
! Clean map  min=-0.0018569  max=0.078307 Jy/beam
! Writing clean map to FITS file: J0912+2205_S_2004_04_30_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.0783067 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000351282 
device "J0912+2205_S_2004_04_30_yyk\_map.eps/VPS"
! Attempting to open device: 'J0912+2205_S_2004_04_30_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.34579 1.34579 2.69159 5.38318 10.7664 21.5327 43.0654 86.1309
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.001 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.078 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.392 x 7.748 at 0.8445 degrees (North through East)
! Clean map  min=-0.0018569  max=0.078307 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0912+2205_S_2004_04_30_yyk\_map.gif/gif"
! Attempting to open device: 'J0912+2205_S_2004_04_30_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0912+2205_S_2004_04_30_yyk_uvs.log closed on Wed Dec  7 00:12:28 2005