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

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474047/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:48:17.182615', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896497.18', return_code='0', job_id='31474047', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:48:17 PDT 2026

****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17305.29     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2162 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0198       -.46401E-07** at limit **
   2  norm           .0000        2.9088        .21183E-07** at limit **
   3  Prefactor     12.827        1.7808       -.62746E-09   -.17535E-01
   4  norm          1.4439        1.5475       -.94900E-08   -.31992E-03
   5  Prefactor     11.581        10.041        .10090E-06   -.93451E-02
   6  Prefactor     .76510E-01    116.62        .10110E-07** at limit **
   7  Prefactor     299.42        3.1056       -.25544E-09   -.12875E-02
   8  norm          .14728E-04    69.810       -.26499E-07** at limit **
   9  norm           .0000        1.8671        .72909E-07** at limit **
  10  Prefactor     25.311        1.3979       -.27289E-09   -.80418E-02
  11  norm          4.4863        4.1493       -.17784E-07   -.54164E-03
  12  Prefactor     12.592        11.510       -.30172E-08    .39399E-02
  13  Prefactor     .58287E-08    10.832       -.73273E-07** at limit **
  14  Prefactor     5.1115        3.3936       -.31659E-07   -.12022E-02
  15  norm          .29455        .93086       -.87967E-08   -.22821E-03
  16  norm          1.4513        1.6595       -.18584E-07   -.11420E-02
  17  Prefactor      .0000        4.1080        .56130E-08** at limit **
  18  Prefactor     .13711E-06    37.345        .48092E-08** at limit **
  19  Prefactor     .18874E-08    6.4386        .12207E-06** at limit **
  20  Prefactor     30.869        10.621       -.24810E-08    .10830E-01
  21  norm          4.8311        1.1641       -.27932E-08   -.61202E-03
  22  Prefactor     .28089E-07    20.478       -.36557E-07** at limit **
  23  norm           .0000        2.4894       -.23067E-07** at limit **
  24  Normalizat    .50762        .16277        .79292E-07    .31610E-04
  25  Prefactor     1.5191        .17918        .23494E-06    .46845E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 12.8265
  norm       = 1.44385
  Prefactor  = 11.5814
  Prefactor  = 0.0765101
  Prefactor  = 299.425
  norm       = 1.47276e-05
  norm       = 0
  Prefactor  = 25.3109
  norm       = 4.48629
  Prefactor  = 12.5923
  Prefactor  = 5.82867e-09
  Prefactor  = 5.11153
  norm       = 0.294552
  norm       = 1.45133
  Prefactor  = 0
  Prefactor  = 1.37113e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 30.8687
  norm       = 4.83108
  Prefactor  = 2.80886e-08
  norm       = 0
  Normalizat = 0.507619
  Prefactor  = 1.51909
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

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

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

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

 FCN=   17305.29     FROM HESSE     STATUS=OK           495 CALLS     2657 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.9155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.827        13.927        .27921E-03   -1.5636    
   4  norm          1.4439        1.5490        .89667E-03   -1.5684    
   5  Prefactor     11.581        11.557        .29795E-03   -1.5640    
   6  Prefactor     .76510E-01    7.9612        .10487E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     299.42        12.087        .57800E-04   -1.5362    
   8  norm          .14728E-04    4.0287        .96310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.311        28.486        .19864E-03   -1.5607    
  11  norm          4.4863        4.1467        .47584E-03   -1.5666    
  12  Prefactor     12.592        11.822        .28206E-03   -1.5637    
  13  Prefactor     .58287E-08    10.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1115        3.3997        .44430E-03   -1.5663    
  15  norm          .29455        .93974        .10293E-02   -1.5697    
  16  norm          1.4513        1.6721        .89324E-03   -1.5684    
  17  Prefactor      .0000        4.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13711E-06    37.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    6.4613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.869        11.162        .18005E-03   -1.5597    
  21  norm          4.8311        1.1702        .45743E-03   -1.5664    
  22  Prefactor     .28089E-07    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .50762        .15462        .10010       -1.1206    
  25  Prefactor     1.5191        .15700        .68149E-01   -.77007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57656e-08
Minuit parameter uncertainties:
  1  4.54538e-06
  2  6.2042e-07
  3  13.9271
  4  1.54902
  5  11.5575
  6  1.56091
  7  12.0873
  8  0.0154057
  9  8.93736e-06
  10  28.4861
  11  4.14666
  12  11.8217
  13  0.000502082
  14  3.39974
  15  0.939744
  16  1.6721
  17  6.33793e-06
  18  0.00455255
  19  0.000219696
  20  11.162
  21  1.1702
  22  0.00151397
  23  2.91303e-06
  24  0.154755
  25  0.157045
