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

 FCN=   7948.389     FROM HESSE     STATUS=OK           512 CALLS     2734 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.794        13.662        .24422E-03   -1.5626    
   2  Prefactor     2.6302        24.356        .62245E-03   -1.5676    
   3  Prefactor     37.184        40.736        .16525E-03   -1.5586    
   4  Prefactor     24.094        48.143        .20404E-03   -1.5610    
   5  Prefactor     7.5026        17.931        .36571E-03   -1.5653    
   6  Prefactor      .0000        29.528        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .96862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0212        4.1453        .35387E-03   -1.5651    
  10  Prefactor     .27534E-07    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61495E-06    57.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84377E-08    11.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9600        .73151        .59009E-03   -1.5674    
  14  Prefactor     5.5186        6.0810        .42694E-03   -1.5661    
  15  Prefactor      .0000        4.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5218        2.0900        .34320E-03   -1.5650    
  17  Prefactor      .0000        6.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.825        32.688        .18719E-03   -1.5601    
  19  norm          22.679        21.969        .21009E-03   -1.5613    
  20  norm          .58923        .18848        .46595E-03   -1.5693    
  21  Prefactor     .42966E-07    20.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1592        5.9342        .68943E-03   -1.5679    
  23  norm          3.2727        6.4508        .56382E-03   -1.5672    
  24  Prefactor     .44409E-09    8.0308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0117        .20143        .70621E-01   -.92639    
  26  Prefactor     .97209        .14245        .45921E-01   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.565e-07
Minuit parameter uncertainties:
  1  13.6619
  2  16.0076
  3  40.7361
  4  48.1442
  5  17.9309
  6  4.41146e-06
  7  1.98223e-06
  8  1.49576e-06
  9  4.14525
  10  0.00128561
  11  0.0119311
  12  0.000625912
  13  0.731506
  14  6.08099
  15  8.49186e-06
  16  2.09004
  17  1.6459e-05
  18  32.688
  19  21.9686
  20  0.188485
  21  0.00189184
  22  5.93426
  23  6.45079
  24  0.000122508
  25  0.201584
  26  0.14251
/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
/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
/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).


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).


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)
/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)
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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


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


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

Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.646e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 7.48403400981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569675932784 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34163664/likelihoodResults_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.46650887
delta logL = -0.0779111429038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38859775
delta logL = -3.14585122396e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5811        .98523E-07** at limit **
   2  Index         2.3413        2.2190       -.44700E-05     .0000    
   3  Normalizat    1.0117        .22490       -.60429E-05    .85603E-04
   4  Prefactor     .97209        .16641        .76483E-05    .11799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34131
  Normalizat = 1.01172
  Prefactor  = 0.972086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7948.389     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61243        1.8846       -.44700E-05   -.56065    
   3  Normalizat    1.0117        1.3084       -.60429E-05   -.92639    
   4  Prefactor     .97209        1.3130        .76483E-05   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19054e-12
Minuit parameter uncertainties:
  1  5.66217e-06
  2  1.45654
  3  1.35384
  4  1.36027
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) = 7948.38859772
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.341e+00  1.457e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 190.984 -2.308

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34163664/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2026-08-04 10:26:14.977755', job_id='34163664', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1785864374.98', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2191' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug  4 10:26:15 PDT 2026

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


