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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin418
RA = 233.725, Dec = 1.5224
tmin = 347673601, tmax = 347932801
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='552139', job_status='RUN', time_executed='2021-09-12 04:24:06.594989', time_epoch_executed='1631445846.6' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/552139

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/552139/ft1_4FGL_J1534.8+0131_daily_bin418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/552139/ft2_4FGL_J1534.8+0131_daily_bin418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/552139/ft1_4FGL_J1534.8+0131_daily_bin418.fits outfile=/scratch/kocevski/552139/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin418.fits ra=233.725 dec=1.5224 rad=12.0 tmin=347673601.0 tmax=347932801.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.44
user 3.23
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/552139/ft2_4FGL_J1534.8+0131_daily_bin418.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/552139/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin418.fits evtable="EVENTS" outfile="/scratch/kocevski/552139/ft1_filtered_4FGL_J1534.8+0131_daily_bin418.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/552139/ft1_filtered_4FGL_J1534.8+0131_daily_bin418.fits" evtable="EVENTS" scfile=/scratch/kocevski/552139/ft2_4FGL_J1534.8+0131_daily_bin418.fits sctable="SC_DATA" outfile=/scratch/kocevski/552139/ltcube_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.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/552139/ft2_4FGL_J1534.8+0131_daily_bin418.fits
.....................!
real 13.88
user 13.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/552139/ft1_filtered_4FGL_J1534.8+0131_daily_bin418.fits evtable="EVENTS" scfile=/scratch/kocevski/552139/ft2_4FGL_J1534.8+0131_daily_bin418.fits sctable="SC_DATA" expcube=/scratch/kocevski/552139/ltcube_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.fits outfile=/scratch/kocevski/552139/expmap_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.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/552139/ltcube_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.fits
.....................!
real 190.88
user 184.88
sys 5.58

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/552139/ft1_filtered_4FGL_J1534.8+0131_daily_bin418.fits scfile=/scratch/kocevski/552139/ft2_4FGL_J1534.8+0131_daily_bin418.fits outfile=/scratch/kocevski/552139/cmap_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/552139/ft1_filtered_4FGL_J1534.8+0131_daily_bin418.fits scfile=/scratch/kocevski/552139/ft2_4FGL_J1534.8+0131_daily_bin418.fits outfile=/scratch/kocevski/552139/cmap_HighResolution_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14002       1.0000         .10000E-03   10000.    
     2 'norm      '    .14488E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .10236E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.9608       1.0000         .10000E-03   10000.    
     5 'norm      '    4.0218       1.0000         .10000E-03   10000.    
     6 'norm      '    .80256       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.144       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .47385E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12169E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.520       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.959       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42723E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .40187E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.0073       1.0000         .10000E-03   10000.    
    16 'norm      '    .19666E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0873       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0080       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=   12463.97     FROM MIGRAD    STATUS=CONVERGED    389 CALLS     1785 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14004        .11497        .41831E-08   -.18402E-04
   2  norm          .10774E-03    .65772        .39805E-06** at limit **
   3  norm          .10000E-03    1.7581       -.54684E-07** at limit **
   4  norm          2.9616        2.7376       -.58429E-07   -.95426E-04
   5  norm          4.0252        3.3435       -.41674E-06   -.63121E-03
   6  norm          .80252        .14060        .32065E-08    .14559E-03
   7  Prefactor     12.169        26.087        .15717E-04   -.29660E-04
   8  Prefactor     .10000E-03    1.3161        .35724E-07** at limit **
   9  Prefactor     .10000E-03    18.462       -.62075E-06** at limit **
  10  Prefactor     12.450        25.034       -.35709E-04   -.22224E-05
  11  Prefactor     21.105        20.308        .73407E-06    .17083E-04
  12  Prefactor     .10000E-03    1.2748       -.30957E-06** at limit **
  13  norm          .10000E-03    .80595       -.19732E-07** at limit **
  14  Prefactor     .10000E-03    91.650        .16318E-04** at limit **
  15  norm          4.0062        1.5434        .25179E-06    .45473E-02
  16  norm          .10000E-03    43.297       -.38678E-04** at limit **
  17  Normalizat    1.0877        .19244       -.19033E-05   -.95090E-05
  18  Prefactor     1.0079        .73250E-01    .11640E-05   -.46499E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.140036
  norm       = 0.000107743
  norm       = 0.0001
  norm       = 2.96156
  norm       = 4.02522
  norm       = 0.802516
  Prefactor  = 12.1691
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 12.4504
  Prefactor  = 21.1051
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.00619
  norm       = 0.0001
  Normalizat = 1.08768
  Prefactor  = 1.00795
 **********
 **   18 **HESSE 
 **********

 FCN=   12463.97     FROM HESSE     STATUS=OK           260 CALLS     2045 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14004        .10893        .33277E-03   -1.5633    
   2  norm          .10774E-03    2.2666        .28658E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7613        .14456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9616        2.7380        .17117E-03   -1.5364    
   5  norm          4.0252        3.3534        .17704E-03   -1.5307    
   6  norm          .80252        .14046        .16801E-04   -1.5529    
   7  Prefactor     12.169        26.065        .11495E-03   -1.5010    
   8  Prefactor     .10000E-03    8.1786        .24267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.636        .20628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.450        25.016        .11321E-03   -1.5002    
  11  Prefactor     21.105        20.314        .87489E-04   -1.4789    
  12  Prefactor     .10000E-03    8.3277        .23833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .80907        .97855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    92.158        .21262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.0062        1.5513        .42134E-03   -1.5308    
  16  norm          .10000E-03    43.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0877        .21818        .39583E-03   -.90148    
  18  Prefactor     1.0079        .84589E-01    .16204E-03   -.92465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.59492e-09