file=/lscratch/kocevski/31474464/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
.....................!
real 10.22
user 9.23
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31474464/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474464/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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/31474464/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
.....................!
real 77.73
user 71.82
sys 4.51

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

Setting source of interest to:
4FGL J1438.9+3710 @ 219.74 37.1752

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits scfile=/lscratch/kocevski/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474464/cmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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=219.74 yref=37.1752 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 1.07
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits scfile=/lscratch/kocevski/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474464/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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=219.74 yref=37.1752 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.90
user 0.27
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31474464/Model_4FGL_J1438.9+3710_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31474270/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits.....................!
real 56.36
user 54.19
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31474270/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits', '/lscratch/kocevski/31474270/ft2_4FGL_J1438.9+3710_daily_bin2176.fits', expMap='/lscratch/kocevski/31474270/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', expCube='/lscratch/kocevski/31474270/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31474270/Model_4FGL_J1438.9+3710_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1438.9+3710'

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  4.709e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31474270/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31474270/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31474270/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31474270/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31474270/Model_4FGL_J1438.9+3710_daily_bin2176.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) = 17305.3149613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92854E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .15321E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.847       1.0000          .0000       .10000E+07
     4 'norm      '    1.4448       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.287       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44569       1.0000          .0000       .10000E+07
     7 'Prefactor '    299.42       1.0000          .0000       .10000E+07
     8 'norm      '    .20560E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .32207E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    25.355       1.0000          .0000       .10000E+07
    11 'norm      '    4.4731       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.589       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38837E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1152       1.0000          .0000       .10000E+07
    15 'norm      '    .29425       1.0000          .0000       .10000E+07
    16 'norm      '    1.4528       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81801E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40117E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .32498E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    30.858       1.0000          .0000       .10000E+07
    21 'norm      '    4.8314       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11567E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .16017E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .50729       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.5192       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****file=/lscratch/kocevski/31474567/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
.....................!
real 8.75
user 8.10
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31474567/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474567/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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/31474567/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
.....................!
real 76.36
user 71.38
sys 4.10

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

Setting source of interest to:
4FGL J1438.9+3710 @ 219.74 37.1752

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits scfile=/lscratch/kocevski/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474567/cmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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=219.74 yref=37.1752 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 1.61
user 0.30
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits scfile=/lscratch/kocevski/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474567/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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=219.74 yref=37.1752 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 1.01
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31474567/Model_4FGL_J1438.9+3710_daily_bin2176.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_V02Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474064/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
 **********
 **   18 **HESSE 
 **********

 FCN=   17305.29     FROM HESSE     STATUS=OK           495 CALLS     2657 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.9155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.827        13.927        .27921E-03   -1.5636    
   4  norm          1.4439        1.5490        .89667E-03   -1.5684    
   5  Prefactor     11.581        11.557        .29795E-03   -1.5640    
   6  Prefactor     .76510E-01    7.9612        .10487E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     299.42        12.087        .57800E-04   -1.5362    
   8  norm          .14728E-04    4.0287        .96310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.311        28.486        .19864E-03   -1.5607    
  11  norm          4.4863        4.1467        .47584E-03   -1.5666    
  12  Prefactor     12.592        11.822        .28206E-03   -1.5637    
  13  Prefactor     .58287E-08    10.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1115        3.3997        .44430E-03   -1.5663    
  15  norm          .29455        .93974        .10293E-02   -1.5697    
  16  norm          1.4513        1.6721        .89324E-03   -1.5684    
  17  Prefactor      .0000        4.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13711E-06    37.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    6.4613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.869        11.162        .18005E-03   -1.5597    
  21  norm          4.8311        1.1702        .45743E-03   -1.5664    
  22  Prefactor     .28089E-07    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .50762        .15462        .10010       -1.1206    
  25  Prefactor     1.5191        .15700        .68149E-01   -.77007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57656e-08
Minuit parameter uncertainties:
  1  4.54538e-06
  2  6.2042e-07
  3  13.9271
  4  1.54902
  5  11.5575
  6  1.56091
  7  12.0873
  8  0.0154057
  9  8.93736e-06
  10  28.4861
  11  4.14666
  12  11.8217
  13  0.000502082
  14  3.39974
  15  0.939744
  16  1.6721
  17  6.33793e-06
  18  0.00455255
  19  0.000219696
  20  11.162
  21  1.1702
  22  0.00151397
  23  2.91303e-06
  24  0.154755
  25  0.157045
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474074/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474064/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:49:13.648938', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896553.65', return_code='0', job_id='31474064', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:49:13 PDT 2026

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

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474074/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:49:18.195150', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896558.2', return_code='0', job_id='31474074', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:49:18 PDT 2026