Performing analysis on: 4FGL_J1243.9-0218_daily_bin2191
RA = 190.984, Dec = -2.3082
tmin = 807235201, tmax = 807494401
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='34163868', job_status='RUN', time_executed='2026-08-04 10:23:51.072031', time_epoch_executed='1785864231.07' WHERE source_name='4FGL J1243.9-0218' and cadence='daily' and bin_id='2191'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34163868

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34163868/ft1_4FGL_J1243.9-0218_daily_bin2191.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34163868/ft1_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163868/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits ra=190.984 dec=-2.3082 rad=12.0 tmin=807235201.0 tmax=807494401.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.16
user 1.47
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.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/34163868/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" outfile="/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.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.78
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/34163753/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits.....................!
real 22.63
user 20.95
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34163753/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits', '/lscratch/kocevski/34163753/ft2_4FGL_J1243.9-0218_daily_bin2191.fits', expMap='/lscratch/kocevski/34163753/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', expCube='/lscratch/kocevski/34163753/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34163753/Model_4FGL_J1243.9-0218_daily_bin2191.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1243.9-0218'

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  1.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34163753/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits
Spacecraft file(s): /lscratch/kocevski/34163753/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure map: /lscratch/kocevski/34163753/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure cube: /lscratch/kocevski/34163753/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34163753/Model_4FGL_J1243.9-0218_daily_bin2191.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) = 7948.39829739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.781       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6779       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5107       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28395E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58065E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .12187E-05   1.0000          .0000       .10000E+07
     9 'norm      '    8.0171       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38005E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .24263E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30696E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.9589       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5317       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40158E-04   1.0000          .0000       .10000E+07
    16 'norm      '    8.5196       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16740E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.550       1.0000          .0000       .10000E+07
    19 'norm      '    22.668       1.0000          .0000       .10000E+07
    20 'norm      '    .58939       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64005E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.2227       1.0000          .0000       .10000E+07
    23 'norm      '    3.2252       1.0000          .0000       .10000E+07
    24 'Prefactor '    .57925E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2222 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.794        1.1360       -.80190E-08    .17104E-01
   2  Prefactor     2.6302        1.3870       -.24759E-07    .50451E-02
   3  Prefactor     37.184        5.8403       -.19970E-07   -.13277    
   4  Prefactor     24.094        1.1555       -.54331E-09   -.15550E-01
   5  Prefactor     7.5026        1.0547        .83506E-09    .25082E-02
   6  Prefactor      .0000        30.246        .18156E-06** at limit **
   7  Prefactor      .0000        2.8168        .58093E-07** at limit **
   8  norm           .0000        .97682       -.12882E-06** at limit **
   9  norm          8.0212        4.1318        .69348E-07   -.91527E-04
  10  Prefactor     .27534E-07    14.940       -.65230E-06** at limit **
  11  norm          .61495E-06    56.812        .55225E-06** at limit **
  12  Prefactor     .84377E-08    11.709       -.53791E-06** at limit **
  13  norm          2.9600        .73430        .27654E-07   -.15619E-02
  14  Prefactor     5.5186        6.0745       -.10440E-06    .32346E-04
  15  Prefactor      .0000        4.1757       -.79516E-07** at limit **
  16  norm          8.5218        2.0855        .78036E-07   -.92302E-03
  17  Prefactor      .0000        6.5346        .61873E-08** at limit **
  18  Prefactor     28.825        2.2231       -.15907E-07    .38093E-01
  19  norm          22.679        1.6881       -.77726E-08    .55413E-02
  20  norm          .58923        .18523       -.21943E-07    .38728E-02
  21  Prefactor     .42966E-07    20.714       -.15247E-06** at limit **
  22  norm          2.1592        5.8929        .72515E-07    .69884E-04
  23  norm          3.2727        6.4365        .14077E-06   -.10797E-04
  24  Prefactor     .44409E-09    8.0246       -.31913E-06** at limit **
  25  Normalizat    1.0117        .23616       -.70909E-05   -.24251E-05
  26  Prefactor     .97209        .16867        .37353E-05   -.11652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7939
  Prefactor  = 2.63018
  Prefactor  = 37.184
  Prefactor  = 24.0935
  Prefactor  = 7.50256
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 8.02123
  Prefactor  = 2.75335e-08
  norm       = 6.14953e-07
  Prefactor  = 8.43769e-09
  norm       = 2.96002
  Prefactor  = 5.51863
  Prefactor  = 0
  norm       = 8.52182
  Prefactor  = 0
  Prefactor  = 28.8246
  norm       = 22.6788
  norm       = 0.589234
  Prefactor  = 4.29656e-08
  norm       = 2.15922
  norm       = 3.27269
  Prefactor  = 4.44089e-10
  Normalizat = 1.01172
  Prefactor  = 0.972085
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.389     FROM HESSE     STATUS=OK           512 CALLS     2734 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.794        13.662        .24422E-03   -1.5626    
   2  Prefactor     2.6302        24.356        .62245E-03   -1.5676    
   3  Prefactor     37.184        40.736        .16525E-03   -1.5586    
   4  Prefactor     24.094        48.143        .20404E-03   -1.5610    
   5  Prefactor     7.5026        17.931        .36571E-03   -1.5653    
   6  Prefactor      .0000        29.528        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .96862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0212        4.1453        .35387E-03   -1.5651    
  10  Prefactor     .27534E-07    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61495E-06    57.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84377E-08    11.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9600        .73151        .59009E-03   -1.5674    
  14  Prefactor     5.5186        6.0810        .42694E-03   -1.5661    
  15  Prefactor      .0000        4.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5218        2.0900        .34320E-03   -1.5650    
  17  Prefactor      .0000        6.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.825        32.688        .18719E-03   -1.5601    
  19  norm          22.679        21.969        .21009E-03   -1.5613    
  20  norm          .58923        .18848        .46595E-03   -1.5693    
  21  Prefactor     .42966E-07    20.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1592        5.9342        .68943E-03   -1.5679    
  23  norm          3.2727        6.4508        .56382E-03   -1.5672    
  24  Prefactor     .44409E-09    8.0308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0117        .20143        .70621E-01   -.92639    
  26  Prefactor     .97209        .14245        .45921E-01   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.565e-07
Minuit parameter uncertainties:
  1  13.6619
  2  16.0076
  3  40.7361
  4  48.1442
  5  17.9309
  6  4.41146e-06
  7  1.98223e-06
  8  1.49576e-06
  9  4.14525
  10  0.00128561
  11  0.0119311
  12  0.000625912
  13  0.731506
  14  6.08099
  15  8.49186e-06
  16  2.09004
  17  1.6459e-05
  18  32.688
  19  21.9686
  20  0.188485
  21  0.00189184
  22  5.93426
  23  6.45079
  24  0.000122508
  25  0.201584
  26  0.14251
Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.646e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 7.48403400981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569675932784 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34163753/likelihoodResults_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.46650887
delta logL = -0.0779111429038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38859775
delta logL = -3.14585122396e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5811        .98523E-07** at limit **
   2  Index         2.3413        2.2190       -.44700E-05     .0000    
   3  Normalizat    1.0117        .22490       -.60429E-05    .85603E-04
   4  Prefactor     .97209        .16641        .76483E-05    .11799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34131
  Normalizat = 1.01172
  Prefactor  = 0.972086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7948.389     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61243        1.8846       -.44700E-05   -.56065    
   3  Normalizat    1.0117        1.3084       -.60429E-05   -.92639    
   4  Prefactor     .97209        1.3130        .76483E-05   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19054e-12
Minuit parameter uncertainties:
  1  5.66217e-06
  2  1.45654
  3  1.35384
  4  1.36027
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) = 7948.38859772
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.341e+00  1.457e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 190.984 -2.308

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34163753/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2026-08-04 10:27:58.219309', job_id='34163753', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1785864478.22', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2191' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug  4 10:27:58 PDT 2026

