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


Performing analysis on: 4FGL_J2250.4-4206_weekly_bin927
RA = 342.606, Dec = -42.1095
tmin = 799632001, tmax = 800236801
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='26511363', job_status='RUN', time_executed='2026-05-12 03:09:52.057514', time_epoch_executed='1778580592.06' WHERE source_name='4FGL J2250.4-4206' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26511363

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26511363/ft1_4FGL_J2250.4-4206_weekly_bin927.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26511363/ft1_4FGL_J2250.4-4206_weekly_bin927.fits outfile=/lscratch/kocevski/26511363/ft1_filteredMKT_4FGL_J2250.4-4206_weekly_bin927.fits ra=342.606 dec=-42.1095 rad=12.0 tmin=799632001.0 tmax=800236801.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 4.47
user 3.53
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.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/26511363/ft1_filteredMKT_4FGL_J2250.4-4206_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.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.79
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1589

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26511363/ltcube_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.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/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits
.....................!
real 20.95
user 19.63
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26511363/ltcube_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.fits outfile=/lscratch/kocevski/26511363/expmap_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.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/26511363/ltcube_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.fits
.....................!
real 74.45
user 68.65
sys 4.38

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2250.4-4206 @ 342.606 -42.1095

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits scfile=/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits outfile=/lscratch/kocevski/26511363/cmap_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.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.606 yref=-42.1095 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.11
user 0.26
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits scfile=/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits outfile=/lscratch/kocevski/26511363/cmap_HighResolution_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.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.606 yref=-42.1095 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.18
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26511363/Model_4FGL_J2250.4-4206_weekly_bin927.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/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits.....................!
real 47.80
user 45.07
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits', '/lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits', expMap='/lscratch/kocevski/26511363/expmap_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.fits', expCube='/lscratch/kocevski/26511363/ltcube_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26511363/Model_4FGL_J2250.4-4206_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2250.4-4206'

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  1.312e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26511363/ft1_filtered_4FGL_J2250.4-4206_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26511363/ft2_4FGL_J2250.4-4206_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26511363/expmap_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26511363/ltcube_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26511363/Model_4FGL_J2250.4-4206_weekly_bin927.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) = 17334.6719919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.281       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.5547       1.0000          .0000       .10000E+07
     3 'Prefactor '    .30797E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .44254E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10562E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2460       1.0000          .0000       .10000E+07
     7 'Prefactor '    23.708       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.1968       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.829       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.190       1.0000          .0000       .10000E+07
    11 'Prefactor '    .27976E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2601       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37950E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.028       1.0000          .0000       .10000E+07
    15 'Prefactor '    9.5536       1.0000          .0000       .10000E+07
    16 'norm      '    .24702E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .76002       1.0000          .0000       .10000E+07
    18 'norm      '    1.4223       1.0000          .0000       .10000E+07
    19 'norm      '    4.9051       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41961E-05   1.0000          .0000       .10000E+07
    21 'Prefactor '    .36896E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    22.635       1.0000          .0000       .10000E+07
    23 'norm      '    .64109E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    5.9002       1.0000          .0000       .10000E+07
    25 'norm      '    1.0937       1.0000          .0000       .10000E+07
    26 'norm      '    1.7774       1.0000          .0000       .10000E+07
    27 'Normalizat'    .93762       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1885       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17334.64     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2522 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.217        3.2143       -.12492E-07   -.56886E-02
   2  Prefactor     4.5527        4.7317        .14219E-07    .12937E-03
   3  Prefactor      .0000        18.818       -.86599E-07** at limit **
   4  norm           .0000        .88108        .44044E-08** at limit **
   5  Prefactor      .0000        3.4767       -.17690E-08** at limit **
   6  Prefactor     1.2455        2.0965       -.15028E-07   -.12355E-04
   7  Prefactor     23.649        1.3238        .25998E-08    .83068E-02
   8  Prefactor     3.1898        3.2511        .89175E-07   -.43031E-03
   9  Prefactor     15.876        11.477       -.39318E-07   -.58624E-03
  10  Prefactor     15.067        11.988        .74458E-07   -.12115E-02
  11  Prefactor      .0000        36.217       -.21579E-06** at limit **
  12  Prefactor     2.2625        5.8005        .65971E-08    .32046E-03
  13  Prefactor      .0000        1.0606        .27308E-07** at limit **
  14  Prefactor     24.975        1.4132       -.42351E-08    .17783E-01
  15  Prefactor     9.5370        1.7380        .13014E-09    .14866E-01
  16  norm           .0000        1.8773       -.15944E-06** at limit **
  17  norm          .76653        1.3129       -.20927E-06    .22404E-02
  18  norm          1.4213        1.5857       -.25364E-08   -.21301E-03
  19  norm          4.9185        3.2546        .14954E-07    .80639E-04
  20  Prefactor      .0000        .78685        .38888E-08** at limit **
  21  Prefactor     .27756E-09    33.210       -.25827E-06** at limit **
  22  Prefactor     21.445        29.872       -.19905E-06    .54838E-03
  23  norm           .0000        1.3661       -.16300E-07** at limit **
  24  Prefactor     5.9085        6.8920        .80000E-08   -.15697E-02
  25  norm          1.0940        .58097        .91158E-08   -.34270E-03
  26  norm          1.7786        2.3717       -.25030E-07    .11497E-03
  27  Normalizat    .93819        .13427        .49545E-06   -.19876E-04
  28  Prefactor     1.1885        .13458        .16085E-06   -.22488E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.217
  Prefactor  = 4.55266
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.24547
  Prefactor  = 23.6494
  Prefactor  = 3.1898
  Prefactor  = 15.8762
  Prefactor  = 15.0674
  Prefactor  = 0
  Prefactor  = 2.26252
  Prefactor  = 0
  Prefactor  = 24.9749
  Prefactor  = 9.53704
  norm       = 0
  norm       = 0.766533
  norm       = 1.42126
  norm       = 4.91851
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 21.445
  norm       = 0
  Prefactor  = 5.90847
  norm       = 1.09401
  norm       = 1.77862
  Normalizat = 0.938195
  Prefactor  = 1.18846
 **********
 **   18 **HESSE 
 **********

 FCN=   17334.64     FROM HESSE     STATUS=OK           589 CALLS     3111 TOTAL
                     EDM=   .56E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.217        26.086        .13701E-03   -1.5562    
   2  Prefactor     4.5527        4.8695        .47145E-03   -1.5665    
   3  Prefactor      .0000        18.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        .88246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.4055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2455        2.1376        .10027E-02   -1.5686    
   7  Prefactor     23.649        19.224        .20542E-03   -1.5611    
   8  Prefactor     3.1898        3.3410        .56645E-03   -1.5672    
   9  Prefactor     15.876        11.509        .25148E-03   -1.5628    
  10  Prefactor     15.067        12.126        .25672E-03   -1.5630    
  11  Prefactor      .0000        7.2192        .12229E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2625        5.8416        .68303E-03   -1.5678    
  13  Prefactor      .0000        1.0600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.975        20.104        .19993E-03   -1.5608    
  15  Prefactor     9.5370        8.0934        .32398E-03   -1.5646    
  16  norm           .0000        1.8788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .76653        1.3317        .55964E-03   -1.5690    
  18  norm          1.4213        1.6004        .90652E-03   -1.5684    
  19  norm          4.9185        3.2586        .45391E-03   -1.5664    
  20  Prefactor      .0000        .78691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .27756E-09    32.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     21.445        30.034        .21024E-03   -1.5615    
  23  norm           .0000        1.3557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.9085        7.0040        .41318E-03   -1.5659    
  25  norm          1.0940        .60078        .11409E-02   -1.5687    
  26  norm          1.7786        2.3921        .78484E-03   -1.5681    
  27  Normalizat    .93819        .11306        .45381E-01   -.95131    
  28  Prefactor     1.1885        .11190        .54782E-01   -.86687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56691e-07
