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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin495
RA = 351.575, Dec = 1.2216
tmin = 367632001, tmax = 367891201
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='891423', job_status='RUN', time_executed='2021-09-29 18:54:24.771023', time_epoch_executed='1632966864.77' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891423

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891423/ft1_4FGL_J2326.2+0113_daily_bin495.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891423/ft2_4FGL_J2326.2+0113_daily_bin495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891423/ft1_4FGL_J2326.2+0113_daily_bin495.fits outfile=/scratch/kocevski/891423/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin495.fits ra=351.575 dec=1.2216 rad=12.0 tmin=367632001.0 tmax=367891201.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 5.09
user 4.84
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891423/ft1_filtered_4FGL_J2326.2+0113_daily_bin495.fits" evtable="EVENTS" scfile=/scratch/kocevski/891423/ft2_4FGL_J2326.2+0113_daily_bin495.fits sctable="SC_DATA" outfile=/scratch/kocevski/891423/ltcube_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.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/891423/ft2_4FGL_J2326.2+0113_daily_bin495.fits
.....................!
real 12.08
user 11.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891423/ft1_filtered_4FGL_J2326.2+0113_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/891423/ft2_4FGL_J2326.2+0113_daily_bin495.fits sctable="SC_DATA" expcube=/scratch/kocevski/891423/ltcube_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.fits outfile=/scratch/kocevski/891423/expmap_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.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/891423/ltcube_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.fits
.....................!
real 191.14
user 185.32
sys 5.43

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/891423/ft1_filtered_4FGL_J2326.2+0113_daily_bin495.fits scfile=/scratch/kocevski/891423/ft2_4FGL_J2326.2+0113_daily_bin495.fits outfile=/scratch/kocevski/891423/cmap_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.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.57
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891423/ft1_filtered_4FGL_J2326.2+0113_daily_bin495.fits scfile=/scratch/kocevski/891423/ft2_4FGL_J2326.2+0113_daily_bin495.fits outfile=/scratch/kocevski/891423/cmap_HighResolution_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.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.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.516       1.0000         .10000E-03   10000.    
     2 'norm      '    2.1377       1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.748       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.376       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.7565       1.0000         .10000E-03   10000.    
     9 'norm      '    11.279       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.570       1.0000         .10000E-03   10000.    
    12 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5327       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11091E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    60.530       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5942       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.313       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10616E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.5476       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .67178       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0788       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=   4823.672     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2656 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.522        19.694       -.26097E-06   -.34100E-04
   2  norm          2.1357        9.1920        .67363E-06    .84431E-05
   3  Prefactor     27.720        41.874        .41897E-05   -.95104E-05
   4  Prefactor     16.374        14.084        .34156E-07   -.27071E-05
   5  Prefactor     .10000E-03    4.7304        .40127E-07** at limit **
   6  Prefactor     .10000E-03    32.892        .21561E-05** at limit **
   7  Prefactor     .10000E-03    4.3162       -.52817E-07** at limit **
   8  norm          2.7565        1.3267        .40275E-07   -.14558E-03
   9  norm          11.278        7.1094        .16188E-06   -.37783E-04
  10  Prefactor     .10000E-03    4.8292        .30169E-07** at limit **
  11  Prefactor     29.544        43.510        .37456E-05   -.79224E-05
  12  norm          .10000E-03    2.3907        .20432E-06** at limit **
  13  Prefactor     2.5295        7.3760        .63507E-05    .19583E-04
  14  Prefactor     .10000E-03    60.825        .23333E-06** at limit **
  15  Prefactor     .10000E-03    2.9099       -.65808E-07** at limit **
  16  Prefactor     .10000E-03    42.998       -.16575E-05** at limit **
  17  norm          .10000E-03    6.2208        .13590E-08** at limit **
  18  Prefactor     60.501        60.423        .34470E-05   -.11957E-04
  19  Prefactor     7.5963        5.2168       -.12656E-06   -.12146E-03
  20  Prefactor     22.302        38.045        .17558E-05   -.83559E-05
  21  Prefactor     .10000E-03    24.220       -.20777E-06** at limit **
  22  Prefactor     4.5124        36.311        .64526E-05   -.54873E-05
  23  Normalizat    .67160        .23446       -.24133E-05    .77460E-05
  24  Prefactor     1.0790        .15231       -.93794E-06   -.76116E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.5223
  norm       = 2.1357
  Prefactor  = 27.7202
  Prefactor  = 16.3737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.75653
  norm       = 11.2784
  Prefactor  = 0.0001
  Prefactor  = 29.5436
  norm       = 0.0001
  Prefactor  = 2.52952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 60.501
  Prefactor  = 7.59633
  Prefactor  = 22.3023
  Prefactor  = 0.0001
  Prefactor  = 4.51242
  Normalizat = 0.671603
  Prefactor  = 1.07903
 **********
 **   18 **HESSE 
 **********

 FCN=   4823.672     FROM HESSE     STATUS=OK           399 CALLS     3055 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.522        19.693        .10895E-03   -1.4972    
   2  norm          2.1357        9.1665        .28193E-03   -1.5416    
   3  Prefactor     27.720        41.888        .76054E-04   -1.4654    
   4  Prefactor     16.374        14.081        .98974E-04   -1.4898    
   5  Prefactor     .10000E-03    4.7316        .14753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.3282        .14088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7565        1.3226        .52684E-04   -1.5376    
   9  norm          11.278        7.1041        .11929E-03   -1.5036    
  10  Prefactor     .10000E-03    4.8470        .14904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     29.544        43.520        .73678E-04   -1.4620    
  12  norm          .10000E-03    2.3968        .10490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.5295        7.3948        .12832E-02   -1.5390    
  14  Prefactor     .10000E-03    60.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.9111        .11570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    43.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.2212        .16918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     60.501        60.413        .25786E-03   -1.4151    
  19  Prefactor     7.5963        5.2167        .12430E-03   -1.5157    
  20  Prefactor     22.302        38.052        .84796E-04   -1.4763    
  21  Prefactor     .10000E-03    24.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.5124        36.536        .18878E-03   -1.5283    
  23  Normalizat    .67160        .26369        .33360E-03   -1.0502    
  24  Prefactor     1.0790        .17287        .18930E-03   -.90140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20731e-11