tfile=/lscratch/kocevski/34163868/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 8.01
user 7.17
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34163868/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163868/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163868/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 61.23
user 56.79
sys 3.58

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

Setting source of interest to:
4FGL J1243.9-0218 @ 190.984 -2.3082

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163868/cmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.85
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163868/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34163868/Model_4FGL_J1243.9-0218_daily_bin2191.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 GALnumber of points = 7628
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1243.9-0218_daily_bin2191
RA = 190.984, Dec = -2.3082
tmin = 807235201, tmax = 807494401
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='34163958', job_status='RUN', time_executed='2026-08-04 10:25:53.201741', time_epoch_executed='1785864353.2' WHERE source_name='4FGL J1243.9-0218' and cadence='daily' and bin_id='2191'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34163958

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34163958/ft1_4FGL_J1243.9-0218_daily_bin2191.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34163958/ft1_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163958/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits ra=190.984 dec=-2.3082 rad=12.0 tmin=807235201.0 tmax=807494401.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.18
user 1.45
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.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/34163958/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" outfile="/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.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.86
user 0.17
sys 0.15

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" outnumber of points = 7628
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1243.9-0218_daily_bin2191
RA = 190.984, Dec = -2.3082
tmin = 807235201, tmax = 807494401
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='34163961', job_status='RUN', time_executed='2026-08-04 10:25:52.191990', time_epoch_executed='1785864352.19' WHERE source_name='4FGL J1243.9-0218' and cadence='daily' and bin_id='2191'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34163961

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34163961/ft1_4FGL_J1243.9-0218_daily_bin2191.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34163961/ft1_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163961/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits ra=190.984 dec=-2.3082 rad=12.0 tmin=807235201.0 tmax=807494401.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.19
user 1.50
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.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/34163961/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" outfile="/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.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.81
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" ounumber of points = 7628
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1243.9-0218_daily_bin2191
RA = 190.984, Dec = -2.3082
tmin = 807235201, tmax = 807494401
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='34163949', job_status='RUN', time_executed='2026-08-04 10:25:52.727365', time_epoch_executed='1785864352.73' WHERE source_name='4FGL J1243.9-0218' and cadence='daily' and bin_id='2191'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34163949

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34163949/ft1_4FGL_J1243.9-0218_daily_bin2191.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34163949/ft1_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163949/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits ra=190.984 dec=-2.3082 rad=12.0 tmin=807235201.0 tmax=807494401.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.33
user 1.55
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.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/34163949/ft1_filteredMKT_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" outfile="/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.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.94
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 739

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits.....................!
real 23.34
user 21.76
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits', '/lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits', expMap='/lscratch/kocevski/34163868/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', expCube='/lscratch/kocevski/34163868/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34163868/Model_4FGL_J1243.9-0218_daily_bin2191.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1243.9-0218'

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  1.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34163868/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits
Spacecraft file(s): /lscratch/kocevski/34163868/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure map: /lscratch/kocevski/34163868/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure cube: /lscratch/kocevski/34163868/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34163868/Model_4FGL_J1243.9-0218_daily_bin2191.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) = 7948.39829739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.781       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6779       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5107       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28395E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58065E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .12187E-05   1.0000          .0000       .10000E+07
     9 'norm      '    8.0171       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38005E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .24263E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30696E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.9589       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5317       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40158E-04   1.0000          .0000       .10000E+07
    16 'norm      '    8.5196       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16740E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.550       1.0000          .0000       .10000E+07
    19 'norm      '    22.668       1.0000          .0000       .10000E+07
    20 'norm      '    .58939       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64005E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.2227       1.0000          .0000       .10000E+07
    23 'norm      '    3.2252       1.0000          .0000       .10000E+07
    24 'Prefactor '    .57925E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2222 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.794        1.1360       -.80190E-08    .17104E-01
   2  Prefactor     2.6302        1.3870       -.24759E-07    .50451E-02
   3  Prefactor     37.184        5.8403       -.19970E-07   -.13277    
   4  Prefactor     24.094        1.1555       -.54331E-09   -.15550E-01
   5  Prefactor     7.5026        1.0547        .83506E-09    .25082E-02
   6  Prefactor      .0000        30.246        .18156E-06** at limit **
   7  Prefactor      .0000        2.8168        .58093E-07** at limit **
   8  norm           .0000        .97682       -.12882E-06** at limit **
   9  norm          8.0212        4.1318        .69348E-07   -.91527E-04
  10  Prefactor     .27534E-07    14.940       -.65230E-06** at limit **
  11  norm          .61495E-06    56.812        .55225E-06** at limit **
  12  Prefactor     .84377E-08    11.709       -.53791E-06** at limit **
  13  norm          2.9600        .73430        .27654E-07   -.15619E-02
  14  Prefactor     5.5186        6.0745       -.10440E-06    .32346E-04
  15  Prefactor      .0000        4.1757       -.79516E-07** at limit **
  16  norm          8.5218        2.0855        .78036E-07   -.92302E-03
  17  Prefactor      .0000        6.5346        .61873E-08** at limit **
  18  Prefactor     28.825        2.2231       -.15907E-07    .38093E-01
  19  norm          22.679        1.6881       -.77726E-08    .55413E-02
  20  norm          .58923        .18523       -.21943E-07    .38728E-02
  21  Prefactor     .42966E-07    20.714       -.15247E-06** at limit **
  22  norm          2.1592        5.8929        .72515E-07    .69884E-04
  23  norm          3.2727        6.4365        .14077E-06   -.10797E-04
  24  Prefactor     .44409E-09    8.0246       -.31913E-06** at limit **
  25  Normalizat    1.0117        .23616       -.70909E-05   -.24251E-05
  26  Prefactor     .97209        .16867        .37353E-05   -.11652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7939
  Prefactor  = 2.63018
  Prefactor  = 37.184
  Prefactor  = 24.0935
  Prefactor  = 7.50256
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 8.02123
  Prefactor  = 2.75335e-08
  norm       = 6.14953e-07
  Prefactor  = 8.43769e-09
  norm       = 2.96002
  Prefactor  = 5.51863
  Prefactor  = 0
  norm       = 8.52182
  Prefactor  = 0
  Prefactor  = 28.8246
  norm       = 22.6788
  norm       = 0.589234
  Prefactor  = 4.29656e-08
  norm       = 2.15922
  norm       = 3.27269
  Prefactor  = 4.44089e-10
  Normalizat = 1.01172
  Prefactor  = 0.972085
