! Started logfile: J2322+1843_S_1996_01_02_yyk_uvs.log on Sun Jan  7 20:23:18 2007
obs J2322+1843_S_1996_01_02_yyk_uva.fits
! Reading UV FITS file: J2322+1843_S_1996_01_02_yyk_uva.fits
! AN table 1: 125 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.895289 visibilities/baseline/integration-bin.
! Found source: J2322+1843
! 
! 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 623 lines of history.
! 
! Reading 20144 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 J2322+1843_S_1996_01_02_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.477707 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.755 mas, bmaj=6.743 mas, bpa=-0.07912 degrees
! Estimated noise=1458.2 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.218219 Jy
! Component: 100  -  total flux cleaned = 0.25952 Jy
! Total flux subtracted in 100 components = 0.25952 Jy
! Clean residual min=-0.021235 max=0.025478 Jy/beam
! Clean residual mean=-0.000072 rms=0.005384 Jy/beam
! Combined flux in latest and established models = 0.25952 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 0.25952 Jy
! 
! Correcting IF 1.
!  A total of 87 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 87 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 87 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 87 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.398187Jy  sigma=0.001757
! Fit after  self-cal, rms=0.394811Jy  sigma=0.001744
! Inverting map and beam 
! Estimated beam: bmin=2.755 mas, bmaj=6.743 mas, bpa=-0.07904 degrees
! Estimated noise=1461.55 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=3.44 mas, bmaj=8.999 mas, bpa=-5.399 degrees
! Estimated noise=990.762 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.0231926 Jy
! Component: 100  -  total flux cleaned = 0.0272495 Jy
! Component: 150  -  total flux cleaned = 0.0275095 Jy
! Component: 200  -  total flux cleaned = 0.0279836 Jy
! Total flux subtracted in 200 components = 0.0279836 Jy
! Clean residual min=-0.012877 max=0.012950 Jy/beam
! Clean residual mean=-0.000112 rms=0.003486 Jy/beam
! Combined flux in latest and established models = 0.287503 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 35 components and 0.287503 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.393623Jy  sigma=0.001739
! Fit after  self-cal, rms=0.393621Jy  sigma=0.001739
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.44 x 8.999 at -5.399 degrees (North through East)
! Clean map  min=-0.01269  max=0.26554 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.02623
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.12     HN        1.21     KP        0.85     
!   LA        1.11     MK        0.96     NL        0.75     OV        1.02     
!   PT        0.95     SC        0.77     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.927421
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.42     FD        1.17     HN        1.52     KP        0.86     
!   LA        1.19     MK        1.01     NL        0.81     OV        1.00     
!   PT        0.95     SC        0.83     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.03782
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        1.10     HN        1.11     KP        0.83     
!   LA        0.84     MK        0.92     NL        0.87     OV        0.92     
!   PT        1.10     SC        0.92     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.970181
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.32     FD        1.14     HN        1.37     KP        0.90     
!   LA        0.94     MK        0.97     NL        0.91     OV        0.90     
!   PT        1.05     SC        0.82     
! 
! 
! Fit before self-cal, rms=0.393621Jy  sigma=0.001739
! Fit after  self-cal, rms=0.400526Jy  sigma=0.001722
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.400526Jy  sigma=0.001722
! Fit after  self-cal, rms=0.400552Jy  sigma=0.001722
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.35 mas, bmaj=8.792 mas, bpa=-2.372 degrees
! Estimated noise=937.586 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.0112331 Jy
! Component: 100  -  total flux cleaned = -0.0127313 Jy
! Component: 150  -  total flux cleaned = -0.0128853 Jy
! Component: 200  -  total flux cleaned = -0.012882 Jy
! Total flux subtracted in 200 components = -0.012882 Jy
! Clean residual min=-0.005661 max=0.006115 Jy/beam
! Clean residual mean=-0.000009 rms=0.001643 Jy/beam
! Combined flux in latest and established models = 0.274621 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 46 components and 0.274621 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.400316Jy  sigma=0.001720
! Fit after  self-cal, rms=0.400309Jy  sigma=0.001720
! 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.400309Jy  sigma=0.001720
! Fit after  self-cal, rms=0.398091Jy  sigma=0.001708
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.000653424 Jy
! Component: 100  -  total flux cleaned = 0.000350173 Jy
! Component: 150  -  total flux cleaned = 9.2783e-05 Jy
! Component: 200  -  total flux cleaned = -0.000135864 Jy
! Total flux subtracted in 200 components = -0.000135864 Jy
! Clean residual min=-0.005223 max=0.005992 Jy/beam
! Clean residual mean=-0.000008 rms=0.001592 Jy/beam
! Combined flux in latest and established models = 0.274485 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 15 model components to the UV plane model.
! The established model now contains 56 components and 0.274485 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.398064Jy  sigma=0.001708
! Fit after  self-cal, rms=0.397211Jy  sigma=0.001704
! 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.35 x 8.792 at -2.372 degrees (North through East)
! Clean map  min=-0.0051712  max=0.2607 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.397211Jy  sigma=0.001704
! Fit after  self-cal, rms=0.584300Jy  sigma=0.001693
! 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.584300Jy  sigma=0.001693
! Fit after  self-cal, rms=0.584053Jy  sigma=0.001691
! Inverting map and beam 
! Estimated beam: bmin=3.315 mas, bmaj=8.692 mas, bpa=-2.222 degrees
! Estimated noise=924.11 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.00010779 Jy
! Component: 100  -  total flux cleaned = -0.000323353 Jy
! Component: 150  -  total flux cleaned = -0.000579539 Jy
! Component: 200  -  total flux cleaned = -0.000812917 Jy
! Total flux subtracted in 200 components = -0.000812917 Jy
! Clean residual min=-0.004724 max=0.004979 Jy/beam
! Clean residual mean=-0.000023 rms=0.001260 Jy/beam
! Combined flux in latest and established models = 0.273672 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 61 components and 0.273672 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.584048Jy  sigma=0.001691
! Fit after  self-cal, rms=0.583893Jy  sigma=0.001690
! 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.583893Jy  sigma=0.001690
! Fit after  self-cal, rms=0.663831Jy  sigma=0.001689
! 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.663831Jy  sigma=0.001689
! Fit after  self-cal, rms=0.663796Jy  sigma=0.001688
! Inverting map and beam 
! Estimated beam: bmin=3.3 mas, bmaj=8.682 mas, bpa=-2.158 degrees
! Estimated noise=926.08 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00114076 Jy
! Component: 100  -  total flux cleaned = 0.0010262 Jy
! Component: 150  -  total flux cleaned = 0.00086457 Jy
! Component: 200  -  total flux cleaned = 0.00071284 Jy
! Total flux subtracted in 200 components = 0.00071284 Jy
! Clean residual min=-0.004621 max=0.004937 Jy/beam
! Clean residual mean=-0.000022 rms=0.001261 Jy/beam
! Combined flux in latest and established models = 0.274385 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 11 model components to the UV plane model.
! The established model now contains 62 components and 0.274385 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.663789Jy  sigma=0.001688
! Fit after  self-cal, rms=0.663767Jy  sigma=0.001688
! 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=7.52 mas, bmaj=12.99 mas, bpa=-7.417 degrees
! Estimated noise=1162.38 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.00110095 Jy
! Component: 100  -  total flux cleaned = -0.00102508 Jy
! Component: 150  -  total flux cleaned = -0.000958308 Jy
! Component: 200  -  total flux cleaned = -0.000898988 Jy
! Total flux subtracted in 200 components = -0.000898988 Jy
! Clean residual min=-0.004579 max=0.004789 Jy/beam
! Clean residual mean=-0.000034 rms=0.001452 Jy/beam
! Combined flux in latest and established models = 0.273486 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 9 model components to the UV plane model.
! The established model now contains 70 components and 0.273486 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.663770Jy  sigma=0.001688
! Fit after  self-cal, rms=0.663757Jy  sigma=0.001688
! 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.668 mas, bmaj=6.575 mas, bpa=1.962 degrees
! Estimated noise=1356.34 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.224809 Jy
! Component: 100  -  total flux cleaned = 0.261614 Jy
! Component: 150  -  total flux cleaned = 0.273436 Jy
! Component: 200  -  total flux cleaned = 0.273219 Jy
! Total flux subtracted in 200 components = 0.273219 Jy
! Clean residual min=-0.008340 max=0.008728 Jy/beam
! Clean residual mean=-0.000026 rms=0.002068 Jy/beam
! Combined flux in latest and established models = 0.273219 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 15 model components to the UV plane model.
! The established model now contains 15 components and 0.273219 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.3 mas, bmaj=8.682 mas, bpa=-2.158 degrees
! Estimated noise=926.08 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.000490104 Jy
! Component: 100  -  total flux cleaned = 0.000407206 Jy
! Component: 150  -  total flux cleaned = 0.000411547 Jy
! Component: 200  -  total flux cleaned = 0.00026819 Jy
! Total flux subtracted in 200 components = 0.00026819 Jy
! Clean residual min=-0.004608 max=0.004784 Jy/beam
! Clean residual mean=-0.000020 rms=0.001257 Jy/beam
! Combined flux in latest and established models = 0.273488 Jy
! Adding 13 model components to the UV plane model.
! The established model now contains 25 components and 0.273488 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.52 mas, bmaj=12.99 mas, bpa=-7.417 degrees
! Estimated noise=1162.38 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.000596878 Jy
! Component: 100  -  total flux cleaned = -0.000494948 Jy
! Component: 150  -  total flux cleaned = -0.000405602 Jy
! Component: 200  -  total flux cleaned = -0.000328236 Jy
! Total flux subtracted in 200 components = -0.000328236 Jy
! Clean residual min=-0.004612 max=0.004823 Jy/beam
! Clean residual mean=-0.000032 rms=0.001455 Jy/beam
! Combined flux in latest and established models = 0.273159 Jy
! Adding 12 model components to the UV plane model.
! The established model now contains 36 components and 0.273159 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.3 mas, bmaj=8.682 mas, bpa=-2.158 degrees
! Estimated noise=926.08 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000557487 Jy
! Component: 100  -  total flux cleaned = 0.000301399 Jy
! Component: 150  -  total flux cleaned = 0.000128191 Jy
! Component: 200  -  total flux cleaned = 3.51507e-05 Jy
! Total flux subtracted in 200 components = 3.51507e-05 Jy
! Clean residual min=-0.004599 max=0.004801 Jy/beam
! Clean residual mean=-0.000020 rms=0.001252 Jy/beam
! Combined flux in latest and established models = 0.273195 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 40 components and 0.273195 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.663711Jy  sigma=0.001687
! Fit after  self-cal, rms=0.663714Jy  sigma=0.001687
wmodel J2322+1843_S_1996_01_02_yyk\_map.mod
! Writing 40 model components to file: J2322+1843_S_1996_01_02_yyk_map.mod
wobs J2322+1843_S_1996_01_02_yyk\_uvs.fits
! Writing UV FITS file: J2322+1843_S_1996_01_02_yyk_uvs.fits
wwins J2322+1843_S_1996_01_02_yyk\_map.win
! wwins: Wrote 1 windows to J2322+1843_S_1996_01_02_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.00134427 Jy
! Component: 100  -  total flux cleaned = -0.00225544 Jy
! Component: 150  -  total flux cleaned = -0.00253735 Jy
! Component: 200  -  total flux cleaned = -0.0026722 Jy
! Component: 250  -  total flux cleaned = -0.00293128 Jy
! Component: 300  -  total flux cleaned = -0.00318155 Jy
! Component: 350  -  total flux cleaned = -0.00367141 Jy
! Component: 400  -  total flux cleaned = -0.00426691 Jy
! Component: 450  -  total flux cleaned = -0.00478811 Jy
! Component: 500  -  total flux cleaned = -0.00524212 Jy
! Component: 550  -  total flux cleaned = -0.00563121 Jy
! Component: 600  -  total flux cleaned = -0.00595801 Jy
! Component: 650  -  total flux cleaned = -0.00611725 Jy
! Component: 700  -  total flux cleaned = -0.00622237 Jy
! Component: 750  -  total flux cleaned = -0.0063768 Jy
! Component: 800  -  total flux cleaned = -0.00642724 Jy
! Component: 850  -  total flux cleaned = -0.00652681 Jy
! Component: 900  -  total flux cleaned = -0.00662494 Jy
! Component: 950  -  total flux cleaned = -0.00677041 Jy
! Component: 1000  -  total flux cleaned = -0.00677061 Jy
! Component: 1050  -  total flux cleaned = -0.00691206 Jy
! Component: 1100  -  total flux cleaned = -0.00695875 Jy
! Component: 1150  -  total flux cleaned = -0.00718833 Jy
! Component: 1200  -  total flux cleaned = -0.00723324 Jy
! Component: 1250  -  total flux cleaned = -0.00732272 Jy
! Component: 1300  -  total flux cleaned = -0.00736652 Jy
! Component: 1350  -  total flux cleaned = -0.00723502 Jy
! Component: 1400  -  total flux cleaned = -0.00727891 Jy
! Component: 1450  -  total flux cleaned = -0.00723644 Jy
! Component: 1500  -  total flux cleaned = -0.00740641 Jy
! Component: 1550  -  total flux cleaned = -0.00736495 Jy
! Component: 1600  -  total flux cleaned = -0.00744814 Jy
! Component: 1650  -  total flux cleaned = -0.00753003 Jy
! Component: 1700  -  total flux cleaned = -0.00740794 Jy
! Component: 1750  -  total flux cleaned = -0.00740844 Jy
! Component: 1800  -  total flux cleaned = -0.00748852 Jy
! Component: 1850  -  total flux cleaned = -0.00733017 Jy
! Component: 1900  -  total flux cleaned = -0.00733002 Jy
! Component: 1950  -  total flux cleaned = -0.00729083 Jy
! Component: 2000  -  total flux cleaned = -0.00721407 Jy
! Total flux subtracted in 2048 components = -0.00721443 Jy
! Clean residual min=-0.002090 max=0.003456 Jy/beam
! Clean residual mean=-0.000003 rms=0.000786 Jy/beam
! Combined flux in latest and established models = 0.26598 Jy
keep
! Adding 149 model components to the UV plane model.
! The established model now contains 189 components and 0.26598 Jy
![Exited script file: muppet]
wmap "J2322+1843_S_1996_01_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.3 x 8.682 at -2.158 degrees (North through East)
! Clean map  min=-0.0034184  max=0.26265 Jy/beam
! Writing clean map to FITS file: J2322+1843_S_1996_01_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.262655 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000779643 
device "J2322+1843_S_1996_01_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J2322+1843_S_1996_01_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.890495 0.890495 1.78099 3.56198 7.12396 14.2479 28.4958 56.9917
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.262 
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.3 x 8.682 at -2.158 degrees (North through East)
! Clean map  min=-0.0034184  max=0.26265 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2322+1843_S_1996_01_02_yyk\_map.gif/gif"
! Attempting to open device: 'J2322+1843_S_1996_01_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2322+1843_S_1996_01_02_yyk_uvs.log closed on Sun Jan  7 20:23:25 2007