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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin649
RA = 351.575, Dec = 1.2216
tmin = 407548801, tmax = 407808001
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='891665', job_status='RUN', time_executed='2021-09-29 18:54:21.775246', time_epoch_executed='1632966861.78' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='649'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891665

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891665/ft1_4FGL_J2326.2+0113_daily_bin649.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891665/ft2_4FGL_J2326.2+0113_daily_bin649.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891665/ft1_4FGL_J2326.2+0113_daily_bin649.fits outfile=/scratch/kocevski/891665/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin649.fits ra=351.575 dec=1.2216 rad=12.0 tmin=407548801.0 tmax=407808001.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.50
user 3.28
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891665/ft1_filtered_4FGL_J2326.2+0113_daily_bin649.fits evtable="EVENTS" scfile=/scratch/kocevski/891665/ft2_4FGL_J2326.2+0113_daily_bin649.fits sctable="SC_DATA" expcube=/scratch/kocevski/891665/ltcube_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.fits outfile=/scratch/kocevski/891665/expmap_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.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/891665/ltcube_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.fits
.....................!
real 192.80
user 187.85
sys 4.56

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/891665/ft1_filtered_4FGL_J2326.2+0113_daily_bin649.fits scfile=/scratch/kocevski/891665/ft2_4FGL_J2326.2+0113_daily_bin649.fits outfile=/scratch/kocevski/891665/cmap_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891665/ft1_filtered_4FGL_J2326.2+0113_daily_bin649.fits scfile=/scratch/kocevski/891665/ft2_4FGL_J2326.2+0113_daily_bin649.fits outfile=/scratch/kocevski/891665/cmap_HighResolution_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.195       1.0000         .10000E-03   10000.    
     2 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10915E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.031       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7863       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.590       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.457       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1633       1.0000         .10000E-03   10000.    
     9 'norm      '    6.7637       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2457       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8682       1.0000         .10000E-03   10000.    
    12 'norm      '    1.6960       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.642       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0389       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.950       1.0000         .10000E-03   10000.    
    17 'norm      '    .10802E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0496       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.1135       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.1685       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75044       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1093       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=   5619.373     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2716 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.159        28.483        .20083E-05   -.10562E-04
   2  norm          .10000E-03    8.1832       -.33569E-06** at limit **
   3  Prefactor     .10000E-03    69.423       -.16510E-05** at limit **
   4  Prefactor     14.029        16.524       -.10334E-06    .90741E-05
   5  Prefactor     6.7842        16.936        .12609E-06    .62542E-05
   6  Prefactor     17.542        61.241        .63162E-05   -.47244E-05
   7  Prefactor     11.459        13.810       -.79418E-06   -.34680E-04
   8  norm          1.1636        1.0222        .25279E-06    .39598E-04
   9  norm          6.7642        6.1574        .22242E-06   -.60307E-04
  10  Prefactor     1.2479        8.2079        .31612E-05   -.34338E-03
  11  Prefactor     8.8804        54.907        .60875E-06    .13634E-06
  12  norm          1.6884        11.109       -.82849E-06   -.10667E-04
  13  Prefactor     15.648        8.7478        .16334E-06   -.86413E-05
  14  Prefactor     .10000E-03    73.082       -.28350E-06** at limit **
  15  Prefactor     1.0130        22.760       -.55884E-05   -.22804E-03
  16  Prefactor     28.953        22.238       -.54721E-07    .60574E-07
  17  norm          .10000E-03    59.616       -.98896E-06** at limit **
  18  Prefactor     .10000E-03    18.548       -.19424E-06** at limit **
  19  Prefactor     8.0629        6.1260        .16337E-05    .14860E-05
  20  Prefactor     9.1168        20.518        .45900E-06   -.72832E-06
  21  Prefactor     4.1693        12.099       -.26052E-07   -.52092E-05
  22  Prefactor     .10000E-03    14.832        .52521E-08** at limit **
  23  Normalizat    .75036        .24180       -.75976E-06    .10486E-03
  24  Prefactor     1.1094        .15644        .84944E-06   -.12439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1592
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0291
  Prefactor  = 6.7842
  Prefactor  = 17.5416
  Prefactor  = 11.4585
  norm       = 1.16358
  norm       = 6.76417
  Prefactor  = 1.24785
  Prefactor  = 8.88044
  norm       = 1.68844
  Prefactor  = 15.6479
  Prefactor  = 0.0001
  Prefactor  = 1.01305
  Prefactor  = 28.9529
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.06286
  Prefactor  = 9.11684
  Prefactor  = 4.16931
  Prefactor  = 0.0001
  Normalizat = 0.75036
  Prefactor  = 1.1094
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.373     FROM HESSE     STATUS=OK           409 CALLS     3125 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.159        28.515        .11974E-03   -1.5040    
   2  norm          .10000E-03    8.2398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    69.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.029        16.514        .10693E-03   -1.4959    
   5  Prefactor     6.7842        16.927        .15402E-03   -1.5187    
   6  Prefactor     17.542        61.231        .95496E-04   -1.4870    
   7  Prefactor     11.459        13.828        .11835E-03   -1.5031    
   8  norm          1.1636        .99679        .66697E-04   -1.5492    
   9  norm          6.7642        6.1482        .15428E-03   -1.5188    
  10  Prefactor     1.2479        10.600        .20059E-02   -1.5485    
  11  Prefactor     8.8804        54.803        .13460E-03   -1.5112    
  12  norm          1.6884        10.618        .32311E-03   -1.5448    
  13  Prefactor     15.648        8.5616        .10127E-03   -1.4917    
  14  Prefactor     .10000E-03    73.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0130        47.751        .45598E-02   -1.5507    
  16  Prefactor     28.953        22.218        .37230E-03   -1.4631    
  17  norm          .10000E-03    60.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.0629        6.4612        .13693E-03   -1.5140    
  20  Prefactor     9.1168        20.506        .13276E-03   -1.5104    
  21  Prefactor     4.1693        12.081        .19741E-03   -1.5300    
  22  Prefactor     .10000E-03    14.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .75036        .26972        .33767E-03   -1.0194    
  24  Prefactor     1.1094        .17519        .19558E-03   -.89167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32655e-09
