! Started logfile: J0327-2202_S_1997_07_02_yyk_uvs.log on Sun Jan  7 16:02:54 2007
obs J0327-2202_S_1997_07_02_yyk_uva.fits
! Reading UV FITS file: J0327-2202_S_1997_07_02_yyk_uva.fits
! AN table 1: 147 integrations on 45 of 45 possible baselines.
! Apparent sampling: 1.19592 visibilities/baseline/integration-bin.
! Found source: J0327-2202
! 
! 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.22447e+09        8e+06          1        8e+06
!  02        2  2.23447e+09        8e+06          1        8e+06
!  03        3  2.29447e+09        8e+06          1        8e+06
!  04        4  2.32447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 754 lines of history.
! 
! Reading 31644 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 J0327-2202_S_1997_07_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.712938 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 mas, bmaj=8.422 mas, bpa=-1.706 degrees
! Estimated noise=1445.67 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.534386 Jy
! Component: 100  -  total flux cleaned = 0.61809 Jy
! Total flux subtracted in 100 components = 0.61809 Jy
! Clean residual min=-0.016596 max=0.027712 Jy/beam
! Clean residual mean=0.000326 rms=0.005358 Jy/beam
! Combined flux in latest and established models = 0.618089 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.618089 Jy
! 
! Correcting IF 1.
!  A total of 270 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 125 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 125 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 125 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.339175Jy  sigma=0.001464
! Fit after  self-cal, rms=0.339083Jy  sigma=0.001464
! Inverting map and beam 
! Estimated beam: bmin=3 mas, bmaj=8.422 mas, bpa=-1.705 degrees
! Estimated noise=1445.89 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.819 mas, bmaj=10.79 mas, bpa=-2.698 degrees
! Estimated noise=1054.08 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.0173459 Jy
! Component: 100  -  total flux cleaned = 0.0176587 Jy
! Component: 150  -  total flux cleaned = 0.0176517 Jy
! Component: 200  -  total flux cleaned = 0.0176557 Jy
! Total flux subtracted in 200 components = 0.0176557 Jy
! Clean residual min=-0.015677 max=0.020165 Jy/beam
! Clean residual mean=0.000417 rms=0.005602 Jy/beam
! Combined flux in latest and established models = 0.635745 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 16 model components to the UV plane model.
! The established model now contains 23 components and 0.635745 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.337797Jy  sigma=0.001460
! Fit after  self-cal, rms=0.337773Jy  sigma=0.001460
! 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.819 x 10.79 at -2.698 degrees (North through East)
! Clean map  min=-0.015467  max=0.61732 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.02393
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.12     HN        0.92     KP        0.89     
!   LA        0.96     MK        0.99     NL        1.00*    OV        1.10     
!   PT        0.95     SC        0.84     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.977218
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.05     FD        1.16     HN        1.02     KP        0.95     
!   LA        1.08     MK        1.06     NL        1.00     OV        1.06     
!   PT        0.92     SC        0.94     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 1.03601
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.96     FD        1.07     HN        0.97     KP        0.91     
!   LA        0.82     MK        0.92     NL        0.94     OV        0.95     
!   PT        1.09     SC        1.02     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.990582
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        1.11     HN        1.14     KP        0.93     
!   LA        0.89     MK        1.06     NL        1.09     OV        0.94     
!   PT        0.90     SC        1.01     
! 
! 
! Fit before self-cal, rms=0.337773Jy  sigma=0.001460
! Fit after  self-cal, rms=0.325392Jy  sigma=0.001426
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.325392Jy  sigma=0.001426
! Fit after  self-cal, rms=0.325393Jy  sigma=0.001426
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=3.802 mas, bmaj=10.7 mas, bpa=-1.756 degrees
! Estimated noise=1053.1 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 (8, -1.5).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0184823 Jy
! Component: 100  -  total flux cleaned = 0.0233174 Jy
! Component: 150  -  total flux cleaned = 0.0233563 Jy
! Component: 200  -  total flux cleaned = 0.0233622 Jy
! Total flux subtracted in 200 components = 0.0233622 Jy
! Clean residual min=-0.006247 max=0.008518 Jy/beam
! Clean residual mean=-0.000024 rms=0.002098 Jy/beam
! Combined flux in latest and established models = 0.659107 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 36 model components to the UV plane model.
! The established model now contains 59 components and 0.659107 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.324391Jy  sigma=0.001422
! Fit after  self-cal, rms=0.324288Jy  sigma=0.001422
! 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.324288Jy  sigma=0.001422
! Fit after  self-cal, rms=0.322414Jy  sigma=0.001412
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.00487788 Jy
! Component: 100  -  total flux cleaned = 0.00509073 Jy
! Component: 150  -  total flux cleaned = 0.00472841 Jy
! Component: 200  -  total flux cleaned = 0.00441233 Jy
! Total flux subtracted in 200 components = 0.00441233 Jy
! Clean residual min=-0.005500 max=0.006666 Jy/beam
! Clean residual mean=-0.000040 rms=0.001888 Jy/beam
! Combined flux in latest and established models = 0.66352 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 34 model components to the UV plane model.
! The established model now contains 78 components and 0.66352 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.322174Jy  sigma=0.001411
! Fit after  self-cal, rms=0.321911Jy  sigma=0.001410
! 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.802 x 10.7 at -1.756 degrees (North through East)
! Clean map  min=-0.0053863  max=0.61664 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.321911Jy  sigma=0.001410
! Fit after  self-cal, rms=0.318494Jy  sigma=0.001402
! 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.318494Jy  sigma=0.001402
! Fit after  self-cal, rms=0.318432Jy  sigma=0.001402
! Inverting map and beam 
! Estimated beam: bmin=3.8 mas, bmaj=10.71 mas, bpa=-1.978 degrees
! Estimated noise=1049.54 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00530209 Jy
! Component: 100  -  total flux cleaned = 0.00584564 Jy
! Component: 150  -  total flux cleaned = 0.00564625 Jy
! Component: 200  -  total flux cleaned = 0.00555189 Jy
! Total flux subtracted in 200 components = 0.00555189 Jy
! Clean residual min=-0.005068 max=0.005795 Jy/beam
! Clean residual mean=-0.000035 rms=0.001553 Jy/beam
! Combined flux in latest and established models = 0.669071 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 26 model components to the UV plane model.
! The established model now contains 97 components and 0.669071 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318323Jy  sigma=0.001401
! Fit after  self-cal, rms=0.318295Jy  sigma=0.001401
! 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.318295Jy  sigma=0.001401
! Fit after  self-cal, rms=0.318208Jy  sigma=0.001399
! 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.318208Jy  sigma=0.001399
! Fit after  self-cal, rms=0.318204Jy  sigma=0.001399
! Inverting map and beam 
! Estimated beam: bmin=3.797 mas, bmaj=10.7 mas, bpa=-1.955 degrees
! Estimated noise=1049.64 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00238279 Jy
! Component: 100  -  total flux cleaned = 0.00256098 Jy
! Component: 150  -  total flux cleaned = 0.00256721 Jy
! Component: 200  -  total flux cleaned = 0.0025691 Jy
! Total flux subtracted in 200 components = 0.0025691 Jy
! Clean residual min=-0.004917 max=0.005697 Jy/beam
! Clean residual mean=-0.000037 rms=0.001486 Jy/beam
! Combined flux in latest and established models = 0.67164 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 108 components and 0.67164 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318156Jy  sigma=0.001399
! Fit after  self-cal, rms=0.318150Jy  sigma=0.001399
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.296 mas, bmaj=18.01 mas, bpa=-3.866 degrees
! Estimated noise=1267.32 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.0014895 Jy
! Component: 100  -  total flux cleaned = 0.00142865 Jy
! Component: 150  -  total flux cleaned = 0.00138139 Jy
! Component: 200  -  total flux cleaned = 0.00138062 Jy
! Total flux subtracted in 200 components = 0.00138062 Jy
! Clean residual min=-0.005216 max=0.007477 Jy/beam
! Clean residual mean=-0.000068 rms=0.001916 Jy/beam
! Combined flux in latest and established models = 0.673021 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 17 model components to the UV plane model.
! The established model now contains 124 components and 0.673021 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318150Jy  sigma=0.001399
! Fit after  self-cal, rms=0.318148Jy  sigma=0.001399
! 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.007 mas, bmaj=8.424 mas, bpa=-1.21 degrees
! Estimated noise=1429.52 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.529539 Jy
! Component: 100  -  total flux cleaned = 0.609759 Jy
! Component: 150  -  total flux cleaned = 0.639672 Jy
! Component: 200  -  total flux cleaned = 0.65756 Jy
! Total flux subtracted in 200 components = 0.65756 Jy
! Clean residual min=-0.007762 max=0.008648 Jy/beam
! Clean residual mean=0.000028 rms=0.002211 Jy/beam
! Combined flux in latest and established models = 0.65756 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 19 model components to the UV plane model.
! The established model now contains 19 components and 0.65756 Jy
! Inverting map and beam 
! Estimated beam: bmin=3.797 mas, bmaj=10.7 mas, bpa=-1.955 degrees
! Estimated noise=1049.64 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.0116901 Jy
! Component: 100  -  total flux cleaned = 0.0138137 Jy
! Component: 150  -  total flux cleaned = 0.0145191 Jy
! Component: 200  -  total flux cleaned = 0.0149109 Jy
! Total flux subtracted in 200 components = 0.0149109 Jy
! Clean residual min=-0.005436 max=0.006252 Jy/beam
! Clean residual mean=-0.000035 rms=0.001681 Jy/beam
! Combined flux in latest and established models = 0.672471 Jy
! Adding 35 model components to the UV plane model.
! The established model now contains 50 components and 0.672471 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 20 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=8.296 mas, bmaj=18.01 mas, bpa=-3.866 degrees
! Estimated noise=1267.32 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.00130943 Jy
! Component: 100  -  total flux cleaned = 0.00144059 Jy
! Component: 150  -  total flux cleaned = 0.00144141 Jy
! Component: 200  -  total flux cleaned = 0.00152824 Jy
! Total flux subtracted in 200 components = 0.00152824 Jy
! Clean residual min=-0.005668 max=0.008037 Jy/beam
! Clean residual mean=-0.000069 rms=0.001997 Jy/beam
! Combined flux in latest and established models = 0.673999 Jy
! Adding 29 model components to the UV plane model.
! The established model now contains 74 components and 0.673999 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=3.797 mas, bmaj=10.7 mas, bpa=-1.955 degrees
! Estimated noise=1049.64 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -6.92494e-05 Jy
! Component: 100  -  total flux cleaned = -6.78007e-05 Jy
! Component: 150  -  total flux cleaned = -0.000177387 Jy
! Component: 200  -  total flux cleaned = -0.000381343 Jy
! Total flux subtracted in 200 components = -0.000381343 Jy
! Clean residual min=-0.005000 max=0.005988 Jy/beam
! Clean residual mean=-0.000039 rms=0.001539 Jy/beam
! Combined flux in latest and established models = 0.673618 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 93 components and 0.673618 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.318238Jy  sigma=0.001399
! Fit after  self-cal, rms=0.318229Jy  sigma=0.001399
wmodel J0327-2202_S_1997_07_02_yyk\_map.mod
! Writing 93 model components to file: J0327-2202_S_1997_07_02_yyk_map.mod
wobs J0327-2202_S_1997_07_02_yyk\_uvs.fits
! Writing UV FITS file: J0327-2202_S_1997_07_02_yyk_uvs.fits
wwins J0327-2202_S_1997_07_02_yyk\_map.win
! wwins: Wrote 2 windows to J0327-2202_S_1997_07_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.00189694 Jy
! Component: 100  -  total flux cleaned = 0.00278508 Jy
! Component: 150  -  total flux cleaned = 0.00342997 Jy
! Component: 200  -  total flux cleaned = 0.00441348 Jy
! Component: 250  -  total flux cleaned = 0.00462751 Jy
! Component: 300  -  total flux cleaned = 0.00455854 Jy
! Component: 350  -  total flux cleaned = 0.00482242 Jy
! Component: 400  -  total flux cleaned = 0.00494974 Jy
! Component: 450  -  total flux cleaned = 0.00507388 Jy
! Component: 500  -  total flux cleaned = 0.00519529 Jy
! Component: 550  -  total flux cleaned = 0.0053692 Jy
! Component: 600  -  total flux cleaned = 0.00531233 Jy
! Component: 650  -  total flux cleaned = 0.00531244 Jy
! Component: 700  -  total flux cleaned = 0.0052595 Jy
! Component: 750  -  total flux cleaned = 0.00526021 Jy
! Component: 800  -  total flux cleaned = 0.00531113 Jy
! Component: 850  -  total flux cleaned = 0.00521202 Jy
! Component: 900  -  total flux cleaned = 0.00521247 Jy
! Component: 950  -  total flux cleaned = 0.00516531 Jy
! Component: 1000  -  total flux cleaned = 0.00511883 Jy
! Component: 1050  -  total flux cleaned = 0.00521137 Jy
! Component: 1100  -  total flux cleaned = 0.00521166 Jy
! Component: 1150  -  total flux cleaned = 0.00516658 Jy
! Component: 1200  -  total flux cleaned = 0.00512219 Jy
! Component: 1250  -  total flux cleaned = 0.00503543 Jy
! Component: 1300  -  total flux cleaned = 0.00495107 Jy
! Component: 1350  -  total flux cleaned = 0.00495154 Jy
! Component: 1400  -  total flux cleaned = 0.00478833 Jy
! Component: 1450  -  total flux cleaned = 0.00466833 Jy
! Component: 1500  -  total flux cleaned = 0.00458968 Jy
! Component: 1550  -  total flux cleaned = 0.00443462 Jy
! Component: 1600  -  total flux cleaned = 0.00428241 Jy
! Component: 1650  -  total flux cleaned = 0.0043957 Jy
! Component: 1700  -  total flux cleaned = 0.00409756 Jy
! Component: 1750  -  total flux cleaned = 0.0040252 Jy
! Component: 1800  -  total flux cleaned = 0.00409814 Jy
! Component: 1850  -  total flux cleaned = 0.00399096 Jy
! Component: 1900  -  total flux cleaned = 0.00399084 Jy
! Component: 1950  -  total flux cleaned = 0.00402583 Jy
! Component: 2000  -  total flux cleaned = 0.0039578 Jy
! Total flux subtracted in 2048 components = 0.00395763 Jy
! Clean residual min=-0.001958 max=0.002996 Jy/beam
! Clean residual mean=-0.000025 rms=0.000732 Jy/beam
! Combined flux in latest and established models = 0.677575 Jy
keep
! Adding 158 model components to the UV plane model.
! The established model now contains 251 components and 0.677575 Jy
![Exited script file: muppet]
wmap "J0327-2202_S_1997_07_02_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 3.797 x 10.7 at -1.955 degrees (North through East)
! Clean map  min=-0.0038165  max=0.61377 Jy/beam
! Writing clean map to FITS file: J0327-2202_S_1997_07_02_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.613774 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000721291 
device "J0327-2202_S_1997_07_02_yyk\_map.eps/VPS"
! Attempting to open device: 'J0327-2202_S_1997_07_02_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.352552 0.352552 0.705105 1.41021 2.82042 5.64084 11.2817 22.5634 45.1267 90.2534
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0021 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.613 
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.797 x 10.7 at -1.955 degrees (North through East)
! Clean map  min=-0.0038165  max=0.61377 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0327-2202_S_1997_07_02_yyk\_map.gif/gif"
! Attempting to open device: 'J0327-2202_S_1997_07_02_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0327-2202_S_1997_07_02_yyk_uvs.log closed on Sun Jan  7 16:03:02 2007