/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 126 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2326.2+0113_daily_bin217
RA = 351.575, Dec = 1.2216
tmin = 295574401, tmax = 295833601
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='889953', job_status='RUN', time_executed='2021-09-29 18:47:34.528818', time_epoch_executed='1632966454.53' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='217'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889953

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889953/ft1_4FGL_J2326.2+0113_daily_bin217.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889953/ft2_4FGL_J2326.2+0113_daily_bin217.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889953/ft1_4FGL_J2326.2+0113_daily_bin217.fits outfile=/scratch/kocevski/889953/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin217.fits ra=351.575 dec=1.2216 rad=12.0 tmin=295574401.0 tmax=295833601.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 2.37
user 2.19
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889953/ft1_filtered_4FGL_J2326.2+0113_daily_bin217.fits evtable="EVENTS" scfile=/scratch/kocevski/889953/ft2_4FGL_J2326.2+0113_daily_bin217.fits sctable="SC_DATA" expcube=/scratch/kocevski/889953/ltcube_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.fits outfile=/scratch/kocevski/889953/expmap_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.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/889953/ltcube_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.fits
.....................!
real 191.41
user 186.32
sys 4.73

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/889953/ft1_filtered_4FGL_J2326.2+0113_daily_bin217.fits scfile=/scratch/kocevski/889953/ft2_4FGL_J2326.2+0113_daily_bin217.fits outfile=/scratch/kocevski/889953/cmap_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.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/889953/ft1_filtered_4FGL_J2326.2+0113_daily_bin217.fits scfile=/scratch/kocevski/889953/ft2_4FGL_J2326.2+0113_daily_bin217.fits outfile=/scratch/kocevski/889953/cmap_HighResolution_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.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.56
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.8509       1.0000         .10000E-03   10000.    
     2 'norm      '    2.8849       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .53677E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .22387E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.7063       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6297       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2450       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0350       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12699E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.074       1.0000         .10000E-03   10000.    
    12 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2652       1.0000         .10000E-03   10000.    
    17 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8670       1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.289       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .24392E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.176       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68377       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0854       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=   7834.114     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     2830 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8466        10.660        .25867E-05   -.10851E-03
   2  norm          2.8873        10.081        .22444E-05   -.17729E-03
   3  Prefactor     .10000E-03    16.653        .32686E-07** at limit **
   4  Prefactor     .10001E-03    7.0023        .39656E-06** at limit **
   5  Prefactor     .15135E-03    11.355       -.21105E-05** at limit **
   6  Prefactor     9.6967        26.273        .14721E-05    .26679E-05
   7  Prefactor     2.6307        4.5633       -.24353E-06   -.38006E-03
   8  norm          1.2449        .72211       -.76436E-07   -.66952E-03
   9  norm          1.0363        2.7067       -.71759E-06   -.15484E-02
  10  Prefactor     .10000E-03    3.5435        .10780E-06** at limit **
  11  Prefactor     26.039        40.587        .45251E-04    .19826E-04
  12  norm          .10000E-03    3.0391        .40784E-07** at limit **
  13  Prefactor     .10000E-03    8.5092        .98487E-07** at limit **
  14  Prefactor     .10000E-03    73.745        .66115E-06** at limit **
  15  Prefactor     .10000E-03    7.5494       -.25365E-06** at limit **
  16  Prefactor     5.2481        19.949        .11838E-05   -.58915E-04
  17  norm          .10000E-03    19.523       -.41033E-06** at limit **
  18  Prefactor     2.8618        90.245        .18019E-04   -.14768E-04
  19  Prefactor     25.289        5.6254       -.17210E-06    .15683E-04
  20  Prefactor     .10000E-03    25.839       -.20478E-06** at limit **
  21  Prefactor     .10005E-03    12.969        .41078E-06** at limit **
  22  Prefactor     13.175        15.027       -.27246E-05   -.49107E-04
  23  Normalizat    .68370        .17899       -.25563E-05    .11963E-04
  24  Prefactor     1.0855        .12020       -.81250E-06    .10513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.8466
  norm       = 2.88727
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.00015135
  Prefactor  = 9.6967
  Prefactor  = 2.6307
  norm       = 1.24487
  norm       = 1.0363
  Prefactor  = 0.0001
  Prefactor  = 26.0389
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.24812
  norm       = 0.0001
  Prefactor  = 2.86178
  Prefactor  = 25.289
  Prefactor  = 0.0001
  Prefactor  = 0.000100054
  Prefactor  = 13.1753
  Normalizat = 0.683698
  Prefactor  = 1.08545
 **********
 **   18 **HESSE 
 **********

 FCN=   7834.114     FROM HESSE     STATUS=OK           417 CALLS     3247 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8466        10.636        .18264E-03   -1.5268    
   2  norm          2.8873        10.022        .23928E-03   -1.5368    
   3  Prefactor     .10000E-03    16.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    44.188        .44969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15135E-03    12.203        .86490E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.6967        26.078        .12862E-03   -1.5085    
   7  Prefactor     2.6307        4.5033        .22809E-03   -1.5384    
   8  norm          1.2449        .70886        .54861E-04   -1.5485    
   9  norm          1.0363        2.3319        .22417E-02   -1.5504    
  10  Prefactor     .10000E-03    8.7287        .31988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.039        40.389        .78451E-04   -1.4687    
  12  norm          .10000E-03    3.0511        .15057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.8683        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    73.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.5964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2481        19.673        .17517E-03   -1.5250    
  17  norm          .10000E-03    19.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8618        89.854        .24007E-03   -1.5370    
  19  Prefactor     25.289        5.6215        .79659E-04   -1.4702    
  20  Prefactor     .10000E-03    25.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10005E-03    151.80        .60408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.175        15.032        .11035E-03   -1.4982    
  23  Normalizat    .68370        .20093        .32413E-03   -1.0454    
  24  Prefactor     1.0855        .13787        .18738E-03   -.89933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2591e-09
