 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
ng on...
/lscratch/kocevski/34918255/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 32.52
user 31.16
sys 0.80

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918255/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918255/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918255/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918255/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918255/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918255/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918255/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918255/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918255/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918255/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918027/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918027/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:42:05.722908', job_id='34918027', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671725.72', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:42:06 PDT 2026

e=/lscratch/kocevski/34918537/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 9.60
user 8.93
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918537/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918537/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918537/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 60.17
user 56.18
sys 3.24

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918537/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.75
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918537/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.68
user 0.19
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918537/Model_4FGL_J2349.4+0534_daily_bin2194.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
Workie=/lscratch/kocevski/34918539/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 9.61
user 8.93
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918539/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918539/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918539/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 60.09
user 56.14
sys 3.21

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918539/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.80
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918539/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.68
user 0.18
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918539/Model_4FGL_J2349.4+0534_daily_bin2194.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
Worki/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)
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
ng on...
/lscratch/kocevski/34918297/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 30.38
user 28.70
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918297/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918297/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918297/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918297/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918297/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918297/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918297/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918297/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918297/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918297/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953

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

Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918273/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918273/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:42:24.683101', job_id='34918273', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671744.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:42:24 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918265/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918265/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:42:27.691302', job_id='34918265', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671747.69', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:42:27 PDT 2026

number of points = 7635
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin2194
RA = 357.356, Dec = 5.579
tmin = 808012801, tmax = 808272001
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='34918716', job_status='RUN', time_executed='2026-08-13 18:41:00.931623', time_epoch_executed='1786671660.93' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='2194'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34918716

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34918716/ft1_4FGL_J2349.4+0534_daily_bin2194.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34918716/ft1_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918716/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2194.fits ra=357.356 dec=5.579 rad=12.0 tmin=808012801.0 tmax=808272001.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 1.86
user 1.24
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.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/34918716/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" outfile="/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.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.72
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 709

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" outfilDone.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918255/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918255/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:42:44.314790', job_id='34918255', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671764.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:42:44 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918297/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918297/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:42:54.262241', job_id='34918297', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671774.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:42:54 PDT 2026

ng on...
/lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 30.83
user 29.19
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918539/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918539/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918539/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918539/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918539/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918539/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918539/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918539/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
ng on...
/lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 30.89
user 29.18
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918537/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918537/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918537/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918537/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918537/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918537/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918537/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918537/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
e=/lscratch/kocevski/34918564/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 7.88
user 7.29
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918564/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918564/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918564/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 60.35
user 56.24
sys 3.40

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918564/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.73
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918564/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.79
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918564/Model_4FGL_J2349.4+0534_daily_bin2194.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
Workie=/lscratch/kocevski/34918598/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 8.04
user 7.44
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918598/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918598/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918598/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 61.36
user 57.17
sys 3.47

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918598/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.74
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918598/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.71
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918598/Model_4FGL_J2349.4+0534_daily_bin2194.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
Worki **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
e=/lscratch/kocevski/34918545/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 8.44
user 7.73
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918545/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918545/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918545/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 66.63
user 62.11
sys 3.73

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918545/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.73
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918545/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.74
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918545/Model_4FGL_J2349.4+0534_daily_bin2194.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
WorkiDone.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918539/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918537/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918539/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:43:55.096852', job_id='34918539', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671835.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:43:55 PDT 2026

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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918537/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:43:56.098238', job_id='34918537', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671836.1', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:43:56 PDT 2026

