 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
e=/lscratch/kocevski/37225452/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.51
user 7.93
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225452/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225452/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225452/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 69.94
user 65.20
sys 4.06

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225452/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.65
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225452/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.69
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225452/Model_4FGL_J1248.9+4840_daily_bin2202.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
Workinumber of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1248.9+4840_daily_bin2202
RA = 192.244, Dec = 48.67
tmin = 810086401, tmax = 810345601
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='37225528', job_status='RUN', time_executed='2026-09-06 09:42:13.675512', time_epoch_executed='1788712933.68' WHERE source_name='4FGL J1248.9+4840' and cadence='daily' and bin_id='2202'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37225528

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37225528/ft1_4FGL_J1248.9+4840_daily_bin2202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37225528/ft1_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225528/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits ra=192.244 dec=48.67 rad=12.0 tmin=810086401.0 tmax=810345601.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 2.58
user 1.96
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.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/37225528/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" outfile="/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.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.63
user 0.19
sys 0.15

Number of photons that the gtmktime cut: 615

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" outfilng on...
/lscratch/kocevski/37225345/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.72
user 22.33
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225345/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225345/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225345/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225345/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225345/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225345/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225345/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225345/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225345/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225345/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
/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)
ng on...
/lscratch/kocevski/37225372/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 22.74
user 21.05
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225372/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225372/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225372/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225372/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225372/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225372/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225372/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225372/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225372/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225372/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712

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

ng on...
/lscratch/kocevski/37225383/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.71
user 22.38
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225383/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225383/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225383/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225383/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225383/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225383/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225383/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225383/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225383/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225383/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
e=/lscratch/kocevski/37225470/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.30
user 7.69
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225470/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225470/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225470/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 68.03
user 63.34
sys 4.04

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225470/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.71
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225470/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.87
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225470/Model_4FGL_J1248.9+4840_daily_bin2202.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
Worki **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
=/lscratch/kocevski/37225468/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.58
user 7.97
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225468/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225468/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225468/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 70.05
user 65.01
sys 4.09

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225468/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.73
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225468/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.70
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225468/Model_4FGL_J1248.9+4840_daily_bin2202.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
Workin **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
eturn Code (Fixed Index): 0
logL (Fixed Index) = 6669.73667437

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225358/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  22  0.209529
0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
number of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225358/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:43:43.504911', job_id='37225358', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713023.5', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:43:43 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.


Performing analysis on: 4FGL_J1248.9+4840_daily_bin2202
RA = 192.244, Dec = 48.67
tmin = 810086401, tmax = 810345601
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='37225549', job_status='RUN', time_executed='2026-09-06 09:42:41.675539', time_epoch_executed='1788712961.68' WHERE source_name='4FGL J1248.9+4840' and cadence='daily' and bin_id='2202'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37225549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37225549/ft1_4FGL_J1248.9+4840_daily_bin2202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37225549/ft1_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225549/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits ra=192.244 dec=48.67 rad=12.0 tmin=810086401.0 tmax=810345601.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 2.38
user 1.99
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.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/37225549/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" outfile="/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.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.65
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 615

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37225423/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 10.10
user 8.59
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225423/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225423/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225423/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 80.74
user 71.71
sys 4.64

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225423/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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 2.13
user 0.21
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225423/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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 2.30
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225423/Model_4FGL_J1248.9+4840_daily_bin2202.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
Workng on...
/lscratch/kocevski/37225391/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.93
user 22.68
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225391/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225391/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225391/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225391/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225391/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225391/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225391/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225391/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225391/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225391/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225345/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225345/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:44:04.895814', job_id='37225345', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713044.9', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:44:05 PDT 2026

