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


Performing analysis on: 4FGL_J1534.8+0131_daily_bin112
RA = 233.725, Dec = 1.5224
tmin = 268358401, tmax = 268617601
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='548552', job_status='RUN', time_executed='2021-09-12 04:12:27.120358', time_epoch_executed='1631445147.12' WHERE source_name='4FGL J1534.8+0131' and cadence='daily' and bin_id='112'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548552/ft1_4FGL_J1534.8+0131_daily_bin112.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548552/ft2_4FGL_J1534.8+0131_daily_bin112.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548552/ft1_4FGL_J1534.8+0131_daily_bin112.fits outfile=/scratch/kocevski/548552/ft1_filteredMKT_4FGL_J1534.8+0131_daily_bin112.fits ra=233.725 dec=1.5224 rad=12.0 tmin=268358401.0 tmax=268617601.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.86
user 1.26
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548552/ft1_filtered_4FGL_J1534.8+0131_daily_bin112.fits evtable="EVENTS" scfile=/scratch/kocevski/548552/ft2_4FGL_J1534.8+0131_daily_bin112.fits sctable="SC_DATA" expcube=/scratch/kocevski/548552/ltcube_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.fits outfile=/scratch/kocevski/548552/expmap_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.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/548552/ltcube_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.fits
.....................!
real 191.43
user 186.04
sys 5.01

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/548552/ft1_filtered_4FGL_J1534.8+0131_daily_bin112.fits scfile=/scratch/kocevski/548552/ft2_4FGL_J1534.8+0131_daily_bin112.fits outfile=/scratch/kocevski/548552/cmap_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548552/ft1_filtered_4FGL_J1534.8+0131_daily_bin112.fits scfile=/scratch/kocevski/548552/ft2_4FGL_J1534.8+0131_daily_bin112.fits outfile=/scratch/kocevski/548552/cmap_HighResolution_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5168       1.0000         .10000E-03   10000.    
     2 'norm      '    4.3647       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.777       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.1920       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.2309       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6156       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74901E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.384       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7780       1.0000         .10000E-03   10000.    
    13 'norm      '    3.7117       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.3584       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3530       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87069       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=   15003.17     FROM MIGRAD    STATUS=CONVERGED    353 CALLS     1545 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5168        .27626        .63325E-08   -.23477E-03
   2  norm          4.3652        2.1184        .11461E-06   -.78891E-04
   3  norm          .10000E-03    3.4419        .22913E-07** at limit **
   4  norm          10.778        5.0432        .86965E-07   -.63674E-04
   5  norm          .10000E-03    1.2899        .63525E-08** at limit **
   6  norm          2.1920        .21892        .21690E-08   -.21220E-03
   7  Prefactor     3.2324        21.035        .53518E-06   -.40731E-05
   8  Prefactor     1.6165        3.3816        .16285E-05   -.66831E-04
   9  Prefactor     .10000E-03    7.0867       -.15590E-07** at limit **
  10  Prefactor     .10000E-03    72.034       -.39340E-05** at limit **
  11  Prefactor     15.376        25.828       -.23307E-06   -.39801E-04
  12  Prefactor     1.7783        2.3720        .31819E-06   -.95197E-04
  13  norm          3.7121        2.6432        .82610E-07   -.70589E-04
  14  Prefactor     .10000E-03    15.079        .83528E-08** at limit **
  15  norm          4.3585        1.4572        .67701E-08   -.10414E-04
  16  norm          .10000E-03    37.342        .21698E-06** at limit **
  17  Normalizat    1.3529        .18983       -.81079E-06   -.56005E-04
  18  Prefactor     .87067        .69070E-01   -.22314E-06   -.11483E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5168
  norm       = 4.36517
  norm       = 0.0001
  norm       = 10.7776
  norm       = 0.0001
  norm       = 2.19201
  Prefactor  = 3.23244
  Prefactor  = 1.61654
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 15.3765
  Prefactor  = 1.77828
  norm       = 3.71211
  Prefactor  = 0.0001
  norm       = 4.35846
  norm       = 0.0001
  Normalizat = 1.35292
  Prefactor  = 0.870672
 **********
 **   18 **HESSE 
 **********

 FCN=   15003.17     FROM HESSE     STATUS=OK           248 CALLS     1793 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5168        .27714        .26473E-04   -1.5462    
   2  norm          4.3652        2.1258        .11710E-03   -1.5290    
   3  norm          .10000E-03    3.4749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.778        5.0525        .12204E-03   -1.5051    
   5  norm          .10000E-03    1.3045        .13578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.1920        .21955        .17090E-04   -1.5412    
   7  Prefactor     3.2324        20.988        .22536E-03   -1.5348    
   8  Prefactor     1.6165        3.3883        .30785E-03   -1.5454    
   9  Prefactor     .10000E-03    7.0943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    75.340        .41882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.376        25.883        .10212E-03   -1.4924    
  12  Prefactor     1.7783        2.3427        .20724E-03   -1.5441    
  13  norm          3.7121        2.6372        .16177E-03   -1.5323    
  14  Prefactor     .10000E-03    15.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3585        1.4580        .83286E-04   -1.5290    
  16  norm          .10000E-03    37.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3529        .21965        .39210E-03   -.82000    
  18  Prefactor     .87067        .80078E-01    .18137E-03   -.97174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88782e-11
