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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin932
RA = 351.575, Dec = 1.2216
tmin = 480902401, tmax = 481161601
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='893129', job_status='RUN', time_executed='2021-09-29 18:59:37.938705', time_epoch_executed='1632967177.94' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893129

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893129/ft1_4FGL_J2326.2+0113_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893129/ft2_4FGL_J2326.2+0113_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893129/ft1_4FGL_J2326.2+0113_daily_bin932.fits outfile=/scratch/kocevski/893129/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin932.fits ra=351.575 dec=1.2216 rad=12.0 tmin=480902401.0 tmax=481161601.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.69
user 3.40
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893129/ft1_filtered_4FGL_J2326.2+0113_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/893129/ft2_4FGL_J2326.2+0113_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/893129/ltcube_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.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/893129/ft2_4FGL_J2326.2+0113_daily_bin932.fits
.....................!
real 11.95
user 11.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893129/ft1_filtered_4FGL_J2326.2+0113_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/893129/ft2_4FGL_J2326.2+0113_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/893129/ltcube_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.fits outfile=/scratch/kocevski/893129/expmap_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.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/893129/ltcube_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.fits
.....................!
real 191.76
user 186.55
sys 4.83

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/893129/ft1_filtered_4FGL_J2326.2+0113_daily_bin932.fits scfile=/scratch/kocevski/893129/ft2_4FGL_J2326.2+0113_daily_bin932.fits outfile=/scratch/kocevski/893129/cmap_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893129/ft1_filtered_4FGL_J2326.2+0113_daily_bin932.fits scfile=/scratch/kocevski/893129/ft2_4FGL_J2326.2+0113_daily_bin932.fits outfile=/scratch/kocevski/893129/cmap_HighResolution_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.986       1.0000         .10000E-03   10000.    
     2 'norm      '    .33588E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    82.792       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12085E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24825       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14219E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11077E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .14295E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    169.66       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.9424       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8767       1.0000         .10000E-03   10000.    
    17 'norm      '    33.683       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10610E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9547       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.438       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87298       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1999       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=   6274.590     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2899 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.982        20.689        .34702E-06   -.46547E-05
   2  norm          .10002E-03    68.455        .56479E-05** at limit **
   3  Prefactor     82.792        46.314        .15146E-06   -.36254E-04
   4  Prefactor     .10000E-03    3.0605        .54131E-07** at limit **
   5  Prefactor     .10000E-03    24.255        .68297E-06** at limit **
   6  Prefactor     .11208E-03    137.09       -.76246E-05** at limit **
   7  Prefactor     .10001E-03    11.510       -.44760E-06** at limit **
   8  norm          .10000E-03    1.0610        .86794E-06** at limit **
   9  norm          .10000E-03    2.6884        .79475E-07** at limit **
  10  Prefactor     .10000E-03    21.324        .90597E-06** at limit **
  11  Prefactor     .10000E-03    34.469        .35614E-06** at limit **
  12  norm          .10000E-03    4.3408        .16568E-06** at limit **
  13  Prefactor     .10000E-03    3.1714        .18866E-06** at limit **
  14  Prefactor     169.35        275.26        .66261E-05    .10218E-04
  15  Prefactor     4.9965        20.667        .27799E-05    .72303E-04
  16  Prefactor     1.8800        32.565        .85772E-06   -.14011E-04
  17  norm          33.649        30.443       -.60207E-06    .78599E-04
  18  Prefactor     .10000E-03    89.392        .12378E-06** at limit **
  19  Prefactor     .10000E-03    3.3997        .55333E-07** at limit **
  20  Prefactor     .10000E-03    9.5557        .60618E-07** at limit **
  21  Prefactor     6.9587        28.429        .84053E-06   -.12778E-04
  22  Prefactor     35.434        22.866        .13833E-06    .11584E-05
  23  Normalizat    .87291        .23034       -.16173E-05    .12278E-04
  24  Prefactor     1.1999        .15176       -.39136E-06    .64311E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.9824
  norm       = 0.000100016
  Prefactor  = 82.7924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000112084
  Prefactor  = 0.000100009
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 169.348
  Prefactor  = 4.99651
  Prefactor  = 1.87996
  norm       = 33.6492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.9587
  Prefactor  = 35.4344
  Normalizat = 0.872911
  Prefactor  = 1.19986
 **********
 **   18 **HESSE 
 **********

 FCN=   6274.590     FROM HESSE     STATUS=OK           405 CALLS     3304 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.982        20.708        .12088E-03   -1.5045    
   2  norm          .10002E-03    71.511        .49062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     82.792        46.377        .44145E-04   -1.3886    
   4  Prefactor     .10000E-03    3.0640        .13535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    25.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11208E-03    59.743        .16379       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    45.865        .39917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.0701        .11779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.7006        .12673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    22.076        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    13.217        .31746E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.2021        .13777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     169.35        269.89        .15487E-03   -1.3098    
  15  Prefactor     4.9965        20.207        .18091E-03   -1.5261    
  16  Prefactor     1.8800        32.288        .30394E-03   -1.5434    
  17  norm          33.649        29.923        .69045E-04   -1.4547    
  18  Prefactor     .10000E-03    89.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.4794        .14312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.5605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.9587        28.681        .15213E-03   -1.5180    
  22  Prefactor     35.434        22.911        .67319E-04   -1.4517    
  23  Normalizat    .87291        .26956        .33160E-03   -.97419    
  24  Prefactor     1.1999        .17475        .20006E-03   -.86336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.47133e-10
