! Started logfile: J0409-1948_S_2007_01_11_yyk_uvs.log on Wed Apr  9 20:15:37 2008
obs J0409-1948_S_2007_01_11_yyk_uve.fits
! Reading UV FITS file: J0409-1948_S_2007_01_11_yyk_uve.fits
! AN table 1: 15 integrations on 36 of 36 possible baselines.
! Apparent sampling: 0.714815 visibilities/baseline/integration-bin.
! Found source: J0409-1948
! 
! There are 4 IFs, and a total of 4 channels:
! 
!  IF  Channel    Frequency  Freq offset  Number of   Overall IF
!       origin    at origin  per channel   channels    bandwidth
!  ------------------------------------------------------------- (Hz)
!  01        1  2.23697e+09        8e+06          1        8e+06
!  02        2  2.26697e+09        8e+06          1        8e+06
!  03        3  2.35697e+09        8e+06          1        8e+06
!  04        4  2.37697e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2249 lines of history.
! 
! Reading 1544 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 J0409-1948_S_2007_01_11_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.150249 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.273 mas, bmaj=6.255 mas, bpa=0.4264 degrees
! Estimated noise=1.8406 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.105465 Jy
! Component: 100  -  total flux cleaned = 0.123445 Jy
! Total flux subtracted in 100 components = 0.123445 Jy
! Clean residual min=-0.008381 max=0.011318 Jy/beam
! Clean residual mean=0.000099 rms=0.002606 Jy/beam
! Combined flux in latest and established models = 0.123445 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.123445 Jy
! 
! Correcting IF 1.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 2.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 3.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Correcting IF 4.
!  A total of 20 telescope corrections were flagged in sub-array 1.
! 
! Fit before self-cal, rms=0.082001Jy  sigma=1.077182
! Fit after  self-cal, rms=0.074296Jy  sigma=1.030394
! Inverting map and beam 
! Estimated beam: bmin=2.273 mas, bmaj=6.255 mas, bpa=0.4264 degrees
! Estimated noise=1.8406 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=2.937 mas, bmaj=7.327 mas, bpa=-0.9623 degrees
! Estimated noise=1.17356 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.0155416 Jy
! Component: 100  -  total flux cleaned = 0.020914 Jy
! Component: 150  -  total flux cleaned = 0.0229194 Jy
! Component: 200  -  total flux cleaned = 0.0231685 Jy
! Total flux subtracted in 200 components = 0.0231685 Jy
! Clean residual min=-0.004390 max=0.004337 Jy/beam
! Clean residual mean=-0.000031 rms=0.001253 Jy/beam
! Combined flux in latest and established models = 0.146613 Jy
! Performing phase self-cal over 10 minute time intervals
! Adding 31 model components to the UV plane model.
! The established model now contains 37 components and 0.146613 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072566Jy  sigma=0.993987
! Fit after  self-cal, rms=0.072568Jy  sigma=0.993872
! Inverting map 
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
restore
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.937 x 7.327 at -0.9623 degrees (North through East)
! Clean map  min=-0.0042426  max=0.1302 Jy/beam
if(peak(flux) < thresh*2)
  selflims ampcor_selflim
  end if
