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

 FCN=   30941.72     FROM HESSE     STATUS=OK           404 CALLS     1841 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.924        32.513        .24167E-03   -1.5621    
   2  norm          3.5508        .82378        .53621E-03   -1.5670    
   3  Prefactor     1.7357        1.4859        .79606E-03   -1.5682    
   4  norm           .0000        2.9419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.0472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63674        19.140        .62660E-03   -1.5692    
   7  norm          .65157        1.1370        .64722E-03   -1.5692    
   8  Prefactor     5.3019        7.6297        .43863E-03   -1.5662    
   9  Prefactor     13.530        9.4838        .27154E-03   -1.5634    
  10  Prefactor     158.07        5.8582        .79540E-04   -1.5457    
  11  norm           .0000        2.7418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .28655        1.0223        .53164E-02   -1.5697    
  13  Prefactor     24.841        14.464        .20017E-03   -1.5608    
  14  norm          2.6040        2.3019        .63247E-03   -1.5676    
  15  Prefactor     6.8977        6.4497        .38112E-03   -1.5655    
  16  Prefactor      .0000        4.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3003        .56919        .96951E-03   -1.5685    
  18  Prefactor     6.8907        4.4151        .38316E-03   -1.5655    
  19  Prefactor     35.782        21.537        .16612E-03   -1.5588    
  20  Prefactor     5.5464        6.2225        .42659E-03   -1.5661    
  21  Normalizat    .86622        .88029E-01    .44474E-01   -.97657    
  22  Prefactor     .99363        .96166E-01    .69111E-01   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09429e-07
Minuit parameter uncertainties:
  1  32.5136
  2  0.823784
  3  1.48594
  4  1.32662e-06
  5  1.12144e-06
  6  6.9821
  7  1.13703
  8  7.62967
  9  9.48385
  10  5.85822
  11  6.30314e-06
  12  1.02229
  13  14.4641
  14  2.30187
  15  6.44969
  16  1.47611e-05
  17  0.569188
  18  4.41513
  19  21.537
  20  6.22246
  21  0.0880436
  22  0.0961825
e GAL_V02
Working on...
/lscratch/kocevski/31150929/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits.....................!
real 88.95
user 85.98
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31150929/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits', '/lscratch/kocevski/31150929/ft2_4FGL_J1423.1+3738_weekly_bin932.fits', expMap='/lscratch/kocevski/31150929/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits', expCube='/lscratch/kocevski/31150929/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31150929/Model_4FGL_J1423.1+3738_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1423.1+3738'

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31150929/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31150929/ft2_4FGL_J1423.1+3738_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31150929/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31150929/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31150929/Model_4FGL_J1423.1+3738_weekly_bin932.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 30941.9134964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.137       1.0000          .0000       .10000E+07
     2 'norm      '    3.5499       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7364       1.0000          .0000       .10000E+07
     4 'norm      '    .29780E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22315E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .67622       1.0000          .0000       .10000E+07
     7 'norm      '    .65166       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.2457       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.580       1.0000          .0000       .10000E+07
    10 'Prefactor '    158.09       1.0000          .0000       .10000E+07
    11 'norm      '    .32501E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .28749       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.967       1.0000          .0000       .10000E+07
    14 'norm      '    2.5999       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.9211       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26867E-07   1.0000          .0000       .10000E+07
    17 'norm      '    1.2989       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.8481       1.0000          .0000       .10000E+07
    19 'Prefactor '    36.244       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5407       1.0000          .0000       .10000E+07
    21 'Normalizat'    .86665       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1437 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.924        32.570       -.35168E-06   -.54474E-03
   2  norm          3.5508        .82312        .71067E-08   -.70331E-03
   3  Prefactor     1.7357        1.4766       -.18595E-07    .34130E-03
   4  norm           .0000        2.9454        .84408E-07** at limit **
   5  Prefactor      .0000        1.0568        .31725E-07** at limit **
   6  Prefactor     .63674        .98719       -.17811E-07    .80086E-02
   7  norm          .65157        1.1210       -.42294E-08    .57983E-04
   8  Prefactor     5.3019        7.5008       -.54225E-07   -.55444E-04
   9  Prefactor     13.530        9.3354       -.25784E-07    .15272E-02
  10  Prefactor     158.07        5.8469       -.14448E-08    .26967E-02
  11  norm           .0000        2.7451        .15154E-06** at limit **
  12  norm          .28655        3.1570       -.10946E-07    .66007E-04
  13  Prefactor     24.841        14.458       -.90356E-08   -.11363E-02
  14  norm          2.6040        2.3035        .16828E-07   -.16574E-03
  15  Prefactor     6.8977        6.4082       -.44295E-07    .53149E-03
  16  Prefactor      .0000        4.8501        .92925E-07** at limit **
  17  norm          1.3003        .56406       -.71350E-08    .54455E-03
  18  Prefactor     6.8907        4.4056       -.18832E-07    .91256E-04
  19  Prefactor     35.782        21.500        .66212E-07   -.13091E-02
  20  Prefactor     5.5464        6.2090        .33049E-07    .47757E-03
  21  Normalizat    .86622        .10256       -.68465E-06    .15842E-04
  22  Prefactor     .99363        .11475        .10068E-05   -.26269E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.9239
  norm       = 3.55082
  Prefactor  = 1.73573
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.636743
  norm       = 0.651567
  Prefactor  = 5.3019
  Prefactor  = 13.5304
  Prefactor  = 158.068
  norm       = 0
  norm       = 0.286546
  Prefactor  = 24.8406
  norm       = 2.60405
  Prefactor  = 6.89766
  Prefactor  = 0
  norm       = 1.30032
  Prefactor  = 6.89071
  Prefactor  = 35.7822
  Prefactor  = 5.54642
  Normalizat = 0.866222
  Prefactor  = 0.993627
