/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 180 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 = 7361
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1326.9+2210_daily_bin834
RA = 201.73, Dec = 22.1732
tmin = 455500801, tmax = 455760001
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='591448', job_status='RUN', time_executed='2021-09-07 18:34:53.416839', time_epoch_executed='1631064893.42' WHERE source_name='4FGL J1326.9+2210' and cadence='daily' and bin_id='834'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591448/ft1_4FGL_J1326.9+2210_daily_bin834.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591448/ft1_4FGL_J1326.9+2210_daily_bin834.fits outfile=/scratch/kocevski/591448/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin834.fits ra=201.73 dec=22.1732 rad=12.0 tmin=455500801.0 tmax=455760001.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 2.87
user 2.64
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.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/591448/ft1_filteredMKT_4FGL_J1326.9+2210_daily_bin834.fits evtable="EVENTS" outfile="/scratch/kocevski/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.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 1.22
user 0.28
sys 0.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits" evtable="EVENTS" scfile=/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits sctable="SC_DATA" outfile=/scratch/kocevski/591448/ltcube_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.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/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits
.....................!
real 16.23
user 14.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits sctable="SC_DATA" expcube=/scratch/kocevski/591448/ltcube_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.fits outfile=/scratch/kocevski/591448/expmap_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.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/591448/ltcube_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.fits
.....................!
real 159.62
user 153.64
sys 4.75

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/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits scfile=/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits outfile=/scratch/kocevski/591448/cmap_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.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.51
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits scfile=/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits outfile=/scratch/kocevski/591448/cmap_HighResolution_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.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.50
user 0.35
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits evtable="EVENTS" scfile=/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/591448/Model_4FGL_J1326.9+2210_daily_bin834.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/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits.....................!
real 41.72
user 40.45
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits', '/scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits', expMap='/scratch/kocevski/591448/expmap_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.fits', expCube='/scratch/kocevski/591448/ltcube_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/591448/Model_4FGL_J1326.9+2210_daily_bin834.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/591448/ft1_filtered_4FGL_J1326.9+2210_daily_bin834.fits
Spacecraft file(s): /scratch/kocevski/591448/ft2_4FGL_J1326.9+2210_daily_bin834.fits
Exposure map: /scratch/kocevski/591448/expmap_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.fits
Exposure cube: /scratch/kocevski/591448/ltcube_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/591448/Model_4FGL_J1326.9+2210_daily_bin834.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) = 6172.65390905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.191       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10857E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.7751       1.0000         .10000E-03   10000.    
     5 'norm      '    5.6992       1.0000         .10000E-03   10000.    
     6 'norm      '    8.6544       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7944       1.0000         .10000E-03   10000.    
     8 'norm      '    9.2308       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    16.347       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9150       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    65.967       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .80905       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1272       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.8446       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0379       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0984       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=   6172.653     FROM MIGRAD    STATUS=CONVERGED    343 CALLS     1715 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.191        8.1731       -.25866E-06   -.33839E-04
   2  Prefactor     .10000E-03    10.155       -.28167E-06** at limit **
   3  norm          .10000E-03    1.5701       -.54818E-07** at limit **
   4  norm          8.7717        6.8282        .21540E-06   -.39659E-03
   5  norm          5.7040        11.743        .32063E-05   -.40476E-03
   6  norm          8.6546        9.7418        .48984E-06    .47187E-03
   7  Prefactor     8.7939        16.877       -.11882E-06   -.66820E-04
   8  norm          9.2306        6.8788       -.15428E-06   -.42561E-04
   9  Prefactor     .10000E-03    20.664       -.17074E-06** at limit **
  10  norm          16.347        9.0296       -.93854E-07    .20082E-05
  11  Prefactor     8.9132        15.354       -.14935E-05    .96954E-05
  12  Prefactor     .10000E-03    13.765        .53222E-06** at limit **
  13  Prefactor     65.961        76.197       -.70544E-05    .56992E-04
  14  Prefactor     .80882        2.6240       -.12358E-05   -.11895E-02
  15  Prefactor     3.1277        10.719       -.57281E-06   -.13731E-03
  16  Prefactor     7.8444        10.743       -.57531E-06   -.60509E-04
  17  Normalizat    1.0381        .18375        .66760E-06    .25792E-04
  18  Prefactor     1.0983        .17703        .25420E-06    .30756E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.1912
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.7717
  norm       = 5.70403
  norm       = 8.65458
  Prefactor  = 8.79393
  norm       = 9.23065
  Prefactor  = 0.0001
  norm       = 16.3471
  Prefactor  = 8.91322
  Prefactor  = 0.0001
  Prefactor  = 65.9609
  Prefactor  = 0.808816
  Prefactor  = 3.12767
  Prefactor  = 7.84439
  Normalizat = 1.03807
  Prefactor  = 1.09829
 **********
 **   18 **HESSE 
 **********

 FCN=   6172.653     FROM HESSE     STATUS=OK           254 CALLS     1969 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.191        8.1831        .11473E-03   -1.5010    
   2  Prefactor     .10000E-03    10.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.8602        .19139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.7717        7.0232        .11613E-03   -1.5116    
   5  norm          5.7040        11.663        .16826E-03   -1.5230    
   6  norm          8.6546        9.8784        .68129E-03   -1.5120    
   7  Prefactor     8.7939        16.900        .13516E-03   -1.5115    
   8  norm          9.2306        6.8848        .13191E-03   -1.5100    
   9  Prefactor     .10000E-03    20.689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.347        9.0321        .99059E-04   -1.4899    
  11  Prefactor     8.9132        15.349        .13424E-03   -1.5111    
  12  Prefactor     .10000E-03    13.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     65.961        75.227        .49414E-04   -1.4082    
  14  Prefactor     .80882        2.8579        .24090E-03   -1.5528    
  15  Prefactor     3.1277        10.765        .22926E-03   -1.5354    
  16  Prefactor     7.8444        10.767        .14316E-03   -1.5148    
  17  Normalizat    1.0381        .21466        .25349E-03   -.91766    
  18  Prefactor     1.0983        .20689        .24852E-03   -.89521    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01867e-09
