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


Performing analysis on: 4FGL_J0751.0-5131_daily_bin2114
RA = 117.769, Dec = -51.5288
tmin = 787276801, 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='17371492', job_status='RUN', time_executed='2025-12-16 00:37:50.727806', time_epoch_executed='1765874270.73' WHERE source_name='4FGL J0751.0-5131' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17371492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17371492/ft1_4FGL_J0751.0-5131_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17371492/ft1_4FGL_J0751.0-5131_daily_bin2114.fits outfile=/lscratch/kocevski/17371492/ft1_filteredMKT_4FGL_J0751.0-5131_daily_bin2114.fits ra=117.769 dec=-51.5288 rad=12.0 tmin=787276801.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 2.73
user 1.67
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.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/17371492/ft1_filteredMKT_4FGL_J0751.0-5131_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.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.98
user 0.17
sys 0.11

Number of photons that the gtmktime cut: 4954

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17371492/ltcube_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.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/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits
.....................!
real 7.61
user 6.63
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17371492/ltcube_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.fits outfile=/lscratch/kocevski/17371492/expmap_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.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/17371492/ltcube_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.fits
.....................!
real 59.80
user 55.49
sys 3.45

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
Extended source Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Added 217 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0751.0-5131 @ 117.769 -51.5288

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits scfile=/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits outfile=/lscratch/kocevski/17371492/cmap_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.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=117.769 yref=-51.5288 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits scfile=/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits outfile=/lscratch/kocevski/17371492/cmap_HighResolution_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.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=117.769 yref=-51.5288 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.95
user 0.18
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17371492/Model_4FGL_J0751.0-5131_daily_bin2114.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
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits.....................!
real 217.10
user 214.65
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits', '/lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits', expMap='/lscratch/kocevski/17371492/expmap_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.fits', expCube='/lscratch/kocevski/17371492/ltcube_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17371492/Model_4FGL_J0751.0-5131_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0751.0-5131'

4FGL J0751.0-5131
   Spectrum: LogParabola
350         norm:  3.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.304e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
352         beta:  1.597e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  8.063e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17371492/ft1_filtered_4FGL_J0751.0-5131_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17371492/ft2_4FGL_J0751.0-5131_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17371492/expmap_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17371492/ltcube_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17371492/Model_4FGL_J0751.0-5131_daily_bin2114.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) = 38459.2116614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16830E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.4211       1.0000          .0000       .10000E+07
     3 'norm      '    .51801E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    14.929       1.0000          .0000       .10000E+07
     5 'norm      '    6.2869       1.0000          .0000       .10000E+07
     6 'norm      '    .43718E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31923       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.1342       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.827       1.0000          .0000       .10000E+07
    10 'norm      '    2.3861       1.0000          .0000       .10000E+07
    11 'Prefactor '    .59858E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13935E-03   1.0000          .0000       .10000E+07
    13 'norm      '    4.9777       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58425E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    13.036       1.0000          .0000       .10000E+07
    16 'Prefactor '    .45170E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .18661E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0676       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97402       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   38459.12     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     1472 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        80.636        .42654E-06** at limit **
   2  Prefactor     6.2186        19.103        .21103E-07    .55456E-02
   3  norm          .63320E-01    62.237       -.50853E-06** at limit **
   4  Prefactor     14.936        11.477       -.22466E-07    .13256E-02
   5  norm          6.2529        6.2212       -.99815E-07   -.16497E-02
   6  norm          .16709E-07    20.838       -.29258E-06** at limit **
   7  Prefactor     .32374        11.116        .38783E-08    .27320E-03
   8  Prefactor     .40523E-08    517.36       -.97458E-06** at limit **
   9  Prefactor     18.597        5.1048        .84772E-08    .52780E-01
  10  norm          2.4121        3.6185       -.91569E-07   -.49752E-03
  11  Prefactor      .0000        2.2437       -.14779E-07** at limit **
  12  Prefactor      .0000        1.6332        .32992E-07** at limit **
  13  norm          5.0358        5.1003        .93309E-08   -.15318E-03
  14  Prefactor     .22204E-07    15.660       -.70865E-07** at limit **
  15  Prefactor     12.946        12.309        .95779E-07    .87883E-03
  16  Prefactor     .11102E-09    58.593       -.54842E-06** at limit **
  17  norm           .0000        1.7109       -.32559E-07** at limit **
  18  Normalizat    1.0685        .21132        .59491E-07   -.14880E-04
  19  Prefactor     .97398        .38755E-01   -.97359E-07   -.41667E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.21861
  norm       = 0.0633198
  Prefactor  = 14.9359
  norm       = 6.25286
  norm       = 1.67089e-08
  Prefactor  = 0.323742
  Prefactor  = 4.05231e-09
  Prefactor  = 18.5969
  norm       = 2.41208
  Prefactor  = 0
  Prefactor  = 0
  norm       = 5.03577
  Prefactor  = 2.22045e-08
  Prefactor  = 12.9462
  Prefactor  = 1.11022e-10
  norm       = 0
  Normalizat = 1.06849
  Prefactor  = 0.973984
 **********
 **   18 **HESSE 
 **********

 FCN=   38459.12     FROM HESSE     STATUS=OK           312 CALLS     1784 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        81.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.2186        19.413        .39584E-03   -1.5658    
   3  norm          .63320E-01    1.9512        .10176E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.936        11.441        .25896E-03   -1.5631    
   5  norm          6.2529        6.2699        .40010E-03   -1.5658    
   6  norm          .16709E-07    20.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .32374        1.8436        .99513E-02   -1.5697    
   8  Prefactor     .40523E-08    521.82        .49551E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.597        20.264        .23055E-03   -1.5622    
  10  norm          2.4121        3.6829        .66281E-03   -1.5677    
  11  Prefactor      .0000        2.2324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.6238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.0358        5.1680        .45052E-03   -1.5663    
  14  Prefactor     .22204E-07    16.017        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.946        12.286        .27718E-03   -1.5636    
  16  Prefactor     .11102E-09    58.551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.6995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0685        .20744        .19239       -.90770    
  19  Prefactor     .97398        .37169E-01    .45942E-01   -.93602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.96606e-07
