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


Performing analysis on: 4FGL_J0256.3+0334_weekly_bin910
RA = 44.0964, Dec = 3.5698
tmin = 789350401, tmax = 789955201
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='18859950', job_status='RUN', time_executed='2026-01-13 00:07:09.403543', time_epoch_executed='1768291629.4' WHERE source_name='4FGL J0256.3+0334' and cadence='weekly' and bin_id='910'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18859950

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18859950/ft1_4FGL_J0256.3+0334_weekly_bin910.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18859950/ft1_4FGL_J0256.3+0334_weekly_bin910.fits outfile=/lscratch/kocevski/18859950/ft1_filteredMKT_4FGL_J0256.3+0334_weekly_bin910.fits ra=44.0964 dec=3.5698 rad=12.0 tmin=789350401.0 tmax=789955201.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 5.18
user 3.30
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.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/18859950/ft1_filteredMKT_4FGL_J0256.3+0334_weekly_bin910.fits evtable="EVENTS" outfile="/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.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.97
user 0.24
sys 0.16

Number of photons that the gtmktime cut: 2059

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18859950/ltcube_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.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/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits
.....................!
real 31.49
user 28.18
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits evtable="EVENTS" scfile=/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18859950/ltcube_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.fits outfile=/lscratch/kocevski/18859950/expmap_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.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/18859950/ltcube_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.fits
.....................!
real 73.59
user 67.89
sys 4.04

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

Setting source of interest to:
4FGL J0256.3+0334 @ 44.0964 3.5698

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits scfile=/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits outfile=/lscratch/kocevski/18859950/cmap_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.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=44.0964 yref=3.5698 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.70
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits scfile=/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits outfile=/lscratch/kocevski/18859950/cmap_HighResolution_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.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=44.0964 yref=3.5698 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.72
user 0.26
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits evtable="EVENTS" scfile=/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18859950/Model_4FGL_J0256.3+0334_weekly_bin910.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/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits.....................!
real 110.16
user 107.77
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits', '/lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits', expMap='/lscratch/kocevski/18859950/expmap_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.fits', expCube='/lscratch/kocevski/18859950/ltcube_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18859950/Model_4FGL_J0256.3+0334_weekly_bin910.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0256.3+0334'

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  1.009e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  2.192e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18859950/ft1_filtered_4FGL_J0256.3+0334_weekly_bin910.fits
Spacecraft file(s): /lscratch/kocevski/18859950/ft2_4FGL_J0256.3+0334_weekly_bin910.fits
Exposure map: /lscratch/kocevski/18859950/expmap_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.fits
Exposure cube: /lscratch/kocevski/18859950/ltcube_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18859950/Model_4FGL_J0256.3+0334_weekly_bin910.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) = 22576.5094615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5037       1.0000          .0000       .10000E+07
     2 'norm      '    1.9669       1.0000          .0000       .10000E+07
     3 'Prefactor '    46.143       1.0000          .0000       .10000E+07
     4 'Prefactor '    .96956E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .99920E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.443       1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'Prefactor '    28.113       1.0000          .0000       .10000E+07
     9 'norm      '    6.0246       1.0000          .0000       .10000E+07
    10 'Prefactor '    .98452       1.0000          .0000       .10000E+07
    11 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
    12 'Prefactor '    17.610       1.0000          .0000       .10000E+07
    13 'Prefactor '    .73830E-08   1.0000          .0000       .10000E+07
    14 'norm      '    2.3362       1.0000          .0000       .10000E+07
    15 'norm      '    .94220       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.3880       1.0000          .0000       .10000E+07
    17 'norm      '    .10105E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .23528E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.8000       1.0000          .0000       .10000E+07
    20 'Prefactor '    5.5754       1.0000          .0000       .10000E+07
    21 'Normalizat'    .90108       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98208       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   22576.43     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1728 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5032        1.7061       -.81506E-07    .18009E-02
   2  norm          1.9668        .49064        .13178E-08    .13179E-03
   3  Prefactor     46.137        1.0842       -.16910E-08   -.58338E-01
   4  Prefactor     .55511E-10    28.166        .26745E-06** at limit **
   5  Prefactor      .0000        1.4772        .18906E-06** at limit **
   6  Prefactor     12.442        1.2621       -.11506E-07    .37885E-01
   7  Prefactor     .16653E-09    4.0582       -.12824E-06** at limit **
   8  Prefactor     28.112        1.0386        .30338E-08   -.13102E-01
   9  norm          6.0234        5.9548       -.75486E-07   -.16912E-02
  10  Prefactor     .97607        .57952       -.33051E-07    .17188E-01
  11  Prefactor      .0000        5.6401        .15201E-06** at limit **
  12  Prefactor     17.617        1.0396       -.17215E-08   -.12457E-01
  13  Prefactor      .0000        2.0926        .51349E-06** at limit **
  14  norm          2.3362        2.3671       -.95500E-07   -.29463E-03
  15  norm          .94187        2.1981       -.18486E-06   -.12238E-02
  16  Prefactor     4.3877        2.7630        .40140E-07   -.24773E-03
  17  norm          .55511E-10    5.0559        .26000E-06** at limit **
  18  Prefactor     .22204E-09    9.1587       -.34817E-06** at limit **
  19  Prefactor     1.7996        2.1969        .22821E-07    .58782E-05
  20  Prefactor     5.5722        1.4171       -.53309E-08   -.43756E-01
  21  Normalizat    .90113        .11245        .78562E-06    .49932E-07
  22  Prefactor     .98210        .57836E-01   -.91593E-06    .34600E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.5032
  norm       = 1.96685
  Prefactor  = 46.1368
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 12.442
  Prefactor  = 1.66533e-10
  Prefactor  = 28.112
  norm       = 6.02338
  Prefactor  = 0.97607
  Prefactor  = 0
  Prefactor  = 17.6169
  Prefactor  = 0
  norm       = 2.33622
  norm       = 0.941873
  Prefactor  = 4.38775
  norm       = 5.55112e-11
  Prefactor  = 2.22045e-10
  Prefactor  = 1.79961
  Prefactor  = 5.57221
  Normalizat = 0.90113
  Prefactor  = 0.982097
 **********
 **   18 **HESSE 
 **********

 FCN=   22576.43     FROM HESSE     STATUS=OK           392 CALLS     2120 TOTAL
                     EDM=   .70E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5032        1.7746        .47418E-03   -1.5666    
   2  norm          1.9668        .49251        .73916E-03   -1.5680    
   3  Prefactor     46.137        18.472        .14723E-03   -1.5572    
   4  Prefactor     .55511E-10    28.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.4765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.442        13.098        .28372E-03   -1.5637    
   7  Prefactor     .16653E-09    4.0787        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     28.112        11.239        .18864E-03   -1.5602    
   9  norm          6.0234        5.9970        .40884E-03   -1.5659    
  10  Prefactor     .97607        7.7934        .43217E-03   -1.5688    
  11  Prefactor      .0000        5.6751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.617        15.690        .23839E-03   -1.5624    
  13  Prefactor      .0000        2.0797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3362        2.3555        .67058E-03   -1.5677    
  15  norm          .94187        2.1980        .42885E-03   -1.5689    
  16  Prefactor     4.3877        2.7699        .48055E-03   -1.5666    
  17  norm          .55511E-10    5.0087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    9.1621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.7996        2.2040        .77890E-03   -1.5681    
  20  Prefactor     5.5722        8.5067        .42524E-03   -1.5661    
  21  Normalizat    .90113        .11071        .78834E-01   -.96420    
  22  Prefactor     .98210        .53006E-01    .46043E-01   -.93329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.02048e-07