/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=   30941.72     FROM HESSE     STATUS=OK           404 CALLS     1841 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.924        32.513        .24167E-03   -1.5621    
   2  norm          3.5508        .82378        .53621E-03   -1.5670    
   3  Prefactor     1.7357        1.4859        .79606E-03   -1.5682    
   4  norm           .0000        2.9419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.0472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63674        19.140        .62660E-03   -1.5692    
   7  norm          .65157        1.1370        .64722E-03   -1.5692    
   8  Prefactor     5.3019        7.6297        .43863E-03   -1.5662    
   9  Prefactor     13.530        9.4838        .27154E-03   -1.5634    
  10  Prefactor     158.07        5.8582        .79540E-04   -1.5457    
  11  norm           .0000        2.7418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .28655        1.0223        .53164E-02   -1.5697    
  13  Prefactor     24.841        14.464        .20017E-03   -1.5608    
  14  norm          2.6040        2.3019        .63247E-03   -1.5676    
  15  Prefactor     6.8977        6.4497        .38112E-03   -1.5655    
  16  Prefactor      .0000        4.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3003        .56919        .96951E-03   -1.5685    
  18  Prefactor     6.8907        4.4151        .38316E-03   -1.5655    
  19  Prefactor     35.782        21.537        .16612E-03   -1.5588    
  20  Prefactor     5.5464        6.2225        .42659E-03   -1.5661    
  21  Normalizat    .86622        .88029E-01    .44474E-01   -.97657    
  22  Prefactor     .99363        .96166E-01    .69111E-01   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09429e-07
Minuit parameter uncertainties:
  1  32.5136
  2  0.823784
  3  1.48594
  4  1.32662e-06
  5  1.12144e-06
  6  6.9821
  7  1.13703
  8  7.62967
  9  9.48385
  10  5.85822
  11  6.30314e-06
  12  1.02229
  13  14.4641
  14  2.30187
  15  6.44969
  16  1.47611e-05
  17  0.569188
  18  4.41513
  19  21.537
  20  6.22246
  21  0.0880436
  22  0.0961825
