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

 FCN=   18342.31     FROM HESSE     STATUS=OK           239 CALLS     1130 TOTAL
                     EDM=   .24E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8012        .65699        .60764E-03   -1.5674    
   2  Prefactor     .11713E-07    11.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4041        1.3182        .47959E-03   -1.5666    
   4  norm           .0000        2.1158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.9954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.9116        3.5866        .76039E-03   -1.5680    
   7  Prefactor     .11102E-09    4.7186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .31778        .80000        .99595E-03   -1.5697    
   9  Prefactor     .62066        28.097        .69378E-03   -1.5692    
  10  Prefactor     13.164        20.861        .27759E-03   -1.5635    
  11  norm          .31612        2.7088        .10179E-02   -1.5697    
  12  norm          15.687        8.3344        .25256E-03   -1.5629    
  13  Prefactor     3.9846        15.082        .47985E-03   -1.5668    
  14  norm          .86262        1.6758        .48189E-03   -1.5689    
  15  Normalizat    1.5412        .17517        .86951E-01   -.76628    
  16  Prefactor     .84532        .54511E-01    .44306E-01   -.98079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3909e-05
Minuit parameter uncertainties:
  1  0.656993
  2  0.000724257
  3  1.31819
  4  1.25903e-05
  5  6.56243e-06
  6  3.5866
  7  4.65323e-05
  8  0.799996
  9  8.35195
  10  20.861
  11  1.85075
  12  8.33444
  13  15.0822
  14  1.6758
  15  0.175237
  16  0.0545146
/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).

Done.

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

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  0.000e+00  6.562e-06  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.453e-01  5.451e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.541e+00  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 342.514 38.425
Photon Flux Upper Limit: 2.07780368678e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00152113084448 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33986381/likelihoodResults_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.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): 102
logL (Free Index) = 18342.3095351
delta logL = -0.000107488405774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18342.309428
delta logL = -4.1960447561e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18342.31     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    .10727        .42118E-03** at limit **
   2  Index         1.5496        5.5732        .37960        .23960E-09
   3  Normalizat    1.5412        .82509E-03    .86951E-01    .10972E-02
   4  Prefactor     .84532        .26868E-03    .44304E-01    .15319E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Index      = 1.5496
  Normalizat = 1.54119
  Prefactor  = 0.845321
 **********
 **   18 **HESSE 
 **********

 FCN=   18342.31     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    3.4758        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5496        5.7278        .50000       -.76160    
   3  Normalizat    1.5412        .18929        .38496E-03   -.76627    
   4  Prefactor     .84532        .61772E-01    .16217E-03   -.98079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31108e-09
Minuit parameter uncertainties:
  1  9.01601e-05
  2  3.63071
  3  0.189375
  4  0.0617767
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) = 18342.3094276
delta logL = -5.92990545556e-10

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  6.106e-10  9.016e-05  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.550e+00  3.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.453e-01  6.178e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.541e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 342.514 38.425

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/33986381/cmap_HighResolution_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-03', job_status='DONE', photon_flux_upper_limit='2.08e-08', time_completed='2026-08-02 10:33:26.314456', job_id='33986381', GAL2='0.85', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1785692006.31', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-5.93e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.73' WHERE bin_id='2190' AND source_name='4FGL J2250.0+3825' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug  2 10:33:26 PDT 2026

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


