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


Performing analysis on: 4FGL_J1548.3+1456_weekly_bin801
RA = 237.1, Dec = 14.9461
tmin = 723427201, tmax = 724032001
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='35830452', job_status='RUN', time_executed='2023-12-12 02:00:58.884252', time_epoch_executed='1702375258.88' WHERE source_name='4FGL J1548.3+1456' and cadence='weekly' and bin_id='801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/35830452

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/35830452/ft1_4FGL_J1548.3+1456_weekly_bin801.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/35830452/ft1_4FGL_J1548.3+1456_weekly_bin801.fits outfile=/lscratch/kocevski/35830452/ft1_filteredMKT_4FGL_J1548.3+1456_weekly_bin801.fits ra=237.1 dec=14.9461 rad=12.0 tmin=723427201.0 tmax=724032001.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.48
user 4.21
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.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/35830452/ft1_filteredMKT_4FGL_J1548.3+1456_weekly_bin801.fits evtable="EVENTS" outfile="/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.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.68
user 0.22
sys 0.17

Number of photons that the gtmktime cut: 2068

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35830452/ltcube_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.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/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits
.....................!
real 19.09
user 18.59
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits evtable="EVENTS" scfile=/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35830452/ltcube_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.fits outfile=/lscratch/kocevski/35830452/expmap_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.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/35830452/ltcube_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.fits
.....................!
real 69.70
user 65.43
sys 3.65

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

Setting source of interest to:
4FGL J1548.3+1456 @ 237.1 14.9461

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits scfile=/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits outfile=/lscratch/kocevski/35830452/cmap_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.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=237.1 yref=14.9461 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.64
user 0.25
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits scfile=/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits outfile=/lscratch/kocevski/35830452/cmap_HighResolution_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.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=237.1 yref=14.9461 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.26
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits evtable="EVENTS" scfile=/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35830452/Model_4FGL_J1548.3+1456_weekly_bin801.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/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits.....................!
real 62.37
user 61.04
sys 0.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits', '/lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits', expMap='/lscratch/kocevski/35830452/expmap_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.fits', expCube='/lscratch/kocevski/35830452/ltcube_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35830452/Model_4FGL_J1548.3+1456_weekly_bin801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1548.3+1456'

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  1.171e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/35830452/ft1_filtered_4FGL_J1548.3+1456_weekly_bin801.fits
Spacecraft file(s): /lscratch/kocevski/35830452/ft2_4FGL_J1548.3+1456_weekly_bin801.fits
Exposure map: /lscratch/kocevski/35830452/expmap_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.fits
Exposure cube: /lscratch/kocevski/35830452/ltcube_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/35830452/Model_4FGL_J1548.3+1456_weekly_bin801.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) = 22760.2744047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1021       1.0000          .0000       .10000E+07
     2 'norm      '    .11984E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    10.963       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.6342       1.0000          .0000       .10000E+07
     5 'Prefactor '    28.668       1.0000          .0000       .10000E+07
     6 'norm      '    .21649E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .34145E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    14.376       1.0000          .0000       .10000E+07
     9 'norm      '    .88651E-07   1.0000          .0000       .10000E+07
    10 'norm      '    2.9151       1.0000          .0000       .10000E+07
    11 'Prefactor '    .72276E-07   1.0000          .0000       .10000E+07
    12 'norm      '    58.027       1.0000          .0000       .10000E+07
    13 'Prefactor '    .66054E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.8071       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2865       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22760.18     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      903 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1019        .18526       -.56719E-08   -.97309E-03
   2  norm          .11102E-09    5.4083       -.96232E-07** at limit **
   3  Prefactor     10.681        24.996       -.64916E-07    .11794E-01
   4  Prefactor     6.7866        6.0493       -.99983E-07   -.34435E-01
   5  Prefactor     28.435        9.9521        .23041E-06    .41520E-01
   6  norm           .0000        .82462       -.20923E-06** at limit **
   7  norm           .0000        2.3345        .13116E-06** at limit **
   8  Prefactor     14.197        8.8295        .22195E-06   -.15070E-01
   9  norm           .0000        1.7917        .18899E-06** at limit **
  10  norm          2.9166        .96368       -.10151E-06   -.55473E-03
  11  Prefactor      .0000        3.1133        .52983E-06** at limit **
  12  norm          57.643        11.096       -.45882E-07   -.50309E-01
  13  Prefactor     .55511E-10    4.7082        .27592E-06** at limit **
  14  Prefactor     7.6388        16.926        .75991E-06   -.14624E-01
  15  Normalizat    1.2870        .16395        .38197E-05    .26080E-04
  16  Prefactor     .92005        .82066E-01   -.98812E-06    .36626E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10195
  norm       = 1.11022e-10
  Prefactor  = 10.6809
  Prefactor  = 6.78664
  Prefactor  = 28.4349
  norm       = 0
  norm       = 0
  Prefactor  = 14.1967
  norm       = 0
  norm       = 2.91658
  Prefactor  = 0
  norm       = 57.6434
  Prefactor  = 5.55112e-11
  Prefactor  = 7.63881
  Normalizat = 1.28697
  Prefactor  = 0.920047
 **********
 **   18 **HESSE 
 **********

 FCN=   22760.18     FROM HESSE     STATUS=OK           235 CALLS     1138 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1019        .18543        .58003E-03   -1.5687    
   2  norm          .11102E-09    5.4123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.681        26.258        .30234E-03   -1.5643    
   4  Prefactor     6.7866        13.692        .38936E-03   -1.5656    
   5  Prefactor     28.435        18.277        .18680E-03   -1.5601    
   6  norm           .0000        .81178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        2.3038        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.197        23.287        .26390E-03   -1.5633    
   9  norm           .0000        1.7916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9166        .96433        .59479E-03   -1.5674    
  11  Prefactor      .0000        3.0862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          57.643        11.898        .13128E-03   -1.5556    
  13  Prefactor     .55511E-10    4.6876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.6388        21.555        .35864E-03   -1.5653    
  15  Normalizat    1.2870        .13447        .74290E-01   -.83956    
  16  Prefactor     .92005        .67144E-01    .45258E-01   -.95444    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71459e-08
