! Started logfile: J1445+0958_X_1999_05_10_pus_uvs.log on Mon Jan 14 14:07:43 2008
obs J1445+0958_X_1999_05_10_pus_uva.fits
! Reading UV FITS file: J1445+0958_X_1999_05_10_pus_uva.fits
! AN table 1: 58 integrations on 153 of 153 possible baselines.
! AN table 2: 125 integrations on 153 of 153 possible baselines.
! AN table 3: 71 integrations on 153 of 153 possible baselines.
! AN table 4: 86 integrations on 153 of 153 possible baselines.
! AN table 5: 67 integrations on 153 of 153 possible baselines.
! Apparent sampling: 0.182236 visibilities/baseline/integration-bin.
! *** This seems a bit low - see "help observe" on the binwid argument.
! Found source: J1445+0958
! 
! 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 1759 lines of history.
! 
! Reading 45392 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 = 512 
print "field_cell =",field_cell
! field_cell = 0.2 
print "taper_size =",taper_size
! taper_size = 70 
![@muppet J1445+0958_X_1999_05_10_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 = 512x512 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 537 telescope corrections were flagged in sub-array 1.
!  A total of 1531 telescope corrections were flagged in sub-array 2.
!  A total of 800 telescope corrections were flagged in sub-array 3.
!  A total of 1364 telescope corrections were flagged in sub-array 4.
!  A total of 376 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 2.
!  A total of 537 telescope corrections were flagged in sub-array 1.
!  A total of 1450 telescope corrections were flagged in sub-array 2.
!  A total of 800 telescope corrections were flagged in sub-array 3.
!  A total of 1364 telescope corrections were flagged in sub-array 4.
!  A total of 376 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 3.
!  A total of 537 telescope corrections were flagged in sub-array 1.
!  A total of 1450 telescope corrections were flagged in sub-array 2.
!  A total of 800 telescope corrections were flagged in sub-array 3.
!  A total of 1364 telescope corrections were flagged in sub-array 4.
!  A total of 376 telescope corrections were flagged in sub-array 5.
! 
! Correcting IF 4.
!  A total of 537 telescope corrections were flagged in sub-array 1.
!  A total of 1580 telescope corrections were flagged in sub-array 2.
!  A total of 800 telescope corrections were flagged in sub-array 3.
!  A total of 1364 telescope corrections were flagged in sub-array 4.
!  A total of 376 telescope corrections were flagged in sub-array 5.
! 
! Fit before self-cal, rms=0.886748Jy  sigma=0.007589
! Fit after  self-cal, rms=0.821581Jy  sigma=0.007169
! 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.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.7365 mas, bmaj=1.051 mas, bpa=-9.398 degrees
! Estimated noise=814.889 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.14992 Jy
! Component: 100  -  total flux cleaned = 0.206972 Jy
! Total flux subtracted in 100 components = 0.206972 Jy
! Clean residual min=-0.013149 max=0.057992 Jy/beam
! Clean residual mean=-0.000182 rms=0.004160 Jy/beam
! Combined flux in latest and established models = 0.206972 Jy
! Performing phase self-cal
! Adding 9 model components to the UV plane model.
! The established model now contains 9 components and 0.206972 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.229768Jy  sigma=0.001687
! Fit after  self-cal, rms=0.229297Jy  sigma=0.001684
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Added new window around map position (-1.2, -0.6).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0501862 Jy
! Component: 100  -  total flux cleaned = 0.0776916 Jy
! Total flux subtracted in 100 components = 0.0776916 Jy
! Clean residual min=-0.010759 max=0.026783 Jy/beam
! Clean residual mean=-0.000094 rms=0.002872 Jy/beam
! Combined flux in latest and established models = 0.284663 Jy
! Performing phase self-cal
! Adding 16 model components to the UV plane model.
! The established model now contains 22 components and 0.284663 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.213918Jy  sigma=0.001454
! Fit after  self-cal, rms=0.212454Jy  sigma=0.001441
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0241145 Jy
! Component: 100  -  total flux cleaned = 0.0388831 Jy
! Total flux subtracted in 100 components = 0.0388831 Jy
! Clean residual min=-0.008388 max=0.018849 Jy/beam
! Clean residual mean=-0.000043 rms=0.002331 Jy/beam
! Combined flux in latest and established models = 0.323546 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 37 components and 0.323546 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.207985Jy  sigma=0.001371
! Fit after  self-cal, rms=0.207694Jy  sigma=0.001368
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Added new window around map position (-3, -0.8).
! clean: niter=100  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0192338 Jy
! Component: 100  -  total flux cleaned = 0.0310836 Jy
! Total flux subtracted in 100 components = 0.0310836 Jy
! Clean residual min=-0.007197 max=0.013211 Jy/beam
! Clean residual mean=-0.000030 rms=0.001968 Jy/beam
! Combined flux in latest and established models = 0.35463 Jy
! Performing phase self-cal
! Adding 19 model components to the UV plane model.
! The established model now contains 51 components and 0.35463 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.205085Jy  sigma=0.001325
! Fit after  self-cal, rms=0.204685Jy  sigma=0.001322
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.851 mas, bmaj=1.304 mas, bpa=-7.934 degrees
! Estimated noise=391.44 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.0201887 Jy
! Component: 100  -  total flux cleaned = 0.0320483 Jy
! Component: 150  -  total flux cleaned = 0.0399571 Jy
! Component: 200  -  total flux cleaned = 0.0455097 Jy
! Total flux subtracted in 200 components = 0.0455097 Jy
! Clean residual min=-0.005451 max=0.010271 Jy/beam
! Clean residual mean=0.000325 rms=0.001774 Jy/beam
! Combined flux in latest and established models = 0.40014 Jy
! Performing phase self-cal
! Adding 33 model components to the UV plane model.
! The established model now contains 66 components and 0.40014 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.202772Jy  sigma=0.001291
! Fit after  self-cal, rms=0.202305Jy  sigma=0.001287
! Inverting map 
! Your choice of large map pixels excluded 1.02% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
print "************** FINISHED NATURAL WEIGHTING CLEAN **************"
! ************** FINISHED NATURAL WEIGHTING CLEAN ************** 
! 
gscale true
! Performing overall amplitude self-cal
! 
! Correcting IF 1.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.02     FD        0.94     GC        1.01     HH        1.00*    
!   HN        1.00*    KK        0.96     KP        0.98     LA        0.95     
!   MC        1.00*    MK        0.90     NL        1.17     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        1.00     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.95     
!   HN        1.00     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.96     MK        1.00*    NL        1.00*    NY        0.97     
!   ON        0.92     OV        1.00*    PT        1.00*    SC        1.04     
!   WF        1.00*    WZ        0.97     
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        1.01     GC        1.08     HH        1.00*    
!   HN        1.00*    KK        0.90     KP        1.01     LA        0.99     
!   MC        1.00*    MK        0.97     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        0.90     PT        0.98     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.98     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.80     MK        1.00*    NL        1.00*    NY        0.70     
!   ON        1.02     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        0.99     FD        0.92     GC        1.04     HH        1.00*    
!   HN        0.99     KK        0.98     KP        1.00     LA        0.97     
!   MC        1.00*    MK        0.97     NL        1.13     NY        1.03     
!   ON        1.00*    OV        0.94     PT        1.04     SC        1.04     
!   WF        0.82     WZ        1.00*    
! 
! 
! Correcting IF 2.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.07     FD        0.95     GC        1.09     HH        1.00*    
!   HN        1.00*    KK        0.92     KP        1.00     LA        0.95     
!   MC        1.00*    MK        0.95     NL        1.12     NY        1.00*    
!   ON        1.00*    OV        0.94     PT        0.91     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.95     
!   HN        0.93     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.96     MK        1.00*    NL        1.00*    NY        1.02     
!   ON        0.88     OV        1.00*    PT        1.00*    SC        1.14     
!   WF        0.98     WZ        0.98     
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.01     FD        0.97     GC        1.14     HH        1.00*    
!   HN        1.00*    KK        0.93     KP        1.01     LA        1.01     
!   MC        1.00*    MK        0.92     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        0.91     PT        0.93     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.89     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.97     MK        1.00*    NL        1.00*    NY        0.75     
!   ON        0.89     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.00     FD        0.92     GC        1.02     HH        1.00*    
!   HN        0.97     KK        1.01     KP        1.03     LA        0.97     
!   MC        1.00*    MK        0.98     NL        1.10     NY        1.08     
!   ON        1.00*    OV        0.93     PT        0.94     SC        0.98     
!   WF        0.95     WZ        1.00*    
! 
! 
! Correcting IF 3.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.10     FD        1.00     GC        0.98     HH        1.00*    
!   HN        1.00*    KK        1.00     KP        1.01     LA        0.97     
!   MC        1.00*    MK        0.92     NL        1.13     NY        1.00*    
!   ON        1.00*    OV        1.01     PT        0.95     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 9 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.95     
!   HN        0.98     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.97     MK        1.00*    NL        1.00*    NY        1.15     
!   ON        0.95     OV        1.00*    PT        1.00*    SC        1.09     
!   WF        1.00     WZ        1.10     
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.05     FD        1.06     GC        1.11     HH        1.00*    
!   HN        1.00*    KK        0.93     KP        1.06     LA        1.00     
!   MC        1.00*    MK        0.96     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        0.96     PT        0.94     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.78     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.07     MK        1.00*    NL        1.00*    NY        0.80     
!   ON        0.79     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.03     FD        0.96     GC        1.01     HH        1.00*    
!   HN        1.02     KK        1.13     KP        1.09     LA        0.96     
!   MC        1.00*    MK        1.03     NL        1.08     NY        1.13     
!   ON        1.00*    OV        0.98     PT        0.97     SC        1.00     
!   WF        0.97     WZ        1.00*    
! 
! 
! Correcting IF 4.
!  A total of 3 telescope corrections were flagged in sub-array 1.
!  Telescope amplitude corrections in sub-array 1:
!   BR        1.09     FD        0.97     GC        0.97     HH        1.00*    
!   HN        1.00*    KK        0.97     KP        1.04     LA        1.00     
!   MC        1.00*    MK        0.92     NL        1.11     NY        1.00*    
!   ON        1.00*    OV        1.04     PT        0.98     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 120 telescope corrections were flagged in sub-array 2.
!  Telescope amplitude corrections in sub-array 2:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.99     
!   HN        0.99     KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        0.96     MK        1.00*    NL        1.00*    NY        1.11     
!   ON        0.95     OV        1.00*    PT        1.00*    SC        1.01     
!   WF        0.91     WZ        1.00*    
! 
!  A total of 18 telescope corrections were flagged in sub-array 3.
!  Telescope amplitude corrections in sub-array 3:
!   BR        1.03     FD        1.02     GC        1.03     HH        1.00*    
!   HN        1.00*    KK        0.92     KP        1.04     LA        1.04     
!   MC        1.00*    MK        0.96     NL        1.00*    NY        1.00*    
!   ON        1.00*    OV        0.97     PT        1.00     SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 36 telescope corrections were flagged in sub-array 4.
!  Telescope amplitude corrections in sub-array 4:
!   BR        1.00*    FD        1.00*    GC        1.00*    HH        0.72     
!   HN        1.00*    KK        1.00*    KP        1.00*    LA        1.00*    
!   MC        1.09     MK        1.00*    NL        1.00*    NY        0.88     
!   ON        0.69     OV        1.00*    PT        1.00*    SC        1.00*    
!   WF        1.00*    WZ        1.00*    
! 
!  A total of 6 telescope corrections were flagged in sub-array 5.
!  Telescope amplitude corrections in sub-array 5:
!   BR        1.06     FD        0.94     GC        1.02     HH        1.00*    
!   HN        0.98     KK        1.02     KP        1.07     LA        0.99     
!   MC        1.00*    MK        1.04     NL        1.10     NY        1.09     
!   ON        1.00*    OV        1.00     PT        1.01     SC        0.98     
!   WF        0.94     WZ        1.00*    
! 
! 
! Fit before self-cal, rms=0.202305Jy  sigma=0.001287
! Fit after  self-cal, rms=0.191637Jy  sigma=0.001275
dynam = dynam - 0.5
flux_cutoff = imstat(rms) * dynam
! Inverting map and beam 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.8585 mas, bmaj=1.295 mas, bpa=-7.211 degrees
! Estimated noise=389.718 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.00401013 Jy
! Component: 100  -  total flux cleaned = 0.00456385 Jy
! Component: 150  -  total flux cleaned = 0.00476089 Jy
! Component: 200  -  total flux cleaned = 0.00492379 Jy
! Total flux subtracted in 200 components = 0.00492379 Jy
! Clean residual min=-0.004359 max=0.007289 Jy/beam
! Clean residual mean=0.000155 rms=0.001427 Jy/beam
! Combined flux in latest and established models = 0.405063 Jy
! Performing phase self-cal
! Adding 13 model components to the UV plane model.
! The established model now contains 73 components and 0.405063 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.191460Jy  sigma=0.001273
! Fit after  self-cal, rms=0.191352Jy  sigma=0.001272
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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.191352Jy  sigma=0.001272
! Fit after  self-cal, rms=0.191030Jy  sigma=0.001272
dynam = dynam - 0.75
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.8579 mas, bmaj=1.294 mas, bpa=-7.31 degrees
! Estimated noise=388.786 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00195135 Jy
! Component: 100  -  total flux cleaned = 0.00225227 Jy
! Component: 150  -  total flux cleaned = 0.00249837 Jy
! Component: 200  -  total flux cleaned = 0.00270738 Jy
! Total flux subtracted in 200 components = 0.00270738 Jy
! Clean residual min=-0.004267 max=0.007115 Jy/beam
! Clean residual mean=0.000100 rms=0.001383 Jy/beam
! Combined flux in latest and established models = 0.407771 Jy
selfcal
! Performing phase self-cal
! Adding 14 model components to the UV plane model.
! The established model now contains 76 components and 0.407771 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190944Jy  sigma=0.001271
! Fit after  self-cal, rms=0.190949Jy  sigma=0.001271
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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)
! Added new window around map position (-1.4, -12.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00763508 Jy
! Component: 100  -  total flux cleaned = 0.0125857 Jy
! Component: 150  -  total flux cleaned = 0.0161188 Jy
! Component: 200  -  total flux cleaned = 0.0189341 Jy
! Total flux subtracted in 200 components = 0.0189341 Jy
! Clean residual min=-0.003644 max=0.006058 Jy/beam
! Clean residual mean=-0.000003 rms=0.001160 Jy/beam
! Combined flux in latest and established models = 0.426705 Jy
! Performing phase self-cal
! Adding 38 model components to the UV plane model.
! The established model now contains 109 components and 0.426705 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190676Jy  sigma=0.001265
! Fit after  self-cal, rms=0.190647Jy  sigma=0.001264
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Added new window around map position (-4.6, -9).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00572097 Jy
! Component: 100  -  total flux cleaned = 0.00930183 Jy
! Component: 150  -  total flux cleaned = 0.0121889 Jy
! Component: 200  -  total flux cleaned = 0.0146448 Jy
! Total flux subtracted in 200 components = 0.0146448 Jy
! Clean residual min=-0.003496 max=0.004938 Jy/beam
! Clean residual mean=-0.000090 rms=0.001030 Jy/beam
! Combined flux in latest and established models = 0.44135 Jy
! Performing phase self-cal
! Adding 35 model components to the UV plane model.
! The established model now contains 131 components and 0.44135 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190483Jy  sigma=0.001261
! Fit after  self-cal, rms=0.190453Jy  sigma=0.001261
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Added new window around map position (-3.6, -2.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00553648 Jy
! Component: 100  -  total flux cleaned = 0.00875431 Jy
! Component: 150  -  total flux cleaned = 0.0105674 Jy
! Component: 200  -  total flux cleaned = 0.0118782 Jy
! Total flux subtracted in 200 components = 0.0118782 Jy
! Clean residual min=-0.003546 max=0.003648 Jy/beam
! Clean residual mean=-0.000157 rms=0.000911 Jy/beam
! Combined flux in latest and established models = 0.453228 Jy
! Performing phase self-cal
! Adding 36 model components to the UV plane model.
! The established model now contains 153 components and 0.453228 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.190314Jy  sigma=0.001258
! Fit after  self-cal, rms=0.190273Jy  sigma=0.001258
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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.190273Jy  sigma=0.001258
! Fit after  self-cal, rms=0.193869Jy  sigma=0.001257
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.8576 mas, bmaj=1.295 mas, bpa=-7.42 degrees
! Estimated noise=389.339 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00355686 Jy
! Component: 100  -  total flux cleaned = 0.00591127 Jy
! Component: 150  -  total flux cleaned = 0.00758141 Jy
! Component: 200  -  total flux cleaned = 0.0089747 Jy
! Total flux subtracted in 200 components = 0.0089747 Jy
! Clean residual min=-0.002804 max=0.003706 Jy/beam
! Clean residual mean=-0.000045 rms=0.000805 Jy/beam
! Combined flux in latest and established models = 0.462203 Jy
selfcal
! Performing phase self-cal
! Adding 41 model components to the UV plane model.
! The established model now contains 164 components and 0.462202 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193792Jy  sigma=0.001255
! Fit after  self-cal, rms=0.193881Jy  sigma=0.001255
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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)
! Added new window around map position (-4, -6).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00252577 Jy
! Component: 100  -  total flux cleaned = 0.00388677 Jy
! Component: 150  -  total flux cleaned = 0.00463606 Jy
! Component: 200  -  total flux cleaned = 0.00518892 Jy
! Total flux subtracted in 200 components = 0.00518892 Jy
! Clean residual min=-0.002797 max=0.003325 Jy/beam
! Clean residual mean=-0.000076 rms=0.000754 Jy/beam
! Combined flux in latest and established models = 0.467391 Jy
! Performing phase self-cal
! Adding 40 model components to the UV plane model.
! The established model now contains 181 components and 0.467391 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193805Jy  sigma=0.001254
! Fit after  self-cal, rms=0.193786Jy  sigma=0.001254
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Added new window around map position (-3.8, -12.8).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00284887 Jy
! Component: 100  -  total flux cleaned = 0.0042605 Jy
! Component: 150  -  total flux cleaned = 0.00545088 Jy
! Component: 200  -  total flux cleaned = 0.00615474 Jy
! Total flux subtracted in 200 components = 0.00615474 Jy
! Clean residual min=-0.002722 max=0.002522 Jy/beam
! Clean residual mean=-0.000112 rms=0.000689 Jy/beam
! Combined flux in latest and established models = 0.473546 Jy
! Performing phase self-cal
! Adding 39 model components to the UV plane model.
! The established model now contains 198 components and 0.473546 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.193721Jy  sigma=0.001252
! Fit after  self-cal, rms=0.193712Jy  sigma=0.001252
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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.193712Jy  sigma=0.001252
! Fit after  self-cal, rms=0.195807Jy  sigma=0.001252
clean clean_niter,clean_gain
! Inverting map and beam 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=2.405 mas, bmaj=2.7 mas, bpa=-5.117 degrees
! Estimated noise=491.125 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0038845 Jy
! Component: 100  -  total flux cleaned = 0.00637975 Jy
! Component: 150  -  total flux cleaned = 0.00748607 Jy
! Component: 200  -  total flux cleaned = 0.00823756 Jy
! Total flux subtracted in 200 components = 0.00823756 Jy
! Clean residual min=-0.003023 max=0.003614 Jy/beam
! Clean residual mean=-0.000149 rms=0.000899 Jy/beam
! Combined flux in latest and established models = 0.481784 Jy
selfcal
! Performing phase self-cal
! Adding 27 model components to the UV plane model.
! The established model now contains 219 components and 0.481784 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195790Jy  sigma=0.001251
! Fit after  self-cal, rms=0.195843Jy  sigma=0.001251
flux_cutoff = imstat(rms) * dynam
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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.000716902 Jy
! Component: 100  -  total flux cleaned = 0.00143403 Jy
! Component: 150  -  total flux cleaned = 0.00161898 Jy
! Component: 200  -  total flux cleaned = 0.00170216 Jy
! Total flux subtracted in 200 components = 0.00170216 Jy
! Clean residual min=-0.002829 max=0.003361 Jy/beam
! Clean residual mean=-0.000177 rms=0.000857 Jy/beam
! Combined flux in latest and established models = 0.483486 Jy
! Performing phase self-cal
! Adding 26 model components to the UV plane model.
! The established model now contains 226 components and 0.483486 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195836Jy  sigma=0.001251
! Fit after  self-cal, rms=0.195831Jy  sigma=0.001251
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.8577 mas, bmaj=1.296 mas, bpa=-7.309 degrees
! Estimated noise=389.54 mJy/beam.
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8577 x 1.296 at -7.309 degrees (North through East)
! Clean map  min=-0.0021929  max=0.1828 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
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 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.7407 mas, bmaj=1.037 mas, bpa=-9.448 degrees
! Estimated noise=824.12 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.152776 Jy
! Component: 100  -  total flux cleaned = 0.224327 Jy
! Component: 150  -  total flux cleaned = 0.268014 Jy
! Component: 200  -  total flux cleaned = 0.298044 Jy
! Total flux subtracted in 200 components = 0.298044 Jy
! Clean residual min=-0.007202 max=0.017053 Jy/beam
! Clean residual mean=-0.000029 rms=0.002312 Jy/beam
! Combined flux in latest and established models = 0.298044 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 24 model components to the UV plane model.
! The established model now contains 24 components and 0.298044 Jy
! Inverting map and beam 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.8577 mas, bmaj=1.296 mas, bpa=-7.309 degrees
! Estimated noise=389.54 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.0375462 Jy
! Component: 100  -  total flux cleaned = 0.0616357 Jy
! Component: 150  -  total flux cleaned = 0.0782743 Jy
! Component: 200  -  total flux cleaned = 0.0906443 Jy
! Total flux subtracted in 200 components = 0.0906443 Jy
! Clean residual min=-0.004134 max=0.007380 Jy/beam
! Clean residual mean=0.000417 rms=0.001611 Jy/beam
! Combined flux in latest and established models = 0.388688 Jy
! Adding 71 model components to the UV plane model.
! The established model now contains 82 components and 0.388688 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Added new window around map position (0.8, 0).
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.0101355 Jy
! Component: 100  -  total flux cleaned = 0.0188919 Jy
! Component: 150  -  total flux cleaned = 0.0266017 Jy
! Component: 200  -  total flux cleaned = 0.0334731 Jy
! Total flux subtracted in 200 components = 0.0334731 Jy
! Clean residual min=-0.003096 max=0.004619 Jy/beam
! Clean residual mean=0.000247 rms=0.001122 Jy/beam
! Combined flux in latest and established models = 0.422161 Jy
! Adding 91 model components to the UV plane model.
! The established model now contains 151 components and 0.422161 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 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 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=2.405 mas, bmaj=2.7 mas, bpa=-5.117 degrees
! Estimated noise=491.125 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.012924 Jy
! Component: 100  -  total flux cleaned = 0.0227516 Jy
! Component: 150  -  total flux cleaned = 0.0304752 Jy
! Component: 200  -  total flux cleaned = 0.0366283 Jy
! Total flux subtracted in 200 components = 0.0366283 Jy
! Clean residual min=-0.003396 max=0.005025 Jy/beam
! Clean residual mean=0.000146 rms=0.001218 Jy/beam
! Combined flux in latest and established models = 0.458789 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 = 0.00495015 Jy
! Component: 100  -  total flux cleaned = 0.00895649 Jy
! Component: 150  -  total flux cleaned = 0.0122157 Jy
! Component: 200  -  total flux cleaned = 0.0148726 Jy
! Total flux subtracted in 200 components = 0.0148726 Jy
! Clean residual min=-0.002730 max=0.003507 Jy/beam
! Clean residual mean=-0.000048 rms=0.000892 Jy/beam
! Combined flux in latest and established models = 0.473662 Jy
! Adding 158 model components to the UV plane model.
! The established model now contains 281 components and 0.473662 Jy
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
uvtaper 0,0
! No UV-taper is currently set.
clean
! Inverting map and beam 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! Estimated beam: bmin=0.8577 mas, bmaj=1.296 mas, bpa=-7.309 degrees
! Estimated noise=389.54 mJy/beam.
! clean: niter=200  gain=0.03  cutoff=0
! Component: 050  -  total flux cleaned = 0.00199235 Jy
! Component: 100  -  total flux cleaned = 0.0036482 Jy
! Component: 150  -  total flux cleaned = 0.0047599 Jy
! Component: 200  -  total flux cleaned = 0.00561256 Jy
! Total flux subtracted in 200 components = 0.00561256 Jy
! Clean residual min=-0.002244 max=0.002242 Jy/beam
! Clean residual mean=-0.000051 rms=0.000596 Jy/beam
! Combined flux in latest and established models = 0.479274 Jy
selfcal
! Performing phase self-cal
! Adding 31 model components to the UV plane model.
! The established model now contains 307 components and 0.479274 Jy
! 
! Correcting IF 1.
! 
! Correcting IF 2.
! 
! Correcting IF 3.
! 
! Correcting IF 4.
! 
! Fit before self-cal, rms=0.195821Jy  sigma=0.001251
! Fit after  self-cal, rms=0.195915Jy  sigma=0.001250
wmodel J1445+0958_X_1999_05_10_pus_map.mod
! Writing 307 model components to file: J1445+0958_X_1999_05_10_pus_map.mod
wobs J1445+0958_X_1999_05_10_pus_uvs.fits
! Writing UV FITS file: J1445+0958_X_1999_05_10_pus_uvs.fits
wwins J1445+0958_X_1999_05_10_pus_map.win
! wwins: Wrote 9 windows to J1445+0958_X_1999_05_10_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 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! clean: niter=2048  gain=0.01  cutoff=0
! Component: 050  -  total flux cleaned = 0.000133296 Jy
! Component: 100  -  total flux cleaned = 1.99593e-05 Jy
! Component: 150  -  total flux cleaned = -1.70342e-05 Jy
! Component: 200  -  total flux cleaned = -0.000124599 Jy
! Component: 250  -  total flux cleaned = -0.00019478 Jy
! Component: 300  -  total flux cleaned = -0.00026322 Jy
! Component: 350  -  total flux cleaned = -0.000330051 Jy
! Component: 400  -  total flux cleaned = -0.000461117 Jy
! Component: 450  -  total flux cleaned = -0.000525463 Jy
! Component: 500  -  total flux cleaned = -0.000652468 Jy
! Component: 550  -  total flux cleaned = -0.000777803 Jy
! Component: 600  -  total flux cleaned = -0.000870784 Jy
! Component: 650  -  total flux cleaned = -0.00114496 Jy
! Component: 700  -  total flux cleaned = -0.00126465 Jy
! Component: 750  -  total flux cleaned = -0.00147248 Jy
! Component: 800  -  total flux cleaned = -0.00164824 Jy
! Component: 850  -  total flux cleaned = -0.00182209 Jy
! Component: 900  -  total flux cleaned = -0.00199352 Jy
! Component: 950  -  total flux cleaned = -0.002135 Jy
! Component: 1000  -  total flux cleaned = -0.00224691 Jy
! Component: 1050  -  total flux cleaned = -0.00241304 Jy
! Component: 1100  -  total flux cleaned = -0.00249544 Jy
! Component: 1150  -  total flux cleaned = -0.00271295 Jy
! Component: 1200  -  total flux cleaned = -0.00284763 Jy
! Component: 1250  -  total flux cleaned = -0.00303421 Jy
! Component: 1300  -  total flux cleaned = -0.00316593 Jy
! Component: 1350  -  total flux cleaned = -0.0033488 Jy
! Component: 1400  -  total flux cleaned = -0.00342659 Jy
! Component: 1450  -  total flux cleaned = -0.0036063 Jy
! Component: 1500  -  total flux cleaned = -0.00373345 Jy
! Component: 1550  -  total flux cleaned = -0.00393526 Jy
! Component: 1600  -  total flux cleaned = -0.00403528 Jy
! Component: 1650  -  total flux cleaned = -0.0041344 Jy
! Component: 1700  -  total flux cleaned = -0.00425766 Jy
! Component: 1750  -  total flux cleaned = -0.00433108 Jy
! Component: 1800  -  total flux cleaned = -0.00447646 Jy
! Component: 1850  -  total flux cleaned = -0.00462055 Jy
! Component: 1900  -  total flux cleaned = -0.00466831 Jy
! Component: 1950  -  total flux cleaned = -0.00481073 Jy
! Component: 2000  -  total flux cleaned = -0.00490478 Jy
! Total flux subtracted in 2048 components = -0.00506855 Jy
! Clean residual min=-0.001317 max=0.001335 Jy/beam
! Clean residual mean=-0.000028 rms=0.000437 Jy/beam
! Combined flux in latest and established models = 0.474206 Jy
keep
! Adding 150 model components to the UV plane model.
! The established model now contains 457 components and 0.474206 Jy
![Exited script file: muppet]
wmap "J1445+0958_X_1999_05_10_pus\_map.fits"
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
! restore: Substituting estimate of restoring beam from last 'invert'.
! Restoring with beam: 0.8577 x 1.296 at -7.309 degrees (North through East)
! Clean map  min=-0.001771  max=0.18273 Jy/beam
! Writing clean map to FITS file: J1445+0958_X_1999_05_10_pus_map.fits
float peak_flux
peak_flux = peak(flux,max)
print "The peak flux is",peak_flux
! The peak flux is 0.182733 
invert
! Inverting map 
! Your choice of large map pixels excluded 1.03% of the data.
!  The y-axis pixel size should ideally be below 0.1787 milli-arcsec
float image_rms
image_rms = imstat(rms)
print "The final image rms is",image_rms
! The final image rms is 0.000436585 
device "J1445+0958_X_1999_05_10_pus\_map.eps/VPS"
! Attempting to open device: 'J1445+0958_X_1999_05_10_pus_map.eps/VPS'
loglevs 100*3*image_rms/peak_flux
! The new contour levels are:
!  -0.716757 0.716757 1.43351 2.86703 5.73405 11.4681 22.9362 45.8724 91.7449
print "clev=",int(3*image_rms*10000)/10000
! clev= 0.0013 
print "peak=",int(1000*peak_flux)/1000
! peak= 0.182 
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.8577 x 1.296 at -7.309 degrees (North through East)
! Clean map  min=-0.001771  max=0.18273 Jy/beam
mapcolor color, 0.9
! Mapplot colormap: rainbow, contrast: 0.9 brightness: 0.5.
device "J1445+0958_X_1999_05_10_pus\_map.gif/vgif"
! Attempting to open device: 'J1445+0958_X_1999_05_10_pus_map.gif/vgif'
mapplot cln
quit
! Quitting program
! Log file J1445+0958_X_1999_05_10_pus_uvs.log closed on Mon Jan 14 14:08:10 2008