*****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17305.29     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2162 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0198       -.46401E-07** at limit **
   2  norm           .0000        2.9088        .21183E-07** at limit **
   3  Prefactor     12.827        1.7808       -.62746E-09   -.17535E-01
   4  norm          1.4439        1.5475       -.94900E-08   -.31992E-03
   5  Prefactor     11.581        10.041        .10090E-06   -.93451E-02
   6  Prefactor     .76510E-01    116.62        .10110E-07** at limit **
   7  Prefactor     299.42        3.1056       -.25544E-09   -.12875E-02
   8  norm          .14728E-04    69.810       -.26499E-07** at limit **
   9  norm           .0000        1.8671        .72909E-07** at limit **
  10  Prefactor     25.311        1.3979       -.27289E-09   -.80418E-02
  11  norm          4.4863        4.1493       -.17784E-07   -.54164E-03
  12  Prefactor     12.592        11.510       -.30172E-08    .39399E-02
  13  Prefactor     .58287E-08    10.832       -.73273E-07** at limit **
  14  Prefactor     5.1115        3.3936       -.31659E-07   -.12022E-02
  15  norm          .29455        .93086       -.87967E-08   -.22821E-03
  16  norm          1.4513        1.6595       -.18584E-07   -.11420E-02
  17  Prefactor      .0000        4.1080        .56130E-08** at limit **
  18  Prefactor     .13711E-06    37.345        .48092E-08** at limit **
  19  Prefactor     .18874E-08    6.4386        .12207E-06** at limit **
  20  Prefactor     30.869        10.621       -.24810E-08    .10830E-01
  21  norm          4.8311        1.1641       -.27932E-08   -.61202E-03
  22  Prefactor     .28089E-07    20.478       -.36557E-07** at limit **
  23  norm           .0000        2.4894       -.23067E-07** at limit **
  24  Normalizat    .50762        .16277        .79292E-07    .31610E-04
  25  Prefactor     1.5191        .17918        .23494E-06    .46845E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 12.8265
  norm       = 1.44385
  Prefactor  = 11.5814
  Prefactor  = 0.0765101
  Prefactor  = 299.425
  norm       = 1.47276e-05
  norm       = 0
  Prefactor  = 25.3109
  norm       = 4.48629
  Prefactor  = 12.5923
  Prefactor  = 5.82867e-09
  Prefactor  = 5.11153
  norm       = 0.294552
  norm       = 1.45133
  Prefactor  = 0
  Prefactor  = 1.37113e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 30.8687
  norm       = 4.83108
  Prefactor  = 2.80886e-08
  norm       = 0
  Normalizat = 0.507619
  Prefactor  = 1.51909
Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474188/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474188/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:50:27.646657', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896627.65', return_code='0', job_id='31474188', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:50:27 PDT 2026

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

 FCN=   17305.29     FROM HESSE     STATUS=OK           495 CALLS     2657 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.9155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.827        13.927        .27921E-03   -1.5636    
   4  norm          1.4439        1.5490        .89667E-03   -1.5684    
   5  Prefactor     11.581        11.557        .29795E-03   -1.5640    
   6  Prefactor     .76510E-01    7.9612        .10487E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     299.42        12.087        .57800E-04   -1.5362    
   8  norm          .14728E-04    4.0287        .96310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.311        28.486        .19864E-03   -1.5607    
  11  norm          4.4863        4.1467        .47584E-03   -1.5666    
  12  Prefactor     12.592        11.822        .28206E-03   -1.5637    
  13  Prefactor     .58287E-08    10.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1115        3.3997        .44430E-03   -1.5663    
  15  norm          .29455        .93974        .10293E-02   -1.5697    
  16  norm          1.4513        1.6721        .89324E-03   -1.5684    
  17  Prefactor      .0000        4.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13711E-06    37.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    6.4613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.869        11.162        .18005E-03   -1.5597    
  21  norm          4.8311        1.1702        .45743E-03   -1.5664    
  22  Prefactor     .28089E-07    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .50762        .15462        .10010       -1.1206    
  25  Prefactor     1.5191        .15700        .68149E-01   -.77007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57656e-08