! Selfcal amplitude corrections will be limited to 0.833333 -> 1.2.
! Selfcal phase corrections will not be limited.
gscale
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  Amplitude normalization factor in sub-array 1: 1.02551
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.99     FD        0.91     HN        0.96     KP        0.96     
!   LA        1.07     MK        0.99     OV        0.94     PT        0.99     
!   SC        0.95     
! 
! 
! Correcting IF 2.
!  Amplitude normalization factor in sub-array 1: 0.98956
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.93     HN        1.09     KP        1.01     
!   LA        1.06     MK        1.04     OV        0.99     PT        0.99     
!   SC        0.93     
! 
! 
! Correcting IF 3.
!  Amplitude normalization factor in sub-array 1: 0.973702
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        0.95     HN        1.06     KP        0.97     
!   LA        1.02     MK        1.08     OV        1.05     PT        1.07     
!   SC        0.94     
! 
! 
! Correcting IF 4.
!  Amplitude normalization factor in sub-array 1: 1
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.00*    FD        1.00*    HN        1.00*    KP        1.00*    
!   LA        1.00*    MK        1.00*    OV        1.00*    PT        1.00*    
!   SC        1.00*    
! 
! 
! Fit before self-cal, rms=0.072568Jy  sigma=0.993872
! Fit after  self-cal, rms=0.072180Jy  sigma=0.986299
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.072180Jy  sigma=0.986299
! Fit after  self-cal, rms=0.072180Jy  sigma=0.986286
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Estimated beam: bmin=2.924 mas, bmaj=7.307 mas, bpa=0.5792 degrees
! Estimated noise=1.16952 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.000988229 Jy
! Component: 100  -  total flux cleaned = 0.00104821 Jy
! Component: 150  -  total flux cleaned = 0.00113361 Jy
! Component: 200  -  total flux cleaned = 0.00113343 Jy
! Total flux subtracted in 200 components = 0.00113343 Jy
! Clean residual min=-0.003528 max=0.004194 Jy/beam
! Clean residual mean=0.000075 rms=0.001067 Jy/beam
! Combined flux in latest and established models = 0.147747 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.147747 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.072095Jy  sigma=0.985063
! Fit after  self-cal, rms=0.072090Jy  sigma=0.985045
! 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.072090Jy  sigma=0.985045
! Fit after  self-cal, rms=0.067388Jy  sigma=0.923194
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.00157277 Jy
! Component: 100  -  total flux cleaned = 0.0016657 Jy
! Component: 150  -  total flux cleaned = 0.00166591 Jy
! Component: 200  -  total flux cleaned = 0.00164261 Jy
! Total flux subtracted in 200 components = 0.00164261 Jy
! Clean residual min=-0.003571 max=0.004277 Jy/beam
! Clean residual mean=0.000068 rms=0.001060 Jy/beam
! Combined flux in latest and established models = 0.149389 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 19 model components to the UV plane model.
! The established model now contains 53 components and 0.149389 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.067362Jy  sigma=0.922680
! Fit after  self-cal, rms=0.067066Jy  sigma=0.919260
! 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: 2.924 x 7.307 at 0.5792 degrees (North through East)
! Clean map  min=-0.0032577  max=0.13194 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.067066Jy  sigma=0.919260
! Fit after  self-cal, rms=0.066506Jy  sigma=0.915519
! 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.066506Jy  sigma=0.915519
! Fit after  self-cal, rms=0.066473Jy  sigma=0.915152
! Inverting map and beam 
! Estimated beam: bmin=2.902 mas, bmaj=7.243 mas, bpa=0.5686 degrees
! Estimated noise=1.16421 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.000410456 Jy
! Component: 100  -  total flux cleaned = 0.000443607 Jy
! Component: 150  -  total flux cleaned = 0.000473084 Jy
! Component: 200  -  total flux cleaned = 0.000499726 Jy
! Total flux subtracted in 200 components = 0.000499726 Jy
! Clean residual min=-0.003482 max=0.004034 Jy/beam
! Clean residual mean=0.000075 rms=0.001037 Jy/beam
! Combined flux in latest and established models = 0.149889 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 59 components and 0.149889 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066447Jy  sigma=0.914731
! Fit after  self-cal, rms=0.066443Jy  sigma=0.914669
! 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.066443Jy  sigma=0.914669
! Fit after  self-cal, rms=0.066262Jy  sigma=0.915872
! 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.066262Jy  sigma=0.915872
! Fit after  self-cal, rms=0.066284Jy  sigma=0.915598
! Inverting map and beam 
! Estimated beam: bmin=2.899 mas, bmaj=7.214 mas, bpa=1.34 degrees
! Estimated noise=1.14308 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = -0.0022919 Jy
! Component: 100  -  total flux cleaned = -0.0024571 Jy
! Component: 150  -  total flux cleaned = -0.00256668 Jy
! Component: 200  -  total flux cleaned = -0.00272882 Jy
! Total flux subtracted in 200 components = -0.00272882 Jy
! Clean residual min=-0.003708 max=0.004233 Jy/beam
! Clean residual mean=0.000006 rms=0.001033 Jy/beam
! Combined flux in latest and established models = 0.14716 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 64 components and 0.14716 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066246Jy  sigma=0.914171
! Fit after  self-cal, rms=0.066251Jy  sigma=0.914157
! 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.142 mas, bmaj=16.76 mas, bpa=14.97 degrees
! Estimated noise=1.56771 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.000925972 Jy
! Component: 100  -  total flux cleaned = -0.00105284 Jy
! Component: 150  -  total flux cleaned = -0.00119471 Jy
! Component: 200  -  total flux cleaned = -0.00128274 Jy
! Total flux subtracted in 200 components = -0.00128274 Jy
! Clean residual min=-0.003434 max=0.003578 Jy/beam
! Clean residual mean=0.000038 rms=0.001223 Jy/beam
! Combined flux in latest and established models = 0.145877 Jy
! Performing phase self-cal over 0.5 minute time intervals
! Adding 7 model components to the UV plane model.
! The established model now contains 68 components and 0.145877 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066320Jy  sigma=0.914564
! Fit after  self-cal, rms=0.066311Jy  sigma=0.914484
! 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.264 mas, bmaj=6.206 mas, bpa=1.235 degrees
! Estimated noise=1.79185 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 0.108318 Jy
! Component: 100  -  total flux cleaned = 0.128048 Jy
! Component: 150  -  total flux cleaned = 0.137397 Jy
! Component: 200  -  total flux cleaned = 0.142505 Jy
! Total flux subtracted in 200 components = 0.142505 Jy
! Clean residual min=-0.006177 max=0.006936 Jy/beam
! Clean residual mean=0.000044 rms=0.001738 Jy/beam
! Combined flux in latest and established models = 0.142505 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 24 model components to the UV plane model.
! The established model now contains 24 components and 0.142505 Jy
! Inverting map and beam 
! Estimated beam: bmin=2.899 mas, bmaj=7.214 mas, bpa=1.34 degrees
! Estimated noise=1.14308 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.00382744 Jy
! Component: 100  -  total flux cleaned = 0.0040247 Jy
! Component: 150  -  total flux cleaned = 0.00410753 Jy
! Component: 200  -  total flux cleaned = 0.00416775 Jy
! Total flux subtracted in 200 components = 0.00416775 Jy
! Clean residual min=-0.003855 max=0.004154 Jy/beam
! Clean residual mean=0.000009 rms=0.001046 Jy/beam
! Combined flux in latest and established models = 0.146672 Jy
! Adding 14 model components to the UV plane model.
! The established model now contains 35 components and 0.146673 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.142 mas, bmaj=16.76 mas, bpa=14.97 degrees
! Estimated noise=1.56771 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.000106881 Jy
! Component: 100  -  total flux cleaned = -0.000265303 Jy
! Component: 150  -  total flux cleaned = -0.000440579 Jy
! Component: 200  -  total flux cleaned = -0.000583787 Jy
! Total flux subtracted in 200 components = -0.000583787 Jy
! Clean residual min=-0.003522 max=0.003551 Jy/beam
! Clean residual mean=0.000034 rms=0.001228 Jy/beam
! Combined flux in latest and established models = 0.146089 Jy
! Adding 6 model components to the UV plane model.
! The established model now contains 41 components and 0.146089 Jy
! Inverting map 
uvtaper 0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Estimated beam: bmin=2.899 mas, bmaj=7.214 mas, bpa=1.34 degrees
! Estimated noise=1.14308 mJy/beam.
! clean: niter=200  gain=0.04  cutoff=0
! Component: 050  -  total flux cleaned = 3.22367e-05 Jy
! Component: 100  -  total flux cleaned = 8.69179e-05 Jy
! Component: 150  -  total flux cleaned = 0.000165165 Jy
! Component: 200  -  total flux cleaned = 0.000197757 Jy
! Total flux subtracted in 200 components = 0.000197757 Jy
! Clean residual min=-0.003662 max=0.004064 Jy/beam
! Clean residual mean=0.000013 rms=0.001019 Jy/beam
! Combined flux in latest and established models = 0.146286 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 59 components and 0.146286 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.066271Jy  sigma=0.914020
! Fit after  self-cal, rms=0.066269Jy  sigma=0.913993
wmodel J0409-1948_S_2007_01_11_yyk\_map.mod
! Writing 59 model components to file: J0409-1948_S_2007_01_11_yyk_map.mod
wobs J0409-1948_S_2007_01_11_yyk\_uvs.fits
! Writing UV FITS file: J0409-1948_S_2007_01_11_yyk_uvs.fits
wwins J0409-1948_S_2007_01_11_yyk\_map.win
! wwins: Wrote 1 windows to J0409-1948_S_2007_01_11_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.00131955 Jy
! Component: 100  -  total flux cleaned = 0.00184054 Jy
! Component: 150  -  total flux cleaned = 0.00238872 Jy
! Component: 200  -  total flux cleaned = 0.00318048 Jy
! Component: 250  -  total flux cleaned = 0.00360676 Jy
! Component: 300  -  total flux cleaned = 0.00396085 Jy
! Component: 350  -  total flux cleaned = 0.00420522 Jy
! Component: 400  -  total flux cleaned = 0.00462934 Jy
! Component: 450  -  total flux cleaned = 0.00490062 Jy
! Component: 500  -  total flux cleaned = 0.00489971 Jy
! Component: 550  -  total flux cleaned = 0.00502884 Jy
! Component: 600  -  total flux cleaned = 0.00519433 Jy
! Component: 650  -  total flux cleaned = 0.00527526 Jy
! Component: 700  -  total flux cleaned = 0.00535477 Jy
! Component: 750  -  total flux cleaned = 0.00562549 Jy
! Component: 800  -  total flux cleaned = 0.00577658 Jy
! Component: 850  -  total flux cleaned = 0.00599813 Jy
! Component: 900  -  total flux cleaned = 0.00606942 Jy
! Component: 950  -  total flux cleaned = 0.00624707 Jy
! Component: 1000  -  total flux cleaned = 0.00635195 Jy
! Component: 1050  -  total flux cleaned = 0.00652402 Jy
! Component: 1100  -  total flux cleaned = 0.00672583 Jy
! Component: 1150  -  total flux cleaned = 0.00682511 Jy
! Component: 1200  -  total flux cleaned = 0.00692313 Jy
! Component: 1250  -  total flux cleaned = 0.0070829 Jy
! Component: 1300  -  total flux cleaned = 0.00717647 Jy
! Component: 1350  -  total flux cleaned = 0.00723822 Jy
! Component: 1400  -  total flux cleaned = 0.00735915 Jy
! Component: 1450  -  total flux cleaned = 0.00741841 Jy
! Component: 1500  -  total flux cleaned = 0.00753527 Jy
! Component: 1550  -  total flux cleaned = 0.00750653 Jy
! Component: 1600  -  total flux cleaned = 0.00761978 Jy
! Component: 1650  -  total flux cleaned = 0.00764752 Jy
! Component: 1700  -  total flux cleaned = 0.00781248 Jy
! Component: 1750  -  total flux cleaned = 0.00775797 Jy
! Component: 1800  -  total flux cleaned = 0.00778438 Jy
! Component: 1850  -  total flux cleaned = 0.00770529 Jy
! Component: 1900  -  total flux cleaned = 0.00773162 Jy
! Component: 1950  -  total flux cleaned = 0.00770563 Jy
! Component: 2000  -  total flux cleaned = 0.00770562 Jy
! Total flux subtracted in 2048 components = 0.00760524 Jy
! Clean residual min=-0.001746 max=0.001737 Jy/beam
! Clean residual mean=-0.000022 rms=0.000483 Jy/beam
! Combined flux in latest and established models = 0.153892 Jy
keep
! Adding 117 model components to the UV plane model.
! The established model now contains 176 components and 0.153892 Jy
![Exited script file: muppet]
wmap "J0409-1948_S_2007_01_11_yyk\_map.fits"
! Inverting map 
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.899 x 7.214 at 1.34 degrees (North through East)
! Clean map  min=-0.0026347  max=0.1298 Jy/beam
! Writing clean map to FITS file: J0409-1948_S_2007_01_11_yyk_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.129795 
invert
! Inverting map 
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000476491 
device "J0409-1948_S_2007_01_11_yyk\_map.eps/VPS"
! Attempting to open device: 'J0409-1948_S_2007_01_11_yyk_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -1.10133 1.10133 2.20266 4.40532 8.81063 17.6213 35.2425 70.4851
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0014 
print "peak=",int(peak_flux*1000)/1000
! peak= 0.129 
mapcolor none
! Mapplot colormap: none, contrast: 1 brightness: 0.5.
mapplot cln
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 2.899 x 7.214 at 1.34 degrees (North through East)
! Clean map  min=-0.0026347  max=0.1298 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0409-1948_S_2007_01_11_yyk\_map.gif/gif"
! Attempting to open device: 'J0409-1948_S_2007_01_11_yyk_map.gif/gif'
mapplot cln
quit
! Quitting program
! Log file J0409-1948_S_2007_01_11_yyk_uvs.log closed on Wed Apr  9 20:15:40 2008