file=/lscratch/kocevski/34163958/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 7.95
user 7.23
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34163958/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163958/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163958/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 60.12
user 55.80
sys 3.54

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

Setting source of interest to:
4FGL J1243.9-0218 @ 190.984 -2.3082

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163958/cmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.88
user 0.18
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163958/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.89
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34163958/Model_4FGL_J1243.9-0218_daily_bin2191.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_tfile=/lscratch/kocevski/34163961/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 8.02
user 7.33
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34163961/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163961/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163961/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 62.43
user 57.77
sys 3.72

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

Setting source of interest to:
4FGL J1243.9-0218 @ 190.984 -2.3082

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163961/cmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.84
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163961/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.89
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34163961/Model_4FGL_J1243.9-0218_daily_bin2191.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 GALtfile=/lscratch/kocevski/34163949/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 8.42
user 7.56
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34163949/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163949/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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/34163949/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
.....................!
real 64.28
user 59.54
sys 3.75

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

Setting source of interest to:
4FGL J1243.9-0218 @ 190.984 -2.3082

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163949/cmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.98
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits scfile=/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits outfile=/lscratch/kocevski/34163949/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.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=190.984 yref=-2.3082 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.89
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits evtable="EVENTS" scfile=/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34163949/Model_4FGL_J1243.9-0218_daily_bin2191.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 **********
 **   18 **HESSE 
 **********

 FCN=   7948.389     FROM HESSE     STATUS=OK           512 CALLS     2734 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.794        13.662        .24422E-03   -1.5626    
   2  Prefactor     2.6302        24.356        .62245E-03   -1.5676    
   3  Prefactor     37.184        40.736        .16525E-03   -1.5586    
   4  Prefactor     24.094        48.143        .20404E-03   -1.5610    
   5  Prefactor     7.5026        17.931        .36571E-03   -1.5653    
   6  Prefactor      .0000        29.528        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .96862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0212        4.1453        .35387E-03   -1.5651    
  10  Prefactor     .27534E-07    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61495E-06    57.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84377E-08    11.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9600        .73151        .59009E-03   -1.5674    
  14  Prefactor     5.5186        6.0810        .42694E-03   -1.5661    
  15  Prefactor      .0000        4.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5218        2.0900        .34320E-03   -1.5650    
  17  Prefactor      .0000        6.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.825        32.688        .18719E-03   -1.5601    
  19  norm          22.679        21.969        .21009E-03   -1.5613    
  20  norm          .58923        .18848        .46595E-03   -1.5693    
  21  Prefactor     .42966E-07    20.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1592        5.9342        .68943E-03   -1.5679    
  23  norm          3.2727        6.4508        .56382E-03   -1.5672    
  24  Prefactor     .44409E-09    8.0308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0117        .20143        .70621E-01   -.92639    
  26  Prefactor     .97209        .14245        .45921E-01   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.565e-07
Minuit parameter uncertainties:
  1  13.6619
  2  16.0076
  3  40.7361
  4  48.1442
  5  17.9309
  6  4.41146e-06
  7  1.98223e-06
  8  1.49576e-06
  9  4.14525
  10  0.00128561
  11  0.0119311
  12  0.000625912
  13  0.731506
  14  6.08099
  15  8.49186e-06
  16  2.09004
  17  1.6459e-05
  18  32.688
  19  21.9686
  20  0.188485
  21  0.00189184
  22  5.93426
  23  6.45079
  24  0.000122508
  25  0.201584
  26  0.14251
Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.646e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 7.48403400981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569675932784 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34163868/likelihoodResults_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.46650887
delta logL = -0.0779111429038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38859775
delta logL = -3.14585122396e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5811        .98523E-07** at limit **
   2  Index         2.3413        2.2190       -.44700E-05     .0000    
   3  Normalizat    1.0117        .22490       -.60429E-05    .85603E-04
   4  Prefactor     .97209        .16641        .76483E-05    .11799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34131
  Normalizat = 1.01172
  Prefactor  = 0.972086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7948.389     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61243        1.8846       -.44700E-05   -.56065    
   3  Normalizat    1.0117        1.3084       -.60429E-05   -.92639    
   4  Prefactor     .97209        1.3130        .76483E-05   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19054e-12
Minuit parameter uncertainties:
  1  5.66217e-06
  2  1.45654
  3  1.35384
  4  1.36027
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) = 7948.38859772
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.341e+00  1.457e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 190.984 -2.308

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34163868/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2026-08-04 10:31:16.964067', job_id='34163868', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1785864676.96', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2191' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug  4 10:31:17 PDT 2026