Minuit parameter uncertainties:
  1  4.54538e-06
  2  6.2042e-07
  3  13.9271
  4  1.54902
  5  11.5575
  6  1.56091
  7  12.0873
  8  0.0154057
  9  8.93736e-06
  10  28.4861
  11  4.14666
  12  11.8217
  13  0.000502082
  14  3.39974
  15  0.939744
  16  1.6721
  17  6.33793e-06
  18  0.00455255
  19  0.000219696
  20  11.162
  21  1.1702
  22  0.00151397
  23  2.91303e-06
  24  0.154755
  25  0.157045
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1438.9+3710_daily_bin2176
RA = 219.74, Dec = 37.1752
tmin = 803347201, tmax = 803606401
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='31474749', job_status='RUN', time_executed='2026-07-12 15:48:34.476017', time_epoch_executed='1783896514.48' WHERE source_name='4FGL J1438.9+3710' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31474749

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31474749/ft1_4FGL_J1438.9+3710_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31474749/ft1_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474749/ft1_filteredMKT_4FGL_J1438.9+3710_daily_bin2176.fits ra=219.74 dec=37.1752 rad=12.0 tmin=803347201.0 tmax=803606401.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.21
user 1.60
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.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/31474749/ft1_filteredMKT_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.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.74
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1773

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" outDone.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474265/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474265/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:50:48.708084', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896648.71', return_code='0', job_id='31474265', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:50:48 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474270/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474270/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:52:20.232826', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896740.23', return_code='0', job_id='31474270', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:52:20 PDT 2026

file=/lscratch/kocevski/31474749/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
.....................!
real 9.03
user 8.28
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31474749/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474749/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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/31474749/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
.....................!
real 68.45
user 63.96
sys 3.83

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

Setting source of interest to:
4FGL J1438.9+3710 @ 219.74 37.1752

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits scfile=/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474749/cmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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=219.74 yref=37.1752 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.63
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits scfile=/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits outfile=/lscratch/kocevski/31474749/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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=219.74 yref=37.1752 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31474749/Model_4FGL_J1438.9+3710_daily_bin2176.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_V022
Working on...
/lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits.....................!
real 55.86
user 53.76
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits', '/lscratch/kocevski/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits', expMap='/lscratch/kocevski/31474464/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', expCube='/lscratch/kocevski/31474464/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31474464/Model_4FGL_J1438.9+3710_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1438.9+3710'

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  4.709e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31474464/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31474464/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31474464/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31474464/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31474464/Model_4FGL_J1438.9+3710_daily_bin2176.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) = 17305.3149613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92854E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .15321E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.847       1.0000          .0000       .10000E+07
     4 'norm      '    1.4448       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.287       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44569       1.0000          .0000       .10000E+07
     7 'Prefactor '    299.42       1.0000          .0000       .10000E+07
     8 'norm      '    .20560E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .32207E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    25.355       1.0000          .0000       .10000E+07
    11 'norm      '    4.4731       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.589       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38837E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1152       1.0000          .0000       .10000E+07
    15 'norm      '    .29425       1.0000          .0000       .10000E+07
    16 'norm      '    1.4528       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81801E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40117E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .32498E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    30.858       1.0000          .0000       .10000E+07
    21 'norm      '    4.8314       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11567E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .16017E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .50729       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.5192       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 *****