number of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1248.9+4840_daily_bin2202
RA = 192.244, Dec = 48.67
tmin = 810086401, tmax = 810345601
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='37225555', job_status='RUN', time_executed='2026-09-06 09:43:01.031919', time_epoch_executed='1788712981.03' WHERE source_name='4FGL J1248.9+4840' and cadence='daily' and bin_id='2202'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37225555

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37225555/ft1_4FGL_J1248.9+4840_daily_bin2202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37225555/ft1_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225555/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits ra=192.244 dec=48.67 rad=12.0 tmin=810086401.0 tmax=810345601.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 2.36
user 1.94
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.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/37225555/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" outfile="/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.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.62
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 615

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" outfilDone.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225372/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225372/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:44:12.723794', job_id='37225372', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713052.72', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:44:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225383/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225383/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:44:15.297703', job_id='37225383', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713055.3', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:44:15 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
e=/lscratch/kocevski/37225494/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 9.33
user 8.34
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225494/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225494/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225494/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 74.28
user 67.49
sys 4.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 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225494/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.68
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225494/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.93
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225494/Model_4FGL_J1248.9+4840_daily_bin2202.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
Worki  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
e=/lscratch/kocevski/37225505/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.21
user 7.68
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225505/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225505/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225505/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 68.42
user 63.90
sys 3.89

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225505/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.59
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225505/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.66
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225505/Model_4FGL_J1248.9+4840_daily_bin2202.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
Workie=/lscratch/kocevski/37225508/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.41
user 7.93
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225508/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225508/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225508/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 70.27
user 65.47
sys 4.09

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225508/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.73
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225508/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225508/Model_4FGL_J1248.9+4840_daily_bin2202.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
Workie=/lscratch/kocevski/37225513/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.30
user 7.77
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225513/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225513/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225513/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 68.69
user 63.93
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 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225513/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225513/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.70
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225513/Model_4FGL_J1248.9+4840_daily_bin2202.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
Workinumber of points = 7418
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1248.9+4840_daily_bin2202
RA = 192.244, Dec = 48.67
tmin = 810086401, tmax = 810345601
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='37225580', job_status='RUN', time_executed='2026-09-06 09:43:27.779293', time_epoch_executed='1788713007.78' WHERE source_name='4FGL J1248.9+4840' and cadence='daily' and bin_id='2202'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37225580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37225580/ft1_4FGL_J1248.9+4840_daily_bin2202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37225580/ft1_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225580/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits ra=192.244 dec=48.67 rad=12.0 tmin=810086401.0 tmax=810345601.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 2.43
user 1.90
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.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/37225580/ft1_filteredMKT_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" outfile="/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.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.63
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 615

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" outfilng on...
/lscratch/kocevski/37225438/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 22.80
user 21.67
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225438/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225438/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225438/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225438/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225438/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225438/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225438/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225438/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225438/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225438/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
e=/lscratch/kocevski/37225515/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.47
user 7.95
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225515/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225515/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225515/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 70.31
user 65.46
sys 4.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 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225515/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.73
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225515/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.80
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225515/Model_4FGL_J1248.9+4840_daily_bin2202.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
WorkiDone.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225391/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225391/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:44:48.550695', job_id='37225391', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713088.55', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:44:48 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
ng on...
/lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.96
user 22.26
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225452/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225452/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225452/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225452/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225452/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225452/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225452/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225452/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
e=/lscratch/kocevski/37225528/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.52
user 7.95
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225528/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225528/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225528/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 69.05
user 64.24
sys 4.06

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225528/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.68
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225528/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.77
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225528/Model_4FGL_J1248.9+4840_daily_bin2202.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/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 22.96
user 21.51
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225470/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225470/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225470/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225470/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225470/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225470/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225470/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225470/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
g on...
/lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.58
user 22.10
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225468/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225468/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225468/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225468/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225468/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225468/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225468/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225468/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225438/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
e=/lscratch/kocevski/37225549/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.64
user 8.09
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225549/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225549/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225549/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 69.00
user 64.70
sys 3.69

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225549/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.74
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225549/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.67
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225549/Model_4FGL_J1248.9+4840_daily_bin2202.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
WorkiDone.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225438/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:45:27.561956', job_id='37225438', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713127.56', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:45:27 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225452/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
ing on...
/lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 28.81
user 23.34
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225423/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225423/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225423/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225423/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225423/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225423/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225423/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225423/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225452/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:45:48.156676', job_id='37225452', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713148.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:45:48 PDT 2026

e=/lscratch/kocevski/37225555/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.49
user 7.98
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225555/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225555/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225555/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 69.40
user 64.73
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 213 point sources and 0 extended sources

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225555/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225555/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.65
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225555/Model_4FGL_J1248.9+4840_daily_bin2202.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
WorkiDone.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225470/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225470/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:45:59.574552', job_id='37225470', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713159.57', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:45:59 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225468/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
ng on...
/lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 24.54
user 22.45
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225494/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225494/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225494/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225494/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225494/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225494/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225494/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225494/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
ng on...
/lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.17
user 21.71
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225505/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225505/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225505/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225505/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225505/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225505/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225505/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225505/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225468/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:46:07.039477', job_id='37225468', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713167.04', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:46:07 PDT 2026

