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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin87
RA = 233.725, Dec = 1.5224
tmin = 261878401, tmax = 262137601
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='548510', job_status='RUN', time_executed='2021-09-12 04:13:48.919536', time_epoch_executed='1631445228.92' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='87'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548510/ft1_4FGL_J1534.8+0131_daily_bin87.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548510/ft1_4FGL_J1534.8+0131_daily_bin87.fits outfile=/scratch/kocevski/548510/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin87.fits ra=233.725 dec=1.5224 rad=12.0 tmin=261878401.0 tmax=262137601.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.41
user 1.20
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.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/548510/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin87.fits evtable="EVENTS" outfile="/scratch/kocevski/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.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.54
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.fits" evtable="EVENTS" scfile=/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits sctable="SC_DATA" outfile=/scratch/kocevski/548510/ltcube_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.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/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits
.....................!
real 15.43
user 15.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.fits evtable="EVENTS" scfile=/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits sctable="SC_DATA" expcube=/scratch/kocevski/548510/ltcube_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.fits outfile=/scratch/kocevski/548510/expmap_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.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/548510/ltcube_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.fits
.....................!
real 195.13
user 189.20
sys 5.33

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/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.fits scfile=/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits outfile=/scratch/kocevski/548510/cmap_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.fits scfile=/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits outfile=/scratch/kocevski/548510/cmap_HighResolution_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.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.63
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.fits', '/scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits', expMap='/scratch/kocevski/548510/expmap_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.fits', expCube='/scratch/kocevski/548510/ltcube_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/548510/Model_4FGL_J1534.8+0131_daily_bin87.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/548510/ft1_filtered_4FGL_J1534.8+0131_daily_bin87.fits
Spacecraft file(s): /scratch/kocevski/548510/ft2_4FGL_J1534.8+0131_daily_bin87.fits
Exposure map: /scratch/kocevski/548510/expmap_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.fits
Exposure cube: /scratch/kocevski/548510/ltcube_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/548510/Model_4FGL_J1534.8+0131_daily_bin87.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) = 12923.5995567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5977       1.0000         .10000E-03   10000.    
     2 'norm      '    .33368       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .93485       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.6144       1.0000         .10000E-03   10000.    
     7 'Prefactor '    57.058       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1245       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.4778       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4792       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0628       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.4886       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0228       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=   12923.57     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1521 TOTAL
                     EDM=   .93E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5977        .49315       -.25262E-08    .22148E-03
   2  norm          .33376        1.2462       -.13899E-06   -.22630E-03
   3  norm          .10000E-03    1.9053        .64534E-09** at limit **
   4  norm          .93558        3.2132        .23932E-06   -.47649E-03
   5  norm          .10000E-03    1.3923       -.13162E-08** at limit **
   6  norm          1.6143        .21571       -.66775E-08    .90904E-04
   7  Prefactor     57.057        36.109       -.50331E-06   -.13943E-05
   8  Prefactor     2.1246        3.9158        .12063E-06   -.23182E-03
   9  Prefactor     .10000E-03    16.416        .31235E-05** at limit **
  10  Prefactor     .10000E-03    19.688       -.17258E-05** at limit **
  11  Prefactor     .10000E-03    15.992       -.21070E-05** at limit **
  12  Prefactor     7.4779        4.0883       -.72330E-06   -.21933E-03
  13  norm          2.4789        2.2949        .17892E-06   -.92869E-03
  14  Prefactor     .10000E-03    53.713       -.44206E-06** at limit **
  15  norm          2.0626        1.5257       -.20067E-08   -.50023E-04
  16  norm          .10000E-03    26.756        .10871E-05** at limit **
  17  Normalizat    1.4886        .23953        .33809E-06    .16864E-04
  18  Prefactor     1.0228        .86505E-01   -.24974E-07    .61648E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.5977
  norm       = 0.333762
  norm       = 0.0001
  norm       = 0.935579
  norm       = 0.0001
  norm       = 1.61431
  Prefactor  = 57.0571
  Prefactor  = 2.12455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.47786
  norm       = 2.47886
  Prefactor  = 0.0001
  norm       = 2.06257
  norm       = 0.0001
  Normalizat = 1.48855
  Prefactor  = 1.02277
 **********
 **   18 **HESSE 
 **********

 FCN=   12923.57     FROM HESSE     STATUS=OK           246 CALLS     1767 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5977        .49515        .25184E-04   -1.5279    
   2  norm          .33376        2.5126        .23548E-02   -1.5592    
   3  norm          .10000E-03    1.9059        .15325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .93558        5.0016        .47379E-03   -1.5515    
   5  norm          .10000E-03    1.4047        .13092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.6143        .21596        .18231E-04   -1.5454    
   7  Prefactor     57.057        36.115        .53108E-04   -1.4196    
   8  Prefactor     2.1246        4.0176        .28292E-03   -1.5416    
   9  Prefactor     .10000E-03    16.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.4779        4.1077        .14666E-03   -1.5161    
  13  norm          2.4789        2.6226        .91736E-03   -1.5393    
  14  Prefactor     .10000E-03    53.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0626        1.5222        .11762E-03   -1.5421    
  16  norm          .10000E-03    26.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4886        .27671        .43244E-03   -.78100    
  18  Prefactor     1.0228        .99743E-01    .19262E-03   -.91974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.5438e-08
