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


Performing analysis on: 4FGL_J2256.0-2740_daily_bin2114
RA = 344.025, Dec = -27.6739
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='17379245', job_status='RUN', time_executed='2025-12-16 02:32:43.751307', time_epoch_executed='1765881163.75' WHERE source_name='4FGL J2256.0-2740' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17379245

Creating custom pfile directory:
/lscratch/kocevski/17379245/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/17379245/ft1_4FGL_J2256.0-2740_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/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17379245/ft1_4FGL_J2256.0-2740_daily_bin2114.fits outfile=/lscratch/kocevski/17379245/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin2114.fits ra=344.025 dec=-27.6739 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.55
user 1.74
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_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/17379245/ft1_filteredMKT_4FGL_J2256.0-2740_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_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.94
user 0.18
sys 0.12

Number of photons that the gtmktime cut: 323

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17379245/ltcube_787276801_787536001_4FGL_J2256.0-2740_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/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits
.....................!
real 8.03
user 7.13
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17379245/ltcube_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.fits outfile=/lscratch/kocevski/17379245/expmap_787276801_787536001_4FGL_J2256.0-2740_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/17379245/ltcube_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.fits
.....................!
real 61.51
user 57.02
sys 3.62

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

Setting source of interest to:
4FGL J2256.0-2740 @ 344.025 -27.6739

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits scfile=/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits outfile=/lscratch/kocevski/17379245/cmap_787276801_787536001_4FGL_J2256.0-2740_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=344.025 yref=-27.6739 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.97
user 0.20
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits scfile=/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits outfile=/lscratch/kocevski/17379245/cmap_HighResolution_787276801_787536001_4FGL_J2256.0-2740_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=344.025 yref=-27.6739 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.77
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17379245/Model_4FGL_J2256.0-2740_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
Working on...
/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits.....................!
real 13.60
user 12.48
sys 0.53

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits', '/lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits', expMap='/lscratch/kocevski/17379245/expmap_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.fits', expCube='/lscratch/kocevski/17379245/ltcube_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17379245/Model_4FGL_J2256.0-2740_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2256.0-2740'

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  5.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17379245/ft1_filtered_4FGL_J2256.0-2740_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17379245/ft2_4FGL_J2256.0-2740_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17379245/expmap_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17379245/ltcube_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17379245/Model_4FGL_J2256.0-2740_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) = 3707.30441171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51462E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21333E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .72547E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.979       1.0000          .0000       .10000E+07
     5 'Prefactor '    .43149E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .50970       1.0000          .0000       .10000E+07
     7 'Prefactor '    58.735       1.0000          .0000       .10000E+07
     8 'Prefactor '    .95913E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .12722E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .78582E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    20.089       1.0000          .0000       .10000E+07
    12 'norm      '    .13680       1.0000          .0000       .10000E+07
    13 'Prefactor '    .50145E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .49645E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .57050E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    78.593       1.0000          .0000       .10000E+07
    17 'norm      '    3.5038       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2036       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .59084       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3707.299     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     1569 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72720E-08    12.851        .95672E-08** at limit **
   2  Prefactor     .22204E-09    4.4227       -.52298E-07** at limit **
   3  norm          .41633E-08    19.448        .63512E-07** at limit **
   4  Prefactor     11.967        6.5487       -.17508E-08    .58038E-01
   5  Prefactor     .33307E-09    7.0079        .13184E-06** at limit **
   6  norm          .55151        4.4638       -.27230E-07   -.41488E-03
   7  Prefactor     56.272        68.717       -.25274E-07    .16521E-03
   8  Prefactor     .11657E-08    10.041        .71987E-07** at limit **
   9  norm          .72164E-09    7.2165        .72277E-07** at limit **
  10  Prefactor     .84543E-07    10.763       -.19530E-07** at limit **
  11  Prefactor     20.098        14.861        .23630E-07    .22639E-01
  12  norm          .13633        1.4705        .67382E-07** at limit **
  13  Prefactor     .30531E-08    8.8145        .26524E-07** at limit **
  14  Prefactor     .11213E-07    18.344        .86676E-09** at limit **
  15  norm          .55511E-09    39.108        .47279E-06** at limit **
  16  Prefactor     76.394        87.234        .63523E-07    .10787E-03
  17  norm          3.5043        2.8581       -.30705E-08   -.20597E-03
  18  Normalizat    1.2068        .27588       -.20794E-05   -.75481E-04
  19  Prefactor     .58945        .23897        .13784E-05   -.44242E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.27196e-09
  Prefactor  = 2.22045e-10
  norm       = 4.16334e-09
  Prefactor  = 11.967
  Prefactor  = 3.33067e-10
  norm       = 0.551513
  Prefactor  = 56.2719
  Prefactor  = 1.16573e-09
  norm       = 7.21645e-10
  Prefactor  = 8.45435e-08
  Prefactor  = 20.0983
  norm       = 0.136328
  Prefactor  = 3.05311e-09
  Prefactor  = 1.12133e-08
  norm       = 5.55112e-10
  Prefactor  = 76.394
  norm       = 3.50432
  Normalizat = 1.20685
  Prefactor  = 0.589451
 **********
 **   18 **HESSE 
 **********

 FCN=   3707.299     FROM HESSE     STATUS=OK           304 CALLS     1873 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72720E-08    12.950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .22204E-09    4.4252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .41633E-08    19.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.967        12.982        .28918E-03   -1.5639    
   5  Prefactor     .33307E-09    7.0313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55151        4.9829        .77739E-03   -1.5693    
   7  Prefactor     56.272        71.920        .13049E-03   -1.5558    
   8  Prefactor     .11657E-08    10.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72164E-09    7.1853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .84543E-07    12.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.098        11.851        .22318E-03   -1.5618    
  12  norm          .13633        .51402        .21691E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .30531E-08    8.8653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11213E-07    18.517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-09    39.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     76.394        86.089        .11281E-03   -1.5533    
  17  norm          3.5043        2.8648        .53987E-03   -1.5671    
  18  Normalizat    1.2068        .23152        .34804E-01   -.86391    
  19  Prefactor     .58945        .20165        .61457E-01   -1.0803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21889e-08