Performing analysis on: 4FGL_J2250.0+3825_daily_bin2190
RA = 342.514, Dec = 38.4247
tmin = 806976001, tmax = 807235201
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='33987164', job_status='RUN', time_executed='2026-08-02 10:32:50.463428', time_epoch_executed='1785691970.46' WHERE source_name='4FGL J2250.0+3825' and cadence='daily' and bin_id='2190'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33987164

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33987164/ft1_4FGL_J2250.0+3825_daily_bin2190.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33987164/ft1_4FGL_J2250.0+3825_daily_bin2190.fits outfile=/lscratch/kocevski/33987164/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin2190.fits ra=342.514 dec=38.4247 rad=12.0 tmin=806976001.0 tmax=807235201.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.40
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.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/33987164/ft1_filteredMKT_4FGL_J2250.0+3825_daily_bin2190.fits evtable="EVENTS" outfile="/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.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.84
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 1743

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33987164/ltcube_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.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/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits
.....................!
real 7.69
user 6.98
sys 0.18

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33987164/ltcube_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.fits outfile=/lscratch/kocevski/33987164/expmap_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.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/33987164/ltcube_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.fits
.....................!
real 59.85
user 55.71
sys 3.27

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 163 point sources and 2 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 J2250.0+3825 @ 342.514 38.4247

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits scfile=/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits outfile=/lscratch/kocevski/33987164/cmap_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.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=342.514 yref=38.4247 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.98
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits scfile=/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits outfile=/lscratch/kocevski/33987164/cmap_HighResolution_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.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=342.514 yref=38.4247 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.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits evtable="EVENTS" scfile=/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33987164/Model_4FGL_J2250.0+3825_daily_bin2190.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits.....................!
real 70.40
user 68.96
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits', '/lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits', expMap='/lscratch/kocevski/33987164/expmap_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.fits', expCube='/lscratch/kocevski/33987164/ltcube_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33987164/Model_4FGL_J2250.0+3825_daily_bin2190.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.0+3825'

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  3.066e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33987164/ft1_filtered_4FGL_J2250.0+3825_daily_bin2190.fits
Spacecraft file(s): /lscratch/kocevski/33987164/ft2_4FGL_J2250.0+3825_daily_bin2190.fits
Exposure map: /lscratch/kocevski/33987164/expmap_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.fits
Exposure cube: /lscratch/kocevski/33987164/ltcube_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33987164/Model_4FGL_J2250.0+3825_daily_bin2190.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) = 18343.0696171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8007       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11785E-03   1.0000          .0000       .10000E+07
     3 'norm      '    4.4052       1.0000          .0000       .10000E+07
     4 'norm      '    .20051E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10931E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8741       1.0000          .0000       .10000E+07
     7 'Prefactor '    .50048E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .31862       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59833       1.0000          .0000       .10000E+07
    10 'Prefactor '    12.997       1.0000          .0000       .10000E+07
    11 'norm      '    .30244       1.0000          .0000       .10000E+07
    12 'norm      '    15.693       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.4005       1.0000          .0000       .10000E+07
    14 'norm      '    .86531       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.5401       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .84549       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18342.31     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      891 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8012        .65982        .71038E-07   -.87388E-02
   2  Prefactor     .11713E-07    11.126        .13083E-05** at limit **
   3  norm          4.4041        1.3205       -.39429E-07   -.11263E-02
   4  norm           .0000        2.1421       -.16664E-06** at limit **
   5  Prefactor      .0000        2.9916        .15126E-06** at limit **
   6  Prefactor     1.9116        3.5610        .16715E-06   -.86000E-03
   7  Prefactor     .11102E-09    4.7214        .73980E-06** at limit **
   8  norm          .31778        .79257        .15014E-07   -.42378E-03
   9  Prefactor     .62066        1.9381        .28017E-07   -.20319E-01
  10  Prefactor     13.164        20.207        .58873E-06   -.77557E-02
  11  norm          .31612        2.3896        .72593E-07   -.19438E-02
  12  norm          15.687        8.1500        .44480E-06    .28251E-01
  13  Prefactor     3.9846        2.5176       -.59570E-07    .35678E-01
  14  norm          .86262        1.6607        .63912E-07    .99165E-03
  15  Normalizat    1.5412        .19272        .10561E-04   -.15248E-03
  16  Prefactor     .84532        .62653E-01   -.54267E-05   -.77145E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8012
  Prefactor  = 1.17129e-08
  norm       = 4.40406
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.9116
  Prefactor  = 1.11022e-10
  norm       = 0.317785
  Prefactor  = 0.620663
  Prefactor  = 13.1636
  norm       = 0.316124
  norm       = 15.6872
  Prefactor  = 3.98463
  norm       = 0.862618
  Normalizat = 1.54119
  Prefactor  = 0.845321
 **********
 **   18 **HESSE 
 **********

 FCN=   18342.31     FROM HESSE     STATUS=OK           239 CALLS     1130 TOTAL
                     EDM=   .24E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8012        .65699        .60764E-03   -1.5674    
   2  Prefactor     .11713E-07    11.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4041        1.3182        .47959E-03   -1.5666    
   4  norm           .0000        2.1158        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.9954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.9116        3.5866        .76039E-03   -1.5680    
   7  Prefactor     .11102E-09    4.7186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .31778        .80000        .99595E-03   -1.5697    
   9  Prefactor     .62066        28.097        .69378E-03   -1.5692    
  10  Prefactor     13.164        20.861        .27759E-03   -1.5635    
  11  norm          .31612        2.7088        .10179E-02   -1.5697    
  12  norm          15.687        8.3344        .25256E-03   -1.5629    
  13  Prefactor     3.9846        15.082        .47985E-03   -1.5668    
  14  norm          .86262        1.6758        .48189E-03   -1.5689    
  15  Normalizat    1.5412        .17517        .86951E-01   -.76628    
  16  Prefactor     .84532        .54511E-01    .44306E-01   -.98079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3909e-05
