/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1410.1+0202_weekly_bin906
RA = 212.529, Dec = 2.0354
tmin = 786931201, tmax = 787536001
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='17379358', job_status='RUN', time_executed='2025-12-16 02:36:08.246719', time_epoch_executed='1765881368.25' WHERE source_name='4FGL J1410.1+0202' and cadence='weekly' and bin_id='906'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17379358

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17379358/ft1_4FGL_J1410.1+0202_weekly_bin906.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17379358/ft1_4FGL_J1410.1+0202_weekly_bin906.fits outfile=/lscratch/kocevski/17379358/ft1_filteredMKT_4FGL_J1410.1+0202_weekly_bin906.fits ra=212.529 dec=2.0354 rad=12.0 tmin=786931201.0 tmax=787536001.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.74
user 4.83
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.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/17379358/ft1_filteredMKT_4FGL_J1410.1+0202_weekly_bin906.fits evtable="EVENTS" outfile="/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.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.85
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 1497

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17379358/ltcube_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.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/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits
.....................!
real 18.54
user 17.55
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17379358/ltcube_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.fits outfile=/lscratch/kocevski/17379358/expmap_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.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/17379358/ltcube_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.fits
.....................!
real 66.07
user 61.45
sys 3.65

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J1410.1+0202 @ 212.529 2.0354

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits scfile=/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits outfile=/lscratch/kocevski/17379358/cmap_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.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=212.529 yref=2.0354 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.03
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits scfile=/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits outfile=/lscratch/kocevski/17379358/cmap_HighResolution_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.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=212.529 yref=2.0354 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.83
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17379358/Model_4FGL_J1410.1+0202_weekly_bin906.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/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits.....................!
real 39.84
user 38.18
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits', '/lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits', expMap='/lscratch/kocevski/17379358/expmap_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.fits', expCube='/lscratch/kocevski/17379358/ltcube_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17379358/Model_4FGL_J1410.1+0202_weekly_bin906.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1410.1+0202'

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  5.797e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17379358/ft1_filtered_4FGL_J1410.1+0202_weekly_bin906.fits
Spacecraft file(s): /lscratch/kocevski/17379358/ft2_4FGL_J1410.1+0202_weekly_bin906.fits
Exposure map: /lscratch/kocevski/17379358/expmap_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.fits
Exposure cube: /lscratch/kocevski/17379358/ltcube_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17379358/Model_4FGL_J1410.1+0202_weekly_bin906.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) = 16777.9048539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39746E-07   1.0000          .0000       .10000E+07
     2 'norm      '    15.819       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11028E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .21859E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1645       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16834E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .65110       1.0000          .0000       .10000E+07
     8 'Prefactor '    24.652       1.0000          .0000       .10000E+07
     9 'Prefactor '    48.566       1.0000          .0000       .10000E+07
    10 'norm      '    9.8624       1.0000          .0000       .10000E+07
    11 'norm      '    2.7412       1.0000          .0000       .10000E+07
    12 'norm      '    .27219E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25700E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .45630E-06   1.0000          .0000       .10000E+07
    15 'norm      '    4.3355       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.3946       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .73606       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16777.75     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1235 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .18646        .42673E-09** at limit **
   2  norm          15.780        14.329        .14432E-07   -.15239E-02
   3  Prefactor     .29499E-01    1.1598       -.34052E-07** at limit **
   4  Prefactor     .16653E-09    7.1919        .13945E-06** at limit **
   5  Prefactor     1.1651        1.2312       -.12718E-08    .21636E-02
   6  Prefactor     .55511E-10    4.4116        .92376E-07** at limit **
   7  norm          .65024        .96851        .59027E-08   -.88709E-02
   8  Prefactor     24.512        13.645       -.31817E-08   -.18425E-03
   9  Prefactor     47.432        20.904        .73953E-07    .16312E-02
  10  norm          9.8430        5.9194        .81529E-09    .68608E-04
  11  norm          2.7399        2.0174        .32039E-07   -.17770E-01
  12  norm          .99920E-09    13.303       -.32355E-06** at limit **
  13  Prefactor     .11102E-09    9.0450        .11351E-06** at limit **
  14  Prefactor      .0000        8.2879       -.15397E-08** at limit **
  15  norm          4.4163        5.6443        .67652E-09   -.18190E-03
  16  Normalizat    1.3952        .12234       -.87677E-07    .19487E-03
  17  Prefactor     .73601        .79481E-01    .32232E-07    .15266E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 15.7795
  Prefactor  = 0.0294994
  Prefactor  = 1.66533e-10
  Prefactor  = 1.16507
  Prefactor  = 5.55112e-11
  norm       = 0.650236
  Prefactor  = 24.5122
  Prefactor  = 47.4316
  norm       = 9.84302
  norm       = 2.73994
  norm       = 9.99201e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 4.4163
  Normalizat = 1.39517
  Prefactor  = 0.736014
 **********
 **   18 **HESSE 
 **********

 FCN=   16777.75     FROM HESSE     STATUS=OK           231 CALLS     1466 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .18689        .54619E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.780        14.480        .50311E-04   -1.5629    
   3  Prefactor     .29499E-01    1.4879        .39438E-02   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .16653E-09    7.2718        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1651        1.2435        .14414E-04   -1.5686    
   6  Prefactor     .55511E-10    4.4554        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .65024        .97413        .15292E-04   -1.5692    
   8  Prefactor     24.512        13.673        .80581E-05   -1.5609    
   9  Prefactor     47.432        20.981        .57402E-05   -1.5570    
  10  norm          9.8430        5.9231        .12754E-04   -1.5645    
  11  norm          2.7399        2.7833        .10557E-03   -1.5675    
  12  norm          .99920E-09    13.712        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-09    9.0959        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        8.2901        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4163        5.6399        .19341E-04   -1.5666    
  16  Normalizat    1.3952        .14794        .24978E-03   -.80768    
  17  Prefactor     .73601        .96042E-01    .21662E-03   -1.0213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92483e-07
