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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin549
RA = 351.575, Dec = 1.2216
tmin = 381628801, tmax = 381888001
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='891507', job_status='RUN', time_executed='2021-09-29 18:54:35.378296', time_epoch_executed='1632966875.38' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891507/ft1_4FGL_J2326.2+0113_daily_bin549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891507/ft2_4FGL_J2326.2+0113_daily_bin549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891507/ft1_4FGL_J2326.2+0113_daily_bin549.fits outfile=/scratch/kocevski/891507/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin549.fits ra=351.575 dec=1.2216 rad=12.0 tmin=381628801.0 tmax=381888001.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.95
user 3.74
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891507/ft2_4FGL_J2326.2+0113_daily_bin549.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/891507/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin549.fits evtable="EVENTS" outfile="/scratch/kocevski/891507/ft1_filtered_4FGL_J2326.2+0113_daily_bin549.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891507/ft1_filtered_4FGL_J2326.2+0113_daily_bin549.fits" evtable="EVENTS" scfile=/scratch/kocevski/891507/ft2_4FGL_J2326.2+0113_daily_bin549.fits sctable="SC_DATA" outfile=/scratch/kocevski/891507/ltcube_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.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/891507/ft2_4FGL_J2326.2+0113_daily_bin549.fits
.....................!
real 11.92
user 11.55
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891507/ft1_filtered_4FGL_J2326.2+0113_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/891507/ft2_4FGL_J2326.2+0113_daily_bin549.fits sctable="SC_DATA" expcube=/scratch/kocevski/891507/ltcube_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.fits outfile=/scratch/kocevski/891507/expmap_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.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/891507/ltcube_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.fits
.....................!
real 190.07
user 185.06
sys 4.63

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/891507/ft1_filtered_4FGL_J2326.2+0113_daily_bin549.fits scfile=/scratch/kocevski/891507/ft2_4FGL_J2326.2+0113_daily_bin549.fits outfile=/scratch/kocevski/891507/cmap_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891507/ft1_filtered_4FGL_J2326.2+0113_daily_bin549.fits scfile=/scratch/kocevski/891507/ft2_4FGL_J2326.2+0113_daily_bin549.fits outfile=/scratch/kocevski/891507/cmap_HighResolution_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    27.013       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10469E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5333       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.464       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.370       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2873       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.308       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3372       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7624       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23162E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    58.118       1.0000         .10000E-03   10000.    
    17 'norm      '    29.275       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5346       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.224       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11817E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.4934       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90213       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89690       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=   5422.696     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2735 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.277       -.61848E-07** at limit **
   2  norm          27.012        17.860        .84166E-07   -.41787E-05
   3  Prefactor     .10000E-03    14.265       -.35691E-07** at limit **
   4  Prefactor     1.5377        16.928        .23301E-06    .40272E-04
   5  Prefactor     20.466        17.889        .23870E-07   -.48563E-05
   6  Prefactor     14.395        53.261       -.32911E-05    .28883E-04
   7  Prefactor     .10000E-03    4.8186        .80119E-06** at limit **
   8  norm          2.2869        1.1503        .29190E-07   -.45198E-03
   9  norm          .10000E-03    3.8530        .39520E-06** at limit **
  10  Prefactor     13.309        11.247       -.56857E-06    .40473E-04
  11  Prefactor     .10000E-03    33.140       -.24848E-06** at limit **
  12  norm          4.3384        8.5725        .35640E-05    .40409E-03
  13  Prefactor     8.7633        8.0625       -.65555E-06    .57972E-04
  14  Prefactor     .10000E-03    69.244        .18902E-05** at limit **
  15  Prefactor     .10037E-03    18.798        .40186E-05** at limit **
  16  Prefactor     58.124        31.584       -.30157E-06    .10963E-03
  17  norm          29.237        26.354       -.60744E-06   -.22673E-03
  18  Prefactor     .10000E-03    24.861        .99795E-07** at limit **
  19  Prefactor     1.5399        5.9035        .11275E-05   -.19881E-03
  20  Prefactor     37.202        43.538        .17435E-05   -.32262E-04
  21  Prefactor     .10002E-03    21.570       -.18132E-05** at limit **
  22  Prefactor     4.4938        14.720        .32405E-05    .11226E-03
  23  Normalizat    .90140        .22912       -.87129E-06    .60787E-04
  24  Prefactor     .89733        .14223        .36405E-06    .13994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 27.0125
  Prefactor  = 0.0001
  Prefactor  = 1.53773
  Prefactor  = 20.4661
  Prefactor  = 14.3952
  Prefactor  = 0.0001
  norm       = 2.28695
  norm       = 0.0001
  Prefactor  = 13.3087
  Prefactor  = 0.0001
  norm       = 4.3384
  Prefactor  = 8.76329
  Prefactor  = 0.000100001
  Prefactor  = 0.000100367
  Prefactor  = 58.1239
  norm       = 29.2373
  Prefactor  = 0.0001
  Prefactor  = 1.53987
  Prefactor  = 37.2017
  Prefactor  = 0.000100022
  Prefactor  = 4.49383
  Normalizat = 0.901398
  Prefactor  = 0.897332
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.696     FROM HESSE     STATUS=OK           403 CALLS     3138 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          27.012        17.855        .77080E-04   -1.4668    
   3  Prefactor     .10000E-03    14.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5377        16.955        .34459E-03   -1.5460    
   5  Prefactor     20.466        17.886        .88540E-04   -1.4803    
   6  Prefactor     14.395        53.635        .10566E-03   -1.4949    
   7  Prefactor     .10000E-03    4.8810        .15862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2869        1.1414        .53091E-04   -1.5406    
   9  norm          .10000E-03    3.9015        .14129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.309        11.246        .10980E-03   -1.4978    
  11  Prefactor     .10000E-03    33.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3384        8.7238        .96710E-03   -1.5291    
  13  Prefactor     8.7633        8.0701        .13541E-03   -1.5116    
  14  Prefactor     .10000E-03    69.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10037E-03    75.512        .43470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     58.124        31.495        .52624E-04   -1.4182    
  17  norm          29.237        24.875        .74048E-04   -1.4626    
  18  Prefactor     .10000E-03    24.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.5399        5.4317        .27150E-03   -1.5460    
  20  Prefactor     37.202        43.615        .65690E-04   -1.4487    
  21  Prefactor     .10002E-03    158.77        .63533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.4938        14.753        .94970E-03   -1.5284    
  23  Normalizat    .90140        .26461        .30267E-03   -.96411    
  24  Prefactor     .89733        .16673        .20572E-03   -.96234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3723e-09