V02
Working on...
/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits.....................!
real 23.21
user 21.19
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits', '/lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits', expMap='/lscratch/kocevski/34163958/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', expCube='/lscratch/kocevski/34163958/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34163958/Model_4FGL_J1243.9-0218_daily_bin2191.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1243.9-0218'

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  1.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34163958/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits
Spacecraft file(s): /lscratch/kocevski/34163958/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure map: /lscratch/kocevski/34163958/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure cube: /lscratch/kocevski/34163958/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34163958/Model_4FGL_J1243.9-0218_daily_bin2191.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) = 7948.39829739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.781       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6779       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5107       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28395E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58065E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .12187E-05   1.0000          .0000       .10000E+07
     9 'norm      '    8.0171       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38005E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .24263E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30696E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.9589       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5317       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40158E-04   1.0000          .0000       .10000E+07
    16 'norm      '    8.5196       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16740E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.550       1.0000          .0000       .10000E+07
    19 'norm      '    22.668       1.0000          .0000       .10000E+07
    20 'norm      '    .58939       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64005E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.2227       1.0000          .0000       .10000E+07
    23 'norm      '    3.2252       1.0000          .0000       .10000E+07
    24 'Prefactor '    .57925E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2222 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.794        1.1360       -.80190E-08    .17104E-01
   2  Prefactor     2.6302        1.3870       -.24759E-07    .50451E-02
   3  Prefactor     37.184        5.8403       -.19970E-07   -.13277    
   4  Prefactor     24.094        1.1555       -.54331E-09   -.15550E-01
   5  Prefactor     7.5026        1.0547        .83506E-09    .25082E-02
   6  Prefactor      .0000        30.246        .18156E-06** at limit **
   7  Prefactor      .0000        2.8168        .58093E-07** at limit **
   8  norm           .0000        .97682       -.12882E-06** at limit **
   9  norm          8.0212        4.1318        .69348E-07   -.91527E-04
  10  Prefactor     .27534E-07    14.940       -.65230E-06** at limit **
  11  norm          .61495E-06    56.812        .55225E-06** at limit **
  12  Prefactor     .84377E-08    11.709       -.53791E-06** at limit **
  13  norm          2.9600        .73430        .27654E-07   -.15619E-02
  14  Prefactor     5.5186        6.0745       -.10440E-06    .32346E-04
  15  Prefactor      .0000        4.1757       -.79516E-07** at limit **
  16  norm          8.5218        2.0855        .78036E-07   -.92302E-03
  17  Prefactor      .0000        6.5346        .61873E-08** at limit **
  18  Prefactor     28.825        2.2231       -.15907E-07    .38093E-01
  19  norm          22.679        1.6881       -.77726E-08    .55413E-02
  20  norm          .58923        .18523       -.21943E-07    .38728E-02
  21  Prefactor     .42966E-07    20.714       -.15247E-06** at limit **
  22  norm          2.1592        5.8929        .72515E-07    .69884E-04
  23  norm          3.2727        6.4365        .14077E-06   -.10797E-04
  24  Prefactor     .44409E-09    8.0246       -.31913E-06** at limit **
  25  Normalizat    1.0117        .23616       -.70909E-05   -.24251E-05
  26  Prefactor     .97209        .16867        .37353E-05   -.11652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7939
  Prefactor  = 2.63018
  Prefactor  = 37.184
  Prefactor  = 24.0935
  Prefactor  = 7.50256
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 8.02123
  Prefactor  = 2.75335e-08
  norm       = 6.14953e-07
  Prefactor  = 8.43769e-09
  norm       = 2.96002
  Prefactor  = 5.51863
  Prefactor  = 0
  norm       = 8.52182
  Prefactor  = 0
  Prefactor  = 28.8246
  norm       = 22.6788
  norm       = 0.589234
  Prefactor  = 4.29656e-08
  norm       = 2.15922
  norm       = 3.27269
  Prefactor  = 4.44089e-10
  Normalizat = 1.01172
  Prefactor  = 0.972085
