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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin683
RA = 351.575, Dec = 1.2216
tmin = 416361601, tmax = 416620801
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='891717', job_status='RUN', time_executed='2021-09-29 18:53:08.260286', time_epoch_executed='1632966788.26' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891717

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891717/ft1_4FGL_J2326.2+0113_daily_bin683.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891717/ft1_4FGL_J2326.2+0113_daily_bin683.fits outfile=/scratch/kocevski/891717/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin683.fits ra=351.575 dec=1.2216 rad=12.0 tmin=416361601.0 tmax=416620801.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 5.07
user 4.82
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits" evtable="EVENTS" scfile=/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits sctable="SC_DATA" outfile=/scratch/kocevski/891717/ltcube_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.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/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits
.....................!
real 12.28
user 11.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits evtable="EVENTS" scfile=/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits sctable="SC_DATA" expcube=/scratch/kocevski/891717/ltcube_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.fits outfile=/scratch/kocevski/891717/expmap_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.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/891717/ltcube_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.fits
.....................!
real 193.04
user 187.54
sys 5.19

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/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits scfile=/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits outfile=/scratch/kocevski/891717/cmap_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits scfile=/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits outfile=/scratch/kocevski/891717/cmap_HighResolution_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.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/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits evtable="EVENTS" scfile=/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891717/Model_4FGL_J2326.2+0113_daily_bin683.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/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits.....................!
real 54.57
user 53.22
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits', '/scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits', expMap='/scratch/kocevski/891717/expmap_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.fits', expCube='/scratch/kocevski/891717/ltcube_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891717/Model_4FGL_J2326.2+0113_daily_bin683.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/891717/ft1_filtered_4FGL_J2326.2+0113_daily_bin683.fits
Spacecraft file(s): /scratch/kocevski/891717/ft2_4FGL_J2326.2+0113_daily_bin683.fits
Exposure map: /scratch/kocevski/891717/expmap_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.fits
Exposure cube: /scratch/kocevski/891717/ltcube_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891717/Model_4FGL_J2326.2+0113_daily_bin683.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) = 5116.35908457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.954       1.0000         .10000E-03   10000.    
     2 'norm      '    14.022       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.478       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .13266       1.0000         .10000E-03   10000.    
     9 'norm      '    .15643E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9195       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1059.2       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.541       1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.516       1.0000         .10000E-03   10000.    
    17 'norm      '    .10260E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    42.303       1.0000         .10000E-03   10000.    
    19 'Prefactor '    22.789       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.335       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .58684       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.4356       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.

 FCN=   5116.311     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2771 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.955        22.287        .41162E-06    .13243E-05
   2  norm          14.022        14.797       -.26142E-06   -.22468E-04
   3  Prefactor     .10000E-03    51.479       -.46643E-06** at limit **
   4  Prefactor     19.475        17.821        .81547E-07    .60591E-05
   5  Prefactor     .10000E-03    39.890       -.11800E-05** at limit **
   6  Prefactor     .10000E-03    118.78        .19992E-05** at limit **
   7  Prefactor     .10000E-03    6.8675        .88403E-06** at limit **
   8  norm          .12791        1.2174       -.55940E-06    .19083E-02
   9  norm          .10000E-03    16.284        .30380E-05** at limit **
  10  Prefactor     9.9191        12.183        .20772E-05    .19364E-03
  11  Prefactor     .10000E-03    32.608        .50285E-07** at limit **
  12  norm          .10000E-03    4.9534       -.30250E-06** at limit **
  13  Prefactor     .10000E-03    5.9962       -.44673E-06** at limit **
  14  Prefactor     1059.6        518.76       -.39833E-05    .15362E-05
  15  Prefactor     30.557        33.320       -.16963E-05   -.86141E-04
  16  Prefactor     25.508        27.976       -.13836E-06    .36413E-05
  17  norm          .10000E-03    33.776        .53292E-06** at limit **
  18  Prefactor     42.429        105.12       -.62642E-06    .11895E-04
  19  Prefactor     22.787        14.163        .15794E-07   -.16648E-03
  20  Prefactor     36.362        59.956        .85666E-06    .90549E-05
  21  Prefactor     .10000E-03    24.946        .93258E-08** at limit **
  22  Prefactor     .10000E-03    21.605       -.62264E-06** at limit **
  23  Normalizat    .58698        .29861       -.34758E-05   -.52166E-04
  24  Prefactor     1.4356        .19385        .48119E-06   -.14488E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.9553
  norm       = 14.0219
  Prefactor  = 0.0001
  Prefactor  = 19.4747
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.127908
  norm       = 0.000100001
  Prefactor  = 9.91914
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1059.61
  Prefactor  = 30.5574
  Prefactor  = 25.5082
  norm       = 0.0001
  Prefactor  = 42.4286
  Prefactor  = 22.7871
  Prefactor  = 36.3616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.586985
  Prefactor  = 1.43562
 **********
 **   18 **HESSE 
 **********

 FCN=   5116.311     FROM HESSE     STATUS=OK           399 CALLS     3170 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.955        22.289        .11586E-03   -1.5016    
   2  norm          14.022        14.786        .10697E-03   -1.4959    
   3  Prefactor     .10000E-03    51.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.475        17.816        .90751E-04   -1.4825    
   5  Prefactor     .10000E-03    40.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    119.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.9071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12791        4.1512        .12456E-02   -1.5636    
   9  norm          .10000E-03    16.955        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9191        12.233        .63614E-03   -1.5078    
  11  Prefactor     .10000E-03    32.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9756        .15543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.0390        .17088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1059.6        527.49        .64992E-04   -.90768    
  15  Prefactor     30.557        33.478        .72501E-04   -1.4602    
  16  Prefactor     25.508        27.948        .79303E-04   -1.4697    
  17  norm          .10000E-03    33.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     42.429        104.63        .30817E-03   -1.4404    
  19  Prefactor     22.787        14.158        .83907E-04   -1.4753    
  20  Prefactor     36.362        59.909        .66486E-04   -1.4501    
  21  Prefactor     .10000E-03    25.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    21.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .58698        .32467        .44322E-03   -1.0854    
  24  Prefactor     1.4356        .21491        .20621E-03   -.79359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.21802e-09
