/sdf/group/fermi/u/kocevski/software/conda/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)

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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/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 = 17422
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1534.8+0131_weekly_bin802
RA = 233.725, Dec = 1.5224
tmin = 724032001, tmax = 724636801
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='36606986', job_status='RUN', time_executed='2023-12-19 01:00:49.831310', time_epoch_executed='1702976449.83' WHERE source_name='4FGL J1534.8+0131' and cadence='weekly' and bin_id='802'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36606986

Creating custom pfile directory:
/lscratch/kocevski/36606986/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=724032001.0 && nMetStart<724636801.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=724032001.0 && nMetStart<724636801.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36606986/ft1_4FGL_J1534.8+0131_weekly_bin802.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=724032001.0 && nMetStart<724636801.0' /Data/Flight/Level1/LPA

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36606986/ft1_4FGL_J1534.8+0131_weekly_bin802.fits outfile=/lscratch/kocevski/36606986/ft1_filteredMKT_4FGL_J1534.8+0131_weekly_bin802.fits ra=233.725 dec=1.5224 rad=12.0 tmin=724032001.0 tmax=724636801.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 4.66
user 4.33
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/36606986/ft1_filteredMKT_4FGL_J1534.8+0131_weekly_bin802.fits evtable="EVENTS" outfile="/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.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('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.44
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2232

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36606986/ltcube_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.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 /lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits
.....................!
real 23.10
user 22.66
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits evtable="EVENTS" scfile=/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36606986/ltcube_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.fits outfile=/lscratch/kocevski/36606986/expmap_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.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 /lscratch/kocevski/36606986/ltcube_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.fits
.....................!
real 71.45
user 67.12
sys 4.02

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=/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits scfile=/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits outfile=/lscratch/kocevski/36606986/cmap_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.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.40
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits scfile=/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits outfile=/lscratch/kocevski/36606986/cmap_HighResolution_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.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.40
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits evtable="EVENTS" scfile=/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36606986/Model_4FGL_J1534.8+0131_weekly_bin802.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...
/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits.....................!
real 69.04
user 68.05
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits', '/lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits', expMap='/lscratch/kocevski/36606986/expmap_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.fits', expCube='/lscratch/kocevski/36606986/ltcube_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36606986/Model_4FGL_J1534.8+0131_weekly_bin802.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  0.000e+00  1.000e+06 ( 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): /lscratch/kocevski/36606986/ft1_filtered_4FGL_J1534.8+0131_weekly_bin802.fits
Spacecraft file(s): /lscratch/kocevski/36606986/ft2_4FGL_J1534.8+0131_weekly_bin802.fits
Exposure map: /lscratch/kocevski/36606986/expmap_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.fits
Exposure cube: /lscratch/kocevski/36606986/ltcube_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36606986/Model_4FGL_J1534.8+0131_weekly_bin802.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) = 24239.8333295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2083       1.0000          .0000       .10000E+07
     2 'norm      '    8.7976       1.0000          .0000       .10000E+07
     3 'norm      '    .25496E-06   1.0000          .0000       .10000E+07
     4 'norm      '    5.6643       1.0000          .0000       .10000E+07
     5 'norm      '    2.3807       1.0000          .0000       .10000E+07
     6 'norm      '    .80428E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15742E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    17.108       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17923E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.567       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.0871       1.0000          .0000       .10000E+07
    12 'norm      '    .95480       1.0000          .0000       .10000E+07
    13 'Prefactor '    .84458E-04   1.0000          .0000       .10000E+07
    14 'norm      '    3.9525       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.4337       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .93688       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24239.83     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     1095 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2083        .19973       -.57010E-08    .21047E-01
   2  norm          8.7954        1.9753       -.14285E-06    .84247E-02
   3  norm           .0000        .70872        .37940E-07** at limit **
   4  norm          5.6282        2.9061       -.34402E-07    .22958E-03
   5  norm          2.3792        1.9829       -.70163E-07    .26172E-02
   6  norm          .80424E-01    .46582E-01   -.10844E-07** at limit **
   7  Prefactor      .0000        2.7480        .24268E-06** at limit **
   8  Prefactor     17.085        14.379       -.29353E-05   -.87551E-02
   9  Prefactor     .17375E-07    35.912       -.12904E-05** at limit **
  10  Prefactor     13.572        4.1655        .67087E-06   -.34556E-01
  11  Prefactor     6.0727        2.9810        .22286E-06   -.31447E-02
  12  norm          .94660        1.4694        .27772E-06   -.27297E-02
  13  Prefactor     .17764E-07    32.675        .90570E-06** at limit **
  14  norm          3.9515        1.1837       -.18004E-07    .31752E-02
  15  Normalizat    1.4340        .17357        .12558E-04   -.38545E-04
  16  Prefactor     .93694        .63735E-01   -.66868E-05    .27113E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20829
  norm       = 8.79535
  norm       = 0
  norm       = 5.62815
  norm       = 2.37922
  norm       = 0.080424
  Prefactor  = 0
  Prefactor  = 17.0852
  Prefactor  = 1.7375e-08
  Prefactor  = 13.572
  Prefactor  = 6.07267
  norm       = 0.946602
  Prefactor  = 1.77636e-08
  norm       = 3.95149
  Normalizat = 1.43402
  Prefactor  = 0.936935
 **********
 **   18 **HESSE 
 **********

 FCN=   24239.83     FROM HESSE     STATUS=OK           239 CALLS     1334 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2083        .19985        .61372E-03   -1.5686    
   2  norm          8.7954        1.9687        .33769E-03   -1.5649    
   3  norm           .0000        .71018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.6282        2.9181        .42183E-03   -1.5661    
   5  norm          2.3792        1.9888        .66364E-03   -1.5677    
   6  norm          .80424E-01    .44589E-01    .55867E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.7017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.085        14.446        .24187E-03   -1.5625    
   9  Prefactor     .17375E-07    36.041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.572        34.110        .27168E-03   -1.5634    
  11  Prefactor     6.0727        2.9884        .40670E-03   -1.5659    
  12  norm          .94660        1.4840        .42158E-03   -1.5689    
  13  Prefactor     .17764E-07    32.765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.9515        1.1852        .50714E-03   -1.5668    
  15  Normalizat    1.4340        .15003        .87998E-01   -.79650    
  16  Prefactor     .93694        .55398E-01    .45473E-01   -.94862    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84525e-07