Working on...
/lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits.....................!
real 55.83
user 53.61
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits', '/lscratch/kocevski/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits', expMap='/lscratch/kocevski/31474567/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', expCube='/lscratch/kocevski/31474567/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31474567/Model_4FGL_J1438.9+3710_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1438.9+3710'

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  4.709e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31474567/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31474567/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31474567/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31474567/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31474567/Model_4FGL_J1438.9+3710_daily_bin2176.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) = 17305.3149613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92854E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .15321E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.847       1.0000          .0000       .10000E+07
     4 'norm      '    1.4448       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.287       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44569       1.0000          .0000       .10000E+07
     7 'Prefactor '    299.42       1.0000          .0000       .10000E+07
     8 'norm      '    .20560E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .32207E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    25.355       1.0000          .0000       .10000E+07
    11 'norm      '    4.4731       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.589       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38837E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1152       1.0000          .0000       .10000E+07
    15 'norm      '    .29425       1.0000          .0000       .10000E+07
    16 'norm      '    1.4528       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81801E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40117E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .32498E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    30.858       1.0000          .0000       .10000E+07
    21 'norm      '    4.8314       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11567E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .16017E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .50729       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.5192       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ***********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17305.29     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2162 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0198       -.46401E-07** at limit **
   2  norm           .0000        2.9088        .21183E-07** at limit **
   3  Prefactor     12.827        1.7808       -.62746E-09   -.17535E-01
   4  norm          1.4439        1.5475       -.94900E-08   -.31992E-03
   5  Prefactor     11.581        10.041        .10090E-06   -.93451E-02
   6  Prefactor     .76510E-01    116.62        .10110E-07** at limit **
   7  Prefactor     299.42        3.1056       -.25544E-09   -.12875E-02
   8  norm          .14728E-04    69.810       -.26499E-07** at limit **
   9  norm           .0000        1.8671        .72909E-07** at limit **
  10  Prefactor     25.311        1.3979       -.27289E-09   -.80418E-02
  11  norm          4.4863        4.1493       -.17784E-07   -.54164E-03
  12  Prefactor     12.592        11.510       -.30172E-08    .39399E-02
  13  Prefactor     .58287E-08    10.832       -.73273E-07** at limit **
  14  Prefactor     5.1115        3.3936       -.31659E-07   -.12022E-02
  15  norm          .29455        .93086       -.87967E-08   -.22821E-03
  16  norm          1.4513        1.6595       -.18584E-07   -.11420E-02
  17  Prefactor      .0000        4.1080        .56130E-08** at limit **
  18  Prefactor     .13711E-06    37.345        .48092E-08** at limit **
  19  Prefactor     .18874E-08    6.4386        .12207E-06** at limit **
  20  Prefactor     30.869        10.621       -.24810E-08    .10830E-01
  21  norm          4.8311        1.1641       -.27932E-08   -.61202E-03
  22  Prefactor     .28089E-07    20.478       -.36557E-07** at limit **
  23  norm           .0000        2.4894       -.23067E-07** at limit **
  24  Normalizat    .50762        .16277        .79292E-07    .31610E-04
  25  Prefactor     1.5191        .17918        .23494E-06    .46845E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 12.8265
  norm       = 1.44385
  Prefactor  = 11.5814
  Prefactor  = 0.0765101
  Prefactor  = 299.425
  norm       = 1.47276e-05
  norm       = 0
  Prefactor  = 25.3109
  norm       = 4.48629
  Prefactor  = 12.5923
  Prefactor  = 5.82867e-09
  Prefactor  = 5.11153
  norm       = 0.294552
  norm       = 1.45133
  Prefactor  = 0
  Prefactor  = 1.37113e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 30.8687
  norm       = 4.83108
  Prefactor  = 2.80886e-08
  norm       = 0
  Normalizat = 0.507619
  Prefactor  = 1.51909