Minuit parameter uncertainties:
  1  8.18385
  2  2.76921e-06
  3  1.23641e-06
  4  7.02382
  5  11.6681
  6  9.88023
  7  16.9097
  8  6.88539
  9  1.41206e-05
  10  9.03289
  11  15.3558
  12  1.24481e-06
  13  75.3357
  14  2.85841
  15  10.7715
  16  10.7698
  17  0.214834
  18  0.207043
Done.

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

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.635e+01  9.033e+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

GAL_V02
   Spectrum: PowerLaw
541    Prefactor:  1.098e+00  2.070e-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.038e+00  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.01
Ra Dec: 201.730 22.173
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 6.64e-08 +/- 3.67e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.15e-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) = 6172.40526432
delta logL = 0.247572851436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6172.38839728
delta logL = 0.264439888399

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.932       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0039       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0554       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0873       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=   6172.388     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      210 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.939        14.490        .23645E-02    .23001E-03
   2  alpha         2.0055        .67167        .35424        .12677E-06
   3  Normalizat    1.0552        .17481        .40206E-01    .25000E-03
   4  Prefactor     1.0875        .17513        .56442E-01    .10368E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.9392
  alpha      = 2.00549
  Normalizat = 1.05516
  Prefactor  = 1.08745
 **********
 **   18 **HESSE 
 **********

 FCN=   6172.388     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .20E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.939        9.5543        .47291E-03   -1.4861    
   2  alpha         2.0055        .50168        .13811E-01   -.19912    
   3  Normalizat    1.0552        .20054        .12585E-02   -.91205    
   4  Prefactor     1.0875        .20117        .24957E-03   -.89869    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02907e-13
Minuit parameter uncertainties:
  1  9.55508
  2  0.505255
  3  0.200684
  4  0.201312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591448': 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) = 6172.38839176
delta logL = 0.26444540919

Extracting fit parameters...

4FGL J1326.9+2210
   Spectrum: LogParabola
309         norm:  1.794e+01  9.555e+00  1.000e-04  1.000e+04 ( 1.000e-12)
310        alpha:  2.005e+00  5.053e-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.087e+00  2.013e-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.055e+00  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.59
Ra Dec: 201.730 22.173
Photon Index (Free Index): 2.01 +/- 0.51
Photon Flux (Free Index): 5.21e-08 +/- 3.41e-08
Energy Flux (Free Index): 2.52e-05 +/- 1.59e-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/591448/cmap_HighResolution_455500801_455760001_4FGL_J1326.9+2210_daily_bin834.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.64e-08', energy_flux2='2.52e-05', photon_flux_error='3.67e-08', dlogl='2.64e-01', energy_flux='2.08e-05', photon_flux2='5.21e-08', job_status='DONE', time_completed='2021-09-07 18:42:12.643541', photon_index_error2='0.51', photon_index2='2.01', ts='9.01', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='1.59e-05', EG='1.04', time_epoch_completed='1631065332.64', return_code='0', job_id='591448', GAL2='1.09', EG2='1.06', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='3.41e-08', ts2='9.59', photon_index='2.38' WHERE bin_id='834' AND source_name='4FGL J1326.9+2210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 18:42:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 591448: <4FGL_J1326.9+2210_daily_bin834> in cluster <slac> Done

Job <4FGL_J1326.9+2210_daily_bin834> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep  7 18:30:28 2021
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 18:31:36 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:31:36 2021
Terminated at Tue Sep  7 18:42:13 2021
Results reported at Tue Sep  7 18:42:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1326.9+2210_daily_bin834 201.73 22.1732 455500801 455760001 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 :                                   427.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            705 sec.

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

