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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin318
RA = 233.725, Dec = 1.5224
tmin = 321753601, tmax = 322012801
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='550000', job_status='RUN', time_executed='2021-09-12 04:20:14.062038', time_epoch_executed='1631445614.06' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='318'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550000

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550000/ft1_4FGL_J1534.8+0131_daily_bin318.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550000/ft1_4FGL_J1534.8+0131_daily_bin318.fits outfile=/scratch/kocevski/550000/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin318.fits ra=233.725 dec=1.5224 rad=12.0 tmin=321753601.0 tmax=322012801.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.37
user 3.16
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.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/550000/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin318.fits evtable="EVENTS" outfile="/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits" evtable="EVENTS" scfile=/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits sctable="SC_DATA" outfile=/scratch/kocevski/550000/ltcube_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.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/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits
.....................!
real 13.16
user 12.77
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits evtable="EVENTS" scfile=/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits sctable="SC_DATA" expcube=/scratch/kocevski/550000/ltcube_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.fits outfile=/scratch/kocevski/550000/expmap_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.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/550000/ltcube_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.fits
.....................!
real 192.72
user 187.20
sys 5.09

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

Setting source of interest to:
4FGL J1534.8+0131 @ 233.725 1.5224

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits scfile=/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits outfile=/scratch/kocevski/550000/cmap_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.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=233.725 yref=1.5224 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.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits scfile=/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits outfile=/scratch/kocevski/550000/cmap_HighResolution_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.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=233.725 yref=1.5224 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits evtable="EVENTS" scfile=/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550000/Model_4FGL_J1534.8+0131_daily_bin318.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/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits.....................!
real 68.35
user 66.96
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits', '/scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits', expMap='/scratch/kocevski/550000/expmap_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.fits', expCube='/scratch/kocevski/550000/ltcube_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550000/Model_4FGL_J1534.8+0131_daily_bin318.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1534.8+0131'

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.180e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.421e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/550000/ft1_filtered_4FGL_J1534.8+0131_daily_bin318.fits
Spacecraft file(s): /scratch/kocevski/550000/ft2_4FGL_J1534.8+0131_daily_bin318.fits
Exposure map: /scratch/kocevski/550000/expmap_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.fits
Exposure cube: /scratch/kocevski/550000/ltcube_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550000/Model_4FGL_J1534.8+0131_daily_bin318.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) = 8306.53292928

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48329       1.0000         .10000E-03   10000.    
     2 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.4567       1.0000         .10000E-03   10000.    
     4 'norm      '    9.4139       1.0000         .10000E-03   10000.    
     5 'norm      '    2.3497       1.0000         .10000E-03   10000.    
     6 'norm      '    .16086       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2613       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8192       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.714       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10885E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4304       1.0000         .10000E-03   10000.    
    13 'norm      '    3.1296       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11773E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.0147       1.0000         .10000E-03   10000.    
    16 'norm      '    19.254       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0314       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0622       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8306.531     FROM MIGRAD    STATUS=CONVERGED    356 CALLS     1736 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48327        .24096        .43039E-07   -.12330E-03
   2  norm          .10000E-03    .91209        .25671E-06** at limit **
   3  norm          4.4560        4.4040       -.29172E-05    .81426E-04
   4  norm          9.4136        5.4266       -.19244E-07   -.32759E-04
   5  norm          2.3494        2.6123        .33791E-07   -.41460E-04
   6  norm          .16086        .13988        .31551E-07    .45999E-03
   7  Prefactor     5.2673        23.653        .20933E-06    .56704E-05
   8  Prefactor     8.8191        5.8679        .95651E-07   -.29621E-04
   9  Prefactor     19.693        36.964       -.24846E-06   -.30612E-04
  10  Prefactor     .10000E-03    24.222        .64442E-07** at limit **
  11  Prefactor     .10000E-03    35.267        .15188E-06** at limit **
  12  Prefactor     3.4302        4.3804        .24842E-06    .20424E-04
  13  norm          3.1287        3.4860        .49847E-07    .11378E-05
  14  Prefactor     .10000E-03    25.419        .10228E-06** at limit **
  15  norm          4.0148        1.8564        .29969E-08    .98290E-05
  16  norm          19.052        143.25       -.62519E-05   -.43021E-04
  17  Normalizat    1.0316        .24912       -.31594E-05    .18288E-04
  18  Prefactor     1.0621        .96121E-01    .11605E-05   -.24755E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.48327
  norm       = 0.0001
  norm       = 4.45603
  norm       = 9.41362
  norm       = 2.34938
  norm       = 0.160856
  Prefactor  = 5.26733
  Prefactor  = 8.81905
  Prefactor  = 19.693
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.43018
  norm       = 3.12865
  Prefactor  = 0.0001
  norm       = 4.01481
  norm       = 19.0522
  Normalizat = 1.03158
  Prefactor  = 1.06208
 **********
 **   18 **HESSE 
 **********

 FCN=   8306.531     FROM HESSE     STATUS=OK           254 CALLS     1990 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48327        .23852        .30248E-04   -1.5569    
   2  norm          .10000E-03    1.4276        .16761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4560        4.4304        .93160E-03   -1.5286    
   4  norm          9.4136        5.4089        .13062E-03   -1.5094    
   5  norm          2.3494        2.6018        .15091E-03   -1.5401    
   6  norm          .16086        .13191        .30326E-03   -1.5628    
   7  Prefactor     5.2673        23.608        .17524E-03   -1.5249    
   8  Prefactor     8.8191        5.8635        .13497E-03   -1.5114    
   9  Prefactor     19.693        36.873        .90207E-04   -1.4820    
  10  Prefactor     .10000E-03    24.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    35.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4302        4.3560        .20139E-03   -1.5338    
  13  norm          3.1287        3.4685        .16981E-03   -1.5354    
  14  Prefactor     .10000E-03    25.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.0148        1.8572        .82216E-04   -1.5307    
  16  norm          19.052        146.21        .91277E-04   -1.4835    
  17  Normalizat    1.0316        .27321        .42263E-03   -.91980    
  18  Prefactor     1.0621        .10671        .16627E-03   -.90688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13692e-10
