/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 191 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7424
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin172
RA = 201.73, Dec = 22.1732
tmin = 283910401, tmax = 284169601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='585714', job_status='RUN', time_executed='2021-09-07 18:15:00.785314', time_epoch_executed='1631063700.79' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585714

Creating custom pfile directory:
/scratch/kocevski/585714/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=283910401.0 && nMetStart<284169601.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=283910401.0 && nMetStart<284169601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585714/ft1_4FGL_J1326.9+2210_daily_bin172.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=283910401.0 && nMetStart<284169601.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585714/ft1_4FGL_J1326.9+2210_daily_bin172.fits outfile=/scratch/kocevski/585714/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin172.fits ra=201.73 dec=22.1732 rad=12.0 tmin=283910401.0 tmax=284169601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.58
user 3.34
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/585714/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin172.fits evtable="EVENTS" outfile="/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/585714/ltcube_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Working on file /scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits
.....................!
real 14.44
user 14.06
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/585714/ltcube_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits outfile=/scratch/kocevski/585714/expmap_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/585714/ltcube_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits
.....................!
real 192.69
user 187.09
sys 5.01

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J1326.9+2210 @ 201.73 22.1732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits scfile=/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits outfile=/scratch/kocevski/585714/cmap_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=201.73 yref=22.1732 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits scfile=/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits outfile=/scratch/kocevski/585714/cmap_HighResolution_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=201.73 yref=22.1732 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/585714/Model_4FGL_J1326.9+2210_daily_bin172.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits.....................!
real 56.56
user 54.74
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits', '/scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits', expMap='/scratch/kocevski/585714/expmap_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits', expCube='/scratch/kocevski/585714/ltcube_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/585714/Model_4FGL_J1326.9+2210_daily_bin172.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1326.9+2210'

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  7.707e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/585714/ft1_filtered_4FGL_J1326.9+2210_daily_bin172.fits
Spacecraft file(s): /scratch/kocevski/585714/ft2_4FGL_J1326.9+2210_daily_bin172.fits
Exposure map: /scratch/kocevski/585714/expmap_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits
Exposure cube: /scratch/kocevski/585714/ltcube_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/585714/Model_4FGL_J1326.9+2210_daily_bin172.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6574.57589871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6574.5693103

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.795       1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.5240       1.0000         .10000E-03   10000.    
     6 'norm      '    20.278       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.4924       1.0000         .10000E-03   10000.    
     8 'norm      '    4.8949       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    18.095       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.695       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.670       1.0000         .10000E-03   10000.    
    13 'Prefactor '    64.946       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .81670       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.501       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1655       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0862       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6574.569     FROM MIGRAD    STATUS=CONVERGED    339 CALLS     1708 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5575       -.17178E-07** at limit **
   2  Prefactor     22.798        17.726        .49469E-06    .13663E-03
   3  norm          .10000E-03    1.8661       -.33028E-07** at limit **
   4  norm          .10000E-03    1.7480       -.12162E-07** at limit **
   5  norm          4.5252        4.3815       -.72630E-07   -.73098E-04
   6  norm          20.277        17.901       -.40557E-07   -.47316E-04
   7  Prefactor     9.4941        11.591        .16224E-06    .43093E-04
   8  norm          4.8948        7.6800        .32852E-06   -.24224E-04
   9  Prefactor     .10000E-03    12.750        .35441E-08** at limit **
  10  norm          18.097        10.643        .51875E-07    .51182E-04
  11  Prefactor     11.700        15.865        .42109E-06    .17683E-03
  12  Prefactor     26.674        24.313        .40511E-06    .15436E-03
  13  Prefactor     64.942        51.369       -.13208E-06   -.64416E-04
  14  Prefactor     .81655        4.4544        .26081E-05   -.55815E-04
  15  Prefactor     .10000E-03    7.1625       -.21817E-07** at limit **
  16  Prefactor     16.504        15.690        .44099E-06    .82116E-04
  17  Normalizat    1.1651        .20646       -.18204E-05   -.97073E-05
  18  Prefactor     1.0866        .18546        .89341E-06   -.14310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.798
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.52518
  norm       = 20.2766
  Prefactor  = 9.49407
  norm       = 4.8948
  Prefactor  = 0.0001
  norm       = 18.0974
  Prefactor  = 11.7003
  Prefactor  = 26.6744
  Prefactor  = 64.9422
  Prefactor  = 0.816551
  Prefactor  = 0.0001
  Prefactor  = 16.5039
  Normalizat = 1.16512
  Prefactor  = 1.08657
 **********
 **   18 **HESSE 
 **********

 FCN=   6574.569     FROM HESSE     STATUS=OK           246 CALLS     1954 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5611        .12662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.798        17.800        .83897E-04   -1.4753    
   3  norm          .10000E-03    1.8823        .10811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.7579        .10447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.5252        4.3782        .16236E-03   -1.5282    
   6  norm          20.277        17.894        .88946E-04   -1.4807    
   7  Prefactor     9.4941        11.590        .13007E-03   -1.5092    
   8  norm          4.8948        7.6427        .18180E-03   -1.5265    
   9  Prefactor     .10000E-03    12.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.097        10.611        .94153E-04   -1.4857    
  11  Prefactor     11.700        15.896        .11714E-03   -1.5024    
  12  Prefactor     26.674        24.366        .77573E-04   -1.4675    
  13  Prefactor     64.942        51.435        .49798E-04   -1.4094    
  14  Prefactor     .81655        4.5601        .32747E-03   -1.5527    
  15  Prefactor     .10000E-03    7.1822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.504        15.733        .98596E-04   -1.4895    
  17  Normalizat    1.1651        .24065        .26824E-03   -.87688    
  18  Prefactor     1.0866        .21837        .26137E-03   -.89897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43002e-10
