/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_J2034.6+1154_weekly_bin927
RA = 308.65, Dec = 11.9035
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='26510903', job_status='RUN', time_executed='2026-05-12 02:53:52.170034', time_epoch_executed='1778579632.17' WHERE source_name='4FGL J2034.6+1154' and cadence='weekly' and bin_id='927'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26510903

Creating custom pfile directory:
/lscratch/kocevski/26510903/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/26510903/ft1_4FGL_J2034.6+1154_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/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26510903/ft1_4FGL_J2034.6+1154_weekly_bin927.fits outfile=/lscratch/kocevski/26510903/ft1_filteredMKT_4FGL_J2034.6+1154_weekly_bin927.fits ra=308.65 dec=11.9035 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 3.66
user 3.03
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_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/26510903/ft1_filteredMKT_4FGL_J2034.6+1154_weekly_bin927.fits evtable="EVENTS" outfile="/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_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.83
user 0.20
sys 0.15

Number of photons that the gtmktime cut: 3963

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26510903/ltcube_799632001_800236801_4FGL_J2034.6+1154_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/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits
.....................!
real 17.14
user 16.34
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26510903/ltcube_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.fits outfile=/lscratch/kocevski/26510903/expmap_799632001_800236801_4FGL_J2034.6+1154_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/26510903/ltcube_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.fits
.....................!
real 61.11
user 56.72
sys 3.66

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source W 51C in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 225 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2034.6+1154 @ 308.65 11.9035

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits scfile=/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits outfile=/lscratch/kocevski/26510903/cmap_799632001_800236801_4FGL_J2034.6+1154_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=308.65 yref=11.9035 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.87
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits scfile=/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits outfile=/lscratch/kocevski/26510903/cmap_HighResolution_799632001_800236801_4FGL_J2034.6+1154_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=308.65 yref=11.9035 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.76
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits evtable="EVENTS" scfile=/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26510903/Model_4FGL_J2034.6+1154_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 Cygnus Loop
adding source EG_v02
adding source G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits.....................!
real 293.70
user 290.27
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits', '/lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits', expMap='/lscratch/kocevski/26510903/expmap_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.fits', expCube='/lscratch/kocevski/26510903/ltcube_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26510903/Model_4FGL_J2034.6+1154_weekly_bin927.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2034.6+1154'

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  5.807e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26510903/ft1_filtered_4FGL_J2034.6+1154_weekly_bin927.fits
Spacecraft file(s): /lscratch/kocevski/26510903/ft2_4FGL_J2034.6+1154_weekly_bin927.fits
Exposure map: /lscratch/kocevski/26510903/expmap_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.fits
Exposure cube: /lscratch/kocevski/26510903/ltcube_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26510903/Model_4FGL_J2034.6+1154_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) = 41010.6068235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16885E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .46796E-07   1.0000          .0000       .10000E+07
     3 'norm      '    2.0820       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.9632       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18491E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.322       1.0000          .0000       .10000E+07
     7 'norm      '    .88818E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13925E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .77716E-09   1.0000          .0000       .10000E+07
    10 'Prefactor '    .53847E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58842E-08   1.0000          .0000       .10000E+07
    12 'Prefactor '    .10417E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .16013E-04   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.0755       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96661       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   41010.58     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      793 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20883E-06    4.8246        .17241E-06** at limit **
   2  Prefactor     .28272E-06    1.4563        .22400E-07** at limit **
   3  norm          2.0818        1.5391       -.45569E-07   -.83501E-02
   4  Prefactor     6.9962        5.6643        .11814E-07    .12117E-01
   5  Prefactor     .13878E-08    1.5978       -.25812E-07** at limit **
   6  Prefactor     12.320        4.1945        .29172E-07    .56594E-01
   7  norm           .0000        .90976E-01    .48261E-07** at limit **
   8  Prefactor     .29921E-07    7.3956        .98463E-07** at limit **
   9  norm          .11102E-09    1.0276       -.45381E-07** at limit **
  10  Prefactor     .11430E-06    1.4028        .13782E-07** at limit **
  11  Prefactor     .34894E-06    2.5208        .50020E-08** at limit **
  12  Prefactor      .0000        1.4650       -.10947E-06** at limit **
  13  Prefactor     .44964E-08    2.0833       -.21363E-07** at limit **
  14  Normalizat    1.0754        .14226       -.40805E-06   -.12700E-03
  15  Prefactor     .96661        .38892E-01    .25209E-07   -.42635E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.08833e-07
  Prefactor  = 2.82718e-07
  norm       = 2.08178
  Prefactor  = 6.99622
  Prefactor  = 1.38778e-09
  Prefactor  = 12.3205
  norm       = 0
  Prefactor  = 2.99205e-08
  norm       = 1.11022e-10
  Prefactor  = 1.14297e-07
  Prefactor  = 3.48943e-07
  Prefactor  = 0
  Prefactor  = 4.4964e-09
  Normalizat = 1.07544
  Prefactor  = 0.966607
 **********
 **   18 **HESSE 
 **********

 FCN=   41010.58     FROM HESSE     STATUS=OK           206 CALLS      999 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20883E-06    5.7485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .28272E-06    4.5199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0818        1.5438        .71536E-03   -1.5679    
   4  Prefactor     6.9962        5.7080        .37995E-03   -1.5655    
   5  Prefactor     .13878E-08    1.8190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.320        6.4521        .28511E-03   -1.5638    
   7  norm           .0000        .89958E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29921E-07    7.5271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .11102E-09    1.0287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11430E-06    4.4616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .34894E-06    4.1937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.0085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44964E-08    2.1411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.0754        .12948        .10969       -.90544    
  15  Prefactor     .96661        .34943E-01    .31301E-01   -.93851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26739e-07
