/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 = 17524
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1303.0+2434_weekly_bin907
RA = 195.757, Dec = 24.5821
tmin = 787536001, tmax = 788140801
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='17774209', job_status='RUN', time_executed='2025-12-23 01:39:10.804680', time_epoch_executed='1766482750.8' WHERE source_name='4FGL J1303.0+2434' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17774209

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17774209/ft1_4FGL_J1303.0+2434_weekly_bin907.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17774209/ft1_4FGL_J1303.0+2434_weekly_bin907.fits outfile=/lscratch/kocevski/17774209/ft1_filteredMKT_4FGL_J1303.0+2434_weekly_bin907.fits ra=195.757 dec=24.5821 rad=12.0 tmin=787536001.0 tmax=788140801.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.25
user 4.58
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.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/17774209/ft1_filteredMKT_4FGL_J1303.0+2434_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.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.71
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1462

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17774209/ltcube_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.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/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits
.....................!
real 22.01
user 21.19
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17774209/ltcube_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.fits outfile=/lscratch/kocevski/17774209/expmap_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.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/17774209/ltcube_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.fits
.....................!
real 81.16
user 75.57
sys 4.72

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

Setting source of interest to:
4FGL J1303.0+2434 @ 195.757 24.5821

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits scfile=/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits outfile=/lscratch/kocevski/17774209/cmap_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.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=195.757 yref=24.5821 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits scfile=/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits outfile=/lscratch/kocevski/17774209/cmap_HighResolution_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.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=195.757 yref=24.5821 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.52
user 0.28
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17774209/Model_4FGL_J1303.0+2434_weekly_bin907.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/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits.....................!
real 54.40
user 52.85
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits', '/lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits', expMap='/lscratch/kocevski/17774209/expmap_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.fits', expCube='/lscratch/kocevski/17774209/ltcube_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17774209/Model_4FGL_J1303.0+2434_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1303.0+2434'

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17774209/ft1_filtered_4FGL_J1303.0+2434_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17774209/ft2_4FGL_J1303.0+2434_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17774209/expmap_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17774209/ltcube_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17774209/Model_4FGL_J1303.0+2434_weekly_bin907.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) = 16015.4194861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9290       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.2414       1.0000          .0000       .10000E+07
     3 'Prefactor '    .90357       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8817       1.0000          .0000       .10000E+07
     5 'norm      '    .85693E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .71854       1.0000          .0000       .10000E+07
     7 'Prefactor '    .56153E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .78124       1.0000          .0000       .10000E+07
     9 'norm      '    .47630E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15442E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .15329E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.9477       1.0000          .0000       .10000E+07
    13 'norm      '    .56007E-04   1.0000          .0000       .10000E+07
    14 'norm      '    26.043       1.0000          .0000       .10000E+07
    15 'norm      '    .28972E-05   1.0000          .0000       .10000E+07
    16 'norm      '    11.000       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35766E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    7.1757       1.0000          .0000       .10000E+07
    19 'norm      '    19.097       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14367E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.7357       1.0000          .0000       .10000E+07
    22 'norm      '    9.6944       1.0000          .0000       .10000E+07
    23 'Prefactor '    .26963E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    .12546E-06   1.0000          .0000       .10000E+07
    25 'Normalizat'    .97812       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16015.29     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     1806 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9288        1.8699       -.25648E-08   -.30280E-02
   2  Prefactor     1.2411        .98771       -.44849E-08   -.30131E-02
   3  Prefactor     .90365        .88412       -.25318E-07   -.93421E-02
   4  Prefactor     1.8726        2.5538        .67438E-07    .48415E-02
   5  norm          .85607E-01    .99672E-01   -.58810E-08** at limit **
   6  norm          .72019        1.8764       -.48259E-07   -.24000E-02
   7  Prefactor      .0000        1.3848       -.27181E-07** at limit **
   8  Prefactor     .78126        2.1820        .11007E-06    .44062E-02
   9  norm          .37203E-01    16.932        .22391E-06** at limit **
  10  Prefactor     .11102E-09    8.3508        .19702E-07** at limit **
  11  Prefactor     .22204E-08    3.1217       -.41381E-07** at limit **
  12  norm          3.9439        2.2078       -.20434E-08   -.12100E-02
  13  norm          .38858E-09    2.1973        .40298E-07** at limit **
  14  norm          26.047        3.5747       -.15911E-07    .25595E-02
  15  norm          .36748E-07    12.539        .18889E-06** at limit **
  16  norm          10.999        1.1190       -.63852E-09    .14176E-01
  17  Prefactor     .11102E-09    .64323        .52493E-07** at limit **
  18  Prefactor     7.2203        7.3069        .52112E-07   -.45421E-01
  19  norm          19.089        4.0016       -.81742E-08    .12130    
  20  Prefactor     .12657E-07    13.614        .24683E-06** at limit **
  21  Prefactor     .71614        189.66        .82399E-07   -.11637E-03
  22  norm          9.6835        3.8911       -.54827E-08   -.90453E-01
  23  Prefactor     .11102E-09    2.3354       -.38375E-07** at limit **
  24  Prefactor     .33307E-09    4.0858        .49857E-07** at limit **
  25  Normalizat    .97835        .12823       -.22961E-07   -.80113E-04
  26  Prefactor     1.0176        .13679       -.38787E-07   -.52256E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.92882
  Prefactor  = 1.24105
  Prefactor  = 0.903649
  Prefactor  = 1.87265
  norm       = 0.0856075
  norm       = 0.720194
  Prefactor  = 0
  Prefactor  = 0.781261
  norm       = 0.0372031
  Prefactor  = 1.11022e-10
  Prefactor  = 2.22045e-09
  norm       = 3.94386
  norm       = 3.88578e-10
  norm       = 26.0469
  norm       = 3.67484e-08
  norm       = 10.9991
  Prefactor  = 1.11022e-10
  Prefactor  = 7.22035
  norm       = 19.0887
  Prefactor  = 1.26565e-08
  Prefactor  = 0.716139
  norm       = 9.68349
  Prefactor  = 1.11022e-10
  Prefactor  = 3.33067e-10
  Normalizat = 0.978346
  Prefactor  = 1.01765
 **********
 **   18 **HESSE 
 **********

 FCN=   16015.29     FROM HESSE     STATUS=OK           518 CALLS     2324 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9288        1.8732        .45278E-03   -1.5664    
   2  Prefactor     1.2411        .98284        .10058E-02   -1.5686    
   3  Prefactor     .90365        .88979        .45514E-03   -1.5689    
   4  Prefactor     1.8726        2.6070        .75856E-03   -1.5681    
   5  norm          .85607E-01    .11038        .93745E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .72019        1.9099        .59216E-03   -1.5691    
   7  Prefactor      .0000        1.3862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .78126        2.2050        .54344E-03   -1.5690    
   9  norm          .37203E-01    .70478        .60289E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    8.3208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22204E-08    3.1478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.9439        2.2173        .50746E-03   -1.5668    
  13  norm          .38858E-09    2.1882        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          26.047        3.6181        .19599E-03   -1.5606    
  15  norm          .36748E-07    12.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.999        8.0925        .30183E-03   -1.5642    
  17  Prefactor     .11102E-09    .64762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.2203        8.2196        .37422E-03   -1.5654    
  19  norm          19.089        5.5545        .22892E-03   -1.5621    
  20  Prefactor     .12657E-07    13.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .71614        188.24        .79627E-03   -1.5691    
  22  norm          9.6835        5.4952        .32160E-03   -1.5646    
  23  Prefactor     .11102E-09    2.3461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .33307E-09    4.0922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .97835        .11026        .45892E-01   -.93759    
  26  Prefactor     1.0176        .11686        .42391E-01   -.92144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48106e-06