number of points = 7635
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2349.4+0534_daily_bin2194
RA = 357.356, Dec = 5.579
tmin = 808012801, tmax = 808272001
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='34918804', job_status='RUN', time_executed='2026-08-13 18:42:18.964186', time_epoch_executed='1786671738.96' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='2194'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/34918804

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/34918804/ft1_4FGL_J2349.4+0534_daily_bin2194.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/34918804/ft1_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918804/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2194.fits ra=357.356 dec=5.579 rad=12.0 tmin=808012801.0 tmax=808272001.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.14
user 1.44
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.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/34918804/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" outfile="/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.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.73
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 709

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits" evtable="EVENTS" scfile=/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" outfilng on...
/lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 31.36
user 29.93
sys 0.79

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918564/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918564/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918564/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918564/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918564/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918564/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918564/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918564/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
ng on...
/lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 33.44
user 31.85
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918598/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918598/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918598/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918598/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918598/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918598/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918598/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918598/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
ng on...
/lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 33.94
user 32.28
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918545/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918545/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918545/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918545/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918545/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918545/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918545/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918545/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
e=/lscratch/kocevski/34918716/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 9.23
user 8.50
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918716/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918716/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918716/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 62.35
user 57.94
sys 3.78

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918716/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.63
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918716/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.69
user 0.19
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918716/Model_4FGL_J2349.4+0534_daily_bin2194.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
Worki **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918564/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918564/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:44:49.611053', job_id='34918564', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671889.61', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:44:49 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918545/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918545/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:45:08.782139', job_id='34918545', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671908.78', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:45:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918598/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918598/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:45:12.658591', job_id='34918598', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671912.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:45:12 PDT 2026

ng on...
/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 33.29
user 31.45
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918716/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918716/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918716/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918716/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918716/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918716/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918716/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918716/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
e=/lscratch/kocevski/34918804/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 9.19
user 8.43
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" expcube=/lscratch/kocevski/34918804/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918804/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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/34918804/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
.....................!
real 68.93
user 64.30
sys 3.92

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

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918804/cmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.79
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits scfile=/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits outfile=/lscratch/kocevski/34918804/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.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=357.356 yref=5.579 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.94
user 0.22
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits evtable="EVENTS" scfile=/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/34918804/Model_4FGL_J2349.4+0534_daily_bin2194.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
WorkiDone.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918716/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918716/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:46:12.045816', job_id='34918716', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786671972.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:46:12 PDT 2026

ng on...
/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits.....................!
real 33.91
user 32.11
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits', '/lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits', expMap='/lscratch/kocevski/34918804/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', expCube='/lscratch/kocevski/34918804/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/34918804/Model_4FGL_J2349.4+0534_daily_bin2194.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/34918804/ft1_filtered_4FGL_J2349.4+0534_daily_bin2194.fits
Spacecraft file(s): /lscratch/kocevski/34918804/ft2_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure map: /lscratch/kocevski/34918804/expmap_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
Exposure cube: /lscratch/kocevski/34918804/ltcube_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/34918804/Model_4FGL_J2349.4+0534_daily_bin2194.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) = 7974.71845233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.315       1.0000          .0000       .10000E+07
     2 'norm      '    .90855       1.0000          .0000       .10000E+07
     3 'norm      '    .18502E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .56843E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11117E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9831       1.0000          .0000       .10000E+07
     7 'norm      '    .63061E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48733E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22600E-02   1.0000          .0000       .10000E+07
    10 'norm      '    12.364       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.477       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20322E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .35117E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22708E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .14630E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    28.946       1.0000          .0000       .10000E+07
    17 'Prefactor '    .18723E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1878       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92791       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1108 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.429        1.2918       -.41767E-07   -.48559E-01
   2  norm          .90635        1.8858        .19814E-06    .15491E-02
   3  norm           .0000        1.5000       -.35048E-06** at limit **
   4  Prefactor     .11102E-07    7.1630       -.33107E-08** at limit **
   5  Prefactor     .38475E-05    33.840        .14652E-05** at limit **
   6  Prefactor     5.0295        1.8794       -.16648E-06   -.36560E-01
   7  norm           .0000        .32266       -.73513E-08** at limit **
   8  Prefactor     .10547E-07    8.0016       -.59908E-06** at limit **
   9  Prefactor     .50471E-06    22.148       -.45269E-05** at limit **
  10  norm          12.318        4.6584        .45657E-06   -.44510E-01
  11  Prefactor     13.450        5.6062        .51514E-06    .35522E-01
  12  Prefactor      .0000        23.146       -.23376E-05** at limit **
  13  norm          .16653E-09    5.2250        .22510E-06** at limit **
  14  norm           .0000        27.088        .66047E-06** at limit **
  15  Prefactor     .68919E-05    21.021       -.73423E-06** at limit **
  16  Prefactor     30.761        26.934        .21134E-06   -.80155E-01
  17  Prefactor     .83267E-09    5.2894        .26154E-06** at limit **
  18  Normalizat    1.1868        .21106       -.29025E-04   -.49620E-04
  19  Prefactor     .92795        .13980        .11452E-04   -.67774E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4287
  norm       = 0.906351
  norm       = 0
  Prefactor  = 1.11022e-08
  Prefactor  = 3.84753e-06
  Prefactor  = 5.02953
  norm       = 0
  Prefactor  = 1.05471e-08
  Prefactor  = 5.04707e-07
  norm       = 12.3184
  Prefactor  = 13.4497
  Prefactor  = 0
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 6.89193e-06
  Prefactor  = 30.7614
  Prefactor  = 8.32667e-10
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********

 FCN=   7974.651     FROM HESSE     STATUS=OK           304 CALLS     1412 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.429        14.066        .21175E-03   -1.5613    
   2  norm          .90635        1.9334        .45171E-03   -1.5689    
   3  norm           .0000        1.4986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-07    7.1725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38475E-05    40.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0295        15.984        .45027E-03   -1.5663    
   7  norm           .0000        .32251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10547E-07    8.0516        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50471E-06    23.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.318        10.511        .28463E-03   -1.5638    
  11  Prefactor     13.450        9.4177        .27259E-03   -1.5635    
  12  Prefactor      .0000        22.513        .17016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    5.2285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        26.636        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .68919E-05    33.605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     30.761        34.843        .18590E-03   -1.5597    
  17  Prefactor     .83267E-09    5.3213        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1868        .18235        .64695E-01   -.87010    
  19  Prefactor     .92795        .12014        .45360E-01   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9249e-07