number of points = 17485
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1423.1+3738_weekly_bin932
RA = 215.792, Dec = 37.6452
tmin = 802656001, tmax = 803260801
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='31151408', job_status='RUN', time_executed='2026-07-09 14:26:07.452192', time_epoch_executed='1783632367.45' WHERE source_name='4FGL J1423.1+3738' and cadence='weekly' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31151408

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31151408/ft1_4FGL_J1423.1+3738_weekly_bin932.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31151408/ft1_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151408/ft1_filteredMKT_4FGL_J1423.1+3738_weekly_bin932.fits ra=215.792 dec=37.6452 rad=12.0 tmin=802656001.0 tmax=803260801.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 5.12
user 4.36
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.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/31151408/ft1_filteredMKT_4FGL_J1423.1+3738_weekly_bin932.fits evtable="EVENTS" outfile="/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.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.75
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 3053

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31151273/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits
.....................!
real 19.00
user 18.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31151273/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151273/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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/31151273/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
.....................!
real 70.79
user 65.76
sys 4.24

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

Setting source of interest to:
4FGL J1423.1+3738 @ 215.792 37.6452

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits scfile=/lscratch/kocevski/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151273/cmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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=215.792 yref=37.6452 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits scfile=/lscratch/kocevski/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151273/cmap_HighResolution_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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=215.792 yref=37.6452 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.86
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31151273/Model_4FGL_J1423.1+3738_weekly_bin932.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 sourcDone.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  6.303e-06  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  9.618e-02  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  8.804e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 1.18996403745e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31150859/likelihoodResults_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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) = 30941.7239678
delta logL = -7.61769915698e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 30941.7238917
delta logL = -2.66554707196e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      229 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.2590       -.20141E-06** at limit **
   2  alpha         2.7268        1.9040        .26208E-04     .0000    
   3  Normalizat    .86622        .97719E-01   -.73616E-05   -.15664E-03
   4  Prefactor     .99363        .11417        .11151E-04   -.11609E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.72675
  Normalizat = 0.866222
  Prefactor  = 0.993627
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30941.72     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.2636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4825        1.4771        .26208E-04    .90826E-01
   3  Normalizat    .86622        1.2030       -.73616E-05   -.97657    
   4  Prefactor     .99363        1.3331        .11151E-04   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.76026e-12
Minuit parameter uncertainties:
  1  5.53115e-07
  2  1.58127
  3  1.24358
  4  1.38168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 30941.7238917
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  5.531e-07  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.727e+00  1.581e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  1.382e+00  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  1.244e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 215.792 37.645

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/31150859/cmap_HighResolution_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.19e-08', time_completed='2026-07-09 14:27:58.867884', job_id='31150859', GAL2='0.99', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1783632478.87', return_code2='101', ts='0.00', return_code='0', GAL='0.99', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='932' AND source_name='4FGL J1423.1+3738' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 14:27:59 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  6.303e-06  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  9.618e-02  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  8.804e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 1.18996403745e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31150929/likelihoodResults_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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) = 30941.7239678
delta logL = -7.61769915698e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 30941.7238917
delta logL = -2.66554707196e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      229 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.2590       -.20141E-06** at limit **
   2  alpha         2.7268        1.9040        .26208E-04     .0000    
   3  Normalizat    .86622        .97719E-01   -.73616E-05   -.15664E-03
   4  Prefactor     .99363        .11417        .11151E-04   -.11609E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.72675
  Normalizat = 0.866222
  Prefactor  = 0.993627
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30941.72     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.2636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4825        1.4771        .26208E-04    .90826E-01
   3  Normalizat    .86622        1.2030       -.73616E-05   -.97657    
   4  Prefactor     .99363        1.3331        .11151E-04   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.76026e-12
Minuit parameter uncertainties:
  1  5.53115e-07
  2  1.58127
  3  1.24358
  4  1.38168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 30941.7238917
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  5.531e-07  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.727e+00  1.581e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  1.382e+00  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  1.244e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 215.792 37.645

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/31150929/cmap_HighResolution_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.19e-08', time_completed='2026-07-09 14:29:27.183155', job_id='31150929', GAL2='0.99', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1783632567.18', return_code2='101', ts='0.00', return_code='0', GAL='0.99', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='932' AND source_name='4FGL J1423.1+3738' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 14:29:27 PDT 2026

 outfile=/lscratch/kocevski/31151408/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits
