/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 = 17397
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0153.9+0823_weekly_bin815
RA = 28.4972, Dec = 8.3931
tmin = 731894401, tmax = 732499201
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='44318319', job_status='RUN', time_executed='2024-04-19 23:06:01.832722', time_epoch_executed='1713593161.83' WHERE source_name='4FGL J0153.9+0823' and cadence='weekly' and bin_id='815'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44318319

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/44318319/ft1_4FGL_J0153.9+0823_weekly_bin815.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44318319/ft1_4FGL_J0153.9+0823_weekly_bin815.fits outfile=/lscratch/kocevski/44318319/ft1_filteredMKT_4FGL_J0153.9+0823_weekly_bin815.fits ra=28.4972 dec=8.3931 rad=12.0 tmin=731894401.0 tmax=732499201.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.98
user 4.67
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.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/44318319/ft1_filteredMKT_4FGL_J0153.9+0823_weekly_bin815.fits evtable="EVENTS" outfile="/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.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.37
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1296

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44318319/ltcube_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.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/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits
.....................!
real 15.78
user 15.45
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits evtable="EVENTS" scfile=/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44318319/ltcube_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.fits outfile=/lscratch/kocevski/44318319/expmap_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.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/44318319/ltcube_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.fits
.....................!
real 59.00
user 55.55
sys 3.17

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

Setting source of interest to:
4FGL J0153.9+0823 @ 28.4972 8.3931

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits scfile=/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits outfile=/lscratch/kocevski/44318319/cmap_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.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=28.4972 yref=8.3931 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.38
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits scfile=/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits outfile=/lscratch/kocevski/44318319/cmap_HighResolution_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.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=28.4972 yref=8.3931 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.37
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits evtable="EVENTS" scfile=/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44318319/Model_4FGL_J0153.9+0823_weekly_bin815.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/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits.....................!
real 48.01
user 47.13
sys 0.58

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits', '/lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits', expMap='/lscratch/kocevski/44318319/expmap_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.fits', expCube='/lscratch/kocevski/44318319/ltcube_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44318319/Model_4FGL_J0153.9+0823_weekly_bin815.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0153.9+0823'

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.272e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44318319/ft1_filtered_4FGL_J0153.9+0823_weekly_bin815.fits
Spacecraft file(s): /lscratch/kocevski/44318319/ft2_4FGL_J0153.9+0823_weekly_bin815.fits
Exposure map: /lscratch/kocevski/44318319/expmap_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.fits
Exposure cube: /lscratch/kocevski/44318319/ltcube_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44318319/Model_4FGL_J0153.9+0823_weekly_bin815.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) = 14068.0818384

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65995E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .23806E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .44409E-09   1.0000          .0000       .10000E+07
     4 'norm      '    7.6242       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.7664       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2675       1.0000          .0000       .10000E+07
     7 'norm      '    7.0846       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.4807       1.0000          .0000       .10000E+07
     9 'norm      '    .56613E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    58.807       1.0000          .0000       .10000E+07
    11 'Prefactor '    .49317E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45461       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.3685       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1437       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .91187       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14068.03     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      827 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39008E-06    9.4556       -.46480E-06** at limit **
   2  Prefactor     .61617E-08    6.4361       -.27700E-06** at limit **
   3  Prefactor      .0000        .66432       -.91394E-07** at limit **
   4  norm          7.6354        7.0103       -.22508E-07   -.33285E-01
   5  Prefactor     6.7743        3.8867       -.25517E-07   -.84219E-03
   6  Prefactor     3.2669        1.5717        .10775E-07    .22191E-02
   7  norm          7.0761        2.9026       -.36704E-07   -.34902E-02
   8  Prefactor     4.4841        1.7915       -.14191E-07   -.12106E-02
   9  norm          .56257E-01    .68078        .53771E-07** at limit **
  10  Prefactor     58.608        13.567       -.30454E-07    .21128E-01
  11  Prefactor     .76827E-07    10.860       -.46724E-06** at limit **
  12  Prefactor     .38852        8.8616        .19425E-06   -.28202E-02
  13  Prefactor     2.3470        3.5817        .11552E-07   -.66610E-01
  14  Normalizat    1.1437        .13938        .22994E-05    .34454E-03
  15  Prefactor     .91207        .96338E-01   -.41699E-06    .34503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.90077e-07
  Prefactor  = 6.16174e-09
  Prefactor  = 0
  norm       = 7.63543
  Prefactor  = 6.77433
  Prefactor  = 3.26694
  norm       = 7.07608
  Prefactor  = 4.4841
  norm       = 0.0562568
  Prefactor  = 58.6077
  Prefactor  = 7.68274e-08
  Prefactor  = 0.388521
  Prefactor  = 2.347
  Normalizat = 1.14372
  Prefactor  = 0.912074
 **********
 **   18 **HESSE 
 **********

 FCN=   14068.03     FROM HESSE     STATUS=OK           224 CALLS     1051 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39008E-06    19.606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .61617E-08    6.6460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .66736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.6354        7.1359        .36295E-03   -1.5653    
   5  Prefactor     6.7743        3.8890        .38549E-03   -1.5656    
   6  Prefactor     3.2669        1.5786        .55997E-03   -1.5672    
   7  norm          7.0761        2.9076        .37665E-03   -1.5655    
   8  Prefactor     4.4841        1.8061        .47543E-03   -1.5666    
   9  norm          .56257E-01    .22782        .21011E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     58.608        18.953        .13041E-03   -1.5555    
  11  Prefactor     .76827E-07    12.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .38852        1.7362        .83413E-02   -1.5695    
  13  Prefactor     2.3470        10.285        .66552E-03   -1.5677    
  14  Normalizat    1.1437        .12336        .61893E-01   -.88360    
  15  Prefactor     .91207        .84768E-01    .45156E-01   -.95720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16785e-07