Minuit parameter uncertainties:
  1  14.0661
  2  1.93344
  3  1.84627e-06
  4  0.000564383
  5  0.0248335
  6  15.9838
  7  5.63064e-07
  8  0.000582086
  9  0.00686645
  10  10.5112
  11  9.41769
  12  7.46986e-07
  13  6.32965e-05
  14  5.16862e-07
  15  0.0304374
  16  34.8436
  17  0.000135146
  18  0.182448
  19  0.120178
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  8.327e-10  1.351e-04  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 5.27979556236e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00409774207648 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/34918804/likelihoodResults_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7974.65077349
delta logL = -0.000122331309285

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7974.65065164
delta logL = -4.85246346216e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39257E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0790       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7974.651     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      240 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9658        .42118E-03** at limit **
   2  Index         2.8314        1.6897        .23293E-04     .0000    
   3  Normalizat    1.1868        1.1110        .18025E-04    .10507E-03
   4  Prefactor     .92795        1.2715       -.21808E-04    .24056E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.83137
  Normalizat = 1.18684
  Prefactor  = 0.927953
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7974.651     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .30E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .90799        2.0817        .23293E-04   -.44862    
   3  Normalizat    1.1868        1.1110        .18025E-04   -.87010    
   4  Prefactor     .92795        1.2715       -.21808E-04   -.95171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.97092e-11
Minuit parameter uncertainties:
  1  9.00257e-06
  2  1.7321
  3  1.13434
  4  1.31613
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) = 7974.65065116
delta logL = 5.72981662117e-11

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  0.000e+00  9.003e-06  0.000e+00  1.000e+06 ( 1.000e-13)
499        Index:  2.831e+00  1.732e+00  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  9.280e-01  1.316e+00  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.187e+00  1.134e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/34918804/cmap_HighResolution_808012801_808272001_4FGL_J2349.4+0534_daily_bin2194.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2026-08-13 18:47:42.452667', job_id='34918804', GAL2='0.93', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1786672062.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='5.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='2194' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 13 18:47:42 PDT 2026