Minuit parameter uncertainties:
  1  0.656993
  2  0.000724257
  3  1.31819
  4  1.25903e-05
  5  6.56243e-06
  6  3.5866
  7  4.65323e-05
  8  0.799996
  9  8.35195
  10  20.861
  11  1.85075
  12  8.33444
  13  15.0822
  14  1.6758
  15  0.175237
  16  0.0545146
Done.

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

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  0.000e+00  6.562e-06  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.733e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.453e-01  5.451e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.541e+00  1.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 342.514 38.425
Photon Flux Upper Limit: 2.07780368678e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00152113084448 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/33987164/likelihoodResults_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.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): 102
logL (Free Index) = 18342.3095351
delta logL = -0.000107488405774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18342.309428
delta logL = -4.1960447561e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18342.31     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      263 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61062E-09    .10727        .42118E-03** at limit **
   2  Index         1.5496        5.5732        .37960        .23960E-09
   3  Normalizat    1.5412        .82509E-03    .86951E-01    .10972E-02
   4  Prefactor     .84532        .26868E-03    .44304E-01    .15319E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10623e-10
  Index      = 1.5496
  Normalizat = 1.54119
  Prefactor  = 0.845321
 **********
 **   18 **HESSE 
 **********

 FCN=   18342.31     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61062E-09    3.4758        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5496        5.7278        .50000       -.76160    
   3  Normalizat    1.5412        .18929        .38496E-03   -.76627    
   4  Prefactor     .84532        .61772E-01    .16217E-03   -.98079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31108e-09
Minuit parameter uncertainties:
  1  9.01601e-05
  2  3.63071
  3  0.189375
  4  0.0617767
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) = 18342.3094276
delta logL = -5.92990545556e-10

Extracting fit parameters...

4FGL J2250.0+3825
   Spectrum: PowerLaw
363    Prefactor:  6.106e-10  9.016e-05  0.000e+00  1.000e+06 ( 1.000e-14)
364        Index:  1.550e+00  3.631e+00  0.000e+00  1.000e+01 (-1.000e+00)
365        Scale:  5.055e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
550    Prefactor:  8.453e-01  6.178e-02  0.000e+00  1.000e+01 ( 1.000e+00)
551        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
552        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.541e+00  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 342.514 38.425

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/33987164/cmap_HighResolution_806976001_807235201_4FGL_J2250.0+3825_daily_bin2190.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.52e-03', job_status='DONE', photon_flux_upper_limit='2.08e-08', time_completed='2026-08-02 10:40:12.341963', job_id='33987164', GAL2='0.85', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1785692412.34', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-5.93e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.73' WHERE bin_id='2190' AND source_name='4FGL J2250.0+3825' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug  2 10:40:13 PDT 2026