Minuit parameter uncertainties:
  1  0.00553098
  2  0.00040419
  3  8.046e-06
  4  7.13589
  5  3.88904
  6  1.57864
  7  2.90755
  8  1.80609
  9  0.22642
  10  18.9534
  11  0.00192648
  12  1.64263
  13  9.82642
  14  0.123386
  15  0.0847798
Done.

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

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  7.635e+00  7.136e+00  0.000e+00  1.000e+06 ( 1.000e-13)
237        alpha:  1.822e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
238         beta:  7.988e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.121e-01  8.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.144e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.92
Ra Dec: 28.497 8.393
Photon Index (Fixed Index): 1.82 +/- 0.00
Photon Flux (Fixed Index): 9.67e-09 +/- 9.04e-09
Energy Flux (Fixed Index): 9.69e-06 +/- 9.05e-06

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) = 14068.0226406
delta logL = 0.00883623662958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14068.0114638
delta logL = 0.0200130240719

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0596       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5173       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91280       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14068.01     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      215 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0662        5.9955        .40764E-03    .26738E-02
   2  alpha         1.5170        .70465        .46138       -.13289E-03
   3  Normalizat    1.1460        .12209        .61842E-01   -.18059E-03
   4  Prefactor     .91279        .83750E-01    .45168E-01   -.42019E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.06623
  alpha      = 1.51696
  Normalizat = 1.146
  Prefactor  = 0.912789
 **********
 **   18 **HESSE 
 **********

 FCN=   14068.01     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0662        8.9187        .16306E-04   -1.5659    
   2  alpha         1.5170        1.1851        .35599E-01   -.40413    
   3  Normalizat    1.1460        .13919        .27353E-03   -.88288    
   4  Prefactor     .91279        .96050E-01    .20769E-03   -.95696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23978e-10
Minuit parameter uncertainties:
  1  8.91872
  2  1.24511
  3  0.139238
  4  0.0960682
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) = 14068.0114586
delta logL = 0.0200182489207

Extracting fit parameters...

4FGL J0153.9+0823
   Spectrum: LogParabola
236         norm:  6.066e+00  8.919e+00  0.000e+00  1.000e+06 ( 1.000e-13)
237        alpha:  1.517e+00  1.245e+00  0.000e+00  5.000e+00 ( 1.000e+00)
238         beta:  7.988e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
239           Eb:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  9.128e-01  9.607e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.146e+00  1.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.95
Ra Dec: 28.497 8.393
Photon Index (Free Index): 1.52 +/- 1.25
Photon Flux (Free Index): 5.40e-09 +/- 1.31e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.78e-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 /lscratch/kocevski/44318319/cmap_HighResolution_731894401_732499201_4FGL_J0153.9+0823_weekly_bin815.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.67e-09', energy_flux2='1.17e-05', photon_flux_error='9.04e-09', dlogl='2.00e-02', energy_flux='9.69e-06', photon_flux2='5.40e-09', job_status='DONE', time_completed='2024-04-19 23:10:31.464677', photon_index_error2='1.25', photon_index2='1.52', ts='5.92', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='1.14', time_epoch_completed='1713593431.46', return_code='0', job_id='44318319', GAL2='0.91', EG2='1.15', return_code2='0', energy_flux_error='9.05e-06', photon_flux_error2='1.31e-08', ts2='5.95', photon_index='1.82' WHERE bin_id='815' AND source_name='4FGL J0153.9+0823' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Apr 19 23:10:31 PDT 2024