_V02
Working on...
/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits.....................!
real 23.96
user 22.27
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits', '/lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits', expMap='/lscratch/kocevski/34163961/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', expCube='/lscratch/kocevski/34163961/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34163961/Model_4FGL_J1243.9-0218_daily_bin2191.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1243.9-0218'

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  1.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34163961/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits
Spacecraft file(s): /lscratch/kocevski/34163961/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure map: /lscratch/kocevski/34163961/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure cube: /lscratch/kocevski/34163961/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34163961/Model_4FGL_J1243.9-0218_daily_bin2191.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) = 7948.39829739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.781       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6779       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5107       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28395E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58065E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .12187E-05   1.0000          .0000       .10000E+07
     9 'norm      '    8.0171       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38005E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .24263E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30696E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.9589       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5317       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40158E-04   1.0000          .0000       .10000E+07
    16 'norm      '    8.5196       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16740E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.550       1.0000          .0000       .10000E+07
    19 'norm      '    22.668       1.0000          .0000       .10000E+07
    20 'norm      '    .58939       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64005E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.2227       1.0000          .0000       .10000E+07
    23 'norm      '    3.2252       1.0000          .0000       .10000E+07
    24 'Prefactor '    .57925E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2222 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.794        1.1360       -.80190E-08    .17104E-01
   2  Prefactor     2.6302        1.3870       -.24759E-07    .50451E-02
   3  Prefactor     37.184        5.8403       -.19970E-07   -.13277    
   4  Prefactor     24.094        1.1555       -.54331E-09   -.15550E-01
   5  Prefactor     7.5026        1.0547        .83506E-09    .25082E-02
   6  Prefactor      .0000        30.246        .18156E-06** at limit **
   7  Prefactor      .0000        2.8168        .58093E-07** at limit **
   8  norm           .0000        .97682       -.12882E-06** at limit **
   9  norm          8.0212        4.1318        .69348E-07   -.91527E-04
  10  Prefactor     .27534E-07    14.940       -.65230E-06** at limit **
  11  norm          .61495E-06    56.812        .55225E-06** at limit **
  12  Prefactor     .84377E-08    11.709       -.53791E-06** at limit **
  13  norm          2.9600        .73430        .27654E-07   -.15619E-02
  14  Prefactor     5.5186        6.0745       -.10440E-06    .32346E-04
  15  Prefactor      .0000        4.1757       -.79516E-07** at limit **
  16  norm          8.5218        2.0855        .78036E-07   -.92302E-03
  17  Prefactor      .0000        6.5346        .61873E-08** at limit **
  18  Prefactor     28.825        2.2231       -.15907E-07    .38093E-01
  19  norm          22.679        1.6881       -.77726E-08    .55413E-02
  20  norm          .58923        .18523       -.21943E-07    .38728E-02
  21  Prefactor     .42966E-07    20.714       -.15247E-06** at limit **
  22  norm          2.1592        5.8929        .72515E-07    .69884E-04
  23  norm          3.2727        6.4365        .14077E-06   -.10797E-04
  24  Prefactor     .44409E-09    8.0246       -.31913E-06** at limit **
  25  Normalizat    1.0117        .23616       -.70909E-05   -.24251E-05
  26  Prefactor     .97209        .16867        .37353E-05   -.11652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7939
  Prefactor  = 2.63018
  Prefactor  = 37.184
  Prefactor  = 24.0935
  Prefactor  = 7.50256
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 8.02123
  Prefactor  = 2.75335e-08
  norm       = 6.14953e-07
  Prefactor  = 8.43769e-09
  norm       = 2.96002
  Prefactor  = 5.51863
  Prefactor  = 0
  norm       = 8.52182
  Prefactor  = 0
  Prefactor  = 28.8246
  norm       = 22.6788
  norm       = 0.589234
  Prefactor  = 4.29656e-08
  norm       = 2.15922
  norm       = 3.27269
  Prefactor  = 4.44089e-10
  Normalizat = 1.01172
  Prefactor  = 0.972085
_V02
Working on...
/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits.....................!
real 23.71
user 22.02
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits', '/lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits', expMap='/lscratch/kocevski/34163949/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', expCube='/lscratch/kocevski/34163949/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34163949/Model_4FGL_J1243.9-0218_daily_bin2191.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1243.9-0218'

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  1.163e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34163949/ft1_filtered_4FGL_J1243.9-0218_daily_bin2191.fits
Spacecraft file(s): /lscratch/kocevski/34163949/ft2_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure map: /lscratch/kocevski/34163949/expmap_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
Exposure cube: /lscratch/kocevski/34163949/ltcube_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34163949/Model_4FGL_J1243.9-0218_daily_bin2191.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) = 7948.39829739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.781       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6779       1.0000          .0000       .10000E+07
     3 'Prefactor '    36.627       1.0000          .0000       .10000E+07
     4 'Prefactor '    24.031       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5107       1.0000          .0000       .10000E+07
     6 'Prefactor '    .28395E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58065E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .12187E-05   1.0000          .0000       .10000E+07
     9 'norm      '    8.0171       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38005E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .24263E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30696E-02   1.0000          .0000       .10000E+07
    13 'norm      '    2.9589       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.5317       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40158E-04   1.0000          .0000       .10000E+07
    16 'norm      '    8.5196       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16740E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.550       1.0000          .0000       .10000E+07
    19 'norm      '    22.668       1.0000          .0000       .10000E+07
    20 'norm      '    .58939       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64005E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.2227       1.0000          .0000       .10000E+07
    23 'norm      '    3.2252       1.0000          .0000       .10000E+07
    24 'Prefactor '    .57925E-04   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0115       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97240       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     2222 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.794        1.1360       -.80190E-08    .17104E-01
   2  Prefactor     2.6302        1.3870       -.24759E-07    .50451E-02
   3  Prefactor     37.184        5.8403       -.19970E-07   -.13277    
   4  Prefactor     24.094        1.1555       -.54331E-09   -.15550E-01
   5  Prefactor     7.5026        1.0547        .83506E-09    .25082E-02
   6  Prefactor      .0000        30.246        .18156E-06** at limit **
   7  Prefactor      .0000        2.8168        .58093E-07** at limit **
   8  norm           .0000        .97682       -.12882E-06** at limit **
   9  norm          8.0212        4.1318        .69348E-07   -.91527E-04
  10  Prefactor     .27534E-07    14.940       -.65230E-06** at limit **
  11  norm          .61495E-06    56.812        .55225E-06** at limit **
  12  Prefactor     .84377E-08    11.709       -.53791E-06** at limit **
  13  norm          2.9600        .73430        .27654E-07   -.15619E-02
  14  Prefactor     5.5186        6.0745       -.10440E-06    .32346E-04
  15  Prefactor      .0000        4.1757       -.79516E-07** at limit **
  16  norm          8.5218        2.0855        .78036E-07   -.92302E-03
  17  Prefactor      .0000        6.5346        .61873E-08** at limit **
  18  Prefactor     28.825        2.2231       -.15907E-07    .38093E-01
  19  norm          22.679        1.6881       -.77726E-08    .55413E-02
  20  norm          .58923        .18523       -.21943E-07    .38728E-02
  21  Prefactor     .42966E-07    20.714       -.15247E-06** at limit **
  22  norm          2.1592        5.8929        .72515E-07    .69884E-04
  23  norm          3.2727        6.4365        .14077E-06   -.10797E-04
  24  Prefactor     .44409E-09    8.0246       -.31913E-06** at limit **
  25  Normalizat    1.0117        .23616       -.70909E-05   -.24251E-05
  26  Prefactor     .97209        .16867        .37353E-05   -.11652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.7939
  Prefactor  = 2.63018
  Prefactor  = 37.184
  Prefactor  = 24.0935
  Prefactor  = 7.50256
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 8.02123
  Prefactor  = 2.75335e-08
  norm       = 6.14953e-07
  Prefactor  = 8.43769e-09
  norm       = 2.96002
  Prefactor  = 5.51863
  Prefactor  = 0
  norm       = 8.52182
  Prefactor  = 0
  Prefactor  = 28.8246
  norm       = 22.6788
  norm       = 0.589234
  Prefactor  = 4.29656e-08
  norm       = 2.15922
  norm       = 3.27269
  Prefactor  = 4.44089e-10
  Normalizat = 1.01172
  Prefactor  = 0.972085
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.389     FROM HESSE     STATUS=OK           512 CALLS     2734 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.794        13.662        .24422E-03   -1.5626    
   2  Prefactor     2.6302        24.356        .62245E-03   -1.5676    
   3  Prefactor     37.184        40.736        .16525E-03   -1.5586    
   4  Prefactor     24.094        48.143        .20404E-03   -1.5610    
   5  Prefactor     7.5026        17.931        .36571E-03   -1.5653    
   6  Prefactor      .0000        29.528        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .96862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0212        4.1453        .35387E-03   -1.5651    
  10  Prefactor     .27534E-07    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61495E-06    57.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84377E-08    11.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9600        .73151        .59009E-03   -1.5674    
  14  Prefactor     5.5186        6.0810        .42694E-03   -1.5661    
  15  Prefactor      .0000        4.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5218        2.0900        .34320E-03   -1.5650    
  17  Prefactor      .0000        6.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.825        32.688        .18719E-03   -1.5601    
  19  norm          22.679        21.969        .21009E-03   -1.5613    
  20  norm          .58923        .18848        .46595E-03   -1.5693    
  21  Prefactor     .42966E-07    20.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1592        5.9342        .68943E-03   -1.5679    
  23  norm          3.2727        6.4508        .56382E-03   -1.5672    
  24  Prefactor     .44409E-09    8.0308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0117        .20143        .70621E-01   -.92639    
  26  Prefactor     .97209        .14245        .45921E-01   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.565e-07