.....................!
real 20.56
user 19.60
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31151408/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151408/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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/31151408/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
.....................!
real 75.28
user 69.79
sys 4.42

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

Setting source of interest to:
4FGL J1423.1+3738 @ 215.792 37.6452

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits scfile=/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151408/cmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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=215.792 yref=37.6452 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.75
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits scfile=/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits outfile=/lscratch/kocevski/31151408/cmap_HighResolution_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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=215.792 yref=37.6452 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.78
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits evtable="EVENTS" scfile=/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31151408/Model_4FGL_J1423.1+3738_weekly_bin932.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/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits.....................!
real 83.26
user 80.66
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits', '/lscratch/kocevski/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits', expMap='/lscratch/kocevski/31151273/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits', expCube='/lscratch/kocevski/31151273/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31151273/Model_4FGL_J1423.1+3738_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1423.1+3738'

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31151273/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31151273/ft2_4FGL_J1423.1+3738_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31151273/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31151273/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31151273/Model_4FGL_J1423.1+3738_weekly_bin932.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 30941.9134964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.137       1.0000          .0000       .10000E+07
     2 'norm      '    3.5499       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7364       1.0000          .0000       .10000E+07
     4 'norm      '    .29780E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22315E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .67622       1.0000          .0000       .10000E+07
     7 'norm      '    .65166       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.2457       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.580       1.0000          .0000       .10000E+07
    10 'Prefactor '    158.09       1.0000          .0000       .10000E+07
    11 'norm      '    .32501E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .28749       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.967       1.0000          .0000       .10000E+07
    14 'norm      '    2.5999       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.9211       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26867E-07   1.0000          .0000       .10000E+07
    17 'norm      '    1.2989       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.8481       1.0000          .0000       .10000E+07
    19 'Prefactor '    36.244       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5407       1.0000          .0000       .10000E+07
    21 'Normalizat'    .86665       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1437 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.924        32.570       -.35168E-06   -.54474E-03
   2  norm          3.5508        .82312        .71067E-08   -.70331E-03
   3  Prefactor     1.7357        1.4766       -.18595E-07    .34130E-03
   4  norm           .0000        2.9454        .84408E-07** at limit **
   5  Prefactor      .0000        1.0568        .31725E-07** at limit **
   6  Prefactor     .63674        .98719       -.17811E-07    .80086E-02
   7  norm          .65157        1.1210       -.42294E-08    .57983E-04
   8  Prefactor     5.3019        7.5008       -.54225E-07   -.55444E-04
   9  Prefactor     13.530        9.3354       -.25784E-07    .15272E-02
  10  Prefactor     158.07        5.8469       -.14448E-08    .26967E-02
  11  norm           .0000        2.7451        .15154E-06** at limit **
  12  norm          .28655        3.1570       -.10946E-07    .66007E-04
  13  Prefactor     24.841        14.458       -.90356E-08   -.11363E-02
  14  norm          2.6040        2.3035        .16828E-07   -.16574E-03
  15  Prefactor     6.8977        6.4082       -.44295E-07    .53149E-03
  16  Prefactor      .0000        4.8501        .92925E-07** at limit **
  17  norm          1.3003        .56406       -.71350E-08    .54455E-03
  18  Prefactor     6.8907        4.4056       -.18832E-07    .91256E-04
  19  Prefactor     35.782        21.500        .66212E-07   -.13091E-02
  20  Prefactor     5.5464        6.2090        .33049E-07    .47757E-03
  21  Normalizat    .86622        .10256       -.68465E-06    .15842E-04
  22  Prefactor     .99363        .11475        .10068E-05   -.26269E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.9239
  norm       = 3.55082
  Prefactor  = 1.73573
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.636743
  norm       = 0.651567
  Prefactor  = 5.3019
  Prefactor  = 13.5304
  Prefactor  = 158.068
  norm       = 0
  norm       = 0.286546
  Prefactor  = 24.8406
  norm       = 2.60405
  Prefactor  = 6.89766
  Prefactor  = 0
  norm       = 1.30032
  Prefactor  = 6.89071
  Prefactor  = 35.7822
  Prefactor  = 5.54642
  Normalizat = 0.866222
  Prefactor  = 0.993627
 **********
 **   18 **HESSE 
 **********

 FCN=   30941.72     FROM HESSE     STATUS=OK           404 CALLS     1841 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.924        32.513        .24167E-03   -1.5621    
   2  norm          3.5508        .82378        .53621E-03   -1.5670    
   3  Prefactor     1.7357        1.4859        .79606E-03   -1.5682    
   4  norm           .0000        2.9419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.0472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63674        19.140        .62660E-03   -1.5692    
   7  norm          .65157        1.1370        .64722E-03   -1.5692    
   8  Prefactor     5.3019        7.6297        .43863E-03   -1.5662    
   9  Prefactor     13.530        9.4838        .27154E-03   -1.5634    
  10  Prefactor     158.07        5.8582        .79540E-04   -1.5457    
  11  norm           .0000        2.7418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .28655        1.0223        .53164E-02   -1.5697    
  13  Prefactor     24.841        14.464        .20017E-03   -1.5608    
  14  norm          2.6040        2.3019        .63247E-03   -1.5676    
  15  Prefactor     6.8977        6.4497        .38112E-03   -1.5655    
  16  Prefactor      .0000        4.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3003        .56919        .96951E-03   -1.5685    
  18  Prefactor     6.8907        4.4151        .38316E-03   -1.5655    
  19  Prefactor     35.782        21.537        .16612E-03   -1.5588    
  20  Prefactor     5.5464        6.2225        .42659E-03   -1.5661    
  21  Normalizat    .86622        .88029E-01    .44474E-01   -.97657    
  22  Prefactor     .99363        .96166E-01    .69111E-01   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09429e-07