Minuit parameter uncertainties:
  1  0.108928
  2  0.00837913
  3  7.68112e-07
  4  2.73815
  5  3.35357
  6  0.140456
  7  26.0889
  8  0.00032613
  9  1.52099e-05
  10  25.037
  11  20.3209
  12  0.000323463
  13  3.27684e-07
  14  0.000179952
  15  1.55132
  16  1.53385e-06
  17  0.218356
  18  0.0846002
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.000e-04  3.261e-04  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.008e+00  8.460e-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.088e+00  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 233.725 1.522
Photon Flux Upper Limit: 8.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/552139/likelihoodResults_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.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): 102
logL (Free Index) = 12463.9731656
delta logL = -0.000581037071242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12463.9725706
delta logL = 1.39868461702e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11527E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5519       1.0000          .0000       10.000    
     3 'Normalizat'    1.0881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0078       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=   12463.01     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      304 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44423E-01    .39979        .39677E-02    .10918E-01
   2  Index         5.3724        2.3633        .12959        .29456E-03
   3  Normalizat    .99564        .40827E-01    .92934E-01    .11199E-03
   4  Prefactor     1.0275        .16230E-01    .43668E-01    .13840E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0444227
  Index      = 5.37242
  Normalizat = 0.995638
  Prefactor  = 1.0275
 **********
 **   18 **HESSE 
 **********

 FCN=   12463.01     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44423E-01    1.2931        .18200E-03   -1.5666    
   2  Index         5.3724        7.3827        .71068E-02    .74553E-01
   3  Normalizat    .99564        .15555        .41170E-03   -.93177    
   4  Prefactor     1.0275        .60834E-01    .16064E-03   -.91818    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.9952e-11
Minuit parameter uncertainties:
  1  0.478814
  2  5.72152
  3  0.155617
  4  0.0608379
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/552139': 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) = 12463.0085421
delta logL = 0.964042471078

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  4.442e-02  4.788e-01  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  5.372e+00  5.722e+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.028e+00  6.084e-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:  9.956e-01  1.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 233.725 1.522
Photon Index (Free Index): 5.37 +/- 5.72
Photon Flux (Free Index): 7.66e-08 +/- 5.62e-08
Energy Flux (Free Index): 9.90e-06 +/- 8.71e-06

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/552139/cmap_HighResolution_347673601_347932801_4FGL_J1534.8+0131_daily_bin418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-03', comment='SUCCESS', energy_flux2='9.90e-06', dlogl='9.64e-01', photon_flux2='7.66e-08', job_status='DONE', time_completed='2021-09-12 04:36:52.416050', photon_index_error2='5.72', photon_index2='5.37', ts='-0.00', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='8.45e-08', energy_flux_error2='8.71e-06', EG='1.09', time_epoch_completed='1631446612.42', return_code='0', job_id='552139', GAL2='1.03', EG2='1.00', return_code2='102', photon_flux_error2='5.62e-08', ts2='2.09', photon_index='2.42' WHERE bin_id='418' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:36:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 552139: <4FGL_J1534.8+0131_daily_bin418> in cluster <slac> Done

Job <4FGL_J1534.8+0131_daily_bin418> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 12 04:20:17 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 12 04:20:18 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:20:18 2021
Terminated at Sun Sep 12 04:36:53 2021
Results reported at Sun Sep 12 04:36:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin418 233.725 1.5224 347673601 347932801 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 :                                   763.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            996 sec.

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

