/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 78 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 = 7382
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin90
RA = 351.17, Dec = 31.2573
tmin = 262656001, tmax = 262915201
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='829153', job_status='RUN', time_executed='2021-09-29 15:37:13.899849', time_epoch_executed='1632955033.9' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829153/ft1_4FGL_J2324.6+3115_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829153/ft1_4FGL_J2324.6+3115_daily_bin90.fits outfile=/scratch/kocevski/829153/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin90.fits ra=351.17 dec=31.2573 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.40
user 1.24
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.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/829153/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin90.fits evtable="EVENTS" outfile="/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/829153/ltcube_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.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/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits
.....................!
real 12.82
user 12.43
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/829153/ltcube_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.fits outfile=/scratch/kocevski/829153/expmap_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.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/829153/ltcube_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.fits
.....................!
real 190.12
user 185.02
sys 4.61

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits scfile=/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits outfile=/scratch/kocevski/829153/cmap_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.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.17 yref=31.2573 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits scfile=/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits outfile=/scratch/kocevski/829153/cmap_HighResolution_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.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.17 yref=31.2573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829153/Model_4FGL_J2324.6+3115_daily_bin90.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/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits.....................!
real 130.20
user 128.71
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits', '/scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits', expMap='/scratch/kocevski/829153/expmap_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.fits', expCube='/scratch/kocevski/829153/ltcube_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829153/Model_4FGL_J2324.6+3115_daily_bin90.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/829153/ft1_filtered_4FGL_J2324.6+3115_daily_bin90.fits
Spacecraft file(s): /scratch/kocevski/829153/ft2_4FGL_J2324.6+3115_daily_bin90.fits
Exposure map: /scratch/kocevski/829153/expmap_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.fits
Exposure cube: /scratch/kocevski/829153/ltcube_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829153/Model_4FGL_J2324.6+3115_daily_bin90.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) = 12364.2718558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.779       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9700       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .45355       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .53345       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.522       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10602E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5541       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3467       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6184       1.0000         .10000E-03   10000.    
    14 'norm      '    4.1517       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.938       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0923       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   12364.25     FROM MIGRAD    STATUS=CONVERGED    912 CALLS     2594 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.784        14.980        .97776E-04    .46509E-06
   2  Prefactor     .10000E-03    3.9072        .18142E-02** at limit **
   3  norm          1.9721        1.1315        .14772E-03    .97898E-04
   4  Prefactor     .10000E-03    27.471        .18142E-02** at limit **
   5  Prefactor     .35286        178.11        .56552E-02    .37175E-04
   6  Prefactor     .56401        15.596        .45626E-03    .12907E-04
   7  Prefactor     .10000E-03    1.7824        .14468E-02** at limit **
   8  Prefactor     12.522        9.3716        .11320E-03    .10646E-04
   9  Prefactor     .10000E-03    36.200        .18142E-02** at limit **
  10  norm          1.5543        1.0517        .90665E-04    .90283E-04
  11  Prefactor     6.3400        20.009        .15933E-03    .35677E-05
  12  Prefactor     .10000E-03    5.1165        .18142E-02** at limit **
  13  Prefactor     2.6164        35.488        .25205E-03   -.27965E-05
  14  norm          4.1520        4.1030        .98908E-03    .54870E-03
  15  norm          .10000E-03    4.1986        .18142E-02** at limit **
  16  Prefactor     36.937        17.620        .65943E-04    .27584E-05
  17  norm          .10000E-03    1.5782        .18596E-02** at limit **
  18  Prefactor     .10000E-03    6.7451        .18142E-02** at limit **
  19  Prefactor     .10000E-03    61.060        .18142E-02** at limit **
  20  Prefactor     .10000E-03    15.313        .18142E-02** at limit **
  21  Prefactor     .10000E-03    3.5658        .18142E-02** at limit **
  22  Normalizat    1.0921        .20506        .35035E-03    .64315E-04
  23  Prefactor     1.0373        .10082        .17902E-03    .11672E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.7844
  Prefactor  = 0.0001
  norm       = 1.97206
  Prefactor  = 0.0001
  Prefactor  = 0.352859
  Prefactor  = 0.564009
  Prefactor  = 0.0001
  Prefactor  = 12.5222
  Prefactor  = 0.0001
  norm       = 1.55427
  Prefactor  = 6.33999
  Prefactor  = 0.0001
  Prefactor  = 2.61637
  norm       = 4.152
  norm       = 0.0001
  Prefactor  = 36.937
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.09208
  Prefactor  = 1.03727
 **********
 **   18 **HESSE 
 **********

 FCN=   12364.25     FROM HESSE     STATUS=OK           352 CALLS     2946 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.784        14.978        .39110E-05   -1.4888    
   2  Prefactor     .10000E-03    3.9098        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9721        1.1116        .59086E-05   -1.5427    
   4  Prefactor     .10000E-03    27.471        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .35286        178.31        .22621E-02   -1.5589    
   6  Prefactor     .56401        15.594        .18251E-04   -1.5558    
   7  Prefactor     .10000E-03    1.7826        .28936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.522        9.3709        .45280E-05   -1.5000    
   9  Prefactor     .10000E-03    36.234        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5543        1.0517        .36266E-05   -1.5459    
  11  Prefactor     6.3400        20.003        .63731E-05   -1.5204    
  12  Prefactor     .10000E-03    5.1182        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6164        35.463        .10082E-04   -1.5384    
  14  norm          4.1520        4.1001        .19782E-03   -1.5300    
  15  norm          .10000E-03    4.1995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.937        17.607        .26377E-05   -1.4492    
  17  norm          .10000E-03    1.5867        .37193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.7460        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    61.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.5671        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0921        .20519        .14014E-04   -.90007    
  23  Prefactor     1.0373        .10083        .35804E-04   -.91497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17432e-11