Minuit parameter uncertainties:
  1  0.18543
  2  4.25841e-05
  3  26.2581
  4  13.692
  5  18.2767
  6  7.68424e-07
  7  1.61023e-06
  8  23.2875
  9  5.80121e-07
  10  0.964329
  11  5.29493e-07
  12  11.8977
  13  2.51389e-05
  14  21.5547
  15  0.134503
  16  0.0671496
Done.

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

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  0.000e+00  7.684e-07  0.000e+00  1.000e+06 ( 1.000e-12)
236        alpha:  1.914e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
237         beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.200e-01  6.715e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.287e+00  1.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 237.100 14.946
Photon Flux Upper Limit: 2.49336879971e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/35830452/likelihoodResults_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.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) = 22759.7159596
delta logL = 0.467454094291

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 22759.6658378
delta logL = 0.517575803064

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   22759.67     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      230 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67622E-01    .41269        .83942E-03** at limit **
   2  alpha         4.1092        3.7764        .50000        .22010E-03
   3  Normalizat    1.2381        .18480E-01    .75526E-01    .23656E-04
   4  Prefactor     .93330        .94194E-02    .45427E-01   -.21766E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0676219
  alpha      = 4.10923
  Normalizat = 1.23807
  Prefactor  = 0.933303
 **********
 **   18 **HESSE 
 **********

 FCN=   22759.67     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      265 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67622E-01    3.0162        .35185E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.1092        4.0192        .29751E-01    .69931    
   3  Normalizat    1.2381        .93553E-01    .33426E-03   -.85434    
   4  Prefactor     .93330        .47598E-01    .19204E-03   -.94987    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.62178e-07
Minuit parameter uncertainties:
  1  0.903246
  2  6.18417
  3  0.0935653
  4  0.0476004
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) = 22759.6658312
delta logL = 0.517582418597

Extracting fit parameters...

4FGL J1548.3+1456
   Spectrum: LogParabola
235         norm:  6.762e-02  9.032e-01  0.000e+00  1.000e+06 ( 1.000e-12)
236        alpha:  4.109e+00  6.184e+00  0.000e+00  5.000e+00 ( 1.000e+00)
237         beta:  1.051e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
238           Eb:  1.245e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.333e-01  4.760e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.238e+00  9.357e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 237.100 14.946
Photon Index (Free Index): 4.11 +/- 6.18
Photon Flux (Free Index): 4.14e-08 +/- 3.67e-08
Energy Flux (Free Index): 6.48e-06 +/- 9.48e-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 /lscratch/kocevski/35830452/cmap_HighResolution_723427201_724032001_4FGL_J1548.3+1456_weekly_bin801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='6.48e-06', dlogl='5.18e-01', photon_flux2='4.14e-08', job_status='DONE', time_completed='2023-12-12 02:08:50.767589', photon_index_error2='6.18', photon_index2='4.11', ts='0.00', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='2.49e-08', energy_flux_error2='9.48e-06', EG='1.29', time_epoch_completed='1702375730.77', return_code='0', job_id='35830452', GAL2='0.93', EG2='1.24', return_code2='102', photon_flux_error2='3.67e-08', ts2='1.11', photon_index='1.91' WHERE bin_id='801' AND source_name='4FGL J1548.3+1456' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 12 02:08:50 PST 2023