Minuit parameter uncertainties:
  1  26.086
  2  4.86953
  3  2.27789e-05
  4  1.30716e-09
  5  4.97785e-06
  6  2.13762
  7  19.2237
  8  3.34103
  9  11.5087
  10  12.1258
  11  2.737e-05
  12  5.8416
  13  7.87078e-07
  14  20.1042
  15  8.09338
  16  7.76254e-06
  17  1.3317
  18  1.60041
  19  3.25856
  20  2.08203e-07
  21  0.00018673
  22  30.0342
  23  7.00859e-07
  24  7.00405
  25  0.600781
  26  2.39207
  27  0.113085
  28  0.11192
Done.

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

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  7.871e-07  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.188e+00  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.382e-01  1.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 342.606 -42.109
Photon Flux Upper Limit: 1.91353178906e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00144525656335 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/26511363/likelihoodResults_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.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) = 17334.6458026
delta logL = -0.00104303441185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 17334.6447598
delta logL = -1.8840728444e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17334.64     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      249 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .58498        .42118E-03** at limit **
   2  Index         2.9542        1.7278        .39404E-05     .0000    
   3  Normalizat    .93819        1.2716       -.62299E-06   -.43868E-04
   4  Prefactor     1.1885        1.1069        .17696E-05   -.52253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.95417
  Normalizat = 0.938195
  Prefactor  = 1.18846
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   17334.64     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .14E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .58498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98730        2.1192        .39404E-05   -.42154    
   3  Normalizat    .93819        1.2716       -.62299E-06   -.95131    
   4  Prefactor     1.1885        1.1069        .17696E-05   -.86687    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.42513e-12
Minuit parameter uncertainties:
  1  1.42892e-06
  2  1.77197
  3  1.31635
  4  1.12971
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 17334.6447596
delta logL = 0.0

Extracting fit parameters...

4FGL J2250.4-4206
   Spectrum: PowerLaw
347    Prefactor:  0.000e+00  1.429e-06  0.000e+00  1.000e+06 ( 1.000e-13)
348        Index:  2.954e+00  1.772e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.783e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  1.188e+00  1.130e+00  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  9.382e-01  1.316e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 342.606 -42.109

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/26511363/cmap_HighResolution_799632001_800236801_4FGL_J2250.4-4206_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-03', job_status='DONE', photon_flux_upper_limit='1.91e-08', time_completed='2026-05-12 03:24:35.243808', job_id='26511363', GAL2='1.19', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1778581475.24', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='927' AND source_name='4FGL J2250.4-4206' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 03:24:35 PDT 2026