Minuit parameter uncertainties:
  1  14.981
  2  1.09697e-05
  3  1.11164
  4  6.2984e-05
  5  15.9098
  6  5.93244
  7  8.75803e-07
  8  9.37199
  9  4.09507e-05
  10  1.0517
  11  20.0245
  12  5.3228e-06
  13  19.2785
  14  4.10037
  15  3.89734e-06
  16  17.6099
  17  8.51296e-06
  18  7.42072e-06
  19  3.39873e-06
  20  1.40007e-05
  21  7.2862e-06
  22  0.205344
  23  0.100844
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.694e+01  1.761e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.037e+00  1.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.092e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.02
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 5.66e-08
Energy Flux (Fixed Index): 2.54e-05 +/- 1.21e-05

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) = 12364.117218
delta logL = 0.129968837744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12364.1153889
delta logL = 0.131798005266

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.842       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1550       1.0000          .0000       10.000    
     3 'Normalizat'    1.0716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0449       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12364.12     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      265 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.870        185.32        .17752E-02    .48110E-03
   2  Index         3.1564        3.4922        .21381        .12827E-03
   3  Normalizat    1.0713        .75407E-01    .79800E-01   -.10057E-04
   4  Prefactor     1.0448        .36111E-01    .40220E-01   -.89681E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.87
  Index      = 3.15642
  Normalizat = 1.0713
  Prefactor  = 1.04481
 **********
 **   18 **HESSE 
 **********

 FCN=   12364.12     FROM HESSE     STATUS=OK            31 CALLS      296 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.870        19.440        .35504E-03   -1.4578    
   2  Index         3.1564        .61432        .76923E-02   -.37763    
   3  Normalizat    1.0713        .20591        .35325E-03   -.90679    
   4  Prefactor     1.0448        .10089        .17846E-03   -.91250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20341e-09
Minuit parameter uncertainties:
  1  19.4435
  2  0.616127
  3  0.206061
  4  0.100908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829153': 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) = 12364.115372
delta logL = 0.131814861878

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.187e+01  1.944e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.156e+00  6.161e-01  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.045e+00  1.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.071e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.42
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.16 +/- 0.62
Photon Flux (Free Index): 1.33e-07 +/- 5.99e-08
Energy Flux (Free Index): 2.48e-05 +/- 1.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/829153/cmap_HighResolution_262656001_262915201_4FGL_J2324.6+3115_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='2.48e-05', photon_flux_error='5.66e-08', dlogl='1.32e-01', energy_flux='2.54e-05', photon_flux2='1.33e-07', job_status='DONE', time_completed='2021-09-29 15:51:56.146464', photon_index_error2='0.62', photon_index2='3.16', ts='8.02', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='1.07e-05', EG='1.09', time_epoch_completed='1632955916.15', return_code='0', job_id='829153', GAL2='1.04', EG2='1.07', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='5.99e-08', ts2='8.42', photon_index='2.88' WHERE bin_id='90' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:51:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 829153: <4FGL_J2324.6+3115_daily_bin90> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin90> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:35:42 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:35:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:35:44 2021
Terminated at Wed Sep 29 15:51:56 2021
Results reported at Wed Sep 29 15:51:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin90 351.17 31.2573 262656001 262915201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   881.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            974 sec.

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