Minuit parameter uncertainties:
  1  22.3046
  2  14.7899
  3  7.32073e-05
  4  17.8211
  5  4.98891e-05
  6  0.000531474
  7  4.90394e-05
  8  1.45689
  9  0.000273802
  10  12.2361
  11  2.85255e-05
  12  1.40013e-05
  13  1.05391e-05
  14  530.106
  15  33.4985
  16  27.9625
  17  0.000179652
  18  105.085
  19  14.1598
  20  60.0082
  21  7.40587e-05
  22  1.91961e-05
  23  0.325734
  24  0.215046
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  2.853e-05  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:  1.436e+00  2.150e-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:  5.870e-01  3.257e-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: 8.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891717/likelihoodResults_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.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) = 5116.31110831
delta logL = -0.000145657916619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5116.31096307
delta logL = -4.22845914727e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3789       1.0000          .0000       10.000    
     3 'Normalizat'    .58698       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4356       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=   5116.311     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      277 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10087E-03    131.21        .18142E-02** at limit **
   2  Index         2.3369        5.7141        .50000        .78755E-05
   3  Normalizat    .58698        .14615E-01    .44324E-03   -.14620E-04
   4  Prefactor     1.4356        .10263E-01    .20620E-03    .34568E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100869
  Index      = 2.33688
  Normalizat = 0.586983
  Prefactor  = 1.43562
 **********
 **   18 **HESSE 
 **********

 FCN=   5116.311     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10087E-03    587.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3369        7.2898        .50000       -.56170    
   3  Normalizat    .58698        .31744E-01    .17730E-04   -1.0854    
   4  Prefactor     1.4356        .22291E-01    .82482E-05   -.79359    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.05366e-09
Minuit parameter uncertainties:
  1  0.0456403
  2  474.559
  3  0.0317449
  4  0.0222913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891717': 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) = 5116.31096299
delta logL = -3.35604454449e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.009e-04  4.564e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.337e+00  4.746e+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:  1.436e+00  2.229e-02  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:  5.870e-01  3.174e-02  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/891717/cmap_HighResolution_416361601_416620801_4FGL_J2326.2+0113_daily_bin683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-03', job_status='DONE', photon_flux_upper_limit='8.39e-08', time_completed='2021-09-29 19:03:11.060297', job_id='891717', GAL2='1.44', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1632967391.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-3.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='683' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:03:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 891717: <4FGL_J2326.2+0113_daily_bin683> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin683> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:50:59 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:51:00 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:51:00 2021
Terminated at Wed Sep 29 19:03:11 2021
Results reported at Wed Sep 29 19:03:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin683 351.575 1.2216 416361601 416620801 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            732 sec.

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

