! Started logfile: J2247-1237_X_1997_05_07_yyk_uvs.log on Mon Jan  8 10:42:58 2007
obs J2247-1237_X_1997_05_07_yyk_uva.fits
! Reading UV FITS file: J2247-1237_X_1997_05_07_yyk_uva.fits
! AN table 1: 130 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.960684 visibilities/baseline/integration-bin.
! Found source: J2247-1237
! 
! 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  8.15447e+09        8e+06          1        8e+06
!  02        2  8.23447e+09        8e+06          1        8e+06
!  03        3  8.41447e+09        8e+06          1        8e+06
!  04        4  8.55447e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 613 lines of history.
! 
! Reading 22480 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 J2247-1237_X_1997_05_07_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.200x0.200 milli-arcsec cellsize.
phase_soltime=phase_soltime1
print "uvstat(rms)=",uvstat(rms),"Jy"
! uvstat(rms)= 0.615958 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=0.6991 mas, bmaj=1.795 mas, bpa=-3.411 degrees
! Estimated noise=1178.23 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.49976 Jy
! Component: 100  -  total flux cleaned = 0.571834 Jy
! Total flux subtracted in 100 components = 0.571834 Jy
! Clean residual min=-0.008320 max=0.016248 Jy/beam
! Clean residual mean=0.000030 rms=0.002500 Jy/beam
! Combined flux in latest and established models = 0.571834 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 5 model components to the UV plane model.
! The established model now contains 5 components and 0.571834 Jy
! 
! Correcting IF 1.
!  A total of 35 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 35 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 35 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 35 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.207625Jy  sigma=0.001344
! Fit after  self-cal, rms=0.207511Jy  sigma=0.001344
! Inverting map and beam 
! Estimated beam: bmin=0.6991 mas, bmaj=1.795 mas, bpa=-3.411 degrees
! Estimated noise=1178.23 mJy/beam.
! clean: niter=100  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0182689 Jy
! Component: 100  -  total flux cleaned = 0.0233446 Jy
! Total flux subtracted in 100 components = 0.0233446 Jy
! Clean residual min=-0.007897 max=0.008165 Jy/beam
! Clean residual mean=0.000017 rms=0.002102 Jy/beam
! Combined flux in latest and established models = 0.595179 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 10 components and 0.595179 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206471Jy  sigma=0.001335
! Fit after  self-cal, rms=0.206440Jy  sigma=0.001335
! 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=0.8962 mas, bmaj=2.228 mas, bpa=-4.188 degrees
! Estimated noise=698.718 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.00343985 Jy
! Component: 100  -  total flux cleaned = 0.00375903 Jy
! Component: 150  -  total flux cleaned = 0.00389178 Jy
! Component: 200  -  total flux cleaned = 0.00401428 Jy
! Total flux subtracted in 200 components = 0.00401428 Jy
! Clean residual min=-0.006280 max=0.006018 Jy/beam
! Clean residual mean=0.000045 rms=0.001499 Jy/beam
! Combined flux in latest and established models = 0.599193 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 18 components and 0.599193 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.206391Jy  sigma=0.001334
! Fit after  self-cal, rms=0.206390Jy  sigma=0.001334
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8962 x 2.228 at -4.188 degrees (North through East)
! Clean map  min=-0.0059615  max=0.58098 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 0.991111
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        1.01     HN        1.03     KP        1.03     
!   LA        1.02     MK        1.03     NL        1.03     OV        1.00     
!   PT        0.98     SC        0.95     
! 
! 
! Correcting IF 2.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00243
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.99     HN        1.01     KP        1.02     
!   LA        1.00     MK        0.98     NL        1.03     OV        1.05     
!   PT        0.92     SC        0.99     
! 
! 
! Correcting IF 3.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00172
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.02     HN        1.01     KP        1.00     
!   LA        0.99     MK        1.00     NL        1.00     OV        0.98     
!   PT        0.97     SC        1.02     
! 
! 
! Correcting IF 4.
!  A total of 9 telescope corrections were flagged in sub-array 1.
!  Amplitude normalization factor in sub-array 1: 1.00251
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00     FD        0.98     HN        1.03     KP        0.99     
!   LA        0.99     MK        0.97     NL        1.01     OV        0.99     
!   PT        0.98     SC        1.03     
! 
! 
! Fit before self-cal, rms=0.206390Jy  sigma=0.001334
! Fit after  self-cal, rms=0.205672Jy  sigma=0.001328
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.205672Jy  sigma=0.001328
! Fit after  self-cal, rms=0.205671Jy  sigma=0.001328
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.8992 mas, bmaj=2.227 mas, bpa=-4.114 degrees
! Estimated noise=697.524 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.00180252 Jy
! Component: 100  -  total flux cleaned = -0.00180226 Jy
! Component: 150  -  total flux cleaned = -0.00179868 Jy
! Component: 200  -  total flux cleaned = -0.00184526 Jy
! Total flux subtracted in 200 components = -0.00184526 Jy
! Clean residual min=-0.004454 max=0.004778 Jy/beam
! Clean residual mean=0.000041 rms=0.001118 Jy/beam
! Combined flux in latest and established models = 0.597348 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 13 model components to the UV plane model.
! The established model now contains 27 components and 0.597348 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.205635Jy  sigma=0.001327
! Fit after  self-cal, rms=0.205634Jy  sigma=0.001327
! 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.205634Jy  sigma=0.001327
! Fit after  self-cal, rms=0.193634Jy  sigma=0.001256
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.00233033 Jy
! Component: 100  -  total flux cleaned = 0.00225974 Jy
! Component: 150  -  total flux cleaned = 0.00200642 Jy
! Component: 200  -  total flux cleaned = 0.00178689 Jy
! Total flux subtracted in 200 components = 0.00178689 Jy
! Clean residual min=-0.003798 max=0.004077 Jy/beam
! Clean residual mean=0.000043 rms=0.001031 Jy/beam
! Combined flux in latest and established models = 0.599135 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 12 model components to the UV plane model.
! The established model now contains 36 components and 0.599135 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193585Jy  sigma=0.001255
! Fit after  self-cal, rms=0.190840Jy  sigma=0.001240
! 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: 0.8992 x 2.227 at -4.114 degrees (North through East)
! Clean map  min=-0.0033739  max=0.58531 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.190840Jy  sigma=0.001240
! Fit after  self-cal, rms=0.190665Jy  sigma=0.001237
! 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.190665Jy  sigma=0.001237
! Fit after  self-cal, rms=0.189834Jy  sigma=0.001233
! Inverting map and beam 
! Estimated beam: bmin=0.8977 mas, bmaj=2.225 mas, bpa=-3.919 degrees
! Estimated noise=695.822 mJy/beam.
! Added new window around map position (-20.2, -20.6).
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.0026153 Jy
! Component: 100  -  total flux cleaned = 0.00253826 Jy
! Component: 150  -  total flux cleaned = 0.00253429 Jy
! Component: 200  -  total flux cleaned = 0.00259244 Jy
! Total flux subtracted in 200 components = 0.00259244 Jy
! Clean residual min=-0.003174 max=0.003112 Jy/beam
! Clean residual mean=0.000030 rms=0.000759 Jy/beam
! Combined flux in latest and established models = 0.601727 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 20 model components to the UV plane model.
! The established model now contains 56 components and 0.601727 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.189760Jy  sigma=0.001232
! Fit after  self-cal, rms=0.189460Jy  sigma=0.001231
! 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.189460Jy  sigma=0.001231
! Fit after  self-cal, rms=0.189163Jy  sigma=0.001229
! 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.189163Jy  sigma=0.001229
! Fit after  self-cal, rms=0.189033Jy  sigma=0.001229
! Inverting map and beam 
! Estimated beam: bmin=0.8976 mas, bmaj=2.224 mas, bpa=-3.868 degrees
! Estimated noise=695.488 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -6.64099e-05 Jy
! Component: 100  -  total flux cleaned = -0.000118124 Jy
! Component: 150  -  total flux cleaned = -0.00011806 Jy
! Component: 200  -  total flux cleaned = -0.000162249 Jy
! Total flux subtracted in 200 components = -0.000162249 Jy
! Clean residual min=-0.003087 max=0.002946 Jy/beam
! Clean residual mean=0.000030 rms=0.000746 Jy/beam
! Combined flux in latest and established models = 0.601565 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 63 components and 0.601565 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.189014Jy  sigma=0.001229
! Fit after  self-cal, rms=0.188960Jy  sigma=0.001228
! Inverting map 
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.4
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.254 mas, bmaj=4.235 mas, bpa=0.2254 degrees
! Estimated noise=898.375 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.000160813 Jy
! Component: 100  -  total flux cleaned = -0.000160012 Jy
! Component: 150  -  total flux cleaned = -0.000118354 Jy
! Component: 200  -  total flux cleaned = -0.000100139 Jy
! Total flux subtracted in 200 components = -0.000100139 Jy
! Clean residual min=-0.002511 max=0.003813 Jy/beam
! Clean residual mean=0.000057 rms=0.000945 Jy/beam
! Combined flux in latest and established models = 0.601465 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 14 model components to the UV plane model.
! The established model now contains 71 components and 0.601465 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.188957Jy  sigma=0.001228
! Fit after  self-cal, rms=0.188931Jy  sigma=0.001228
! 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=0.6991 mas, bmaj=1.795 mas, bpa=-3.29 degrees
! Estimated noise=1282.1 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.503475 Jy
! Component: 100  -  total flux cleaned = 0.574263 Jy
! Component: 150  -  total flux cleaned = 0.591522 Jy
! Component: 200  -  total flux cleaned = 0.598023 Jy
! Total flux subtracted in 200 components = 0.598023 Jy
! Clean residual min=-0.005679 max=0.005532 Jy/beam
! Clean residual mean=0.000016 rms=0.001502 Jy/beam
! Combined flux in latest and established models = 0.598023 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 13 model components to the UV plane model.
! The established model now contains 13 components and 0.598023 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.8976 mas, bmaj=2.224 mas, bpa=-3.868 degrees
! Estimated noise=695.488 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.00336503 Jy
! Component: 100  -  total flux cleaned = 0.00392756 Jy
! Component: 150  -  total flux cleaned = 0.0038521 Jy
! Component: 200  -  total flux cleaned = 0.00372368 Jy
! Total flux subtracted in 200 components = 0.00372368 Jy
! Clean residual min=-0.003083 max=0.003024 Jy/beam
! Clean residual mean=0.000031 rms=0.000756 Jy/beam
! Combined flux in latest and established models = 0.601747 Jy
! Adding 25 model components to the UV plane model.
! The established model now contains 37 components and 0.601747 Jy
! Inverting map 
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.254 mas, bmaj=4.235 mas, bpa=0.2254 degrees
! Estimated noise=898.375 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.000125656 Jy
! Component: 100  -  total flux cleaned = -0.00019004 Jy
! Component: 150  -  total flux cleaned = -0.000218948 Jy
! Component: 200  -  total flux cleaned = -0.000263728 Jy
! Total flux subtracted in 200 components = -0.000263728 Jy
! Clean residual min=-0.002479 max=0.003806 Jy/beam
! Clean residual mean=0.000056 rms=0.000938 Jy/beam
! Combined flux in latest and established models = 0.601483 Jy
! Adding 15 model components to the UV plane model.
! The established model now contains 50 components and 0.601483 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.8976 mas, bmaj=2.224 mas, bpa=-3.868 degrees
! Estimated noise=695.488 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00015451 Jy
! Component: 100  -  total flux cleaned = 0.000207648 Jy
! Component: 150  -  total flux cleaned = 0.000253245 Jy
! Component: 200  -  total flux cleaned = 0.000253462 Jy
! Total flux subtracted in 200 components = 0.000253462 Jy
! Clean residual min=-0.002939 max=0.003060 Jy/beam
! Clean residual mean=0.000030 rms=0.000738 Jy/beam
! Combined flux in latest and established models = 0.601736 Jy
selfcal false, false, phase_soltime
! Performing phase self-cal over 0.5 minute time intervals
! Adding 24 model components to the UV plane model.
! The established model now contains 61 components and 0.601736 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.188940Jy  sigma=0.001228
! Fit after  self-cal, rms=0.188926Jy  sigma=0.001228
wmodel J2247-1237_X_1997_05_07_yyk\_map.mod
! Writing 61 model components to file: J2247-1237_X_1997_05_07_yyk_map.mod
wobs J2247-1237_X_1997_05_07_yyk\_uvs.fits
! Writing UV FITS file: J2247-1237_X_1997_05_07_yyk_uvs.fits
wwins J2247-1237_X_1997_05_07_yyk\_map.win
! wwins: Wrote 2 windows to J2247-1237_X_1997_05_07_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.000500089 Jy
! Component: 100  -  total flux cleaned = 0.00104979 Jy
! Component: 150  -  total flux cleaned = 0.00169936 Jy
! Component: 200  -  total flux cleaned = 0.00209151 Jy
! Component: 250  -  total flux cleaned = 0.00237778 Jy
! Component: 300  -  total flux cleaned = 0.00276816 Jy
! Component: 350  -  total flux cleaned = 0.0031815 Jy
! Component: 400  -  total flux cleaned = 0.00358201 Jy
! Component: 450  -  total flux cleaned = 0.00393655 Jy
! Component: 500  -  total flux cleaned = 0.00424707 Jy
! Component: 550  -  total flux cleaned = 0.00461632 Jy
! Component: 600  -  total flux cleaned = 0.00487948 Jy
! Component: 650  -  total flux cleaned = 0.00520188 Jy
! Component: 700  -  total flux cleaned = 0.00545459 Jy
! Component: 750  -  total flux cleaned = 0.00573245 Jy
! Component: 800  -  total flux cleaned = 0.0059453 Jy
! Component: 850  -  total flux cleaned = 0.00615408 Jy
! Component: 900  -  total flux cleaned = 0.00630057 Jy
! Component: 950  -  total flux cleaned = 0.00647295 Jy
! Component: 1000  -  total flux cleaned = 0.00658607 Jy
! Component: 1050  -  total flux cleaned = 0.00669842 Jy
! Component: 1100  -  total flux cleaned = 0.00694718 Jy
! Component: 1150  -  total flux cleaned = 0.00711043 Jy
! Component: 1200  -  total flux cleaned = 0.00732551 Jy
! Component: 1250  -  total flux cleaned = 0.00751193 Jy
! Component: 1300  -  total flux cleaned = 0.00761722 Jy
! Component: 1350  -  total flux cleaned = 0.00785113 Jy
! Component: 1400  -  total flux cleaned = 0.00803123 Jy
! Component: 1450  -  total flux cleaned = 0.00828559 Jy
! Component: 1500  -  total flux cleaned = 0.00831064 Jy
! Component: 1550  -  total flux cleaned = 0.00846058 Jy
! Component: 1600  -  total flux cleaned = 0.00855908 Jy
! Component: 1650  -  total flux cleaned = 0.00868116 Jy
! Component: 1700  -  total flux cleaned = 0.00872966 Jy
! Component: 1750  -  total flux cleaned = 0.00894569 Jy
! Component: 1800  -  total flux cleaned = 0.0090409 Jy
! Component: 1850  -  total flux cleaned = 0.00918207 Jy
! Component: 1900  -  total flux cleaned = 0.00927558 Jy
! Component: 1950  -  total flux cleaned = 0.0093683 Jy
! Component: 2000  -  total flux cleaned = 0.00955176 Jy
! Total flux subtracted in 2048 components = 0.00964237 Jy
! Clean residual min=-0.001594 max=0.001379 Jy/beam
! Clean residual mean=0.000017 rms=0.000434 Jy/beam
! Combined flux in latest and established models = 0.611379 Jy
keep
! Adding 140 model components to the UV plane model.
! The established model now contains 201 components and 0.611379 Jy
![Exited script file: muppet]
wmap "J2247-1237_X_1997_05_07_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8976 x 2.224 at -3.868 degrees (North through East)
! Clean map  min=-0.0023019  max=0.58372 Jy/beam
! Writing clean map to FITS file: J2247-1237_X_1997_05_07_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.583723 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00043048 
device "J2247-1237_X_1997_05_07_yyk\_map.eps/VPS"
! Attempting to open device: 'J2247-1237_X_1997_05_07_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.221242 0.221242 0.442484 0.884967 1.76993 3.53987 7.07974 14.1595 28.319 56.6379
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0012 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.583 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8976 x 2.224 at -3.868 degrees (North through East)
! Clean map  min=-0.0023019  max=0.58372 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J2247-1237_X_1997_05_07_yyk\_map.gif/gif"
! Attempting to open device: 'J2247-1237_X_1997_05_07_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J2247-1237_X_1997_05_07_yyk_uvs.log closed on Mon Jan  8 10:43:06 2007