Minuit parameter uncertainties:
  1  3.8546e-08
  2  14.4796
  3  0.419015
  4  7.4474e-05
  5  1.24349
  6  3.83999e-05
  7  0.974128
  8  13.6733
  9  20.9812
  10  5.92312
  11  2.78326
  12  0.000234871
  13  6.81067e-05
  14  8.22527e-07
  15  5.6399
  16  0.147986
  17  0.0960638
Done.

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

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  2.451e+01  1.367e+01  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.360e-01  9.606e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.395e+00  1.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.91
Ra Dec: 212.529 2.035
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 4.34e-08 +/- 2.42e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 8.95e-06

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) = 16777.428188
delta logL = 0.323654801705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16777.4230925
delta logL = 0.328750342887

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   16777.42     FROM MIGRAD    STATUS=FAILED        99 CALLS      293 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.384        15.395        .93349E-05    .48715E-05
   2  Index         2.6776        .52605        .72269E-02    .12469E-02
   3  Normalizat    1.3737        .14963        .25138E-03   -.12120E-04
   4  Prefactor     .74502        .96375E-01    .21543E-03   -.14565E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   16777.42     FROM SIMPLEX   STATUS=UNCHANGED     69 CALLS      362 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.384        15.395        .13234E-04   -1.5622    
   2  Index         2.6776        .52605        .49600E-03   -.48306    
   3  Normalizat    1.3737        .14963        .20121E-03   -.81392    
   4  Prefactor     .74502        .96375E-01    .17876E-03   -1.0179    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16777.42     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      389 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.384        14.032        .37340E-06    .97674E-05
   2  Index         2.6776        .47900        .14454E-02    .48125E-04
   3  Normalizat    1.3737        .14947        .10055E-04   -.11759E-04
   4  Prefactor     .74502        .96301E-01    .86170E-05   -.14777E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3836
  Index      = 2.67757
  Normalizat = 1.3737
  Prefactor  = 0.745016
 **********
 **   18 **HESSE 
 **********

 FCN=   16777.42     FROM HESSE     STATUS=OK            25 CALLS      414 TOTAL
                     EDM=   .14E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.384        13.821        .37246E-06   -1.5622    
   2  Index         2.6776        .47172        .28908E-03   -.48306    
   3  Normalizat    1.3737        .14949        .20110E-05   -.81392    
   4  Prefactor     .74502        .96354E-01    .17234E-05   -1.0179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38148e-13
Minuit parameter uncertainties:
  1  13.8213
  2  0.47262
  3  0.14954
  4  0.0963761
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) = 16777.4230923
delta logL = 0.328750537788

Extracting fit parameters...

4FGL J1410.1+0202
   Spectrum: PowerLaw
290    Prefactor:  1.838e+01  1.382e+01  0.000e+00  1.000e+06 ( 1.000e-13)
291        Index:  2.678e+00  4.726e-01  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  1.053e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  7.450e-01  9.638e-02  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  1.374e+00  1.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.59
Ra Dec: 212.529 2.035
Photon Index (Free Index): 2.68 +/- 0.47
Photon Flux (Free Index): 5.99e-08 +/- 3.50e-08
Energy Flux (Free Index): 1.47e-05 +/- 7.68e-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/17379358/cmap_HighResolution_786931201_787536001_4FGL_J1410.1+0202_weekly_bin906.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.34e-08', energy_flux2='1.47e-05', photon_flux_error='2.42e-08', dlogl='3.29e-01', energy_flux='1.61e-05', photon_flux2='5.99e-08', job_status='DONE', time_completed='2025-12-16 02:46:29.945051', photon_index_error2='0.47', photon_index2='2.68', ts='4.91', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='7.68e-06', EG='1.40', time_epoch_completed='1765881989.95', return_code='0', job_id='17379358', GAL2='0.75', EG2='1.37', return_code2='0', energy_flux_error='8.95e-06', photon_flux_error2='3.50e-08', ts2='5.59', photon_index='2.31' WHERE bin_id='906' AND source_name='4FGL J1410.1+0202' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:46:30 PST 2025

