/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 102 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2326.2+0113_daily_bin231
RA = 351.575, Dec = 1.2216
tmin = 299203201, tmax = 299462401
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='889974', job_status='RUN', time_executed='2021-09-29 18:47:14.246455', time_epoch_executed='1632966434.25' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889974

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889974/ft1_4FGL_J2326.2+0113_daily_bin231.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889974/ft2_4FGL_J2326.2+0113_daily_bin231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889974/ft1_4FGL_J2326.2+0113_daily_bin231.fits outfile=/scratch/kocevski/889974/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin231.fits ra=351.575 dec=1.2216 rad=12.0 tmin=299203201.0 tmax=299462401.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.39
user 3.16
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889974/ft2_4FGL_J2326.2+0113_daily_bin231.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/889974/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin231.fits evtable="EVENTS" outfile="/scratch/kocevski/889974/ft1_filtered_4FGL_J2326.2+0113_daily_bin231.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/889974/ft1_filtered_4FGL_J2326.2+0113_daily_bin231.fits" evtable="EVENTS" scfile=/scratch/kocevski/889974/ft2_4FGL_J2326.2+0113_daily_bin231.fits sctable="SC_DATA" outfile=/scratch/kocevski/889974/ltcube_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.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/889974/ft2_4FGL_J2326.2+0113_daily_bin231.fits
.....................!
real 11.97
user 11.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889974/ft1_filtered_4FGL_J2326.2+0113_daily_bin231.fits evtable="EVENTS" scfile=/scratch/kocevski/889974/ft2_4FGL_J2326.2+0113_daily_bin231.fits sctable="SC_DATA" expcube=/scratch/kocevski/889974/ltcube_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.fits outfile=/scratch/kocevski/889974/expmap_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.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/889974/ltcube_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.fits
.....................!
real 191.19
user 185.77
sys 5.07

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/889974/ft1_filtered_4FGL_J2326.2+0113_daily_bin231.fits scfile=/scratch/kocevski/889974/ft2_4FGL_J2326.2+0113_daily_bin231.fits outfile=/scratch/kocevski/889974/cmap_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889974/ft1_filtered_4FGL_J2326.2+0113_daily_bin231.fits scfile=/scratch/kocevski/889974/ft2_4FGL_J2326.2+0113_daily_bin231.fits outfile=/scratch/kocevski/889974/cmap_HighResolution_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.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.53
user 0.35
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.373       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6961       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9914       1.0000         .10000E-03   10000.    
     8 'norm      '    .10703E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .43736E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7131       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    15.348       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.786       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .36477E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.2791       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.9914       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.7071       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85132       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94317       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=   5832.623     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     3111 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.371        14.550        .26212E-06   -.85610E-05
   2  norm          2.6961        15.478        .13886E-05    .57201E-04
   3  Prefactor     .10000E-03    11.887        .27674E-06** at limit **
   4  Prefactor     .10000E-03    6.9700        .15477E-06** at limit **
   5  Prefactor     37.930        25.814        .85682E-06    .76395E-04
   6  Prefactor     .10000E-03    17.423        .10420E-05** at limit **
   7  Prefactor     3.0014        7.2818        .19200E-05    .51222E-03
   8  norm          .10001E-03    1.2509       -.17303E-05** at limit **
   9  norm          .10006E-03    3.9192       -.42086E-06** at limit **
  10  Prefactor     1.7111        18.434        .16310E-05    .57866E-04
  11  Prefactor     .10000E-03    46.947        .12659E-06** at limit **
  12  norm          15.349        10.046        .99745E-07   -.55947E-04
  13  Prefactor     .10000E-03    2.7441        .75587E-07** at limit **
  14  Prefactor     19.411        356.84        .30357E-04    .83255E-04
  15  Prefactor     .10000E-03    33.684       -.15897E-05** at limit **
  16  Prefactor     .10000E-03    10.230        .50820E-07** at limit **
  17  norm          .10004E-03    15.475       -.21682E-05** at limit **
  18  Prefactor     .10000E-03    15.022       -.19227E-06** at limit **
  19  Prefactor     5.2799        4.8121       -.87929E-07    .93382E-03
  20  Prefactor     .10000E-03    15.838        .69586E-07** at limit **
  21  Prefactor     9.9822        24.834        .17223E-05    .15365E-04
  22  Prefactor     3.7050        15.854        .14483E-05    .30966E-04
  23  Normalizat    .85135        .20656       -.28392E-05    .12797E-04
  24  Prefactor     .94324        .13245       -.41754E-06   -.12498E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.3714
  norm       = 2.69607
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.9304
  Prefactor  = 0.0001
  Prefactor  = 3.00139
  norm       = 0.000100006
  norm       = 0.000100056
  Prefactor  = 1.71105
  Prefactor  = 0.0001
  norm       = 15.3486
  Prefactor  = 0.0001
  Prefactor  = 19.4114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 5.27995
  Prefactor  = 0.0001
  Prefactor  = 9.98218
  Prefactor  = 3.70495
  Normalizat = 0.851349
  Prefactor  = 0.943244
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.623     FROM HESSE     STATUS=OK           401 CALLS     3512 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.371        14.547        .10565E-03   -1.4950    
   2  norm          2.6961        15.493        .24811E-03   -1.5380    
   3  Prefactor     .10000E-03    11.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.930        25.875        .65066E-04   -1.4475    
   6  Prefactor     .10000E-03    17.462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0014        7.3187        .11736E-02   -1.5361    
   8  norm          .10001E-03    2.0186        .12222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10006E-03    34.840        .27128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7111        17.766        .32112E-03   -1.5446    
  11  Prefactor     .10000E-03    47.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          15.349        9.8218        .10223E-03   -1.4924    
  13  Prefactor     .10000E-03    2.7559        .12349E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.411        382.81        .45022E-03   -1.4827    
  15  Prefactor     .10000E-03    34.659        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10004E-03    52.148        .53888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.2799        4.6981        .70279E-03   -1.5248    
  20  Prefactor     .10000E-03    15.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.9822        24.853        .12677E-03   -1.5076    
  22  Prefactor     3.7050        15.890        .20974E-03   -1.5323    
  23  Normalizat    .85135        .24035        .29525E-03   -.98191    
  24  Prefactor     .94324        .15757        .19362E-03   -.94646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78597e-09