Minuit parameter uncertainties:
  1  0.199846
  2  1.96865
  3  7.34177e-07
  4  2.91809
  5  1.98879
  6  0.0445893
  7  2.61729e-06
  8  14.4459
  9  0.00158297
  10  34.1103
  11  2.98845
  12  1.48399
  13  0.00152519
  14  1.18521
  15  0.150075
  16  0.0554011
Done.

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

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  0.000e+00  2.617e-06  0.000e+00  1.000e+06 ( 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:  9.369e-01  5.540e-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.434e+00  1.501e-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: 5.52001516893e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00427131529088 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36606986/likelihoodResults_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.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) = 24239.8413444
delta logL = -0.00871933468079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 24239.8326259
delta logL = -7.81401467975e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15155E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.7636       1.0000          .0000       10.000    
     3 'Normalizat'    1.4342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93686       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24239.83     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      251 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.3603        .42118E-03** at limit **
   2  Index         2.1255        1.1053        .36026E-05     .0000    
   3  Normalizat    1.4340        1.0572       -.11635E-05   -.86744E-04
   4  Prefactor     .93693        1.2799       -.16972E-06   -.12309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.12555
  Normalizat = 1.43402
  Prefactor  = 0.936935
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   24239.83     FROM HESSE     STATUS=FAILED         9 CALLS      260 TOTAL
                     EDM=   .39E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.3603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .49413        1.7383        .36026E-05   -.61247    
   3  Normalizat    1.4340        1.0572       -.11635E-05   -.79650    
   4  Prefactor     .93693        1.2799       -.16972E-06   -.94862    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.93057e-12
Minuit parameter uncertainties:
  1  4.49747e-06
  2  1.11916
  3  1.0741
  4  1.32509
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 24239.8326251
delta logL = 2.54658516496e-11

Extracting fit parameters...

4FGL J1534.8+0131
   Spectrum: PowerLaw
223    Prefactor:  0.000e+00  4.497e-06  0.000e+00  1.000e+06 ( 1.000e-12)
224        Index:  2.126e+00  1.119e+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:  9.369e-01  1.325e+00  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.434e+00  1.074e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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 /lscratch/kocevski/36606986/cmap_HighResolution_724032001_724636801_4FGL_J1534.8+0131_weekly_bin802.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.27e-03', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2023-12-19 01:08:24.425574', job_id='36606986', GAL2='0.94', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1702976904.43', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='802' AND source_name='4FGL J1534.8+0131' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 19 01:08:24 PST 2023

