! Started logfile: J1045+1735_X_1996_03_13_yyk_uvs.log on Mon Jan  8 04:58:36 2007
obs J1045+1735_X_1996_03_13_yyk_uva.fits
! Reading UV FITS file: J1045+1735_X_1996_03_13_yyk_uva.fits
! AN table 1: 114 integrations on 45 of 45 possible baselines.
! Apparent sampling: 0.82807 visibilities/baseline/integration-bin.
! Found source: J1045+1735
! 
! 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.15049e+09        4e+06          1        4e+06
!  02        2  8.23236e+09        4e+06          1        4e+06
!  03        3  8.41236e+09        4e+06          1        4e+06
!  04        4  8.55236e+09        4e+06          1        4e+06
! 
! Polarization(s): RR
! 
! Read 655 lines of history.
! 
! Reading 16992 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 J1045+1735_X_1996_03_13_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.421026 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.7446 mas, bmaj=1.829 mas, bpa=-1.178 degrees
! Estimated noise=1338.77 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.253599 Jy
! Component: 100  -  total flux cleaned = 0.292819 Jy
! Total flux subtracted in 100 components = 0.292819 Jy
! Clean residual min=-0.020658 max=0.026039 Jy/beam
! Clean residual mean=-0.000010 rms=0.005960 Jy/beam
! Combined flux in latest and established models = 0.292819 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 6 model components to the UV plane model.
! The established model now contains 6 components and 0.292819 Jy
! 
! Correcting IF 1.
!  A total of 139 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 139 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 139 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 139 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.292784Jy  sigma=0.001798
! Fit after  self-cal, rms=0.291824Jy  sigma=0.001793
! Inverting map and beam 
! Estimated beam: bmin=0.7446 mas, bmaj=1.829 mas, bpa=-1.178 degrees
! Estimated noise=1367.98 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=0.9043 mas, bmaj=2.126 mas, bpa=0.1987 degrees
! Estimated noise=801.042 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.0280457 Jy
! Component: 100  -  total flux cleaned = 0.0343887 Jy
! Component: 150  -  total flux cleaned = 0.0357025 Jy
! Component: 200  -  total flux cleaned = 0.0362087 Jy
! Total flux subtracted in 200 components = 0.0362087 Jy
! Clean residual min=-0.011441 max=0.012683 Jy/beam
! Clean residual mean=-0.000008 rms=0.002935 Jy/beam
! Combined flux in latest and established models = 0.329027 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 22 model components to the UV plane model.
! The established model now contains 26 components and 0.329027 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.290859Jy  sigma=0.001780
! Fit after  self-cal, rms=0.290858Jy  sigma=0.001780
! 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.9043 x 2.126 at 0.1987 degrees (North through East)
! Clean map  min=-0.010702  max=0.31087 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: 0.997469
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.94     HN        0.97     KP        1.01     
!   LA        0.99     MK        1.01     NL        0.95     OV        1.16     
!   PT        1.05     SC        0.92     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.996973
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        0.93     HN        0.95     KP        1.00     
!   LA        1.00     MK        1.00     NL        0.92     OV        1.21     
!   PT        1.03     SC        1.00     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.995734
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.92     HN        0.98     KP        0.95     
!   LA        0.94     MK        1.10     NL        0.95     OV        1.14     
!   PT        0.98     SC        1.00     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 0.989599
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.95     HN        0.99     KP        0.92     
!   LA        0.95     MK        1.02     NL        0.98     OV        1.12     
!   PT        1.02     SC        1.14     
! 
! 
! Fit before self-cal, rms=0.290858Jy  sigma=0.001780
! Fit after  self-cal, rms=0.298184Jy  sigma=0.001770
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.298184Jy  sigma=0.001770
! Fit after  self-cal, rms=0.298209Jy  sigma=0.001770
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=0.9203 mas, bmaj=2.138 mas, bpa=-0.3173 degrees
! Estimated noise=788.534 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.00387923 Jy
! Component: 100  -  total flux cleaned = -0.00379672 Jy
! Component: 150  -  total flux cleaned = -0.00372599 Jy
! Component: 200  -  total flux cleaned = -0.0037329 Jy
! Total flux subtracted in 200 components = -0.0037329 Jy
! Clean residual min=-0.010788 max=0.009063 Jy/beam
! Clean residual mean=-0.000024 rms=0.002473 Jy/beam
! Combined flux in latest and established models = 0.325294 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 10 model components to the UV plane model.
! The established model now contains 34 components and 0.325294 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.298086Jy  sigma=0.001770
! Fit after  self-cal, rms=0.298091Jy  sigma=0.001770
! 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.298091Jy  sigma=0.001770
! Fit after  self-cal, rms=0.297913Jy  sigma=0.001765
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.000763937 Jy
! Component: 100  -  total flux cleaned = 0.00091033 Jy
! Component: 150  -  total flux cleaned = 0.000990774 Jy
! Component: 200  -  total flux cleaned = 0.00106353 Jy
! Total flux subtracted in 200 components = 0.00106353 Jy
! Clean residual min=-0.010736 max=0.009335 Jy/beam
! Clean residual mean=-0.000024 rms=0.002458 Jy/beam
! Combined flux in latest and established models = 0.326358 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 40 components and 0.326358 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.297893Jy  sigma=0.001765
! Fit after  self-cal, rms=0.297487Jy  sigma=0.001763
! 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.9203 x 2.138 at -0.3173 degrees (North through East)
! Clean map  min=-0.0099945  max=0.30783 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.297487Jy  sigma=0.001763
! Fit after  self-cal, rms=6.159536Jy  sigma=0.001721
! 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=6.159536Jy  sigma=0.001721
! Fit after  self-cal, rms=6.161597Jy  sigma=0.001720
! Inverting map and beam 
! Estimated beam: bmin=0.9199 mas, bmaj=2.145 mas, bpa=0.1482 degrees
! Estimated noise=776.188 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000690219 Jy
! Component: 100  -  total flux cleaned = 0.000791899 Jy
! Component: 150  -  total flux cleaned = 0.000793689 Jy
! Component: 200  -  total flux cleaned = 0.000791618 Jy
! Total flux subtracted in 200 components = 0.000791618 Jy
! Clean residual min=-0.006266 max=0.005314 Jy/beam
! Clean residual mean=-0.000024 rms=0.001269 Jy/beam
! Combined flux in latest and established models = 0.32715 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 47 components and 0.32715 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=6.161593Jy  sigma=0.001720
! Fit after  self-cal, rms=6.162219Jy  sigma=0.001720
! 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=6.162219Jy  sigma=0.001720
! Fit after  self-cal, rms=8.310781Jy  sigma=0.001718
! 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=8.310781Jy  sigma=0.001718
! Fit after  self-cal, rms=8.311194Jy  sigma=0.001718
! Inverting map and beam 
! Estimated beam: bmin=0.9182 mas, bmaj=2.144 mas, bpa=0.1621 degrees
! Estimated noise=777.682 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.00101987 Jy
! Component: 100  -  total flux cleaned = 0.00113905 Jy
! Component: 150  -  total flux cleaned = 0.00117436 Jy
! Component: 200  -  total flux cleaned = 0.00117341 Jy
! Total flux subtracted in 200 components = 0.00117341 Jy
! Clean residual min=-0.006285 max=0.005411 Jy/beam
! Clean residual mean=-0.000025 rms=0.001265 Jy/beam
! Combined flux in latest and established models = 0.328323 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 51 components and 0.328323 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=8.311193Jy  sigma=0.001718
! Fit after  self-cal, rms=8.311351Jy  sigma=0.001717
! 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.079 mas, bmaj=3.015 mas, bpa=-5.965 degrees
! Estimated noise=995.381 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.000295286 Jy
! Component: 100  -  total flux cleaned = -0.000285503 Jy
! Component: 150  -  total flux cleaned = -0.000395143 Jy
! Component: 200  -  total flux cleaned = -0.000443512 Jy
! Total flux subtracted in 200 components = -0.000443512 Jy
! Clean residual min=-0.006718 max=0.006651 Jy/beam
! Clean residual mean=-0.000051 rms=0.001601 Jy/beam
! Combined flux in latest and established models = 0.327879 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 54 components and 0.327879 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=8.311333Jy  sigma=0.001717
! Fit after  self-cal, rms=8.311455Jy  sigma=0.001717
! 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.7502 mas, bmaj=1.825 mas, bpa=-0.4862 degrees
! Estimated noise=1431.33 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.262565 Jy
! Component: 100  -  total flux cleaned = 0.304588 Jy
! Component: 150  -  total flux cleaned = 0.31989 Jy
! Component: 200  -  total flux cleaned = 0.322968 Jy
! Total flux subtracted in 200 components = 0.322968 Jy
! Clean residual min=-0.013138 max=0.012713 Jy/beam
! Clean residual mean=-0.000018 rms=0.004393 Jy/beam
! Combined flux in latest and established models = 0.322967 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 12 model components to the UV plane model.
! The established model now contains 12 components and 0.322967 Jy
! Inverting map and beam 
! Estimated beam: bmin=0.9182 mas, bmaj=2.144 mas, bpa=0.1621 degrees
! Estimated noise=777.682 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.0047529 Jy
! Component: 100  -  total flux cleaned = 0.00527438 Jy
! Component: 150  -  total flux cleaned = 0.00538005 Jy
! Component: 200  -  total flux cleaned = 0.0055156 Jy
! Total flux subtracted in 200 components = 0.0055156 Jy
! Clean residual min=-0.006242 max=0.005905 Jy/beam
! Clean residual mean=-0.000024 rms=0.001270 Jy/beam
! Combined flux in latest and established models = 0.328483 Jy
! Adding 21 model components to the UV plane model.
! The established model now contains 33 components and 0.328483 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.079 mas, bmaj=3.015 mas, bpa=-5.965 degrees
! Estimated noise=995.381 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.000131295 Jy
! Component: 100  -  total flux cleaned = -0.000309734 Jy
! Component: 150  -  total flux cleaned = -0.00033527 Jy
! Component: 200  -  total flux cleaned = -0.00035617 Jy
! Total flux subtracted in 200 components = -0.00035617 Jy
! Clean residual min=-0.006685 max=0.006628 Jy/beam
! Clean residual mean=-0.000051 rms=0.001595 Jy/beam
! Combined flux in latest and established models = 0.328127 Jy
! Adding 8 model components to the UV plane model.
! The established model now contains 39 components and 0.328127 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=0.9182 mas, bmaj=2.144 mas, bpa=0.1621 degrees
! Estimated noise=777.682 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000350199 Jy
! Component: 100  -  total flux cleaned = 0.000454424 Jy
! Component: 150  -  total flux cleaned = 0.00054464 Jy
! Component: 200  -  total flux cleaned = 0.000581974 Jy
! Total flux subtracted in 200 components = 0.000581974 Jy
! Clean residual min=-0.006190 max=0.005648 Jy/beam
! Clean residual mean=-0.000025 rms=0.001263 Jy/beam
! Combined flux in latest and established models = 0.328709 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 45 components and 0.328709 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=8.311446Jy  sigma=0.001717
! Fit after  self-cal, rms=8.311518Jy  sigma=0.001717
wmodel J1045+1735_X_1996_03_13_yyk\_map.mod
! Writing 45 model components to file: J1045+1735_X_1996_03_13_yyk_map.mod
wobs J1045+1735_X_1996_03_13_yyk\_uvs.fits
! Writing UV FITS file: J1045+1735_X_1996_03_13_yyk_uvs.fits
wwins J1045+1735_X_1996_03_13_yyk\_map.win
! wwins: Wrote 1 windows to J1045+1735_X_1996_03_13_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.000679691 Jy
! Component: 100  -  total flux cleaned = -0.000173832 Jy
! Component: 150  -  total flux cleaned = 0.000782323 Jy
! Component: 200  -  total flux cleaned = 0.00137918 Jy
! Component: 250  -  total flux cleaned = 0.00173674 Jy
! Component: 300  -  total flux cleaned = 0.0020788 Jy
! Component: 350  -  total flux cleaned = 0.00247585 Jy
! Component: 400  -  total flux cleaned = 0.00254008 Jy
! Component: 450  -  total flux cleaned = 0.00266618 Jy
! Component: 500  -  total flux cleaned = 0.00260353 Jy
! Component: 550  -  total flux cleaned = 0.00278279 Jy
! Component: 600  -  total flux cleaned = 0.00272119 Jy
! Component: 650  -  total flux cleaned = 0.00272039 Jy
! Component: 700  -  total flux cleaned = 0.00272039 Jy
! Component: 750  -  total flux cleaned = 0.00272098 Jy
! Component: 800  -  total flux cleaned = 0.00271969 Jy
! Component: 850  -  total flux cleaned = 0.00266434 Jy
! Component: 900  -  total flux cleaned = 0.00250302 Jy
! Component: 950  -  total flux cleaned = 0.00250429 Jy
! Component: 1000  -  total flux cleaned = 0.00260954 Jy
! Component: 1050  -  total flux cleaned = 0.00266044 Jy
! Component: 1100  -  total flux cleaned = 0.00266051 Jy
! Component: 1150  -  total flux cleaned = 0.00260955 Jy
! Component: 1200  -  total flux cleaned = 0.00260917 Jy
! Component: 1250  -  total flux cleaned = 0.00270723 Jy
! Component: 1300  -  total flux cleaned = 0.00261058 Jy
! Component: 1350  -  total flux cleaned = 0.0026113 Jy
! Component: 1400  -  total flux cleaned = 0.0027541 Jy
! Component: 1450  -  total flux cleaned = 0.00284872 Jy
! Component: 1500  -  total flux cleaned = 0.00308062 Jy
! Component: 1550  -  total flux cleaned = 0.00312623 Jy
! Component: 1600  -  total flux cleaned = 0.00317163 Jy
! Component: 1650  -  total flux cleaned = 0.00312667 Jy
! Component: 1700  -  total flux cleaned = 0.00317097 Jy
! Component: 1750  -  total flux cleaned = 0.00317174 Jy
! Component: 1800  -  total flux cleaned = 0.00325927 Jy
! Component: 1850  -  total flux cleaned = 0.00325964 Jy
! Component: 1900  -  total flux cleaned = 0.00325962 Jy
! Component: 1950  -  total flux cleaned = 0.00347143 Jy
! Component: 2000  -  total flux cleaned = 0.00338667 Jy
! Total flux subtracted in 2048 components = 0.00322 Jy
! Clean residual min=-0.002072 max=0.002571 Jy/beam
! Clean residual mean=-0.000013 rms=0.000798 Jy/beam
! Combined flux in latest and established models = 0.331929 Jy
keep
! Adding 158 model components to the UV plane model.
! The established model now contains 203 components and 0.331929 Jy
![Exited script file: muppet]
wmap "J1045+1735_X_1996_03_13_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.9182 x 2.144 at 0.1621 degrees (North through East)
! Clean map  min=-0.0045517  max=0.30918 Jy/beam
! Writing clean map to FITS file: J1045+1735_X_1996_03_13_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.309184 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000794497 
device "J1045+1735_X_1996_03_13_yyk\_map.eps/VPS"
! Attempting to open device: 'J1045+1735_X_1996_03_13_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.770896 0.770896 1.54179 3.08358 6.16717 12.3343 24.6687 49.3373 98.6747
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0023 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.309 
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.9182 x 2.144 at 0.1621 degrees (North through East)
! Clean map  min=-0.0045517  max=0.30918 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1045+1735_X_1996_03_13_yyk\_map.gif/gif"
! Attempting to open device: 'J1045+1735_X_1996_03_13_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J1045+1735_X_1996_03_13_yyk_uvs.log closed on Mon Jan  8 04:58:45 2007