Minuit parameter uncertainties:
  1  14.5502
  2  12.9307
  3  3.56414e-05
  4  2.28745e-05
  5  25.8831
  6  0.000142572
  7  7.32088
  8  0.000218431
  9  0.00278989
  10  11.0309
  11  0.000103776
  12  9.82284
  13  7.36725e-06
  14  173.697
  15  0.000107519
  16  1.42359e-05
  17  0.00303809
  18  9.82063e-06
  19  4.69847
  20  3.00501e-05
  21  24.8792
  22  15.3523
  23  0.240648
  24  0.157647
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.038e-04  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:  9.432e-01  1.576e-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:  8.513e-01  2.406e-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: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889974/likelihoodResults_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.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): 0
logL (Free Index) = 5832.62289893
delta logL = -0.000101117892882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5832.6227978
delta logL = 1.12477209768e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1773       1.0000          .0000       10.000    
     3 'Normalizat'    .85135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94324       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.

 FCN=   5832.623     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      239 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    1746.0        .90712E-02** at limit **
   2  Index         2.2041        5.4374        .50000       -.49187E-05
   3  Normalizat    .85135        .31078E-01    .66738E-01    .40462E-04
   4  Prefactor     .94325        .21479E-01    .45554E-01    .30542E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.20413
  Normalizat = 0.851348
  Prefactor  = 0.943245
 **********
 **   18 **HESSE 
 **********

 FCN=   5832.623     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    50.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2041        6.1014        .50000       -.59339    
   3  Normalizat    .85135        .22362        .29525E-03   -.98191    
   4  Prefactor     .94325        .15485        .19362E-03   -.94646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21722e-10
Minuit parameter uncertainties:
  1  0.00102212
  2  4.14599
  3  0.223864
  4  0.154919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889974': 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) = 5832.62279772
delta logL = 8.85911504156e-08

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.022e-03  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.204e+00  4.146e+00  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:  9.432e-01  1.549e-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:  8.513e-01  2.239e-01  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/889974/cmap_HighResolution_299203201_299462401_4FGL_J2326.2+0113_daily_bin231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.99e-08', time_completed='2021-09-29 18:57:54.939102', job_id='889974', GAL2='0.94', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632967074.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='8.86e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='231' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:57:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 889974: <4FGL_J2326.2+0113_daily_bin231> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin231> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:45:20 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:45:22 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:45:22 2021
Terminated at Wed Sep 29 18:57:55 2021
Results reported at Wed Sep 29 18:57:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin231 351.575 1.2216 299203201 299462401 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 :                                   638.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            755 sec.

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