****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17305.29     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2162 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0198       -.46401E-07** at limit **
   2  norm           .0000        2.9088        .21183E-07** at limit **
   3  Prefactor     12.827        1.7808       -.62746E-09   -.17535E-01
   4  norm          1.4439        1.5475       -.94900E-08   -.31992E-03
   5  Prefactor     11.581        10.041        .10090E-06   -.93451E-02
   6  Prefactor     .76510E-01    116.62        .10110E-07** at limit **
   7  Prefactor     299.42        3.1056       -.25544E-09   -.12875E-02
   8  norm          .14728E-04    69.810       -.26499E-07** at limit **
   9  norm           .0000        1.8671        .72909E-07** at limit **
  10  Prefactor     25.311        1.3979       -.27289E-09   -.80418E-02
  11  norm          4.4863        4.1493       -.17784E-07   -.54164E-03
  12  Prefactor     12.592        11.510       -.30172E-08    .39399E-02
  13  Prefactor     .58287E-08    10.832       -.73273E-07** at limit **
  14  Prefactor     5.1115        3.3936       -.31659E-07   -.12022E-02
  15  norm          .29455        .93086       -.87967E-08   -.22821E-03
  16  norm          1.4513        1.6595       -.18584E-07   -.11420E-02
  17  Prefactor      .0000        4.1080        .56130E-08** at limit **
  18  Prefactor     .13711E-06    37.345        .48092E-08** at limit **
  19  Prefactor     .18874E-08    6.4386        .12207E-06** at limit **
  20  Prefactor     30.869        10.621       -.24810E-08    .10830E-01
  21  norm          4.8311        1.1641       -.27932E-08   -.61202E-03
  22  Prefactor     .28089E-07    20.478       -.36557E-07** at limit **
  23  norm           .0000        2.4894       -.23067E-07** at limit **
  24  Normalizat    .50762        .16277        .79292E-07    .31610E-04
  25  Prefactor     1.5191        .17918        .23494E-06    .46845E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 12.8265
  norm       = 1.44385
  Prefactor  = 11.5814
  Prefactor  = 0.0765101
  Prefactor  = 299.425
  norm       = 1.47276e-05
  norm       = 0
  Prefactor  = 25.3109
  norm       = 4.48629
  Prefactor  = 12.5923
  Prefactor  = 5.82867e-09
  Prefactor  = 5.11153
  norm       = 0.294552
  norm       = 1.45133
  Prefactor  = 0
  Prefactor  = 1.37113e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 30.8687
  norm       = 4.83108
  Prefactor  = 2.80886e-08
  norm       = 0
  Normalizat = 0.507619
  Prefactor  = 1.51909
 **********
 **   18 **HESSE 
 **********

 FCN=   17305.29     FROM HESSE     STATUS=OK           495 CALLS     2657 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.9155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.827        13.927        .27921E-03   -1.5636    
   4  norm          1.4439        1.5490        .89667E-03   -1.5684    
   5  Prefactor     11.581        11.557        .29795E-03   -1.5640    
   6  Prefactor     .76510E-01    7.9612        .10487E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     299.42        12.087        .57800E-04   -1.5362    
   8  norm          .14728E-04    4.0287        .96310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.311        28.486        .19864E-03   -1.5607    
  11  norm          4.4863        4.1467        .47584E-03   -1.5666    
  12  Prefactor     12.592        11.822        .28206E-03   -1.5637    
  13  Prefactor     .58287E-08    10.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1115        3.3997        .44430E-03   -1.5663    
  15  norm          .29455        .93974        .10293E-02   -1.5697    
  16  norm          1.4513        1.6721        .89324E-03   -1.5684    
  17  Prefactor      .0000        4.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13711E-06    37.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    6.4613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.869        11.162        .18005E-03   -1.5597    
  21  norm          4.8311        1.1702        .45743E-03   -1.5664    
  22  Prefactor     .28089E-07    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .50762        .15462        .10010       -1.1206    
  25  Prefactor     1.5191        .15700        .68149E-01   -.77007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57656e-08
Minuit parameter uncertainties:
  1  4.54538e-06
  2  6.2042e-07
  3  13.9271
  4  1.54902
  5  11.5575
  6  1.56091
  7  12.0873
  8  0.0154057
  9  8.93736e-06
  10  28.4861
  11  4.14666
  12  11.8217
  13  0.000502082
  14  3.39974
  15  0.939744
  16  1.6721
  17  6.33793e-06
  18  0.00455255
  19  0.000219696
  20  11.162
  21  1.1702
  22  0.00151397
  23  2.91303e-06
  24  0.154755
  25  0.157045
 **********
 **   18 **HESSE 
 **********

 FCN=   17305.29     FROM HESSE     STATUS=OK           495 CALLS     2657 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.9155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.827        13.927        .27921E-03   -1.5636    
   4  norm          1.4439        1.5490        .89667E-03   -1.5684    
   5  Prefactor     11.581        11.557        .29795E-03   -1.5640    
   6  Prefactor     .76510E-01    7.9612        .10487E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     299.42        12.087        .57800E-04   -1.5362    
   8  norm          .14728E-04    4.0287        .96310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.311        28.486        .19864E-03   -1.5607    
  11  norm          4.4863        4.1467        .47584E-03   -1.5666    
  12  Prefactor     12.592        11.822        .28206E-03   -1.5637    
  13  Prefactor     .58287E-08    10.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1115        3.3997        .44430E-03   -1.5663    
  15  norm          .29455        .93974        .10293E-02   -1.5697    
  16  norm          1.4513        1.6721        .89324E-03   -1.5684    
  17  Prefactor      .0000        4.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13711E-06    37.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    6.4613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.869        11.162        .18005E-03   -1.5597    
  21  norm          4.8311        1.1702        .45743E-03   -1.5664    
  22  Prefactor     .28089E-07    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .50762        .15462        .10010       -1.1206    
  25  Prefactor     1.5191        .15700        .68149E-01   -.77007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57656e-08
Minuit parameter uncertainties:
  1  4.54538e-06
  2  6.2042e-07
  3  13.9271
  4  1.54902
  5  11.5575
  6  1.56091
  7  12.0873
  8  0.0154057
  9  8.93736e-06
  10  28.4861
  11  4.14666
  12  11.8217
  13  0.000502082
  14  3.39974
  15  0.939744
  16  1.6721
  17  6.33793e-06
  18  0.00455255
  19  0.000219696
  20  11.162
  21  1.1702
  22  0.00151397
  23  2.91303e-06
  24  0.154755
  25  0.157045
Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474567/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474464/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474567/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:56:32.174758', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896992.17', return_code='0', job_id='31474567', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:56:32 PDT 2026