Minuit parameter uncertainties:
  1  32.5136
  2  0.823784
  3  1.48594
  4  1.32662e-06
  5  1.12144e-06
  6  6.9821
  7  1.13703
  8  7.62967
  9  9.48385
  10  5.85822
  11  6.30314e-06
  12  1.02229
  13  14.4641
  14  2.30187
  15  6.44969
  16  1.47611e-05
  17  0.569188
  18  4.41513
  19  21.537
  20  6.22246
  21  0.0880436
  22  0.0961825
e GAL_V02
Working on...
/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits.....................!
real 85.18
user 82.78
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits', '/lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits', expMap='/lscratch/kocevski/31151408/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits', expCube='/lscratch/kocevski/31151408/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31151408/Model_4FGL_J1423.1+3738_weekly_bin932.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1423.1+3738'

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  3.465e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31151408/ft1_filtered_4FGL_J1423.1+3738_weekly_bin932.fits
Spacecraft file(s): /lscratch/kocevski/31151408/ft2_4FGL_J1423.1+3738_weekly_bin932.fits
Exposure map: /lscratch/kocevski/31151408/expmap_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
Exposure cube: /lscratch/kocevski/31151408/ltcube_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31151408/Model_4FGL_J1423.1+3738_weekly_bin932.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 30941.9134964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.137       1.0000          .0000       .10000E+07
     2 'norm      '    3.5499       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.7364       1.0000          .0000       .10000E+07
     4 'norm      '    .29780E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22315E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .67622       1.0000          .0000       .10000E+07
     7 'norm      '    .65166       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.2457       1.0000          .0000       .10000E+07
     9 'Prefactor '    13.580       1.0000          .0000       .10000E+07
    10 'Prefactor '    158.09       1.0000          .0000       .10000E+07
    11 'norm      '    .32501E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .28749       1.0000          .0000       .10000E+07
    13 'Prefactor '    24.967       1.0000          .0000       .10000E+07
    14 'norm      '    2.5999       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.9211       1.0000          .0000       .10000E+07
    16 'Prefactor '    .26867E-07   1.0000          .0000       .10000E+07
    17 'norm      '    1.2989       1.0000          .0000       .10000E+07
    18 'Prefactor '    6.8481       1.0000          .0000       .10000E+07
    19 'Prefactor '    36.244       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5407       1.0000          .0000       .10000E+07
    21 'Normalizat'    .86665       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1437 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.924        32.570       -.35168E-06   -.54474E-03
   2  norm          3.5508        .82312        .71067E-08   -.70331E-03
   3  Prefactor     1.7357        1.4766       -.18595E-07    .34130E-03
   4  norm           .0000        2.9454        .84408E-07** at limit **
   5  Prefactor      .0000        1.0568        .31725E-07** at limit **
   6  Prefactor     .63674        .98719       -.17811E-07    .80086E-02
   7  norm          .65157        1.1210       -.42294E-08    .57983E-04
   8  Prefactor     5.3019        7.5008       -.54225E-07   -.55444E-04
   9  Prefactor     13.530        9.3354       -.25784E-07    .15272E-02
  10  Prefactor     158.07        5.8469       -.14448E-08    .26967E-02
  11  norm           .0000        2.7451        .15154E-06** at limit **
  12  norm          .28655        3.1570       -.10946E-07    .66007E-04
  13  Prefactor     24.841        14.458       -.90356E-08   -.11363E-02
  14  norm          2.6040        2.3035        .16828E-07   -.16574E-03
  15  Prefactor     6.8977        6.4082       -.44295E-07    .53149E-03
  16  Prefactor      .0000        4.8501        .92925E-07** at limit **
  17  norm          1.3003        .56406       -.71350E-08    .54455E-03
  18  Prefactor     6.8907        4.4056       -.18832E-07    .91256E-04
  19  Prefactor     35.782        21.500        .66212E-07   -.13091E-02
  20  Prefactor     5.5464        6.2090        .33049E-07    .47757E-03
  21  Normalizat    .86622        .10256       -.68465E-06    .15842E-04
  22  Prefactor     .99363        .11475        .10068E-05   -.26269E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.9239
  norm       = 3.55082
  Prefactor  = 1.73573
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.636743
  norm       = 0.651567
  Prefactor  = 5.3019
  Prefactor  = 13.5304
  Prefactor  = 158.068
  norm       = 0
  norm       = 0.286546
  Prefactor  = 24.8406
  norm       = 2.60405
  Prefactor  = 6.89766
  Prefactor  = 0
  norm       = 1.30032
  Prefactor  = 6.89071
  Prefactor  = 35.7822
  Prefactor  = 5.54642
  Normalizat = 0.866222
  Prefactor  = 0.993627
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  6.303e-06  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  9.618e-02  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  8.804e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 1.18996403745e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31151273/likelihoodResults_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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) = 30941.7239678
delta logL = -7.61769915698e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 30941.7238917
delta logL = -2.66554707196e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      229 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.2590       -.20141E-06** at limit **
   2  alpha         2.7268        1.9040        .26208E-04     .0000    
   3  Normalizat    .86622        .97719E-01   -.73616E-05   -.15664E-03
   4  Prefactor     .99363        .11417        .11151E-04   -.11609E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.72675
  Normalizat = 0.866222
  Prefactor  = 0.993627
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30941.72     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.2636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4825        1.4771        .26208E-04    .90826E-01
   3  Normalizat    .86622        1.2030       -.73616E-05   -.97657    
   4  Prefactor     .99363        1.3331        .11151E-04   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.76026e-12