Minuit parameter uncertainties:
  1  5.6207e-05
  2  19.4129
  3  0.703001
  4  11.4408
  5  6.26995
  6  0.00118007
  7  1.54512
  8  0.00290317
  9  20.2645
  10  3.6829
  11  5.00828e-06
  12  1.08877e-06
  13  5.16802
  14  0.00119255
  15  12.2863
  16  0.000173643
  17  2.61213e-06
  18  0.207595
  19  0.0371701
Done.

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

Extracting fit parameters...

4FGL J0751.0-5131
   Spectrum: LogParabola
350         norm:  5.036e+00  5.168e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.304e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
352         beta:  1.597e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  8.063e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
718    Prefactor:  9.740e-01  3.717e-02  0.000e+00  1.000e+01 ( 1.000e+00)
719        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
720        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
717   Normalization:  1.068e+00  2.076e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.50
Ra Dec: 117.769 -51.529
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 3.35e-08 +/- 3.43e-08
Energy Flux (Fixed Index): 1.24e-05 +/- 1.27e-05

TS (Fixed Index): 1.50
Ra Dec: 117.769 -51.529
Photon Flux Upper Limit: 1.07109194669e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.96966652243e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17371492/likelihoodResults_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.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) = 38459.1145042
delta logL = 0.00337080961617

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 38459.1141192
delta logL = 0.00375577888917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.1741       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2416       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0697       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97392       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7310E+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.

 FCN=   38459.11     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      244 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.1739        5.5196        .17669E-04    .67072E-02
   2  alpha         2.2414        .73013        .43502E-01    .79095E-04
   3  Normalizat    1.0697        .18902        .85844E-03   -.46511E-04
   4  Prefactor     .97392        .38049E-01    .17800E-03   -.25497E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.17392
  alpha      = 2.24143
  Normalizat = 1.06965
  Prefactor  = 0.97392
 **********
 **   18 **HESSE 
 **********

 FCN=   38459.11     FROM HESSE     STATUS=OK            25 CALLS      269 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.1739        5.3129        .70674E-06   -1.5662    
   2  alpha         2.2414        .70437        .17401E-02   -.10361    
   3  Normalizat    1.0697        .18900        .34338E-04   -.90732    
   4  Prefactor     .97392        .38048E-01    .71199E-05   -.93604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38739e-10
Minuit parameter uncertainties:
  1  5.31292
  2  0.714144
  3  0.189116
  4  0.0380491
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) = 38459.1141192
delta logL = 0.00375581523258

Extracting fit parameters...

4FGL J0751.0-5131
   Spectrum: LogParabola
350         norm:  5.174e+00  5.313e+00  0.000e+00  1.000e+06 ( 1.000e-12)
351        alpha:  2.241e+00  7.141e-01  0.000e+00  5.000e+00 ( 1.000e+00)
352         beta:  1.597e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
353           Eb:  8.063e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
718    Prefactor:  9.739e-01  3.805e-02  0.000e+00  1.000e+01 ( 1.000e+00)
719        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
720        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
717   Normalization:  1.070e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 117.769 -51.529
Photon Index (Free Index): 2.24 +/- 0.71
Photon Flux (Free Index): 3.19e-08 +/- 3.65e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.28e-05

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/17371492/cmap_HighResolution_787276801_787536001_4FGL_J0751.0-5131_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-05', comment='SUCCESS', photon_flux='3.35e-08', energy_flux2='1.26e-05', photon_flux_error='3.43e-08', dlogl='3.76e-03', energy_flux='1.24e-05', photon_flux2='3.19e-08', job_status='DONE', time_completed='2025-12-16 01:00:05.124320', photon_index_error2='0.71', photon_index2='2.24', ts='1.50', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.28e-05', EG='1.07', time_epoch_completed='1765875605.12', return_code='0', job_id='17371492', GAL2='0.97', EG2='1.07', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.65e-08', ts2='1.50', photon_index='2.30' WHERE bin_id='2114' AND source_name='4FGL J0751.0-5131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:00:05 PST 2025