Minuit parameter uncertainties:
  1  13.6619
  2  16.0076
  3  40.7361
  4  48.1442
  5  17.9309
  6  4.41146e-06
  7  1.98223e-06
  8  1.49576e-06
  9  4.14525
  10  0.00128561
  11  0.0119311
  12  0.000625912
  13  0.731506
  14  6.08099
  15  8.49186e-06
  16  2.09004
  17  1.6459e-05
  18  32.688
  19  21.9686
  20  0.188485
  21  0.00189184
  22  5.93426
  23  6.45079
  24  0.000122508
  25  0.201584
  26  0.14251
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.389     FROM HESSE     STATUS=OK           512 CALLS     2734 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.794        13.662        .24422E-03   -1.5626    
   2  Prefactor     2.6302        24.356        .62245E-03   -1.5676    
   3  Prefactor     37.184        40.736        .16525E-03   -1.5586    
   4  Prefactor     24.094        48.143        .20404E-03   -1.5610    
   5  Prefactor     7.5026        17.931        .36571E-03   -1.5653    
   6  Prefactor      .0000        29.528        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .96862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0212        4.1453        .35387E-03   -1.5651    
  10  Prefactor     .27534E-07    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61495E-06    57.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84377E-08    11.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9600        .73151        .59009E-03   -1.5674    
  14  Prefactor     5.5186        6.0810        .42694E-03   -1.5661    
  15  Prefactor      .0000        4.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5218        2.0900        .34320E-03   -1.5650    
  17  Prefactor      .0000        6.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.825        32.688        .18719E-03   -1.5601    
  19  norm          22.679        21.969        .21009E-03   -1.5613    
  20  norm          .58923        .18848        .46595E-03   -1.5693    
  21  Prefactor     .42966E-07    20.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1592        5.9342        .68943E-03   -1.5679    
  23  norm          3.2727        6.4508        .56382E-03   -1.5672    
  24  Prefactor     .44409E-09    8.0308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0117        .20143        .70621E-01   -.92639    
  26  Prefactor     .97209        .14245        .45921E-01   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.565e-07
Minuit parameter uncertainties:
  1  13.6619
  2  16.0076
  3  40.7361
  4  48.1442
  5  17.9309
  6  4.41146e-06
  7  1.98223e-06
  8  1.49576e-06
  9  4.14525
  10  0.00128561
  11  0.0119311
  12  0.000625912
  13  0.731506
  14  6.08099
  15  8.49186e-06
  16  2.09004
  17  1.6459e-05
  18  32.688
  19  21.9686
  20  0.188485
  21  0.00189184
  22  5.93426
  23  6.45079
  24  0.000122508
  25  0.201584
  26  0.14251
 **********
 **   18 **HESSE 
 **********

 FCN=   7948.389     FROM HESSE     STATUS=OK           512 CALLS     2734 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.794        13.662        .24422E-03   -1.5626    
   2  Prefactor     2.6302        24.356        .62245E-03   -1.5676    
   3  Prefactor     37.184        40.736        .16525E-03   -1.5586    
   4  Prefactor     24.094        48.143        .20404E-03   -1.5610    
   5  Prefactor     7.5026        17.931        .36571E-03   -1.5653    
   6  Prefactor      .0000        29.528        .16536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.8242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .96862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.0212        4.1453        .35387E-03   -1.5651    
  10  Prefactor     .27534E-07    14.999        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61495E-06    57.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .84377E-08    11.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9600        .73151        .59009E-03   -1.5674    
  14  Prefactor     5.5186        6.0810        .42694E-03   -1.5661    
  15  Prefactor      .0000        4.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.5218        2.0900        .34320E-03   -1.5650    
  17  Prefactor      .0000        6.5242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.825        32.688        .18719E-03   -1.5601    
  19  norm          22.679        21.969        .21009E-03   -1.5613    
  20  norm          .58923        .18848        .46595E-03   -1.5693    
  21  Prefactor     .42966E-07    20.835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.1592        5.9342        .68943E-03   -1.5679    
  23  norm          3.2727        6.4508        .56382E-03   -1.5672    
  24  Prefactor     .44409E-09    8.0308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0117        .20143        .70621E-01   -.92639    
  26  Prefactor     .97209        .14245        .45921E-01   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.565e-07
