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


Performing analysis on: 4FGL_J1050.1+0432_daily_bin2137
RA = 162.546, Dec = 4.5377
tmin = 793238401, tmax = 793497601
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='21621222', job_status='RUN', time_executed='2026-02-23 01:12:09.257496', time_epoch_executed='1771837929.26' WHERE source_name='4FGL J1050.1+0432' and cadence='daily' and bin_id='2137'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/21621222

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/21621222/ft1_4FGL_J1050.1+0432_daily_bin2137.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/21621222/ft1_4FGL_J1050.1+0432_daily_bin2137.fits outfile=/lscratch/kocevski/21621222/ft1_filteredMKT_4FGL_J1050.1+0432_daily_bin2137.fits ra=162.546 dec=4.5377 rad=12.0 tmin=793238401.0 tmax=793497601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.21
user 1.51
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.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/21621222/ft1_filteredMKT_4FGL_J1050.1+0432_daily_bin2137.fits evtable="EVENTS" outfile="/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.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.80
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 32

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits" evtable="EVENTS" scfile=/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits sctable="SC_DATA" outfile=/lscratch/kocevski/21621222/ltcube_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.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/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits
.....................!
real 8.11
user 7.43
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits evtable="EVENTS" scfile=/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits sctable="SC_DATA" expcube=/lscratch/kocevski/21621222/ltcube_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.fits outfile=/lscratch/kocevski/21621222/expmap_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.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/21621222/ltcube_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.fits
.....................!
real 61.92
user 57.63
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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1050.1+0432 @ 162.546 4.5377

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits scfile=/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits outfile=/lscratch/kocevski/21621222/cmap_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.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=162.546 yref=4.5377 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.50
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits scfile=/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits outfile=/lscratch/kocevski/21621222/cmap_HighResolution_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.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=162.546 yref=4.5377 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.46
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits evtable="EVENTS" scfile=/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/21621222/Model_4FGL_J1050.1+0432_daily_bin2137.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/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits................................!
real 7.03
user 6.16
sys 0.57

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits', '/lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits', expMap='/lscratch/kocevski/21621222/expmap_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.fits', expCube='/lscratch/kocevski/21621222/ltcube_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/21621222/Model_4FGL_J1050.1+0432_daily_bin2137.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1050.1+0432'

4FGL J1050.1+0432
   Spectrum: PowerLaw
232    Prefactor:  4.184e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
233        Index:  2.606e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  5.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/21621222/ft1_filtered_4FGL_J1050.1+0432_daily_bin2137.fits
Spacecraft file(s): /lscratch/kocevski/21621222/ft2_4FGL_J1050.1+0432_daily_bin2137.fits
Exposure map: /lscratch/kocevski/21621222/expmap_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.fits
Exposure cube: /lscratch/kocevski/21621222/ltcube_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/21621222/Model_4FGL_J1050.1+0432_daily_bin2137.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 408.034821766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 403.815107738

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    184.98       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.3675       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11889       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.0850       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.7848       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11573       1.0000          .0000       .10000E+07
     7 'norm      '    12.178       1.0000          .0000       .10000E+07
     8 'Prefactor '    46.350       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99096E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0911       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33631E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .92926E-07   1.0000          .0000       .10000E+07
    13 'norm      '    .92418       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.8626       1.0000          .0000       .10000E+07
    15 'Prefactor '    24.366       1.0000          .0000       .10000E+07
    16 'norm      '    3.3863       1.0000          .0000       .10000E+07
    17 'Prefactor '    .34334E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    .96726       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89697E-05   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   403.7800     FROM MIGRAD    STATUS=CONVERGED    260 CALLS      569 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     176.84        161.61        .13974E-06    .18647E-02
   2  Prefactor     .11102E-09    70.337        .28412E-06** at limit **
   3  Prefactor      .0000        32.762       -.22109E-08** at limit **
   4  Prefactor     78.053        1274.7        .16994E-05    .76254E-03
   5  Prefactor      .0000        244.48       -.72286E-06** at limit **
   6  Prefactor      .0000        88.588        .14865E-06** at limit **
   7  norm          12.195        6.9577        .60194E-07   -.53173E-03
   8  Prefactor     47.176        35.393       -.28083E-06    .72657E-03
   9  Prefactor     .23315E-08    81.497        .16363E-05** at limit **
  10  Prefactor     4.0911        1.0077         .0000         .0000    
  11  Prefactor      .0000        37.692        .12815E-07** at limit **
  12  norm           .0000        1.7228       -.55848E-07** at limit **
  13  norm          .50564E-02    546.34        .21623E-05** at limit **
  14  Prefactor     84.889        3576.0       -.76822E-05   -.73666E-03
  15  Prefactor     24.870        27.164        .25295E-06   -.15302E-03
  16  norm          .14552E-02    2205.3        .52611E-05** at limit **
  17  Prefactor      .0000        6.4933       -.27891E-07** at limit **
  18  Normalizat    .94603        .50047        .89842E-06    .76586E-05
  19  Prefactor     .67801E-11    1.5628        .93166E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 176.837
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 78.0526
  Prefactor  = 0
  Prefactor  = 0
  norm       = 12.1951
  Prefactor  = 47.1759
  Prefactor  = 2.33147e-09
  Prefactor  = 4.09108
  Prefactor  = 0
  norm       = 0
  norm       = 0.00505639
  Prefactor  = 84.8893
  Prefactor  = 24.8701
  norm       = 0.00145521
  Prefactor  = 0
  Normalizat = 0.946026
  Prefactor  = 6.78013e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   403.7800     FROM HESSE     STATUS=FAILED        47 CALLS      616 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     176.84        139.60        .73533E-04   -1.5442    
   2  Prefactor     .11102E-09    70.479        .93247E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        31.806        .13447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     78.053        978.25        .33228E-03   -1.5531    
   5  Prefactor      .0000        235.23        .38497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        83.964        .13525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.195        6.6914        .28681E-03   -1.5638    
   8  Prefactor     47.176        28.968        .14690E-03   -1.5571    
   9  Prefactor     .23315E-08    79.087        .13953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     59814.        59810.         .0000       -1.5668    
  11  Prefactor      .0000        .44347E-01    .12815E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .44347E-01   -.55848E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .50564E-02    .48626E-01    .21623E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     84.889        3.8191       -.76822E-05   -1.5524    
  15  Prefactor     24.870        1.0105        .25295E-06   -1.5608    
  16  norm          .14552E-02    .75511E-01    .52611E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .44347E-01   -.27891E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .94603        1.2860        .89842E-06   -.94861    
  19  Prefactor     .67801E-11    .25514        .93166E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.50375e-10
