! Started logfile: J0121+1149_X_2000_12_04_pus_uvs.log on Fri Oct 12 15:11:24 2007
obs J0121+1149_X_2000_12_04_pus_uva.fits
! Reading UV FITS file: J0121+1149_X_2000_12_04_pus_uva.fits
! AN table 1: 225 integrations on 190 of 190 possible baselines.
! AN table 2: 140 integrations on 190 of 190 possible baselines.
! AN table 3: 49 integrations on 190 of 190 possible baselines.
! AN table 4: 13 integrations on 190 of 190 possible baselines.
! AN table 5: 32 integrations on 190 of 190 possible baselines.
! AN table 6: 34 integrations on 190 of 190 possible baselines.
! Apparent sampling: 0.106085 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J0121+1149
! 
! 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.40997e+09        8e+06          1        8e+06
!  02        2  8.47997e+09        8e+06          1        8e+06
!  03        3  8.79497e+09        8e+06          1        8e+06
!  04        4  8.89997e+09        8e+06          1        8e+06
! 
! Polarization(s): RR
! 
! Read 2126 lines of history.
! 
! Reading 39748 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
print "field_size =",field_size
! field_size = 256 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J0121+1149_X_2000_12_04_pus]
integer clean_niter
clean_niter = 100
float clean_gain
clean_gain = 0.03
float dynam
dynam = 6.0
float soltime1
soltime1 = 120
float soltime2
soltime2 = 20
float thresh
thresh = 0.5
float win_mult
win_mult = 1.8
float time_av
time_av = 16
float old_peak
float new_peak
float flux_cutoff
mapsize field_size, field_cell
! Map grid = 256x256 pixels with 0.200x0.200 milli-arcsec cellsize.
startmod
! Applying default point source starting model.
! Performing phase self-cal
! Adding 1 model components to the UV plane model.
! The established model now contains 1 components and 1 Jy
! 
! Correcting IF 1.
!  A total of 3375 telescope corrections were flagged in sub-array 1.
!  A total of 2032 telescope corrections were flagged in sub-array 2.
!  A total of 607 telescope corrections were flagged in sub-array 3.
!  A total of 179 telescope corrections were flagged in sub-array 4.
!  A total of 562 telescope corrections were flagged in sub-array 5.
!  A total of 653 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 2.
!  A total of 3375 telescope corrections were flagged in sub-array 1.
!  A total of 2032 telescope corrections were flagged in sub-array 2.
!  A total of 607 telescope corrections were flagged in sub-array 3.
!  A total of 179 telescope corrections were flagged in sub-array 4.
!  A total of 562 telescope corrections were flagged in sub-array 5.
!  A total of 653 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 3.
!  A total of 3375 telescope corrections were flagged in sub-array 1.
!  A total of 2031 telescope corrections were flagged in sub-array 2.
!  A total of 607 telescope corrections were flagged in sub-array 3.
!  A total of 179 telescope corrections were flagged in sub-array 4.
!  A total of 562 telescope corrections were flagged in sub-array 5.
!  A total of 653 telescope corrections were flagged in sub-array 6.
! 
! Correcting IF 4.
!  A total of 3375 telescope corrections were flagged in sub-array 1.
!  A total of 2032 telescope corrections were flagged in sub-array 2.
!  A total of 607 telescope corrections were flagged in sub-array 3.
!  A total of 179 telescope corrections were flagged in sub-array 4.
!  A total of 562 telescope corrections were flagged in sub-array 5.
!  A total of 653 telescope corrections were flagged in sub-array 6.
! 
! Fit before self-cal, rms=0.819080Jy  sigma=0.007665
! Fit after  self-cal, rms=0.297670Jy  sigma=0.002603
! clrmod: Cleared the established, tentative and continuum models.
! Redundant starting model cleared.
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 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.5885 mas, bmaj=1.272 mas, bpa=-0.3533 degrees
! Estimated noise=801.755 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! Added new window around map position (0, 0).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.727502 Jy
! Component: 100  -  total flux cleaned = 0.940843 Jy
! Total flux subtracted in 100 components = 0.940843 Jy
! Clean residual min=-0.025505 max=0.091185 Jy/beam
! Clean residual mean=0.000345 rms=0.009009 Jy/beam
! Combined flux in latest and established models = 0.940843 Jy
! Performing phase self-cal
! Adding 8 model components to the UV plane model.
! The established model now contains 8 components and 0.940843 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.271478Jy  sigma=0.002627
! Fit after  self-cal, rms=0.271279Jy  sigma=0.002626
! Inverting map 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.102049 Jy
! Component: 100  -  total flux cleaned = 0.164185 Jy
! Total flux subtracted in 100 components = 0.164185 Jy
! Clean residual min=-0.022859 max=0.039127 Jy/beam
! Clean residual mean=0.000280 rms=0.005990 Jy/beam
! Combined flux in latest and established models = 1.10503 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 19 components and 1.10503 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.219465Jy  sigma=0.001869
! Fit after  self-cal, rms=0.219116Jy  sigma=0.001867
! Inverting map 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Added new window around map position (0.4, 1.4).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0465026 Jy
! Component: 100  -  total flux cleaned = 0.0792942 Jy
! Total flux subtracted in 100 components = 0.0792942 Jy
! Clean residual min=-0.020693 max=0.022217 Jy/beam
! Clean residual mean=0.000242 rms=0.005009 Jy/beam
! Combined flux in latest and established models = 1.18432 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 24 components and 1.18432 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207959Jy  sigma=0.001679
! Fit after  self-cal, rms=0.207501Jy  sigma=0.001675
! Inverting map 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
print "************** FINISHED UNIFORM WEIGHTING CLEAN **************"
! ************** FINISHED UNIFORM WEIGHTING CLEAN ************** 
! 
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! 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 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8097 mas, bmaj=1.679 mas, bpa=1.536 degrees
! Estimated noise=365.298 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0273731 Jy
! Component: 100  -  total flux cleaned = 0.0423685 Jy
! Component: 150  -  total flux cleaned = 0.0486366 Jy
! Component: 200  -  total flux cleaned = 0.0513624 Jy
! Total flux subtracted in 200 components = 0.0513624 Jy
! Clean residual min=-0.018329 max=0.015215 Jy/beam
! Clean residual mean=0.000694 rms=0.003975 Jy/beam
! Combined flux in latest and established models = 1.23568 Jy
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 36 components and 1.23568 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.204116Jy  sigma=0.001621
! Fit after  self-cal, rms=0.203912Jy  sigma=0.001619
! Inverting map 
! Your choice of large map pixels excluded 1.01% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.18     KP        1.00     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        1.03     
!   NL        1.00     NY        1.00*    OV        0.98     PT        1.01     
!   SC        1.02     TS        1.00*    WF        1.01     WZ        1.00*    
! 
!  A total of 117 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.97     GC        1.09     GG        1.00*    
!   HH        1.00*    HN        0.90     KK        0.99     KP        0.91     
!   LA        0.96     MA        1.00*    MC        1.00*    MK        0.99     
!   NL        0.94     NY        1.24     OV        0.94     PT        0.97     
!   SC        1.09     TS        1.07     WF        1.01     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.98     FD        1.03     GC        1.05     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.95     KP        0.99     
!   LA        1.03     MA        1.00*    MC        1.00*    MK        0.96     
!   NL        1.10     NY        1.00*    OV        0.98     PT        1.02     
!   SC        1.00*    TS        0.92     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.08     FD        1.07     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.97     KK        1.00*    KP        1.16     
!   LA        1.04     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.11     PT        1.04     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.14     MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.06     OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        0.85     WF        1.00*    WZ        1.14     
! 
!  A total of 27 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 2.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.01     FD        0.99     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.18     KP        1.00     
!   LA        0.99     MA        1.00*    MC        1.00*    MK        1.03     
!   NL        0.95     NY        1.00*    OV        0.97     PT        1.01     
!   SC        1.02     TS        1.00*    WF        1.00     WZ        1.00*    
! 
!  A total of 117 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.98     FD        0.96     GC        1.06     GG        1.00*    
!   HH        1.00*    HN        0.90     KK        0.98     KP        0.92     
!   LA        0.96     MA        1.00*    MC        1.00*    MK        0.98     
!   NL        0.90     NY        1.28     OV        0.94     PT        0.97     
!   SC        1.12     TS        1.08     WF        1.02     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.99     FD        1.02     GC        1.07     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.01     KP        1.00     
!   LA        1.02     MA        1.00*    MC        1.00*    MK        0.97     
!   NL        1.05     NY        1.00*    OV        0.98     PT        1.01     
!   SC        1.00*    TS        0.91     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.09     FD        1.09     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.00*    KP        1.14     
!   LA        1.04     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.10     PT        1.03     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.11     MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.15     OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        0.85     WF        1.00*    WZ        1.11     
! 
!  A total of 27 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 3.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        0.98     FD        1.04     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.12     KP        1.01     
!   LA        1.00     MA        1.00*    MC        1.00*    MK        1.05     
!   NL        0.95     NY        1.00*    OV        0.95     PT        0.98     
!   SC        1.03     TS        1.00*    WF        1.01     WZ        1.00*    
! 
!  A total of 114 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        0.96     FD        1.02     GC        1.07     GG        1.00*    
!   HH        1.00*    HN        0.92     KK        0.96     KP        0.92     
!   LA        0.96     MA        1.00*    MC        1.00*    MK        1.02     
!   NL        0.90     NY        1.27     OV        0.91     PT        0.94     
!   SC        1.11     TS        1.12     WF        1.02     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        0.97     FD        1.07     GC        1.07     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.91     KP        1.00     
!   LA        1.05     MA        1.00*    MC        1.00*    MK        0.98     
!   NL        1.04     NY        1.00*    OV        0.96     PT        0.99     
!   SC        1.00*    TS        0.96     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.09     FD        1.14     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.99     KK        1.00*    KP        1.16     
!   LA        1.07     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.07     PT        1.01     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.20     MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.14     OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        0.86     WF        1.00*    WZ        1.16     
! 
!  A total of 27 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Correcting IF 4.
!  A total of 27 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.04     FD        1.03     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.14     KP        1.01     
!   LA        0.99     MA        1.00*    MC        1.00*    MK        1.02     
!   NL        0.97     NY        1.00*    OV        0.98     PT        0.97     
!   SC        1.02     TS        1.00*    WF        1.05     WZ        1.00*    
! 
!  A total of 117 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00     FD        1.02     GC        1.09     GG        1.00*    
!   HH        1.00*    HN        0.89     KK        0.98     KP        0.92     
!   LA        0.96     MA        1.00*    MC        1.00*    MK        0.99     
!   NL        0.92     NY        1.25     OV        0.94     PT        0.93     
!   SC        1.10     TS        1.12     WF        1.01     WZ        1.00*    
! 
!  A total of 24 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.00     FD        1.05     GC        1.10     GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        0.96     KP        1.01     
!   LA        1.04     MA        1.00*    MC        1.00*    MK        0.96     
!   NL        1.06     NY        1.00*    OV        0.98     PT        0.97     
!   SC        1.00*    TS        0.99     WF        1.00*    WZ        1.00*    
! 
!  A total of 3 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.10     FD        1.14     GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        0.93     KK        1.00*    KP        1.16     
!   LA        1.07     MA        1.00*    MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.00*    OV        1.12     PT        1.00     
!   SC        1.00*    TS        1.00*    WF        1.00*    WZ        1.00*    
! 
!  A total of 42 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00*    FD        1.00*    GC        1.00*    GG        1.00*    
!   HH        1.00*    HN        1.00*    KK        1.00*    KP        1.00*    
!   LA        1.00*    MA        1.19     MC        1.00*    MK        1.00*    
!   NL        1.00*    NY        1.13     OV        1.00*    PT        1.00*    
!   SC        1.00*    TS        0.88     WF        1.00*    WZ        1.09     
! 
!  A total of 27 telescope corrections were flagged in sub-array 6.
!  Telescope amplitude corrections in sub-array 6:
!   BR        0.00*    FD        0.00*    GC        0.00*    GG        0.00*    
!   HH        0.00*    HN        0.00*    KK        0.00*    KP        0.00*    
!   LA        0.00*    MA        0.00*    MC        0.00*    MK        0.00*    
!   NL        0.00*    NY        0.00*    OV        0.00*    PT        0.00*    
!   SC        0.00*    TS        0.00*    WF        0.00*    WZ        0.00*    
! 
! 
! Fit before self-cal, rms=0.203912Jy  sigma=0.001619
! Fit after  self-cal, rms=0.191356Jy  sigma=0.001417
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8186 mas, bmaj=1.741 mas, bpa=1.156 degrees
! Estimated noise=370.715 mJy/beam.
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00278529 Jy
! Component: 100  -  total flux cleaned = 0.00363515 Jy
! Component: 150  -  total flux cleaned = 0.00380586 Jy
! Component: 200  -  total flux cleaned = 0.00380872 Jy
! Total flux subtracted in 200 components = 0.00380872 Jy
! Clean residual min=-0.004880 max=0.007014 Jy/beam
! Clean residual mean=0.000192 rms=0.001552 Jy/beam
! Combined flux in latest and established models = 1.23949 Jy
! Performing phase self-cal
! Adding 10 model components to the UV plane model.
! The established model now contains 41 components and 1.23949 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190892Jy  sigma=0.001412
! Fit after  self-cal, rms=0.191005Jy  sigma=0.001411
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
selfcal true, true, soltime1
! Performing amp+phase self-cal over 120 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191005Jy  sigma=0.001411
! Fit after  self-cal, rms=0.187561Jy  sigma=0.001327
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8189 mas, bmaj=1.742 mas, bpa=1.177 degrees
! Estimated noise=371.177 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00164781 Jy
! Component: 100  -  total flux cleaned = 0.00217006 Jy
! Component: 150  -  total flux cleaned = 0.00217186 Jy
! Component: 200  -  total flux cleaned = 0.002177 Jy
! Total flux subtracted in 200 components = 0.002177 Jy
! Clean residual min=-0.003635 max=0.003771 Jy/beam
! Clean residual mean=0.000151 rms=0.000922 Jy/beam
! Combined flux in latest and established models = 1.24167 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 46 components and 1.24167 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187359Jy  sigma=0.001326
! Fit after  self-cal, rms=0.187355Jy  sigma=0.001325
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000141707 Jy
! Component: 100  -  total flux cleaned = -0.000143178 Jy
! Component: 150  -  total flux cleaned = -6.38621e-05 Jy
! Component: 200  -  total flux cleaned = -6.53411e-05 Jy
! Total flux subtracted in 200 components = -6.53411e-05 Jy
! Clean residual min=-0.003125 max=0.003701 Jy/beam
! Clean residual mean=0.000151 rms=0.000896 Jy/beam
! Combined flux in latest and established models = 1.24161 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 46 components and 1.24161 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187258Jy  sigma=0.001325
! Fit after  self-cal, rms=0.187235Jy  sigma=0.001324
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187235Jy  sigma=0.001324
! Fit after  self-cal, rms=0.187442Jy  sigma=0.001320
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8194 mas, bmaj=1.743 mas, bpa=1.087 degrees
! Estimated noise=371.501 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000138322 Jy
! Component: 100  -  total flux cleaned = 0.000131864 Jy
! Component: 150  -  total flux cleaned = 0.000209104 Jy
! Component: 200  -  total flux cleaned = 0.000136332 Jy
! Total flux subtracted in 200 components = 0.000136332 Jy
! Clean residual min=-0.003048 max=0.002850 Jy/beam
! Clean residual mean=0.000107 rms=0.000805 Jy/beam
! Combined flux in latest and established models = 1.24174 Jy
selfcal
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 47 components and 1.24174 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187335Jy  sigma=0.001319
! Fit after  self-cal, rms=0.187320Jy  sigma=0.001319
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000194211 Jy
! Component: 100  -  total flux cleaned = -0.000258795 Jy
! Component: 150  -  total flux cleaned = -0.000256929 Jy
! Component: 200  -  total flux cleaned = -0.000314718 Jy
! Total flux subtracted in 200 components = -0.000314718 Jy
! Clean residual min=-0.002689 max=0.002768 Jy/beam
! Clean residual mean=0.000109 rms=0.000788 Jy/beam
! Combined flux in latest and established models = 1.24143 Jy
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 47 components and 1.24143 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187261Jy  sigma=0.001318
! Fit after  self-cal, rms=0.187250Jy  sigma=0.001318
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
win_mult = win_mult * 1.2
selfcal true, true, soltime2
! Performing amp+phase self-cal over 20 minute time intervals
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187250Jy  sigma=0.001318
! Fit after  self-cal, rms=0.187565Jy  sigma=0.001318
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=2.186 mas, bmaj=3.03 mas, bpa=-8.495 degrees
! Estimated noise=463.161 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -7.17525e-05 Jy
! Component: 100  -  total flux cleaned = -3.35007e-05 Jy
! Component: 150  -  total flux cleaned = 7.84988e-06 Jy
! Component: 200  -  total flux cleaned = 2.18705e-05 Jy
! Total flux subtracted in 200 components = 2.18705e-05 Jy
! Clean residual min=-0.002753 max=0.003694 Jy/beam
! Clean residual mean=0.000241 rms=0.001107 Jy/beam
! Combined flux in latest and established models = 1.24145 Jy
selfcal
! Performing phase self-cal
! Adding 11 model components to the UV plane model.
! The established model now contains 52 components and 1.24145 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187552Jy  sigma=0.001318
! Fit after  self-cal, rms=0.187544Jy  sigma=0.001318
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
repeat
  if (peak(flux) > flux_cutoff) peakwin win_mult
  clean clean_niter,clean_gain
  flux_cutoff = imstat(rms) * dynam
  selfcal
  new_peak = peak(flux)
  until(new_peak<=flux_cutoff)
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -4.39404e-05 Jy
! Component: 100  -  total flux cleaned = -1.65104e-05 Jy
! Component: 150  -  total flux cleaned = 1.62401e-05 Jy
! Component: 200  -  total flux cleaned = 1.59393e-05 Jy
! Total flux subtracted in 200 components = 1.59393e-05 Jy
! Clean residual min=-0.002761 max=0.003681 Jy/beam
! Clean residual mean=0.000240 rms=0.001106 Jy/beam
! Combined flux in latest and established models = 1.24146 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 57 components and 1.24146 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187530Jy  sigma=0.001318
! Fit after  self-cal, rms=0.187520Jy  sigma=0.001318
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
win_mult = win_mult / 1.2
print "************** FINISHED AMPLITUDE SELF-CAL **************"
! ************** FINISHED AMPLITUDE SELF-CAL ************** 
restore
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8199 mas, bmaj=1.744 mas, bpa=0.9982 degrees
! Estimated noise=371.87 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8199 x 1.744 at 0.9982 degrees (North through East)
! Clean map  min=-0.0018551  max=1.0072 Jy/beam
if(peak(flux) > thresh)
  selfcal true, true
  clean clean_niter,clean_gain
  selfcal
  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
    new_peak = peak(flux)
    until(new_peak<=flux_cutoff)
  selfcal true, true
  end if
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.187520Jy  sigma=0.001318
! Fit after  self-cal, rms=0.174168Jy  sigma=0.001221
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8199 mas, bmaj=1.745 mas, bpa=1.042 degrees
! Estimated noise=371.694 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000752585 Jy
! Component: 100  -  total flux cleaned = -0.000747336 Jy
! Component: 150  -  total flux cleaned = -0.000744401 Jy
! Component: 200  -  total flux cleaned = -0.00080216 Jy
! Total flux subtracted in 200 components = -0.00080216 Jy
! Clean residual min=-0.002725 max=0.002894 Jy/beam
! Clean residual mean=0.000046 rms=0.000737 Jy/beam
! Combined flux in latest and established models = 1.24066 Jy
! Performing phase self-cal
! Adding 7 model components to the UV plane model.
! The established model now contains 57 components and 1.24066 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.174087Jy  sigma=0.001220
! Fit after  self-cal, rms=0.174074Jy  sigma=0.001220
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000262992 Jy
! Component: 100  -  total flux cleaned = -0.000359859 Jy
! Component: 150  -  total flux cleaned = -0.000360391 Jy
! Component: 200  -  total flux cleaned = -0.000361719 Jy
! Total flux subtracted in 200 components = -0.000361719 Jy
! Clean residual min=-0.002395 max=0.002862 Jy/beam
! Clean residual mean=0.000048 rms=0.000729 Jy/beam
! Combined flux in latest and established models = 1.2403 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 59 components and 1.2403 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.174033Jy  sigma=0.001220
! Fit after  self-cal, rms=0.174022Jy  sigma=0.001220
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Performing amp+phase self-cal
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.174022Jy  sigma=0.001220
! Fit after  self-cal, rms=0.178945Jy  sigma=0.001220
print "************** CLEARING MODEL AND STARTING OVER **********"
! ************** CLEARING MODEL AND STARTING OVER ********** 
clrmod true
! clrmod: Cleared the established and tentative 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 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.5899 mas, bmaj=1.389 mas, bpa=-1.127 degrees
! Estimated noise=814.945 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.734784 Jy
! Component: 100  -  total flux cleaned = 0.939336 Jy
! Component: 150  -  total flux cleaned = 1.03887 Jy
! Component: 200  -  total flux cleaned = 1.0985 Jy
! Total flux subtracted in 200 components = 1.0985 Jy
! Clean residual min=-0.011095 max=0.031726 Jy/beam
! Clean residual mean=0.000141 rms=0.003573 Jy/beam
! Combined flux in latest and established models = 1.0985 Jy
uvw 0,-1
! Uniform weighting is not currently selected.
! Gridding weights will be scaled by errors raised to the power -1.
! Radial weighting is not currently selected.
flux_cutoff = imstat(rms) * dynam
! Adding 22 model components to the UV plane model.
! The established model now contains 22 components and 1.0985 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8201 mas, bmaj=1.746 mas, bpa=0.976 degrees
! Estimated noise=371.945 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.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0625176 Jy
! Component: 100  -  total flux cleaned = 0.0954751 Jy
! Component: 150  -  total flux cleaned = 0.114288 Jy
! Component: 200  -  total flux cleaned = 0.125537 Jy
! Total flux subtracted in 200 components = 0.125537 Jy
! Clean residual min=-0.002910 max=0.006392 Jy/beam
! Clean residual mean=0.000135 rms=0.001187 Jy/beam
! Combined flux in latest and established models = 1.22404 Jy
! Adding 31 model components to the UV plane model.
! The established model now contains 45 components and 1.22404 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Added new window around map position (0.6, 0).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00717426 Jy
! Component: 100  -  total flux cleaned = 0.0108709 Jy
! Component: 150  -  total flux cleaned = 0.012106 Jy
! Component: 200  -  total flux cleaned = 0.0129254 Jy
! Total flux subtracted in 200 components = 0.0129254 Jy
! Clean residual min=-0.002698 max=0.002955 Jy/beam
! Clean residual mean=0.000057 rms=0.000803 Jy/beam
! Combined flux in latest and established models = 1.23697 Jy
! Adding 18 model components to the UV plane model.
! The established model now contains 53 components and 1.23697 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
uvtaper 0.3,taper_size
! Gaussian taper: value 0.3 at UV radius = 70 mega-wavelengths.
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=2.187 mas, bmaj=3.032 mas, bpa=-8.455 degrees
! Estimated noise=462.859 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00224808 Jy
! Component: 100  -  total flux cleaned = 0.00260917 Jy
! Component: 150  -  total flux cleaned = 0.00264127 Jy
! Component: 200  -  total flux cleaned = 0.00266733 Jy
! Total flux subtracted in 200 components = 0.00266733 Jy
! Clean residual min=-0.003033 max=0.003632 Jy/beam
! Clean residual mean=0.000103 rms=0.001103 Jy/beam
! Combined flux in latest and established models = 1.23963 Jy
flux_cutoff = imstat(rms) * dynam
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.03  cutoff=0
! Component: 050  -  total flux cleaned = 2.08972e-05 Jy
! Component: 100  -  total flux cleaned = 3.90162e-05 Jy
! Component: 150  -  total flux cleaned = 5.43703e-05 Jy
! Component: 200  -  total flux cleaned = 5.51718e-05 Jy
! Total flux subtracted in 200 components = 5.51718e-05 Jy
! Clean residual min=-0.003028 max=0.003592 Jy/beam
! Clean residual mean=0.000102 rms=0.001095 Jy/beam
! Combined flux in latest and established models = 1.23969 Jy
! Adding 26 model components to the UV plane model.
! The established model now contains 63 components and 1.23969 Jy
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! Estimated beam: bmin=0.8201 mas, bmaj=1.746 mas, bpa=0.976 degrees
! Estimated noise=371.945 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = -0.000762816 Jy
! Component: 100  -  total flux cleaned = -0.000358701 Jy
! Component: 150  -  total flux cleaned = -0.000175503 Jy
! Component: 200  -  total flux cleaned = -9.72515e-07 Jy
! Total flux subtracted in 200 components = -9.72515e-07 Jy
! Clean residual min=-0.002548 max=0.002917 Jy/beam
! Clean residual mean=0.000040 rms=0.000748 Jy/beam
! Combined flux in latest and established models = 1.23969 Jy
selfcal
! Performing phase self-cal
! Adding 12 model components to the UV plane model.
! The established model now contains 66 components and 1.23969 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.179546Jy  sigma=0.001223
! Fit after  self-cal, rms=0.179531Jy  sigma=0.001222
wmodel J0121+1149_X_2000_12_04_pus_map.mod
! Writing 66 model components to file: J0121+1149_X_2000_12_04_pus_map.mod
wobs J0121+1149_X_2000_12_04_pus_uvs.fits
! Writing UV FITS file: J0121+1149_X_2000_12_04_pus_uvs.fits
wwins J0121+1149_X_2000_12_04_pus_map.win
! wwins: Wrote 3 windows to J0121+1149_X_2000_12_04_pus_map.win
x = (field_size-8) * field_cell / 4
addwin -x,x,-x,x
clean (field_size*4),0.01
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! clean: niter=1024  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000923485 Jy
! Component: 100  -  total flux cleaned = 0.00145272 Jy
! Component: 150  -  total flux cleaned = 0.00174867 Jy
! Component: 200  -  total flux cleaned = 0.00191108 Jy
! Component: 250  -  total flux cleaned = 0.00198922 Jy
! Component: 300  -  total flux cleaned = 0.00217853 Jy
! Component: 350  -  total flux cleaned = 0.00228952 Jy
! Component: 400  -  total flux cleaned = 0.00246937 Jy
! Component: 450  -  total flux cleaned = 0.00267901 Jy
! Component: 500  -  total flux cleaned = 0.00281533 Jy
! Component: 550  -  total flux cleaned = 0.00284947 Jy
! Component: 600  -  total flux cleaned = 0.00304643 Jy
! Component: 650  -  total flux cleaned = 0.00304612 Jy
! Component: 700  -  total flux cleaned = 0.00317381 Jy
! Component: 750  -  total flux cleaned = 0.00326824 Jy
! Component: 800  -  total flux cleaned = 0.0034846 Jy
! Component: 850  -  total flux cleaned = 0.00351505 Jy
! Component: 900  -  total flux cleaned = 0.00363564 Jy
! Component: 950  -  total flux cleaned = 0.00369534 Jy
! Component: 1000  -  total flux cleaned = 0.00387137 Jy
! Total flux subtracted in 1024 components = 0.00390037 Jy
! Clean residual min=-0.001703 max=0.001635 Jy/beam
! Clean residual mean=0.000052 rms=0.000572 Jy/beam
! Combined flux in latest and established models = 1.24359 Jy
keep
! Adding 74 model components to the UV plane model.
! The established model now contains 138 components and 1.24359 Jy
![Exited script file: muppet]
wmap "J0121+1149_X_2000_12_04_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8201 x 1.746 at 0.976 degrees (North through East)
! Clean map  min=-0.0021211  max=1.0083 Jy/beam
! Writing clean map to FITS file: J0121+1149_X_2000_12_04_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 1.00827 
invert
! Inverting map 
! Your choice of large map pixels excluded 0.973% of the data.
!  The x-axis pixel size should ideally be below 0.1543 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.00057241 
device "J0121+1149_X_2000_12_04_pus\_map.eps/VPS"
! Attempting to open device: 'J0121+1149_X_2000_12_04_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.170315 0.170315 0.340629 0.681259 1.36252 2.72504 5.45007 10.9001 21.8003 43.6006 87.2011
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0017 
print "peak=",int(1000*peak_flux)/1000
! peak= 1.008 
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.8201 x 1.746 at 0.976 degrees (North through East)
! Clean map  min=-0.0021211  max=1.0083 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J0121+1149_X_2000_12_04_pus\_map.gif/vgif"
! Attempting to open device: 'J0121+1149_X_2000_12_04_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J0121+1149_X_2000_12_04_pus_uvs.log closed on Fri Oct 12 15:11:40 2007