ng on...
/lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.40
user 21.98
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225508/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225508/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225508/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225508/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225508/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225508/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225508/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225508/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
ng on...
/lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.13
user 21.71
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225513/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225513/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225513/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225513/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225513/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225513/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225513/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225513/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
e=/lscratch/kocevski/37225580/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 8.46
user 7.86
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37225580/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225580/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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/37225580/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
.....................!
real 67.91
user 63.19
sys 3.94

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

Setting source of interest to:
4FGL J1248.9+4840 @ 192.244 48.67

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225580/cmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.71
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits scfile=/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits outfile=/lscratch/kocevski/37225580/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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=192.244 yref=48.67 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.61
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits evtable="EVENTS" scfile=/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37225580/Model_4FGL_J1248.9+4840_daily_bin2202.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
Worki **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
ng on...
/lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.52
user 21.94
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225515/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225515/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225515/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225515/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225515/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225515/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225515/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225515/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225423/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225423/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:46:38.826121', job_id='37225423', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713198.83', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:46:39 PDT 2026

ng on...
/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 23.47
user 22.02
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225528/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225528/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225528/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225528/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225528/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225528/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225528/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225528/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225505/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225494/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225508/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225505/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:46:54.677773', job_id='37225505', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713214.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:46:54 PDT 2026

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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225494/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:46:55.493263', job_id='37225494', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713215.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:46:55 PDT 2026

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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225508/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:46:56.578027', job_id='37225508', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713216.58', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:46:56 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225513/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225513/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:46:59.479238', job_id='37225513', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713219.48', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:46:59 PDT 2026

ng on...
/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 22.53
user 21.19
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225549/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225549/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225549/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225549/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225549/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225549/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225549/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225549/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225515/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225515/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:47:12.065206', job_id='37225515', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713232.07', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:47:12 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225528/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225528/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:47:25.510368', job_id='37225528', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713245.51', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:47:25 PDT 2026

ng on...
/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 22.88
user 21.48
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225555/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225555/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225555/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225555/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225555/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225555/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225555/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225555/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225549/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225549/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:47:52.187950', job_id='37225549', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713272.19', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:47:52 PDT 2026

ng on...
/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits.....................!
real 22.18
user 20.72
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits', '/lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits', expMap='/lscratch/kocevski/37225580/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', expCube='/lscratch/kocevski/37225580/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37225580/Model_4FGL_J1248.9+4840_daily_bin2202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1248.9+4840'

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  3.227e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37225580/ft1_filtered_4FGL_J1248.9+4840_daily_bin2202.fits
Spacecraft file(s): /lscratch/kocevski/37225580/ft2_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure map: /lscratch/kocevski/37225580/expmap_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
Exposure cube: /lscratch/kocevski/37225580/ltcube_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37225580/Model_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.74132421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41052E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.199       1.0000          .0000       .10000E+07
     3 'norm      '    .50698E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .64680E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .44941E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40904E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .41070E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89186E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26300E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.4363       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9043       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6022       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.266       1.0000          .0000       .10000E+07
    14 'norm      '    .67881E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .39177E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    40.446       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.7774       1.0000          .0000       .10000E+07
    18 'norm      '    5.0127       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.7390       1.0000          .0000       .10000E+07
    20 'norm      '    .19226E-04   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75229       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5576       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1776 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5297       -.12250E-06** at limit **
   2  Prefactor     20.192        2.7964        .29185E-07    .10475    
   3  norm           .0000        1.0512        .53609E-07** at limit **
   4  norm           .0000        3.1065       -.11209E-06** at limit **
   5  Prefactor     .31641E-08    12.912       -.95958E-07** at limit **
   6  Prefactor      .0000        1.2557       -.21398E-07** at limit **
   7  norm           .0000        1.0095        .17088E-06** at limit **
   8  Prefactor      .0000        4.4979       -.73492E-07** at limit **
   9  Prefactor      .0000        5.9777       -.17687E-06** at limit **
  10  norm          1.4368        1.5405        .11569E-06   -.34319E-02
  11  Prefactor     1.9199        8.2970        .15776E-06    .18942E-03
  12  Prefactor     4.6018        5.8101       -.42119E-06    .32543E-02
  13  Prefactor     24.146        21.550        .25771E-06   -.18589E-01
  14  norm          .33307E-09    10.748       -.85973E-08** at limit **
  15  norm           .0000        1.0755       -.14431E-06** at limit **
  16  Prefactor     40.541        9.2187       -.67275E-07    .27272E-02
  17  Prefactor     5.8164        9.9763       -.95686E-07   -.63435E-02
  18  norm          5.0168        4.0556       -.44253E-07    .11457E-02
  19  Prefactor     .13045E-07    2321.3        .12411E-04** at limit **
  20  norm           .0000        3.8894       -.21244E-06** at limit **
  21  Normalizat    .75328        .19271        .13040E-04   -.70236E-04
  22  Prefactor     1.5571        .25244       -.72422E-05   -.22739E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 20.1919
  norm       = 0
  norm       = 0
  Prefactor  = 3.16414e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.43685
  Prefactor  = 1.91986
  Prefactor  = 4.60183
  Prefactor  = 24.1459
  norm       = 3.33067e-10
  norm       = 0
  Prefactor  = 40.5412
  Prefactor  = 5.81644
  norm       = 5.01676
  Prefactor  = 1.30451e-08
  norm       = 0
  Normalizat = 0.753278
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.737     FROM HESSE     STATUS=OK           396 CALLS     2172 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.192        16.752        .22257E-03   -1.5618    
   3  norm           .0000        1.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        3.1029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .31641E-08    12.930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.2555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.0020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        4.4973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4368        1.5650        .90033E-03   -1.5684    
  11  Prefactor     1.9199        8.8941        .75325E-03   -1.5680    
  12  Prefactor     4.6018        5.8259        .46895E-03   -1.5665    
  13  Prefactor     24.146        26.018        .20305E-03   -1.5610    
  14  norm          .33307E-09    10.751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        1.0746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     40.541        41.368        .15725E-03   -1.5581    
  17  Prefactor     5.8164        69.073        .41762E-03   -1.5660    
  18  norm          5.0168        4.0852        .44891E-03   -1.5663    
  19  Prefactor     .13045E-07    44.377        .12647E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .95983        .26300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75328        .16469        .42984E-01   -1.0183    
  22  Prefactor     1.5571        .20941        .56043E-01   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76624e-07