Minuit parameter uncertainties:
  1  0.495146
  2  1.83135
  3  4.9762e-09
  4  4.32673
  5  6.16553e-07
  6  0.21596
  7  36.1288
  8  4.01815
  9  5.98374e-05
  10  3.45391e-05
  11  3.76429e-05
  12  4.10789
  13  2.6227
  14  1.90718e-05
  15  1.52218
  16  2.48696e-05
  17  0.276987
  18  0.0997607
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  2.125e+00  4.018e+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.023e+00  9.976e-02  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.489e+00  2.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 1.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/548510/likelihoodResults_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.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) = 12923.1774134
delta logL = 0.391108893205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12923.1729041
delta logL = 0.395618182907

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0804       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4964       1.0000          .0000       10.000    
     3 'Normalizat'    1.4382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0334       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=   12923.17     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      248 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0813        13.932        .11590E-01    .21196E-02
   2  Index         3.4968        2.4227        .21177        .16296E-03
   3  Normalizat    1.4378        .47739E-01    .99031E-01    .24826E-04
   4  Prefactor     1.0336        .18156E-01    .40999E-01   -.19925E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08133
  Index      = 3.49685
  Normalizat = 1.43778
  Prefactor  = 1.03355
 **********
 **   18 **HESSE 
 **********

 FCN=   12923.17     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      279 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0813        53.752        .11426E-03   -1.5500    
   2  Index         3.4968        6.4624        .81537E-02   -.30535    
   3  Normalizat    1.4378        .27508        .43874E-03   -.79542    
   4  Prefactor     1.0336        .10613        .19172E-03   -.91619    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.93027e-09
Minuit parameter uncertainties:
  1  15.2615
  2  8.33793
  3  0.275369
  4  0.106152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548510': 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) = 12923.1729018
delta logL = 0.395620546831

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.081e+00  1.526e+01  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  3.497e+00  8.338e+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.034e+00  1.062e-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.438e+00  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.18
Ra Dec: 233.725 1.522
Photon Index (Free Index): 3.50 +/- 8.34
Photon Flux (Free Index): 6.46e-08 +/- 6.58e-08
Energy Flux (Free Index): 1.08e-05 +/- 2.63e-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/548510/cmap_HighResolution_261878401_262137601_4FGL_J1534.8+0131_daily_bin87.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.63e-03', comment='SUCCESS', energy_flux2='1.08e-05', dlogl='3.96e-01', photon_flux2='6.46e-08', job_status='DONE', time_completed='2021-09-12 04:26:22.383677', photon_index_error2='8.34', photon_index2='3.50', ts='0.34', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.24e-07', energy_flux_error2='2.63e-05', EG='1.49', time_epoch_completed='1631445982.38', return_code='0', job_id='548510', GAL2='1.03', EG2='1.44', return_code2='102', photon_flux_error2='6.58e-08', ts2='1.18', photon_index='2.42' WHERE bin_id='87' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:26:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0294>
Subject: Job 548510: <4FGL_J1534.8+0131_daily_bin87> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin87> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 12 04:10:42 2021
Job was executed on host(s) <bullet0294>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:12:05 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:12:05 2021
Terminated at Sun Sep 12 04:26:23 2021
Results reported at Sun Sep 12 04:26:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin87 233.725 1.5224 261878401 262137601 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 :                                   749.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            941 sec.

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