Minuit parameter uncertainties:
  1  0.238521
  2  2.56729e-06
  3  4.43075
  4  5.40919
  5  2.60196
  6  0.131914
  7  22.3171
  8  5.86385
  9  36.9158
  10  4.09553e-05
  11  1.2099e-05
  12  4.35644
  13  3.46873
  14  4.70171e-05
  15  1.85725
  16  105.919
  17  0.273586
  18  0.106735
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  8.819e+00  5.864e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.421e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.062e+00  1.067e-01  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  1.032e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.15
Ra Dec: 233.725 1.522
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 9.76e-08 +/- 6.48e-08
Energy Flux (Fixed Index): 3.11e-05 +/- 2.07e-05

TS (Fixed Index): 3.15
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 2.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.72e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550000/likelihoodResults_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.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) = 8305.31416069
delta logL = 1.21658139947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8305.2693872
delta logL = 1.26135488215

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8305.269     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      255 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9951        14.013        .73329E-02    .61502E-03
   2  Index         3.7018        2.5504        .11732        .19402E-03
   3  Normalizat    .94510        .85459E-01    .99038E-01    .33139E-04
   4  Prefactor     1.0857        .33722E-01    .38156E-01   -.33431E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99511
  Index      = 3.70182
  Normalizat = 0.945103
  Prefactor  = 1.08569
 **********
 **   18 **HESSE 
 **********

 FCN=   8305.269     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9951        24.451        .61213E-04   -1.5425    
   2  Index         3.7018        3.6203        .45445E-02   -.26265    
   3  Normalizat    .94510        .27037        .43882E-03   -.94893    
   4  Prefactor     1.0857        .10997        .16459E-03   -.89925    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.64728e-10
Minuit parameter uncertainties:
  1  13.9755
  2  4.09318
  3  0.270763
  4  0.109993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550000': 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) = 8305.269387
delta logL = 1.26135508917

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.995e+00  1.398e+01  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  3.702e+00  4.093e+00  0.000e+00  1.000e+01 (-1.000e+00)
225        Scale:  8.077e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
494    Prefactor:  1.086e+00  1.100e-01  0.000e+00  1.000e+01 ( 1.000e+00)
495        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
496        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
493   Normalization:  9.451e-01  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 233.725 1.522
Photon Index (Free Index): 3.70 +/- 4.09
Photon Flux (Free Index): 1.69e-07 +/- 8.51e-08
Energy Flux (Free Index): 2.68e-05 +/- 2.62e-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/550000/cmap_HighResolution_321753601_322012801_4FGL_J1534.8+0131_daily_bin318.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.72e-02', comment='SUCCESS', photon_flux='9.76e-08', energy_flux2='2.68e-05', photon_flux_error='6.48e-08', dlogl='1.26e+00', energy_flux='3.11e-05', photon_flux2='1.69e-07', job_status='DONE', time_completed='2021-09-12 04:30:20.245329', photon_index_error2='4.09', photon_index2='3.70', ts='3.15', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='2.23e-07', energy_flux_error2='2.62e-05', EG='1.03', time_epoch_completed='1631446220.25', return_code='0', job_id='550000', GAL2='1.09', EG2='0.95', return_code2='102', energy_flux_error='2.07e-05', photon_flux_error2='8.51e-08', ts2='5.92', photon_index='2.42' WHERE bin_id='318' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:30:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 550000: <4FGL_J1534.8+0131_daily_bin318> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin318> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 12 04:15:37 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:16:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 12 04:16:13 2021
Terminated at Sun Sep 12 04:30:21 2021
Results reported at Sun Sep 12 04:30:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin318 233.725 1.5224 321753601 322012801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1534.8+0131 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.10 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            884 sec.

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