Minuit parameter uncertainties:
  1  1.87324
  2  0.982844
  3  0.889791
  4  2.60697
  5  0.110379
  6  1.90987
  7  4.32556e-07
  8  2.20495
  9  0.323852
  10  6.02112e-05
  11  0.000168151
  12  2.21733
  13  6.02909e-05
  14  3.61813
  15  0.0013762
  16  8.09247
  17  1.50659e-05
  18  8.2196
  19  5.55447
  20  0.000834151
  21  23.2222
  22  5.49523
  23  3.54004e-05
  24  7.55586e-05
  25  0.110286
  26  0.116889
Done.

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

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.944e+00  2.217e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.066e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
292         beta:  8.150e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.018e+00  1.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  9.783e-01  1.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.29
Ra Dec: 195.757 24.582
Photon Index (Fixed Index): 2.07 +/- 0.00
Photon Flux (Fixed Index): 2.67e-08 +/- 1.50e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 7.80e-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) = 16014.5504188
delta logL = 0.737724032691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16014.5416365
delta logL = 0.746506348716

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16014.54     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      246 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0447        19.090        .58117E-03    .88846E-02
   2  alpha         2.7415        3.7940        .28623        .15597E-03
   3  Normalizat    .94099        .43338E-01    .45423E-01    .32352E-04
   4  Prefactor     1.0437        .39717E-01    .58698E-01    .21619E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.04474
  alpha      = 2.74145
  Normalizat = 0.940987
  Prefactor  = 1.04372
 **********
 **   18 **HESSE 
 **********

 FCN=   16014.54     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0447        2.4746        .96273E-05   -1.5673    
   2  alpha         2.7415        .65478        .14439E-01    .96732E-01
   3  Normalizat    .94099        .13069        .24882E-03   -.95035    
   4  Prefactor     1.0437        .13981        .25956E-03   -.91286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75776e-08
Minuit parameter uncertainties:
  1  2.47456
  2  0.662586
  3  0.130729
  4  0.139856
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) = 16014.5416365
delta logL = 0.746506372676

Extracting fit parameters...

4FGL J1303.0+2434
   Spectrum: LogParabola
290         norm:  3.045e+00  2.475e+00  0.000e+00  1.000e+06 ( 1.000e-12)
291        alpha:  2.741e+00  6.626e-01  0.000e+00  5.000e+00 ( 1.000e+00)
292         beta:  8.150e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
293           Eb:  8.679e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.044e+00  1.399e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  9.410e-01  1.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.84
Ra Dec: 195.757 24.582
Photon Index (Free Index): 2.74 +/- 0.66
Photon Flux (Free Index): 5.22e-08 +/- 2.99e-08
Energy Flux (Free Index): 1.29e-05 +/- 6.08e-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/17774209/cmap_HighResolution_787536001_788140801_4FGL_J1303.0+2434_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.67e-08', energy_flux2='1.29e-05', photon_flux_error='1.50e-08', dlogl='7.47e-01', energy_flux='1.39e-05', photon_flux2='5.22e-08', job_status='DONE', time_completed='2025-12-23 01:53:19.205487', photon_index_error2='0.66', photon_index2='2.74', ts='6.29', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='6.08e-06', EG='0.98', time_epoch_completed='1766483599.21', return_code='0', job_id='17774209', GAL2='1.04', EG2='0.94', return_code2='0', energy_flux_error='7.80e-06', photon_flux_error2='2.99e-08', ts2='7.84', photon_index='2.07' WHERE bin_id='907' AND source_name='4FGL J1303.0+2434' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 01:53:19 PST 2025

