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


Performing analysis on: 4FGL_J0014.1+1910_weekly_bin907
RA = 3.5368, Dec = 19.1713
tmin = 787536001, tmax = 788140801
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='17769152', job_status='RUN', time_executed='2025-12-23 00:08:44.389430', time_epoch_executed='1766477324.39' WHERE source_name='4FGL J0014.1+1910' and cadence='weekly' and bin_id='907'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17769152

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17769152/ft1_4FGL_J0014.1+1910_weekly_bin907.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17769152/ft1_4FGL_J0014.1+1910_weekly_bin907.fits outfile=/lscratch/kocevski/17769152/ft1_filteredMKT_4FGL_J0014.1+1910_weekly_bin907.fits ra=3.5368 dec=19.1713 rad=12.0 tmin=787536001.0 tmax=788140801.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.34
user 4.24
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.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/17769152/ft1_filteredMKT_4FGL_J0014.1+1910_weekly_bin907.fits evtable="EVENTS" outfile="/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.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 1.36
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1459

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17769152/ltcube_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.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/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits
.....................!
real 18.89
user 17.70
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17769152/ltcube_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.fits outfile=/lscratch/kocevski/17769152/expmap_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.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/17769152/ltcube_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.fits
.....................!
real 69.64
user 64.36
sys 4.06

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

Setting source of interest to:
4FGL J0014.1+1910 @ 3.5368 19.1713

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits scfile=/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits outfile=/lscratch/kocevski/17769152/cmap_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.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=3.5368 yref=19.1713 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.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits scfile=/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits outfile=/lscratch/kocevski/17769152/cmap_HighResolution_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.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=3.5368 yref=19.1713 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.16
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits evtable="EVENTS" scfile=/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17769152/Model_4FGL_J0014.1+1910_weekly_bin907.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/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits.....................!
real 66.66
user 64.53
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits', '/lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits', expMap='/lscratch/kocevski/17769152/expmap_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.fits', expCube='/lscratch/kocevski/17769152/ltcube_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17769152/Model_4FGL_J0014.1+1910_weekly_bin907.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0014.1+1910'

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.230e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17769152/ft1_filtered_4FGL_J0014.1+1910_weekly_bin907.fits
Spacecraft file(s): /lscratch/kocevski/17769152/ft2_4FGL_J0014.1+1910_weekly_bin907.fits
Exposure map: /lscratch/kocevski/17769152/expmap_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.fits
Exposure cube: /lscratch/kocevski/17769152/ltcube_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17769152/Model_4FGL_J0014.1+1910_weekly_bin907.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) = 16173.6191439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26368E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .66275E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.643       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.4378       1.0000          .0000       .10000E+07
     5 'norm      '    .42744E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23368       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17150E-01   1.0000          .0000       .10000E+07
     8 'norm      '    5.9006       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.9294       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.4793       1.0000          .0000       .10000E+07
    11 'Prefactor '    .91053E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .81073       1.0000          .0000       .10000E+07
    13 'Prefactor '    7.4648       1.0000          .0000       .10000E+07
    14 'Normalizat'    .85889       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.1586       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5110E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16172.76     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      844 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.7319       -.38100E-06** at limit **
   2  Prefactor      .0000        4.4126       -.27672E-06** at limit **
   3  Prefactor     11.632        6.3452       -.19954E-07   -.19635E-03
   4  Prefactor     7.4475        2.9630        .43406E-07   -.23333E-02
   5  norm           .0000        2.2730        .66004E-06** at limit **
   6  Prefactor     .38525E-07    656.24        .38883E-05** at limit **
   7  Prefactor      .0000        67.519       -.29303E-05** at limit **
   8  norm          5.9324        4.9526       -.19848E-06   -.82137E-03
   9  Prefactor     8.9019        4.6911       -.32279E-06    .12160E-03
  10  Prefactor     5.4716        5.9847       -.20831E-06   -.12696E-03
  11  Prefactor      .0000        20.098        .10864E-05** at limit **
  12  norm          .79326        21.412       -.80362E-05    .58067E-03
  13  Prefactor     7.5050        4.1147        .69671E-08   -.52247E-03
  14  Normalizat    .85906        .14711        .16734E-04    .28301E-04
  15  Prefactor     1.1586        .10094       -.53664E-05   -.56928E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 11.6325
  Prefactor  = 7.44754
  norm       = 0
  Prefactor  = 3.85247e-08
  Prefactor  = 0
  norm       = 5.93238
  Prefactor  = 8.9019
  Prefactor  = 5.47155
  Prefactor  = 0
  norm       = 0.793256
  Prefactor  = 7.50499
  Normalizat = 0.859058
  Prefactor  = 1.15857
 **********
 **   18 **HESSE 
 **********

 FCN=   16172.76     FROM HESSE     STATUS=OK           230 CALLS     1074 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.3927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.632        6.3480        .29334E-03   -1.5640    
   4  Prefactor     7.4475        3.0345        .36751E-03   -1.5653    
   5  norm           .0000        2.2761        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .38525E-07    9.8992        .12972E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        3.4893        .12738E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.9324        4.9636        .41317E-03   -1.5659    
   9  Prefactor     8.9019        4.8136        .33518E-03   -1.5648    
  10  Prefactor     5.4716        5.9907        .42901E-03   -1.5661    
  11  Prefactor      .0000        19.970        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .79326        21.343        .52139E-03   -1.5690    
  13  Prefactor     7.5050        4.1221        .36684E-03   -1.5653    
  14  Normalizat    .85906        .12855        .71315E-01   -.97914    
  15  Prefactor     1.1586        .87241E-01    .35693E-01   -.87616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20393e-08
