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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin824
RA = 351.575, Dec = 1.2216
tmin = 452908801, tmax = 453168001
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='892949', job_status='RUN', time_executed='2021-09-29 18:58:01.092798', time_epoch_executed='1632967081.09' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='824'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892949

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892949/ft1_4FGL_J2326.2+0113_daily_bin824.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892949/ft1_4FGL_J2326.2+0113_daily_bin824.fits outfile=/scratch/kocevski/892949/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin824.fits ra=351.575 dec=1.2216 rad=12.0 tmin=452908801.0 tmax=453168001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.14
user 3.92
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892949/ft1_filtered_4FGL_J2326.2+0113_daily_bin824.fits" evtable="EVENTS" scfile=/scratch/kocevski/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits sctable="SC_DATA" outfile=/scratch/kocevski/892949/ltcube_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.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/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits
.....................!
real 11.83
user 11.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892949/ft1_filtered_4FGL_J2326.2+0113_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits sctable="SC_DATA" expcube=/scratch/kocevski/892949/ltcube_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.fits outfile=/scratch/kocevski/892949/expmap_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.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/892949/ltcube_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.fits
.....................!
real 191.13
user 186.01
sys 4.81

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/892949/ft1_filtered_4FGL_J2326.2+0113_daily_bin824.fits scfile=/scratch/kocevski/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits outfile=/scratch/kocevski/892949/cmap_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.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/892949/ft1_filtered_4FGL_J2326.2+0113_daily_bin824.fits scfile=/scratch/kocevski/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits outfile=/scratch/kocevski/892949/cmap_HighResolution_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.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/892949/ft1_filtered_4FGL_J2326.2+0113_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/892949/ft2_4FGL_J2326.2+0113_daily_bin824.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892949/Model_4FGL_J2326.2+0113_daily_bin824.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/892949/ft1_filtered_4FGL_J2326.2+0113_daily_bin824.fits.....................!
real 68.13
user 66.82
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.783       1.0000         .10000E-03   10000.    
     2 'norm      '    .44962       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.383       1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.543       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.553       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .53334       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6847       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.754       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.470       1.0000         .10000E-03   10000.    
    12 'norm      '    25.383       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11663E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.044       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12218E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .11226E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.801       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0775       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .80076       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97247       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=   7090.111     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2731 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.783        20.513       -.48783E-07   -.24713E-05
   2  norm          .51776        7.4914        .23647E-05   -.79388E-03
   3  Prefactor     .10000E-03    47.123        .12373E-04** at limit **
   4  Prefactor     12.385        10.532        .17866E-05   -.24647E-04
   5  Prefactor     33.543        15.987       -.53516E-07   -.87821E-04
   6  Prefactor     14.549        41.790       -.43038E-05   -.25707E-04
   7  Prefactor     .10000E-03    5.7576        .36725E-07** at limit **
   8  norm          .53341        .76771        .94078E-07   -.38343E-03
   9  norm          1.6839        3.0551        .14423E-07   -.43459E-03
  10  Prefactor     13.746        13.661        .38371E-05    .18707E-03
  11  Prefactor     44.480        51.628        .10617E-04   -.31692E-05
  12  norm          25.374        11.290        .47274E-05    .45885E-03
  13  Prefactor     .10000E-03    3.4573       -.59547E-06** at limit **
  14  Prefactor     .10000E-03    76.379        .26389E-04** at limit **
  15  Prefactor     23.048        15.120       -.66880E-06   -.84507E-04
  16  Prefactor     .10000E-03    85.198       -.34796E-04** at limit **
  17  norm          .10000E-03    9.7925        .33906E-06** at limit **
  18  Prefactor     32.808        61.709        .10659E-04   -.11821E-04
  19  Prefactor     1.0795        3.6387       -.54557E-06   -.11818E-02
  20  Prefactor     .10000E-03    44.487       -.27047E-05** at limit **
  21  Prefactor     .10000E-03    5.6102       -.95157E-07** at limit **
  22  Prefactor     .10000E-03    11.055       -.11934E-05** at limit **
  23  Normalizat    .80060        .19253       -.36145E-05   -.87031E-04
  24  Prefactor     .97245        .12413       -.84918E-06   -.80653E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.7831
  norm       = 0.51776
  Prefactor  = 0.0001
  Prefactor  = 12.3851
  Prefactor  = 33.5431
  Prefactor  = 14.5492
  Prefactor  = 0.0001
  norm       = 0.533413
  norm       = 1.68387
  Prefactor  = 13.7457
  Prefactor  = 44.4796
  norm       = 25.3738
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 23.0477
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 32.8078
  Prefactor  = 1.0795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.800602
  Prefactor  = 0.972445
 **********
 **   18 **HESSE 
 **********

 FCN=   7090.111     FROM HESSE     STATUS=OK           403 CALLS     3134 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.783        20.532        .63549E-04   -1.4446    
   2  norm          .51776        41.395        .43165E-02   -1.5564    
   3  Prefactor     .10000E-03    47.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.385        10.518        .11383E-03   -1.5004    
   5  Prefactor     33.543        15.988        .69189E-04   -1.4549    
   6  Prefactor     14.549        41.668        .10499E-03   -1.4945    
   7  Prefactor     .10000E-03    5.7733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .53341        .65459        .81667E-03   -1.5562    
   9  norm          1.6839        3.0048        .18940E-03   -1.5448    
  10  Prefactor     13.746        13.636        .10800E-03   -1.4966    
  11  Prefactor     44.480        51.456        .60121E-04   -1.4373    
  12  norm          25.374        11.294        .79511E-04   -1.4700    
  13  Prefactor     .10000E-03    3.4820        .15289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    76.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.048        14.475        .83442E-04   -1.4747    
  16  Prefactor     .10000E-03    89.242        .36336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.7964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.808        61.760        .69965E-04   -1.4562    
  19  Prefactor     1.0795        3.4785        .25179E-03   -1.5500    
  20  Prefactor     .10000E-03    44.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.6160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .80060        .22309        .31540E-03   -1.0005    
  24  Prefactor     .97245        .14531        .19878E-03   -.93654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06922e-08