Minuit parameter uncertainties:
  1  139.601
  2  0.000167036
  3  2.12088e-08
  4  552.759
  5  4.52096e-06
  6  5.44925e-05
  7  6.69144
  8  28.9685
  9  0.000863395
  10  1.00767
  11  1.74831e-08
  12  7.62191e-07
  13  0.0313606
  14  3.81912
  15  1.0105
  16  0.0209651
  17  3.22067e-07
  18  1.332
  19  2.64177e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 403.779990487

Extracting fit parameters...

4FGL J1050.1+0432
   Spectrum: PowerLaw
232    Prefactor:  0.000e+00  1.748e-08  0.000e+00  1.000e+06 ( 1.000e-12)
233        Index:  2.606e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  5.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  6.780e-12  2.642e-06  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  9.460e-01  1.332e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 162.546 4.538
Photon Flux Upper Limit: 1.24518991171e-06 ph cm-2 s-1
Energy Flux Upper Limit: 0.0974850831928 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/21621222/likelihoodResults_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.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) = 403.792702554
delta logL = -0.0127120673313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 403.779991339
delta logL = -8.52493258208e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65836E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .95978       1.0000          .0000       10.000    
     3 'Normalizat'    .94559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .22148E-06   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   403.7800     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      273 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43299E-08    2.4037        .42118E-03** at limit **
   2  Index         2.8234        5.4028        .45762        .19874E-09
   3  Normalizat    .94601        .41934E-02    .45482E-01   -.44987E-03
   4  Prefactor     .22978E-09    .79573E-04    .15843    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.32987e-09
  Index      = 2.82343
  Normalizat = 0.946007
  Prefactor  = 2.29781e-10
 **********
 **   18 **HESSE 
 **********

 FCN=   403.7800     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43299E-08    30.212        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8234        6.4117        .18305       -.45039    
   3  Normalizat    .94601        .14870E-01    .23402E-03   -.94862    
   4  Prefactor     .22978E-09    .30024E-02    .91656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.62299e-11
Minuit parameter uncertainties:
  1  0.000725463
  2  104058
  3  0.0148705
  4  1.66128e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 403.779990488
delta logL = -1.57046997629e-09

Extracting fit parameters...

4FGL J1050.1+0432
   Spectrum: PowerLaw
232    Prefactor:  4.330e-09  7.255e-04  0.000e+00  1.000e+06 ( 1.000e-12)
233        Index:  2.823e+00  1.041e+05  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  5.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  2.298e-10  1.661e-06  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  9.460e-01  1.487e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 162.546 4.538

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/21621222/cmap_HighResolution_793238401_793497601_4FGL_J1050.1+0432_daily_bin2137.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.75e-02', job_status='DONE', photon_flux_upper_limit='1.25e-06', time_completed='2026-02-23 01:17:09.638917', job_id='21621222', GAL2='0.00', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1771838229.64', return_code2='102', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-1.57e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='2137' AND source_name='4FGL J1050.1+0432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 23 01:17:09 PST 2026