Minuit parameter uncertainties:
  1  5.44478e-06
  2  16.7522
  3  2.11887e-06
  4  3.33851e-06
  5  0.000405984
  6  1.56503e-06
  7  7.83146e-06
  8  5.26341e-06
  9  1.97579e-05
  10  1.56499
  11  8.26451
  12  5.82587
  13  26.0183
  14  0.000121204
  15  7.73839e-06
  16  41.3686
  17  40.0883
  18  4.08522
  19  0.0015229
  20  6.61355e-06
  21  0.164798
  22  0.209529
Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225555/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225555/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:48:18.773828', job_id='37225555', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713298.77', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:48:18 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  5.263e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.450e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  2.095e-01  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 192.244 48.670
Photon Flux Upper Limit: 3.68549951124e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00285731598488 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37225580/likelihoodResults_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.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) = 6669.73693536
delta logL = -0.000260994680502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.73667438
delta logL = -7.87167664384e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0500       1.0000          .0000       10.000    
     3 'Normalizat'    .75328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5571       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      246 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3258        .42118E-03** at limit **
   2  Index         2.4861        1.6796        .93937E-05     .0000    
   3  Normalizat    .75328        1.0928       -.12325E-04    .82373E-04
   4  Prefactor     1.5571        1.0434        .11906E-04    .32351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.48609
  Normalizat = 0.753279
  Prefactor  = 1.55712
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6669.737     FROM HESSE     STATUS=FAILED         9 CALLS      255 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69606        1.9876        .93937E-05   -.52681    
   3  Normalizat    .75328        1.0928       -.12325E-04   -1.0183    
   4  Prefactor     1.5571        1.0434        .11906E-04   -.75952    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.01705e-11
Minuit parameter uncertainties:
  1  2.33813e-06
  2  1.72502
  3  1.12723
  4  1.05833
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) = 6669.73667437
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J1248.9+4840
   Spectrum: PowerLaw
331    Prefactor:  0.000e+00  2.338e-06  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.486e+00  1.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  9.069e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
676    Prefactor:  1.557e+00  1.058e+00  0.000e+00  1.000e+01 ( 1.000e+00)
677        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
678        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
675   Normalization:  7.533e-01  1.127e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 192.244 48.670

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/37225580/cmap_HighResolution_810086401_810345601_4FGL_J1248.9+4840_daily_bin2202.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2026-09-06 09:48:37.548262', job_id='37225580', GAL2='1.56', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1788713317.55', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='2202' AND source_name='4FGL J1248.9+4840' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  6 09:48:37 PDT 2026