Minuit parameter uncertainties:
  1  1.12778e-05
  2  5.46203e-06
  3  6.34799
  4  3.03449
  5  1.18153e-06
  6  0.00123529
  7  7.33088e-06
  8  4.96364
  9  4.81356
  10  5.99071
  11  5.54353e-06
  12  8.22938
  13  4.12207
  14  0.128592
  15  0.0872518
Done.

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

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.163e+01  6.348e+00  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  2.276e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.159e+00  8.725e-02  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  8.591e-01  1.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.79
Ra Dec: 3.537 19.171
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 4.03e-08 +/- 2.20e-08
Energy Flux (Fixed Index): 1.59e-05 +/- 8.66e-06

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) = 16172.7451976
delta logL = 0.0162041625827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16172.734579
delta logL = 0.0268227384313

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16172.73     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      254 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.766        8.6713        .11204E-04   -.46676E-04
   2  Index         2.1850        .40512        .79890E-02    .91008E-03
   3  Normalizat    .86263        .14513        .31498E-03   -.49087E-04
   4  Prefactor     1.1571        .10058        .19132E-03   -.77630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7664
  Index      = 2.18498
  Normalizat = 0.862635
  Prefactor  = 1.15705
 **********
 **   18 **HESSE 
 **********

 FCN=   16172.73     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.766        8.3742        .44816E-06   -1.5637    
   2  Index         2.1850        .39115        .15978E-02   -.59802    
   3  Normalizat    .86263        .14516        .12599E-04   -.97786    
   4  Prefactor     1.1571        .10062        .38264E-04   -.87663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83535e-12
Minuit parameter uncertainties:
  1  8.37419
  2  0.39174
  3  0.145224
  4  0.100642
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) = 16172.734579
delta logL = 0.0268227450215

Extracting fit parameters...

4FGL J0014.1+1910
   Spectrum: PowerLaw
57     Prefactor:  1.277e+01  8.374e+00  0.000e+00  1.000e+06 ( 1.000e-13)
58         Index:  2.185e+00  3.917e-01  0.000e+00  1.000e+01 (-1.000e+00)
59         Scale:  1.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
508    Prefactor:  1.157e+00  1.006e-01  0.000e+00  1.000e+01 ( 1.000e+00)
509        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
510        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
507   Normalization:  8.626e-01  1.452e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.84
Ra Dec: 3.537 19.171
Photon Index (Free Index): 2.18 +/- 0.39
Photon Flux (Free Index): 3.73e-08 +/- 2.43e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.15e-05

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/17769152/cmap_HighResolution_787536001_788140801_4FGL_J0014.1+1910_weekly_bin907.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.03e-08', energy_flux2='1.73e-05', photon_flux_error='2.20e-08', dlogl='2.68e-02', energy_flux='1.59e-05', photon_flux2='3.73e-08', job_status='DONE', time_completed='2025-12-23 00:20:14.319327', photon_index_error2='0.39', photon_index2='2.18', ts='6.79', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='0.86', time_epoch_completed='1766478014.32', return_code='0', job_id='17769152', GAL2='1.16', EG2='0.86', return_code2='0', energy_flux_error='8.66e-06', photon_flux_error2='2.43e-08', ts2='6.84', photon_index='2.28' WHERE bin_id='907' AND source_name='4FGL J0014.1+1910' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 23 00:20:15 PST 2025