Minuit parameter uncertainties:
  1  1.8603e-06
  2  17.8036
  3  2.40696e-06
  4  1.65621e-06
  5  4.37852
  6  17.8987
  7  11.5929
  8  7.64422
  9  8.45165e-06
  10  10.6123
  11  15.9022
  12  24.3753
  13  51.4698
  14  3.8595
  15  3.87788e-07
  16  15.7368
  17  0.240883
  18  0.218551
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6574.56930883

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.810e+01  1.061e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.383e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.087e+00  2.186e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.165e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.05
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 7.35e-08 +/- 4.31e-08
Energy Flux (Fixed Index): 2.30e-05 +/- 1.35e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6573.81274695
delta logL = 0.756561878867

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6573.75951125
delta logL = 0.809797582584

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.487       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6615       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0656       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5440E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6573.760     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.473        9.0847        .26308E-02    .20510E-03
   2  alpha         1.6611        .40848        .33769       -.30316E-04
   3  Normalizat    1.2076        .18912        .59748E-01    .90909E-03
   4  Prefactor     1.0660        .17898        .59629E-01    .87712E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.4727
  alpha      = 1.66111
  Normalizat = 1.2076
  Prefactor  = 1.06602
 **********
 **   18 **HESSE 
 **********

 FCN=   6573.760     FROM HESSE     STATUS=OK            29 CALLS      252 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.473        11.687        .10523E-03   -1.4947    
   2  alpha         1.6611        .57475        .13576E-01   -.34220    
   3  Normalizat    1.2076        .22870        .26425E-03   -.86368    
   4  Prefactor     1.0660        .21596        .26370E-03   -.90560    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08524e-09
Minuit parameter uncertainties:
  1  11.6888
  2  0.580618
  3  0.228888
  4  0.216139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585714': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6573.75950875
delta logL = 0.80980007306

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.447e+01  1.169e+01  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  1.661e+00  5.806e-01  0.000e+00  5.000e+00 ( 1.000e+00)
311         beta:  1.183e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
312           Eb:  5.855e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.066e+00  2.161e-01  0.000e+00  1.000e+01 ( 1.000e+00)
542        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
543        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
540   Normalization:  1.208e+00  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.69
Ra Dec: 201.730 22.173
Photon Index (Free Index): 1.66 +/- 0.58
Photon Flux (Free Index): 3.39e-08 +/- 3.38e-08
Energy Flux (Free Index): 2.95e-05 +/- 2.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/585714/cmap_HighResolution_283910401_284169601_4FGL_J1326.9+2210_daily_bin172.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/585714

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.35e-08', energy_flux2='2.95e-05', photon_flux_error='4.31e-08', dlogl='8.10e-01', energy_flux='2.30e-05', photon_flux2='3.39e-08', job_status='DONE', time_completed='2021-09-07 18:23:38.223782', photon_index_error2='0.58', photon_index2='1.66', ts='8.05', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.12e-05', EG='1.17', time_epoch_completed='1631064218.22', return_code='0', job_id='585714', GAL2='1.07', EG2='1.21', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='3.38e-08', ts2='9.69', photon_index='2.38' WHERE bin_id='172' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:23:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0133>
Subject: Job 585714: <4FGL_J1326.9+2210_daily_bin172> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin172> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep  7 18:10:29 2021
Job was executed on host(s) <bullet0133>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:11:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 18:11:41 2021
Terminated at Tue Sep  7 18:23:38 2021
Results reported at Tue Sep  7 18:23:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin172 201.73 22.1732 283910401 284169601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1326.9+2210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   516.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             266.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            789 sec.

The output (if any) is above this job summary.