Working on...
/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits.....................!
real 50.39
user 48.81
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits', '/lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits', expMap='/lscratch/kocevski/31474749/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', expCube='/lscratch/kocevski/31474749/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31474749/Model_4FGL_J1438.9+3710_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1438.9+3710'

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  4.709e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31474749/ft1_filtered_4FGL_J1438.9+3710_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31474749/ft2_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31474749/expmap_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31474749/ltcube_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31474749/Model_4FGL_J1438.9+3710_daily_bin2176.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) = 17305.3149613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92854E-06   1.0000          .0000       .10000E+07
     2 'norm      '    .15321E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    12.847       1.0000          .0000       .10000E+07
     4 'norm      '    1.4448       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.287       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44569       1.0000          .0000       .10000E+07
     7 'Prefactor '    299.42       1.0000          .0000       .10000E+07
     8 'norm      '    .20560E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .32207E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    25.355       1.0000          .0000       .10000E+07
    11 'norm      '    4.4731       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.589       1.0000          .0000       .10000E+07
    13 'Prefactor '    .38837E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.1152       1.0000          .0000       .10000E+07
    15 'norm      '    .29425       1.0000          .0000       .10000E+07
    16 'norm      '    1.4528       1.0000          .0000       .10000E+07
    17 'Prefactor '    .81801E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .40117E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .32498E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    30.858       1.0000          .0000       .10000E+07
    21 'norm      '    4.8314       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11567E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .16017E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    .50729       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.5192       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 ******shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474464/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:56:33.847973', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783896993.85', return_code='0', job_id='31474464', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:56:34 PDT 2026

****
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17305.29     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     2162 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.0198       -.46401E-07** at limit **
   2  norm           .0000        2.9088        .21183E-07** at limit **
   3  Prefactor     12.827        1.7808       -.62746E-09   -.17535E-01
   4  norm          1.4439        1.5475       -.94900E-08   -.31992E-03
   5  Prefactor     11.581        10.041        .10090E-06   -.93451E-02
   6  Prefactor     .76510E-01    116.62        .10110E-07** at limit **
   7  Prefactor     299.42        3.1056       -.25544E-09   -.12875E-02
   8  norm          .14728E-04    69.810       -.26499E-07** at limit **
   9  norm           .0000        1.8671        .72909E-07** at limit **
  10  Prefactor     25.311        1.3979       -.27289E-09   -.80418E-02
  11  norm          4.4863        4.1493       -.17784E-07   -.54164E-03
  12  Prefactor     12.592        11.510       -.30172E-08    .39399E-02
  13  Prefactor     .58287E-08    10.832       -.73273E-07** at limit **
  14  Prefactor     5.1115        3.3936       -.31659E-07   -.12022E-02
  15  norm          .29455        .93086       -.87967E-08   -.22821E-03
  16  norm          1.4513        1.6595       -.18584E-07   -.11420E-02
  17  Prefactor      .0000        4.1080        .56130E-08** at limit **
  18  Prefactor     .13711E-06    37.345        .48092E-08** at limit **
  19  Prefactor     .18874E-08    6.4386        .12207E-06** at limit **
  20  Prefactor     30.869        10.621       -.24810E-08    .10830E-01
  21  norm          4.8311        1.1641       -.27932E-08   -.61202E-03
  22  Prefactor     .28089E-07    20.478       -.36557E-07** at limit **
  23  norm           .0000        2.4894       -.23067E-07** at limit **
  24  Normalizat    .50762        .16277        .79292E-07    .31610E-04
  25  Prefactor     1.5191        .17918        .23494E-06    .46845E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  Prefactor  = 12.8265
  norm       = 1.44385
  Prefactor  = 11.5814
  Prefactor  = 0.0765101
  Prefactor  = 299.425
  norm       = 1.47276e-05
  norm       = 0
  Prefactor  = 25.3109
  norm       = 4.48629
  Prefactor  = 12.5923
  Prefactor  = 5.82867e-09
  Prefactor  = 5.11153
  norm       = 0.294552
  norm       = 1.45133
  Prefactor  = 0
  Prefactor  = 1.37113e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 30.8687
  norm       = 4.83108
  Prefactor  = 2.80886e-08
  norm       = 0
  Normalizat = 0.507619
  Prefactor  = 1.51909
 **********
 **   18 **HESSE 
 **********

 FCN=   17305.29     FROM HESSE     STATUS=OK           495 CALLS     2657 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.0223        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.9155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.827        13.927        .27921E-03   -1.5636    
   4  norm          1.4439        1.5490        .89667E-03   -1.5684    
   5  Prefactor     11.581        11.557        .29795E-03   -1.5640    
   6  Prefactor     .76510E-01    7.9612        .10487E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     299.42        12.087        .57800E-04   -1.5362    
   8  norm          .14728E-04    4.0287        .96310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        1.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     25.311        28.486        .19864E-03   -1.5607    
  11  norm          4.4863        4.1467        .47584E-03   -1.5666    
  12  Prefactor     12.592        11.822        .28206E-03   -1.5637    
  13  Prefactor     .58287E-08    10.774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1115        3.3997        .44430E-03   -1.5663    
  15  norm          .29455        .93974        .10293E-02   -1.5697    
  16  norm          1.4513        1.6721        .89324E-03   -1.5684    
  17  Prefactor      .0000        4.1138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13711E-06    37.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    6.4613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.869        11.162        .18005E-03   -1.5597    
  21  norm          4.8311        1.1702        .45743E-03   -1.5664    
  22  Prefactor     .28089E-07    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.4977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .50762        .15462        .10010       -1.1206    
  25  Prefactor     1.5191        .15700        .68149E-01   -.77007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.57656e-08
