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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin873
RA = 351.575, Dec = 1.2216
tmin = 465609601, tmax = 465868801
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='893024', job_status='RUN', time_executed='2021-09-29 18:59:25.143043', time_epoch_executed='1632967165.14' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893024

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893024/ft1_4FGL_J2326.2+0113_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893024/ft2_4FGL_J2326.2+0113_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893024/ft1_4FGL_J2326.2+0113_daily_bin873.fits outfile=/scratch/kocevski/893024/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin873.fits ra=351.575 dec=1.2216 rad=12.0 tmin=465609601.0 tmax=465868801.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.52
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893024/ft2_4FGL_J2326.2+0113_daily_bin873.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/893024/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/893024/ft1_filtered_4FGL_J2326.2+0113_daily_bin873.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/893024/ft1_filtered_4FGL_J2326.2+0113_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/893024/ft2_4FGL_J2326.2+0113_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/893024/ltcube_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.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/893024/ft2_4FGL_J2326.2+0113_daily_bin873.fits
.....................!
real 11.83
user 11.48
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893024/ft1_filtered_4FGL_J2326.2+0113_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/893024/ft2_4FGL_J2326.2+0113_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/893024/ltcube_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.fits outfile=/scratch/kocevski/893024/expmap_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.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/893024/ltcube_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.fits
.....................!
real 190.14
user 185.65
sys 4.18

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/893024/ft1_filtered_4FGL_J2326.2+0113_daily_bin873.fits scfile=/scratch/kocevski/893024/ft2_4FGL_J2326.2+0113_daily_bin873.fits outfile=/scratch/kocevski/893024/cmap_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.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.52
user 0.36
sys 0.15

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

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.494       1.0000         .10000E-03   10000.    
     2 'norm      '    36.222       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6774       1.0000         .10000E-03   10000.    
     8 'norm      '    12.528       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8929       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    47.217       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11484E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    30.658       1.0000         .10000E-03   10000.    
    17 'norm      '    10.191       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .61467       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.206       1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.171       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .61696       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0411       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=   8198.393     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2337 TOTAL
                     EDM=   .62E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.493        19.163        .21844E-07   -.11974E-04
   2  norm          36.221        12.605        .71220E-07   -.68104E-05
   3  Prefactor     .10000E-03    17.600        .23047E-06** at limit **
   4  Prefactor     .10000E-03    17.315        .42372E-06** at limit **
   5  Prefactor     .10000E-03    16.168        .52630E-06** at limit **
   6  Prefactor     1.7657        273.25        .35723E-06    .24002E-05
   7  Prefactor     9.6761        7.7270       -.10025E-05    .22405E-03
   8  norm          12.528        1.6155       -.98048E-08   -.26624E-03
   9  norm          .10000E-03    1.8407       -.96458E-07** at limit **
  10  Prefactor     3.8943        10.356        .59580E-06   -.12212E-04
  11  Prefactor     .10000E-03    11.708       -.42177E-07** at limit **
  12  norm          47.213        13.889       -.13575E-06    .37072E-04
  13  Prefactor     .10000E-03    8.9931       -.26197E-06** at limit **
  14  Prefactor     .10000E-03    165.61        .57938E-06** at limit **
  15  Prefactor     .10000E-03    3.6493       -.25586E-06** at limit **
  16  Prefactor     30.656        29.252        .10473E-06   -.30279E-05
  17  norm          10.209        18.780       -.18781E-05   -.12965E-03
  18  Prefactor     .10000E-03    23.201       -.16541E-06** at limit **
  19  Prefactor     .61038        3.6263        .18739E-05    .86886E-05
  20  Prefactor     .10000E-03    9.0999        .52889E-06** at limit **
  21  Prefactor     18.206        19.175        .79685E-07   -.12324E-04
  22  Prefactor     13.172        11.518        .27898E-07   -.35114E-04
  23  Normalizat    .61704        .19099       -.71331E-07   -.38888E-04
  24  Prefactor     1.0411        .12790       -.56776E-06    .19140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.4932
  norm       = 36.2213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.7657
  Prefactor  = 9.67612
  norm       = 12.5284
  norm       = 0.0001
  Prefactor  = 3.89431
  Prefactor  = 0.0001
  norm       = 47.2134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.6557
  norm       = 10.2093
  Prefactor  = 0.0001
  Prefactor  = 0.610376
  Prefactor  = 0.0001
  Prefactor  = 18.2064
  Prefactor  = 13.172
  Normalizat = 0.617036
  Prefactor  = 1.04106
 **********
 **   18 **HESSE 
 **********

 FCN=   8198.393     FROM HESSE     STATUS=OK           401 CALLS     2738 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.493        19.178        .63781E-04   -1.4450    
   2  norm          36.221        12.605        .66589E-04   -1.4504    
   3  Prefactor     .10000E-03    17.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7657        280.59        .30735E-03   -1.5442    
   7  Prefactor     9.6761        7.5748        .12882E-03   -1.5086    
   8  norm          12.528        1.6145        .39150E-04   -1.5000    
   9  norm          .10000E-03    1.8474        .11980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.8943        10.287        .20450E-03   -1.5313    
  11  Prefactor     .10000E-03    11.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          47.213        13.774        .58353E-04   -1.4333    
  13  Prefactor     .10000E-03    9.0693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    165.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.6518        .16870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.656        29.231        .72362E-04   -1.4600    
  17  norm          10.209        18.634        .12551E-03   -1.5069    
  18  Prefactor     .10000E-03    23.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .61038        3.5953        .29395E-03   -1.5552    
  20  Prefactor     .10000E-03    9.1069        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.206        19.181        .93866E-04   -1.4854    
  22  Prefactor     13.172        11.528        .11037E-03   -1.4982    
  23  Normalizat    .61704        .20994        .37000E-03   -1.0727    
  24  Prefactor     1.0411        .14167        .20710E-03   -.91373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16542e-10