Minuit parameter uncertainties:
  1  1.28313e-05
  2  17.8587
  3  6.7418e-06
  4  10.2156
  5  17.8904
  6  53.8156
  7  9.79956e-05
  8  1.1414
  9  4.12021e-05
  10  11.2481
  11  6.93201e-05
  12  8.72638
  13  8.07109
  14  0.000437601
  15  0.0105485
  16  31.504
  17  24.8833
  18  1.82272e-05
  19  5.43344
  20  43.6527
  21  0.00378458
  22  14.7645
  23  0.264994
  24  0.166823
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  6.932e-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:  8.973e-01  1.668e-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:  9.014e-01  2.650e-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: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891507/likelihoodResults_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.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) = 5422.69619334
delta logL = -0.000143585402839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5422.69604983
delta logL = -8.13570295577e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0513       1.0000          .0000       10.000    
     3 'Normalizat'    .90140       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89733       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=   5422.696     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      233 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1004.8        .90712E-02** at limit **
   2  Index         2.0602        6.3349        .50000       -.24146E-05
   3  Normalizat    .90140        .31646E-01    .68414E-01    .12684E-04
   4  Prefactor     .89733        .21596E-01    .44971E-01    .82584E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06018
  Normalizat = 0.901398
  Prefactor  = 0.897331
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.696     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 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     .10000E-03    6370.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0602        8.5058        .50000       -.62854    
   3  Normalizat    .90140        .59065E-01    .30267E-03   -.96411    
   4  Prefactor     .89733        .40356E-01    .20572E-03   -.96234    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14661e-09
Minuit parameter uncertainties:
  1  0.00066861
  2  39.4245
  3  0.0590693
  4  0.0403578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891507': 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) = 5422.69604979
delta logL = -3.95802999265e-08

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  6.686e-04  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.060e+00  3.942e+01  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:  8.973e-01  4.036e-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:  9.014e-01  5.907e-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/891507/cmap_HighResolution_381628801_381888001_4FGL_J2326.2+0113_daily_bin549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.78e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2021-09-29 19:04:39.768116', job_id='891507', GAL2='0.90', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1632967479.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-3.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='549' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 891507: <4FGL_J2326.2+0113_daily_bin549> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin549 351.575 1.2216 381628801 381888001 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 :                                   603.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             268.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