Minuit parameter uncertainties:
  1  19.7028
  2  8.85124
  3  41.9328
  4  14.0837
  5  3.27534e-06
  6  2.21132e-06
  7  7.39623e-07
  8  1.32258
  9  7.1046
  10  4.42192e-06
  11  43.5668
  12  3.57e-06
  13  7.39747
  14  5.81685e-06
  15  3.37056e-06
  16  0.000223039
  17  2.47037e-06
  18  60.4743
  19  5.21701
  20  38.093
  21  6.46532e-05
  22  25.7014
  23  0.26419
  24  0.172955
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.954e+01  4.357e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.079e+00  1.730e-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.716e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891423/likelihoodResults_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.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) = 4823.6665175
delta logL = 0.00545979821709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4823.66048984
delta logL = 0.0114874616729

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.192       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2880       1.0000          .0000       10.000    
     3 'Normalizat'    .66870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0803       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=   4823.660     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      275 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.194        66.681        .83175E-04    .60824E-04
   2  Index         2.2876        1.3885        .85351E-02    .23089E-04
   3  Normalizat    .66826        .24175        .33435E-03    .19381E-04
   4  Prefactor     1.0806        .17115        .18917E-03    .13316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1941
  Index      = 2.28755
  Normalizat = 0.668259
  Prefactor  = 1.08059
 **********
 **   18 **HESSE 
 **********

 FCN=   4823.660     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.194        55.386        .16635E-04   -1.4744    
   2  Index         2.2876        1.1589        .34140E-03   -.57340    
   3  Normalizat    .66826        .24130        .13374E-04   -1.0516    
   4  Prefactor     1.0806        .17096        .37835E-04   -.90089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42549e-11
Minuit parameter uncertainties:
  1  55.5095
  2  1.1741
  3  0.241687
  4  0.171042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891423': 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) = 4823.66048771
delta logL = 0.0114895906518

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.319e+01  5.551e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.288e+00  1.174e+00  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.081e+00  1.710e-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.683e-01  2.417e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/891423/cmap_HighResolution_367632001_367891201_4FGL_J2326.2+0113_daily_bin495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.02e-03', job_status='DONE', photon_flux_upper_limit='9.26e-08', time_completed='2021-09-29 19:04:01.610845', job_id='891423', GAL2='1.08', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1632967441.61', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.15e-02', ts2='0.75', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='495' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 891423: <4FGL_J2326.2+0113_daily_bin495> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin495 351.575 1.2216 367632001 367891201 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 :                                   575.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            812 sec.

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