Minuit parameter uncertainties:
  1  13.6619
  2  16.0076
  3  40.7361
  4  48.1442
  5  17.9309
  6  4.41146e-06
  7  1.98223e-06
  8  1.49576e-06
  9  4.14525
  10  0.00128561
  11  0.0119311
  12  0.000625912
  13  0.731506
  14  6.08099
  15  8.49186e-06
  16  2.09004
  17  1.6459e-05
  18  32.688
  19  21.9686
  20  0.188485
  21  0.00189184
  22  5.93426
  23  6.45079
  24  0.000122508
  25  0.201584
  26  0.14251
Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.646e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 7.48403400981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569675932784 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34163958/likelihoodResults_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.46650887
delta logL = -0.0779111429038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38859775
delta logL = -3.14585122396e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5811        .98523E-07** at limit **
   2  Index         2.3413        2.2190       -.44700E-05     .0000    
   3  Normalizat    1.0117        .22490       -.60429E-05    .85603E-04
   4  Prefactor     .97209        .16641        .76483E-05    .11799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34131
  Normalizat = 1.01172
  Prefactor  = 0.972086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7948.389     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61243        1.8846       -.44700E-05   -.56065    
   3  Normalizat    1.0117        1.3084       -.60429E-05   -.92639    
   4  Prefactor     .97209        1.3130        .76483E-05   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19054e-12
Minuit parameter uncertainties:
  1  5.66217e-06
  2  1.45654
  3  1.35384
  4  1.36027
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) = 7948.38859772
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.341e+00  1.457e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 190.984 -2.308

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34163958/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2026-08-04 10:33:04.919991', job_id='34163958', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1785864784.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2191' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug  4 10:33:05 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.646e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 7.48403400981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569675932784 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34163961/likelihoodResults_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.46650887
delta logL = -0.0779111429038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38859775
delta logL = -3.14585122396e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5811        .98523E-07** at limit **
   2  Index         2.3413        2.2190       -.44700E-05     .0000    
   3  Normalizat    1.0117        .22490       -.60429E-05    .85603E-04
   4  Prefactor     .97209        .16641        .76483E-05    .11799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34131
  Normalizat = 1.01172
  Prefactor  = 0.972086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7948.389     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61243        1.8846       -.44700E-05   -.56065    
   3  Normalizat    1.0117        1.3084       -.60429E-05   -.92639    
   4  Prefactor     .97209        1.3130        .76483E-05   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19054e-12
Minuit parameter uncertainties:
  1  5.66217e-06
  2  1.45654
  3  1.35384
  4  1.36027
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) = 7948.38859772
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.341e+00  1.457e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 190.984 -2.308

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34163961/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2026-08-04 10:33:15.220617', job_id='34163961', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1785864795.22', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2191' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug  4 10:33:15 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  1.646e-05  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.187e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.425e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 190.984 -2.308
Photon Flux Upper Limit: 7.48403400981e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00569675932784 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34163949/likelihoodResults_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7948.46650887
delta logL = -0.0779111429038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7948.38859775
delta logL = -3.14585122396e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7948.389     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      198 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.5811        .98523E-07** at limit **
   2  Index         2.3413        2.2190       -.44700E-05     .0000    
   3  Normalizat    1.0117        .22490       -.60429E-05    .85603E-04
   4  Prefactor     .97209        .16641        .76483E-05    .11799E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.34131
  Normalizat = 1.01172
  Prefactor  = 0.972086
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7948.389     FROM HESSE     STATUS=FAILED        11 CALLS      209 TOTAL
                     EDM=   .62E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .61243        1.8846       -.44700E-05   -.56065    
   3  Normalizat    1.0117        1.3084       -.60429E-05   -.92639    
   4  Prefactor     .97209        1.3130        .76483E-05   -.93666    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.19054e-12
Minuit parameter uncertainties:
  1  5.66217e-06
  2  1.45654
  3  1.35384
  4  1.36027
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) = 7948.38859772
delta logL = -4.54747350886e-12

Extracting fit parameters...

4FGL J1243.9-0218
   Spectrum: PowerLaw
300    Prefactor:  0.000e+00  5.662e-06  0.000e+00  1.000e+06 ( 1.000e-13)
301        Index:  2.341e+00  1.457e+00  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.781e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  9.721e-01  1.360e+00  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.012e+00  1.354e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 190.984 -2.308

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/34163949/cmap_HighResolution_807235201_807494401_4FGL_J1243.9-0218_daily_bin2191.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2026-08-04 10:33:24.246705', job_id='34163949', GAL2='0.97', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1785864804.25', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-4.55e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='2191' AND source_name='4FGL J1243.9-0218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug  4 10:33:24 PDT 2026