Minuit parameter uncertainties:
  1  28.5499
  2  2.0205e-06
  3  0.000108015
  4  16.5194
  5  16.9392
  6  61.4513
  7  13.8317
  8  0.996806
  9  6.14874
  10  7.27523
  11  44.1813
  12  8.47037
  13  8.56227
  14  3.24051e-05
  15  13.9213
  16  22.2243
  17  0.000398733
  18  8.73972e-06
  19  6.46181
  20  20.522
  21  12.0878
  22  5.33779e-05
  23  0.270202
  24  0.175278
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  8.880e+00  4.418e+01  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.109e+00  1.753e-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:  7.504e-01  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891665/likelihoodResults_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.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) = 5619.37235576
delta logL = 0.0008480650813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5619.37208727
delta logL = 0.00111654845659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9959       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0117       1.0000          .0000       10.000    
     3 'Normalizat'    .75136       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1092       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=   5619.372     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      245 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.161        517.02        .31685E-02   -.15493E-04
   2  Index         1.9842        .72251        .50000       -.50047E-05
   3  Normalizat    .75150        .16364E-01    .76226E-01    .36532E-03
   4  Prefactor     1.1089        .11349E-01    .37248E-01    .49454E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1607
  Index      = 1.98418
  Normalizat = 0.751499
  Prefactor  = 1.10889
 **********
 **   18 **HESSE 
 **********

 FCN=   5619.372     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.161        69.135        .12674E-03   -1.5070    
   2  Index         1.9842        2.4418        .44478E-02   -.64746    
   3  Normalizat    .75150        .24477        .33743E-03   -1.0189    
   4  Prefactor     1.1089        .17040        .19562E-03   -.89183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88935e-10
Minuit parameter uncertainties:
  1  53.0959
  2  2.62786
  3  0.245128
  4  0.170481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891665': 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) = 5619.37202715
delta logL = 0.00117667031645

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.016e+01  5.310e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  1.984e+00  2.628e+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:  1.109e+00  1.705e-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:  7.515e-01  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/891665/cmap_HighResolution_407548801_407808001_4FGL_J2326.2+0113_daily_bin649.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', job_status='DONE', photon_flux_upper_limit='8.25e-08', time_completed='2021-09-29 19:04:31.337779', job_id='891665', GAL2='1.11', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632967471.34', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.18e-03', ts2='0.05', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='649' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 891665: <4FGL_J2326.2+0113_daily_bin649> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin649> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:50:54 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:50:56 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:56 2021
Terminated at Wed Sep 29 19:04:32 2021
Results reported at Wed Sep 29 19:04:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin649 351.575 1.2216 407548801 407808001 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 :                                   609.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            818 sec.

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