Minuit parameter uncertainties:
  1  10.6401
  2  10.0281
  3  2.69823e-05
  4  0.00157091
  5  0.050076
  6  26.1082
  7  4.50392
  8  0.708861
  9  2.33211
  10  3.06467e-05
  11  40.4318
  12  5.78726e-06
  13  5.24885e-05
  14  1.31311e-05
  15  9.473e-05
  16  19.6969
  17  9.01023e-05
  18  32.1236
  19  5.62164
  20  0.000152342
  21  0.00574237
  22  15.0367
  23  0.201146
  24  0.137916
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.604e+01  4.043e+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.085e+00  1.379e-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.837e-01  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/889953/likelihoodResults_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.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) = 7833.98526473
delta logL = 0.128627615262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7833.97961628
delta logL = 0.134276066884

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.546       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6509       1.0000          .0000       10.000    
     3 'Normalizat'    .67114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0906       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=   7833.980     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      280 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.546        500.36        .28273E-02    .66025E-03
   2  Index         2.6509        3.4694        .12621        .22081E-03
   3  Normalizat    .67082        .55112E-01    .73860E-01    .33775E-03
   4  Prefactor     1.0908        .36348E-01    .37956E-01    .22146E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.5457
  Index      = 2.65086
  Normalizat = 0.670824
  Prefactor  = 1.09081
 **********
 **   18 **HESSE 
 **********

 FCN=   7833.980     FROM HESSE     STATUS=OK            29 CALLS      309 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.546        113.83        .11309E-03   -1.4999    
   2  Index         2.6509        2.4597        .75768E-02   -.48910    
   3  Normalizat    .67082        .19636        .32695E-03   -1.0506    
   4  Prefactor     1.0908        .13977        .18695E-03   -.89761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27531e-09
Minuit parameter uncertainties:
  1  75.7732
  2  2.60899
  3  0.196562
  4  0.139821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889953': 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) = 7833.97961481
delta logL = 0.134277529667

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.255e+01  7.577e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.651e+00  2.609e+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.091e+00  1.398e-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.708e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.52
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/889953/cmap_HighResolution_295574401_295833601_4FGL_J2326.2+0113_daily_bin217.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2021-09-29 19:00:07.118832', job_id='889953', GAL2='1.09', fit_tolerance='1e-08', EG2='0.67', EG='0.68', time_epoch_completed='1632967207.12', return_code2='0', ts='0.52', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.34e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='217' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:00:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 889953: <4FGL_J2326.2+0113_daily_bin217> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin217 351.575 1.2216 295574401 295833601 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 :                                   751.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            889 sec.

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