Minuit parameter uncertainties:
  1  5.53115e-07
  2  1.58127
  3  1.24358
  4  1.38168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 30941.7238917
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  5.531e-07  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.727e+00  1.581e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  1.382e+00  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  1.244e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 215.792 37.645

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/31151273/cmap_HighResolution_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.19e-08', time_completed='2026-07-09 14:36:12.346610', job_id='31151273', GAL2='0.99', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1783632972.35', return_code2='101', ts='0.00', return_code='0', GAL='0.99', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='932' AND source_name='4FGL J1423.1+3738' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 14:36:12 PDT 2026

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

 FCN=   30941.72     FROM HESSE     STATUS=OK           404 CALLS     1841 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.924        32.513        .24167E-03   -1.5621    
   2  norm          3.5508        .82378        .53621E-03   -1.5670    
   3  Prefactor     1.7357        1.4859        .79606E-03   -1.5682    
   4  norm           .0000        2.9419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.0472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .63674        19.140        .62660E-03   -1.5692    
   7  norm          .65157        1.1370        .64722E-03   -1.5692    
   8  Prefactor     5.3019        7.6297        .43863E-03   -1.5662    
   9  Prefactor     13.530        9.4838        .27154E-03   -1.5634    
  10  Prefactor     158.07        5.8582        .79540E-04   -1.5457    
  11  norm           .0000        2.7418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .28655        1.0223        .53164E-02   -1.5697    
  13  Prefactor     24.841        14.464        .20017E-03   -1.5608    
  14  norm          2.6040        2.3019        .63247E-03   -1.5676    
  15  Prefactor     6.8977        6.4497        .38112E-03   -1.5655    
  16  Prefactor      .0000        4.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3003        .56919        .96951E-03   -1.5685    
  18  Prefactor     6.8907        4.4151        .38316E-03   -1.5655    
  19  Prefactor     35.782        21.537        .16612E-03   -1.5588    
  20  Prefactor     5.5464        6.2225        .42659E-03   -1.5661    
  21  Normalizat    .86622        .88029E-01    .44474E-01   -.97657    
  22  Prefactor     .99363        .96166E-01    .69111E-01   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09429e-07