Minuit parameter uncertainties:
  1  1.77465
  2  0.49251
  3  18.4721
  4  8.68431e-05
  5  1.07607e-06
  6  13.0979
  7  5.45739e-05
  8  11.2394
  9  5.99697
  10  5.51612
  11  2.27374e-05
  12  15.6905
  13  8.55699e-06
  14  2.35555
  15  2.19801
  16  2.76987
  17  2.40606e-05
  18  8.64455e-05
  19  2.20404
  20  8.50669
  21  0.11074
  22  0.0530091
Done.

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

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  8.557e-06  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.086e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  2.192e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.821e-01  5.301e-02  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.011e-01  1.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 44.096 3.570
Photon Flux Upper Limit: 3.33198035108e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00251658755667 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/18859950/likelihoodResults_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.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) = 22576.4294689
delta logL = -0.00156494624389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 22572.6385367
delta logL = 3.78936732441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     2 'Index     '    9.9995       1.0000          .0000       10.000    
     3 'Normalizat'    .83180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0014       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   22576.43     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      792 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .93875E-01    .42118E-03** at limit **
   2  Index         .17847        .41755       -.15848E-06     .0000    
   3  Normalizat    .90113        1.2135        .77249E-05   -.42587E-04
   4  Prefactor     .98210        1.2998        .77754E-06   -.68982E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.178466
  Normalizat = 0.90113
  Prefactor  = 0.982096
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   22576.43     FROM HESSE     STATUS=FAILED         9 CALLS      801 TOTAL
                     EDM=   .32E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .93875E-01    .42118E-03   -.12992E+07
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .14572        .41755       -.15848E-06   -.15966E+09
   3  Normalizat    .90113        1.2135        .77249E-05   -291.20    
   4  Prefactor     .98210        1.2998        .77754E-06   -610.40    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.241e-12
Minuit parameter uncertainties:
  1  2.47223e-07
  2  0.424803
  3  1.25358
  4  1.34515
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) = 22576.427904
delta logL = 0.0

Extracting fit parameters...

4FGL J0256.3+0334
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  2.472e-07  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.785e-01  4.248e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  2.192e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.821e-01  1.345e+00  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.011e-01  1.254e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 44.096 3.570

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/18859950/cmap_HighResolution_789350401_789955201_4FGL_J0256.3+0334_weekly_bin910.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-03', job_status='DONE', photon_flux_upper_limit='3.33e-08', time_completed='2026-01-13 00:26:35.780294', job_id='18859950', GAL2='0.98', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1768292795.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='910' AND source_name='4FGL J0256.3+0334' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 13 00:26:36 PST 2026