Minuit parameter uncertainties:
  1  19.1808
  2  12.6061
  3  6.79355e-07
  4  1.65619e-06
  5  1.44189e-06
  6  44.7303
  7  7.57558
  8  1.61448
  9  7.81675e-06
  10  10.2915
  11  1.09119e-06
  12  13.7747
  13  1.11696e-05
  14  2.39071e-05
  15  4.60069e-06
  16  29.245
  17  18.6449
  18  9.96543e-06
  19  2.96278
  20  2.58355e-06
  21  19.187
  22  11.5297
  23  0.210215
  24  0.141719
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.091e-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.041e+00  1.417e-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:  6.170e-01  2.102e-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: 3.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/893024/likelihoodResults_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.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) = 8198.39382293
delta logL = -0.000405768700148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8198.39341817
delta logL = -1.00822217064e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0867       1.0000          .0000       10.000    
     3 'Normalizat'    .61720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0410       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=   8198.393     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      246 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10131E-03    73.327        .18142E-02** at limit **
   2  Index         2.0327        5.9804        .50000        .17669E-04
   3  Normalizat    .61704        .10641E-01    .36999E-03   -.11185E-04
   4  Prefactor     1.0411        .76419E-02    .20710E-03   -.24154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101313
  Index      = 2.03271
  Normalizat = 0.617037
  Prefactor  = 1.04106
 **********
 **   18 **HESSE 
 **********

 FCN=   8198.393     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10131E-03    319.36        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0327        6.0800        .50000       -.63535    
   3  Normalizat    .61704        .22766E-01    .14799E-04   -1.0727    
   4  Prefactor     1.0411        .16349E-01    .82840E-05   -.91373    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08215e-08
Minuit parameter uncertainties:
  1  0.0411812
  2  377.38
  3  0.0227668
  4  0.0163494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893024': 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) = 8198.39341679
delta logL = 3.70684574591e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.013e-04  4.118e-02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.033e+00  3.774e+02  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.041e+00  1.635e-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:  6.170e-01  2.277e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/893024/cmap_HighResolution_465609601_465868801_4FGL_J2326.2+0113_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-03', job_status='DONE', photon_flux_upper_limit='3.80e-08', time_completed='2021-09-29 19:11:47.624041', job_id='893024', GAL2='1.04', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1632967907.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.71e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='873' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:11:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 893024: <4FGL_J2326.2+0113_daily_bin873> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin873 351.575 1.2216 465609601 465868801 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 :                                   738.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            973 sec.

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