Minuit parameter uncertainties:
  1  4.54538e-06
  2  6.2042e-07
  3  13.9271
  4  1.54902
  5  11.5575
  6  1.56091
  7  12.0873
  8  0.0154057
  9  8.93736e-06
  10  28.4861
  11  4.14666
  12  11.8217
  13  0.000502082
  14  3.39974
  15  0.939744
  16  1.6721
  17  6.33793e-06
  18  0.00455255
  19  0.000219696
  20  11.162
  21  1.1702
  22  0.00151397
  23  2.91303e-06
  24  0.154755
  25  0.157045
Done.

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

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  0.000e+00  8.937e-06  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.519e+00  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  5.076e-01  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 219.740 37.175
Photon Flux Upper Limit: 3.68494793084e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31474749/likelihoodResults_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.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) = 17303.6074009
delta logL = 1.68009274633

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008957
delta logL = 1.68659788429

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17303.60     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      352 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37341        .23289        .47826E-04    .16845    
   2  alpha         5.0000        .57169        .71116E-01** at limit **
   3  Normalizat    .42292        .16509        .48312E-03   -.49887E-05
   4  Prefactor     1.5794        .18232        .29628E-03   -.21488E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.37341
  alpha      = 5
  Normalizat = 0.42292
  Prefactor  = 1.57944
 **********
 **   18 **HESSE 
 **********

 FCN=   17303.60     FROM HESSE     STATUS=OK            25 CALLS      377 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37341        .23048        .95652E-05   -1.5696    
   2  alpha         5.0000        .57044        .14223E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .42292        .16509        .19325E-04   -1.1613    
   4  Prefactor     1.5794        .18238        .11851E-04   -.75339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48232e-13
Minuit parameter uncertainties:
  1  0.230476
  2  8.16516e-08
  3  0.16528
  4  0.182454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17303.6008953
delta logL = 1.68659831054

Extracting fit parameters...

4FGL J1438.9+3710
   Spectrum: LogParabola
282         norm:  3.734e-01  2.305e-01  0.000e+00  1.000e+06 ( 1.000e-12)
283        alpha:  5.000e+00  8.165e-08  0.000e+00  5.000e+00 ( 1.000e+00)
284         beta:  1.080e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
285           Eb:  6.335e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  1.579e+00  1.825e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  4.229e-01  1.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 219.740 37.175
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.24e-08 +/- 4.45e-08
Energy Flux (Free Index): 9.87e-06 +/- 6.07e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31474749/cmap_HighResolution_803347201_803606401_4FGL_J1438.9+3710_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', energy_flux2='9.87e-06', dlogl='1.69e+00', photon_flux2='7.24e-08', job_status='DONE', time_completed='2026-07-12 15:59:29.854359', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.68e-08', energy_flux_error2='6.07e-06', EG='0.51', time_epoch_completed='1783897169.85', return_code='0', job_id='31474749', GAL2='1.58', EG2='0.42', return_code2='0', photon_flux_error2='4.45e-08', ts2='3.63', photon_index='2.31' WHERE bin_id='2176' AND source_name='4FGL J1438.9+3710' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 15:59:30 PDT 2026