Minuit parameter uncertainties:
  1  0.277139
  2  2.1258
  3  1.66558e-06
  4  5.05274
  5  6.75954e-08
  6  0.219549
  7  16.4815
  8  3.38865
  9  1.76075e-06
  10  0.00108943
  11  25.9016
  12  2.34285
  13  2.63731
  14  1.7134e-06
  15  1.45805
  16  0.000122333
  17  0.219803
  18  0.0800883
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.617e+00  3.389e+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:  8.707e-01  8.009e-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.353e+00  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/548552/likelihoodResults_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.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) = 15003.0907134
delta logL = 0.0828358029594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15003.0799184
delta logL = 0.0936307906031

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2408       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9735       1.0000          .0000       10.000    
     3 'Normalizat'    1.3364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87396       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15003.08     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      261 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2398        3.8502        .20041E-03   -.91898E-05
   2  Index         2.9737        1.8508        .88388E-02    .22004E-03
   3  Normalizat    1.3365        .21348        .39419E-03   -.12113E-05
   4  Prefactor     .87396        .80042E-01    .18107E-03   -.51486E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.23982
  Index      = 2.97367
  Normalizat = 1.33645
  Prefactor  = 0.87396
 **********
 **   18 **HESSE 
 **********

 FCN=   15003.08     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .64E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2398        3.0853        .80164E-05   -1.5485    
   2  Index         2.9737        1.4968        .17678E-02   -.41727    
   3  Normalizat    1.3365        .21333        .15768E-04   -.82485    
   4  Prefactor     .87396        .79870E-01    .72426E-05   -.97057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4313e-14
Minuit parameter uncertainties:
  1  3.08571
  2  1.52491
  3  0.213468
  4  0.0798807
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548552': 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) = 15003.0799183
delta logL = 0.0936308615528

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  1.240e+00  3.086e+00  1.000e-04  1.000e+04 ( 1.000e-12)
224        Index:  2.974e+00  1.525e+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:  8.740e-01  7.988e-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.336e+00  2.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 233.725 1.522

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/548552/cmap_HighResolution_268358401_268617601_4FGL_J1534.8+0131_daily_bin112.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.68e-03', job_status='DONE', photon_flux_upper_limit='9.92e-08', time_completed='2021-09-12 04:26:02.237408', job_id='548552', GAL2='0.87', fit_tolerance='1e-08', EG2='1.34', EG='1.35', time_epoch_completed='1631445962.24', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='9.36e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='112' AND source_name='4FGL J1534.8+0131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 12 04:26:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 548552: <4FGL_J1534.8+0131_daily_bin112> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1534.8+0131_daily_bin112 233.725 1.5224 268358401 268617601 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 :                                   813.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             398.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            918 sec.

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