Minuit parameter uncertainties:
  1  32.5136
  2  0.823784
  3  1.48594
  4  1.32662e-06
  5  1.12144e-06
  6  6.9821
  7  1.13703
  8  7.62967
  9  9.48385
  10  5.85822
  11  6.30314e-06
  12  1.02229
  13  14.4641
  14  2.30187
  15  6.44969
  16  1.47611e-05
  17  0.569188
  18  4.41513
  19  21.537
  20  6.22246
  21  0.0880436
  22  0.0961825
Done.

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

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  6.303e-06  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  1.928e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  9.618e-02  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  8.804e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 215.792 37.645
Photon Flux Upper Limit: 1.18996403745e-08 ph cm-2 s-1
Energy Flux Upper Limit: None

Saving results to:
/lscratch/kocevski/31151408/likelihoodResults_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.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) = 30941.7239678
delta logL = -7.61769915698e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 30941.7238917
delta logL = -2.66554707196e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   30941.72     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      229 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.2590       -.20141E-06** at limit **
   2  alpha         2.7268        1.9040        .26208E-04     .0000    
   3  Normalizat    .86622        .97719E-01   -.73616E-05   -.15664E-03
   4  Prefactor     .99363        .11417        .11151E-04   -.11609E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.72675
  Normalizat = 0.866222
  Prefactor  = 0.993627
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30941.72     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .38E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.2636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4825        1.4771        .26208E-04    .90826E-01
   3  Normalizat    .86622        1.2030       -.73616E-05   -.97657    
   4  Prefactor     .99363        1.3331        .11151E-04   -.92942    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.76026e-12
Minuit parameter uncertainties:
  1  5.53115e-07
  2  1.58127
  3  1.24358
  4  1.38168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 30941.7238917
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1423.1+3738
   Spectrum: LogParabola
295         norm:  0.000e+00  5.531e-07  0.000e+00  1.000e+06 ( 1.000e-13)
296        alpha:  2.727e+00  1.581e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  1.446e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  9.936e-01  1.382e+00  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  8.662e-01  1.244e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 215.792 37.645

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/31151408/cmap_HighResolution_802656001_803260801_4FGL_J1423.1+3738_weekly_bin932.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET job_status='DONE', comment='SUCCESS', photon_flux_upper_limit='1.19e-08', time_completed='2026-07-09 14:39:28.754995', job_id='31151408', GAL2='0.99', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1783633168.76', return_code2='101', ts='0.00', return_code='0', GAL='0.99', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.93' WHERE bin_id='932' AND source_name='4FGL J1423.1+3738' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul  9 14:39:28 PDT 2026