Minuit parameter uncertainties:
  1  20.5361
  2  9.26486
  3  4.93632e-05
  4  10.5196
  5  15.9901
  6  41.7513
  7  4.59396e-05
  8  0.654597
  9  3.00506
  10  13.6386
  11  51.5071
  12  11.2947
  13  0.000100076
  14  3.5359e-05
  15  14.4769
  16  0.0010278
  17  2.22495e-05
  18  61.8807
  19  3.47911
  20  2.28742e-05
  21  4.58291e-06
  22  5.25646e-05
  23  0.223346
  24  0.145366
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.448e+01  5.151e+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:  9.724e-01  1.454e-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.006e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.03
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.65e-05

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

Saving results to:
/scratch/kocevski/892949/likelihoodResults_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.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) = 7089.97243249
delta logL = 0.138659931845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7089.95149108
delta logL = 0.159601334519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.643       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5856       1.0000          .0000       10.000    
     3 'Normalizat'    .78172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97962       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=   7089.951     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      329 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.630        62.411        .80694E-04    .22542E-04
   2  Index         2.5861        1.1883        .53889E-02    .42482E-04
   3  Normalizat    .78076        .21315        .31892E-03    .19456E-03
   4  Prefactor     .98030        .14530        .19803E-03   -.35307E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.6299
  Index      = 2.58612
  Normalizat = 0.780757
  Prefactor  = 0.9803
 **********
 **   18 **HESSE 
 **********

 FCN=   7089.951     FROM HESSE     STATUS=OK            25 CALLS      354 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.630        47.105        .32278E-05   -1.4715    
   2  Index         2.5861        .89951        .21555E-03   -.50382    
   3  Normalizat    .78076        .21122        .12757E-04   -1.0079    
   4  Prefactor     .98030        .14436        .79211E-05   -.93389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74807e-10
Minuit parameter uncertainties:
  1  47.1762
  2  0.905964
  3  0.211442
  4  0.144412
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892949': 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) = 7089.95147957
delta logL = 0.159612847508

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.463e+01  4.718e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.586e+00  9.060e-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:  9.803e-01  1.444e-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.808e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.36
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.59 +/- 0.91
Photon Flux (Free Index): 4.45e-08 +/- 5.06e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/892949/cmap_HighResolution_452908801_453168001_4FGL_J2326.2+0113_daily_bin824.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.38e-03', comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.18e-05', photon_flux_error='3.13e-08', dlogl='1.60e-01', energy_flux='1.42e-05', photon_flux2='4.45e-08', job_status='DONE', time_completed='2021-09-29 19:09:42.084303', photon_index_error2='0.91', photon_index2='2.59', ts='1.03', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='9.75e-08', energy_flux_error2='1.21e-05', EG='0.80', time_epoch_completed='1632967782.08', return_code='0', job_id='892949', GAL2='0.98', EG2='0.78', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='5.06e-08', ts2='1.36', photon_index='2.12' WHERE bin_id='824' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:09:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 892949: <4FGL_J2326.2+0113_daily_bin824> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin824 351.575 1.2216 452908801 453168001 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 :                                   698.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   853 sec.
    Turnaround time :                            857 sec.

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

