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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin543
RA = 351.575, Dec = 1.2216
tmin = 380073601, tmax = 380332801
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='891498', job_status='RUN', time_executed='2021-09-29 18:53:08.123588', time_epoch_executed='1632966788.12' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='543'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891498

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891498/ft1_4FGL_J2326.2+0113_daily_bin543.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891498/ft1_4FGL_J2326.2+0113_daily_bin543.fits outfile=/scratch/kocevski/891498/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin543.fits ra=351.575 dec=1.2216 rad=12.0 tmin=380073601.0 tmax=380332801.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 4.48
user 4.23
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.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/891498/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin543.fits evtable="EVENTS" outfile="/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits" evtable="EVENTS" scfile=/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits sctable="SC_DATA" outfile=/scratch/kocevski/891498/ltcube_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.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/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits
.....................!
real 11.90
user 11.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits sctable="SC_DATA" expcube=/scratch/kocevski/891498/ltcube_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.fits outfile=/scratch/kocevski/891498/expmap_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.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/891498/ltcube_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.fits
.....................!
real 190.25
user 185.33
sys 4.61

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.2+0113 @ 351.575 1.2216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits scfile=/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits outfile=/scratch/kocevski/891498/cmap_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.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=351.575 yref=1.2216 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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits scfile=/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits outfile=/scratch/kocevski/891498/cmap_HighResolution_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.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=351.575 yref=1.2216 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891498/Model_4FGL_J2326.2+0113_daily_bin543.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/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits.....................!
real 55.24
user 53.84
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits', '/scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits', expMap='/scratch/kocevski/891498/expmap_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.fits', expCube='/scratch/kocevski/891498/ltcube_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891498/Model_4FGL_J2326.2+0113_daily_bin543.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.2+0113'

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.628e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/891498/ft1_filtered_4FGL_J2326.2+0113_daily_bin543.fits
Spacecraft file(s): /scratch/kocevski/891498/ft2_4FGL_J2326.2+0113_daily_bin543.fits
Exposure map: /scratch/kocevski/891498/expmap_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.fits
Exposure cube: /scratch/kocevski/891498/ltcube_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891498/Model_4FGL_J2326.2+0113_daily_bin543.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) = 5074.67461225

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    14.465       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .71788E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.061       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.148       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3240       1.0000         .10000E-03   10000.    
     9 'norm      '    .10197E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.7970       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.782       1.0000         .10000E-03   10000.    
    17 'norm      '    15.921       1.0000         .10000E-03   10000.    
    18 'Prefactor '    54.355       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.855       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.746       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1291       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5074.654     FROM MIGRAD    STATUS=CONVERGED    949 CALLS     3100 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.841        .18142E-02** at limit **
   2  norm          14.465        10.558        .10531E-03   -.44261E-05
   3  Prefactor     .10000E-03    66.009        .18142E-02** at limit **
   4  Prefactor     .10000E-03    15.304        .69813E-01** at limit **
   5  Prefactor     .10000E-03    22.833        .18142E-02** at limit **
   6  Prefactor     51.066        84.153        .56124E-04   -.19446E-05
   7  Prefactor     21.145        16.928        .87099E-04   -.27411E-05
   8  norm          1.3236        1.0652        .63997E-04   -.78518E-04
   9  norm          .10000E-03    3.1820        .12354E-02** at limit **
  10  Prefactor     .10000E-03    4.5866        .14817E-02** at limit **
  11  Prefactor     .10000E-03    22.503        .18142E-02** at limit **
  12  norm          .10000E-03    2.8200        .11664E-02** at limit **
  13  Prefactor     7.7973        6.3029        .71802E-03   -.99275E-05
  14  Prefactor     .10000E-03    133.33        .18142E-02** at limit **
  15  Prefactor     .10000E-03    4.2731        .14365E-02** at limit **
  16  Prefactor     17.782        19.485        .94980E-04    .67029E-05
  17  norm          15.918        17.873        .10038E-03   -.77016E-05
  18  Prefactor     54.356        64.503        .54405E-04   -.12538E-05
  19  Prefactor     .10000E-03    2.7348        .11423E-02** at limit **
  20  Prefactor     23.855        24.327        .82013E-04    .47131E-06
  21  Prefactor     20.747        21.559        .87936E-04    .14221E-05
  22  Prefactor     .10000E-03    29.633        .18142E-02** at limit **
  23  Normalizat    1.1290        .26693        .27223E-03   -.24138E-04
  24  Prefactor     .78793        .17562        .21409E-03    .30587E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 14.4649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.0657
  Prefactor  = 21.1449
  norm       = 1.32363
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.79728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7817
  norm       = 15.9179
  Prefactor  = 54.3562
  Prefactor  = 0.0001
  Prefactor  = 23.8553
  Prefactor  = 20.7469
  Prefactor  = 0.0001
  Normalizat = 1.12899
  Prefactor  = 0.787927
 **********
 **   18 **HESSE 
 **********

 FCN=   5074.654     FROM HESSE     STATUS=OK           385 CALLS     3485 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.844        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          14.465        10.558        .42125E-05   -1.4947    
   3  Prefactor     .10000E-03    66.030        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.698        .75381E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.842        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     51.066        84.162        .11225E-04   -1.4278    
   7  Prefactor     21.145        16.928        .34840E-05   -1.4788    
   8  norm          1.3236        1.0652        .25599E-05   -1.5478    
   9  norm          .10000E-03    3.1824        .24708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5879        .29633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.505        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.8200        .23328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.7973        6.3023        .28721E-04   -1.5149    
  14  Prefactor     .10000E-03    133.33        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2733        .28730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.782        19.485        .37992E-05   -1.4864    
  17  norm          15.918        17.873        .40151E-05   -1.4910    
  18  Prefactor     54.356        64.504        .10881E-04   -1.4232    
  19  Prefactor     .10000E-03    2.7352        .22846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.855        24.327        .16403E-04   -1.4731    
  21  Prefactor     20.747        21.562        .35175E-05   -1.4797    
  22  Prefactor     .10000E-03    29.654        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1290        .26722        .10889E-04   -.88826    
  24  Prefactor     .78793        .17577        .85636E-05   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81404e-11