Minuit parameter uncertainties:
  1  0.000613152
  2  6.55126e-05
  3  0.000569363
  4  12.9816
  5  9.48596e-05
  6  3.31549
  7  71.9215
  8  0.000213849
  9  0.000144936
  10  0.00202085
  11  11.8506
  12  0.514017
  13  0.000329899
  14  0.000911382
  15  0.000299233
  16  86.0906
  17  2.86478
  18  0.231722
  19  0.201892
Done.

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

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  2.010e+01  1.185e+01  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  3.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  5.895e-01  2.019e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.207e+00  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.95
Ra Dec: 344.025 -27.674
Photon Index (Fixed Index): 3.02 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 8.10e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 1.60e-05

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) = 3706.85172476
delta logL = 0.446816775568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3706.82891612
delta logL = 0.469625410372

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3706.829     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      213 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.462        10.578        .23945E-03    .45291E-03
   2  Index         2.4685        .43011        .14294       -.56900E-04
   3  Normalizat    1.2505        .22052        .33754E-01   -.46264E-05
   4  Prefactor     .55865        .19950        .62956E-01    .91752E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.4623
  Index      = 2.46849
  Normalizat = 1.2505
  Prefactor  = 0.55865
 **********
 **   18 **HESSE 
 **********

 FCN=   3706.829     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.462        12.175        .95781E-05   -1.5624    
   2  Index         2.4685        .53272        .58700E-02   -.53089    
   3  Normalizat    1.2505        .25918        .21192E-03   -.85056    
   4  Prefactor     .55865        .23148        .27857E-03   -1.0936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83492e-12
Minuit parameter uncertainties:
  1  12.1748
  2  0.534087
  3  0.25945
  4  0.231876
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) = 3706.82891557
delta logL = 0.469625965009

Extracting fit parameters...

4FGL J2256.0-2740
   Spectrum: PowerLaw
340    Prefactor:  1.746e+01  1.217e+01  0.000e+00  1.000e+06 ( 1.000e-11)
341        Index:  2.468e+00  5.341e-01  0.000e+00  1.000e+01 (-1.000e+00)
342        Scale:  2.384e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  5.586e-01  2.319e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  1.251e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.91
Ra Dec: 344.025 -27.674
Photon Index (Free Index): 2.47 +/- 0.53
Photon Flux (Free Index): 1.02e-07 +/- 7.64e-08
Energy Flux (Free Index): 3.06e-05 +/- 1.91e-05

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/17379245/cmap_HighResolution_787276801_787536001_4FGL_J2256.0-2740_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='3.06e-05', photon_flux_error='8.10e-08', dlogl='4.70e-01', energy_flux='2.71e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2025-12-16 02:37:47.420847', photon_index_error2='0.53', photon_index2='2.47', ts='5.95', fit_tolerance='1e-08', GAL='0.59', photon_index_error='0.00', energy_flux_error2='1.91e-05', EG='1.21', time_epoch_completed='1765881467.42', return_code='0', job_id='17379245', GAL2='0.56', EG2='1.25', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='7.64e-08', ts2='6.91', photon_index='3.02' WHERE bin_id='2114' AND source_name='4FGL J2256.0-2740' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 02:37:47 PST 2025