Minuit parameter uncertainties:
  1  20.7219
  2  0.00217078
  3  46.3968
  4  1.9838e-06
  5  3.38834e-05
  6  0.053792
  7  0.0013096
  8  1.39497e-05
  9  4.35599e-06
  10  5.09019e-05
  11  4.19464e-06
  12  8.47343e-05
  13  3.8848e-06
  14  271.895
  15  20.1079
  16  15.5915
  17  29.9362
  18  9.15311e-05
  19  4.79636e-05
  20  1.3652e-06
  21  28.2778
  22  22.9163
  23  0.269972
  24  0.174837
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  4.195e-06  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.200e+00  1.748e-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.729e-01  2.700e-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.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/893129/likelihoodResults_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.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) = 6274.58991848
delta logL = -0.000138018662255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6274.58978061
delta logL = -1.42341377796e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0640       1.0000          .0000       10.000    
     3 'Normalizat'    .87300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1998       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=   6274.590     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      199 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6404.7        .90712E-02** at limit **
   2  Index         2.0617        8.1689        .50000        .52823E-06
   3  Normalizat    .87292        .57667E-01    .74925E-01    .61061E-03
   4  Prefactor     1.1999        .40305E-01    .34635E-01    .52482E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06166
  Normalizat = 0.872918
  Prefactor  = 1.19985
 **********
 **   18 **HESSE 
 **********

 FCN=   6274.590     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      228 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7280.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0617        5.1852        .50000       -.62817    
   3  Normalizat    .87292        .90167E-01    .33159E-03   -.97418    
   4  Prefactor     1.1999        .63152E-01    .20006E-03   -.86336    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.0841e-09
Minuit parameter uncertainties:
  1  0.00248813
  2  51.2216
  3  0.090183
  4  0.0631557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893129': 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) = 6274.58978045
delta logL = 8.95306584425e-09

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  2.488e-03  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.062e+00  5.122e+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:  1.200e+00  6.316e-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:  8.729e-01  9.018e-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/893129/cmap_HighResolution_480902401_481161601_4FGL_J2326.2+0113_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-03', job_status='DONE', photon_flux_upper_limit='7.13e-08', time_completed='2021-09-29 19:10:44.291392', job_id='893129', GAL2='1.20', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632967844.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='8.95e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='932' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:10:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 893129: <4FGL_J2326.2+0113_daily_bin932> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin932 351.575 1.2216 480902401 481161601 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 :                                   662.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             236.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