Minuit parameter uncertainties:
  1  0.00219125
  2  0.00226083
  3  1.5438
  4  5.70804
  5  0.000100524
  6  6.45209
  7  2.85107e-06
  8  0.000949509
  9  1.87263e-05
  10  0.0014282
  11  0.00241941
  12  1.25796e-05
  13  0.000195892
  14  0.129518
  15  0.0349442
Done.

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

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  1.232e+01  6.452e+00  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.540e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
796    Prefactor:  9.666e-01  3.494e-02  0.000e+00  1.000e+01 ( 1.000e+00)
797        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
798        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
792   Normalization:  1.075e+00  1.295e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.23
Ra Dec: 308.650 11.903
Photon Index (Fixed Index): 2.54 +/- 0.00
Photon Flux (Fixed Index): 4.66e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 6.79e-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) = 41010.5712421
delta logL = 0.00457836340502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 41010.5626429
delta logL = 0.0131775178888

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   41010.56     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      273 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.002        17.071        .60313E-04    .21516E-02
   2  Index         2.6386        1.0381        .97789E-02    .10230E-03
   3  Normalizat    1.0704        .15070        .48729E-03    .55247E-05
   4  Prefactor     .96744        .39576E-01    .13826E-03   -.65781E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0017
  Index      = 2.63855
  Normalizat = 1.07042
  Prefactor  = 0.967444
 **********
 **   18 **HESSE 
 **********

 FCN=   41010.56     FROM HESSE     STATUS=OK            27 CALLS      300 TOTAL
                     EDM=   .19E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.002        10.320        .12063E-04   -1.5642    
   2  Index         2.6386        .63004        .39116E-03   -.49189    
   3  Normalizat    1.0704        .14635        .97457E-04   -.90707    
   4  Prefactor     .96744        .39004E-01    .55304E-05   -.93823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89405e-13
Minuit parameter uncertainties:
  1  10.3202
  2  0.632202
  3  0.146403
  4  0.0390052
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) = 41010.5626381
delta logL = 0.0131823868142

Extracting fit parameters...

4FGL J2034.6+1154
   Spectrum: PowerLaw
494    Prefactor:  1.100e+01  1.032e+01  0.000e+00  1.000e+06 ( 1.000e-13)
495        Index:  2.639e+00  6.322e-01  0.000e+00  1.000e+01 (-1.000e+00)
496        Scale:  1.227e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
796    Prefactor:  9.674e-01  3.901e-02  0.000e+00  1.000e+01 ( 1.000e+00)
797        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
798        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
792   Normalization:  1.070e+00  1.464e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.27
Ra Dec: 308.650 11.903
Photon Index (Free Index): 2.64 +/- 0.63
Photon Flux (Free Index): 5.01e-08 +/- 3.31e-08
Energy Flux (Free Index): 1.27e-05 +/- 6.76e-06

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/26510903/cmap_HighResolution_799632001_800236801_4FGL_J2034.6+1154_weekly_bin927.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.66e-08', energy_flux2='1.27e-05', photon_flux_error='2.44e-08', dlogl='1.32e-02', energy_flux='1.30e-05', photon_flux2='5.01e-08', job_status='DONE', time_completed='2026-05-12 03:10:11.849448', photon_index_error2='0.63', photon_index2='2.64', ts='5.23', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='6.76e-06', EG='1.08', time_epoch_completed='1778580611.85', return_code='0', job_id='26510903', GAL2='0.97', EG2='1.07', return_code2='0', energy_flux_error='6.79e-06', photon_flux_error2='3.31e-08', ts2='5.27', photon_index='2.54' WHERE bin_id='927' AND source_name='4FGL J2034.6+1154' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 12 03:10:12 PDT 2026