Minuit parameter uncertainties:
  1  1.99218e-06
  2  10.5595
  3  2.93283e-05
  4  0.000157104
  5  1.93603e-05
  6  84.3589
  7  16.9323
  8  1.06517
  9  1.54973e-06
  10  1.39449e-06
  11  8.73616e-06
  12  5.62788e-06
  13  6.30284
  14  0.000227533
  15  7.86464e-07
  16  19.4919
  17  17.8786
  18  64.5872
  19  8.01623e-07
  20  24.3371
  21  21.5698
  22  1.42287e-05
  23  0.267543
  24  0.175896
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  8.736e-06  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.879e-01  1.759e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.129e+00  2.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 5.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891498/likelihoodResults_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.txt

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): 102
logL (Free Index) = 5074.65436985
delta logL = -0.00021158196887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5074.65415923
delta logL = -9.64570972428e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3020       1.0000          .0000       10.000    
     3 'Normalizat'    1.1290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5074.654     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      274 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10306E-03    5.2095        .18142E-01** at limit **
   2  Index         2.2203        7.9108        .50000        .23189E-04
   3  Normalizat    1.1290        .29259E-02    .27223E-03   -.38828E-03
   4  Prefactor     .78793        .19686E-02    .21409E-03   -.47683E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103062
  Index      = 2.22031
  Normalizat = 1.12899
  Prefactor  = 0.787926
 **********
 **   18 **HESSE 
 **********

 FCN=   5074.654     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10306E-03    49.151        .29872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2203        8.8471        .50000       -.58949    
   3  Normalizat    1.1290        .89849E-02    .54446E-04   -.88826    
   4  Prefactor     .78793        .60452E-02    .42818E-04   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.06253e-09
Minuit parameter uncertainties:
  1  0.0245542
  2  120.82
  3  0.00898491
  4  0.00604524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891498': 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): 102
logL (Free Index) = 5074.65415882
delta logL = -5.55602127861e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.031e-04  2.455e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.220e+00  1.208e+02  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.879e-01  6.045e-03  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.129e+00  8.985e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.575 1.222

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/891498/cmap_HighResolution_380073601_380332801_4FGL_J2326.2+0113_daily_bin543.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-03', job_status='DONE', photon_flux_upper_limit='5.31e-08', time_completed='2021-09-29 19:03:17.961641', job_id='891498', GAL2='0.79', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632967397.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-5.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='543' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:03:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 891498: <4FGL_J2326.2+0113_daily_bin543> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin543> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:50:37 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:50:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:50:39 2021
Terminated at Wed Sep 29 19:03:18 2021
Results reported at Wed Sep 29 19:03:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin543 351.575 1.2216 380073601 380332801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.2+0113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   608.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            761 sec.

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

