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

 FCN=   19331.97     FROM HESSE     STATUS=OK           171 CALLS      845 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7916        7.7191        .52038E-03   -1.5669    
   3  Prefactor     7.8418        4.8321        .35770E-03   -1.5652    
   4  Prefactor     .16653E-09    7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5071        4.5072        .42926E-03   -1.5661    
   8  norm          4.3393        3.4407        .48205E-03   -1.5666    
   9  Prefactor     .55511E-10    3.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.535        124.23        .33071E-03   -1.5632    
  12  Normalizat    1.3301        .22910        .14224       -.82673    
  13  Prefactor     1.0375        .39859E-01    .28849E-01   -.91491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.189e-09
Minuit parameter uncertainties:
  1  4.31345e-06
  2  7.71914
  3  4.8321
  4  6.5445e-05
  5  9.25318e-06
  6  7.46732e-05
  7  4.5072
  8  3.44069
  9  2.33704e-05
  10  7.57735e-05
  11  84.9895
  12  0.229272
  13  0.0398602
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008408/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008408/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:16:31.935749', job_id='27008408', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398191.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:16:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008507/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008507/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:16:41.419252', job_id='27008507', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398201.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:16:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008565/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
utfile=/lscratch/kocevski/27008889/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
.....................!
real 8.02
user 7.55
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27008889/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27008889/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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/27008889/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
.....................!
real 65.29
user 60.27
sys 3.93

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

Setting source of interest to:
4FGL J1849.4+2745 @ 282.354 27.7542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits scfile=/lscratch/kocevski/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27008889/cmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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=282.354 yref=27.7542 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.58
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits scfile=/lscratch/kocevski/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27008889/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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=282.354 yref=27.7542 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.59
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/ko **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008565/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:17:20.007721', job_id='27008565', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398240.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:17:20 PDT 2026

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


Performing analysis on: 4FGL_J1849.4+2745_daily_bin2166
RA = 282.354, Dec = 27.7542
tmin = 800755201, tmax = 801014401
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='27009019', job_status='RUN', time_executed='2026-05-21 14:16:22.656691', time_epoch_executed='1779398182.66' WHERE source_name='4FGL J1849.4+2745' and cadence='daily' and bin_id='2166'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27009019

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27009019/ft1_4FGL_J1849.4+2745_daily_bin2166.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27009019/ft1_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27009019/ft1_filteredMKT_4FGL_J1849.4+2745_daily_bin2166.fits ra=282.354 dec=27.7542 rad=12.0 tmin=800755201.0 tmax=801014401.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.58
user 2.03
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.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/27009019/ft1_filteredMKT_4FGL_J1849.4+2745_daily_bin2166.fits evtable="EVENTS" outfile="/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.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.63
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 2030

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" oDone.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008571/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008571/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:18:08.646700', job_id='27008571', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398288.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:18:08 PDT 2026

cevski/27008639/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27008639/Model_4FGL_J1849.4+2745_daily_bin2166.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 G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/lscratch/kocevski/27008639/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits.....................!
real 130.16
user 128.22
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27008639/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits', '/lscratch/kocevski/27008639/ft2_4FGL_J1849.4+2745_daily_bin2166.fits', expMap='/lscratch/kocevski/27008639/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', expCube='/lscratch/kocevski/27008639/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27008639/Model_4FGL_J1849.4+2745_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.4+2745'

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  2.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27008639/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27008639/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27008639/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27008639/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27008639/Model_4FGL_J1849.4+2745_daily_bin2166.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) = 19332.5737525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14821E-07   1.0000          .0000       .10000E+07
     2 'norm      '    3.7606       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50206E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .31089E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.4732       1.0000          .0000       .10000E+07
     8 'norm      '    4.3615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32499E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13360E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1709       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3301       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19331.97     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      674 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6791       -.81881E-06** at limit **
   2  norm          3.7916        7.6799       -.95561E-06    .13927E-04
   3  Prefactor     7.8418        4.8403        .26089E-06   -.30713E-02
   4  Prefactor     .16653E-09    7.6705       -.37533E-05** at limit **
   5  Prefactor      .0000        2.4468        .30747E-06** at limit **
   6  norm          .11102E-09    14.564        .72569E-05** at limit **
   7  norm          5.5071        4.5000       -.14391E-05    .24581E-02
   8  norm          4.3393        3.4501        .53358E-07    .14369E-02
   9  Prefactor     .55511E-10    3.8176       -.90697E-06** at limit **
  10  Prefactor     .11102E-09    14.115       -.56972E-05** at limit **
  11  Prefactor     14.535        125.39        .36122E-04    .31783E-03
  12  Normalizat    1.3301        .23797        .30812E-04    .64403E-04
  13  Prefactor     1.0375        .41652E-01   -.16857E-04    .12664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.79163
  Prefactor  = 7.84183
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  norm       = 5.50707
  norm       = 4.33931
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5353
  Normalizat = 1.33009
  Prefactor  = 1.03747
cevski/27008645/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27008645/Model_4FGL_J1849.4+2745_daily_bin2166.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 G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/lscratch/kocevski/27008645/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits.....................!
real 129.59
user 127.64
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27008645/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits', '/lscratch/kocevski/27008645/ft2_4FGL_J1849.4+2745_daily_bin2166.fits', expMap='/lscratch/kocevski/27008645/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', expCube='/lscratch/kocevski/27008645/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27008645/Model_4FGL_J1849.4+2745_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.4+2745'

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  2.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27008645/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27008645/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27008645/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27008645/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27008645/Model_4FGL_J1849.4+2745_daily_bin2166.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) = 19332.5737525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14821E-07   1.0000          .0000       .10000E+07
     2 'norm      '    3.7606       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50206E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .31089E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.4732       1.0000          .0000       .10000E+07
     8 'norm      '    4.3615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32499E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13360E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1709       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3301       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19331.97     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      674 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6791       -.81881E-06** at limit **
   2  norm          3.7916        7.6799       -.95561E-06    .13927E-04
   3  Prefactor     7.8418        4.8403        .26089E-06   -.30713E-02
   4  Prefactor     .16653E-09    7.6705       -.37533E-05** at limit **
   5  Prefactor      .0000        2.4468        .30747E-06** at limit **
   6  norm          .11102E-09    14.564        .72569E-05** at limit **
   7  norm          5.5071        4.5000       -.14391E-05    .24581E-02
   8  norm          4.3393        3.4501        .53358E-07    .14369E-02
   9  Prefactor     .55511E-10    3.8176       -.90697E-06** at limit **
  10  Prefactor     .11102E-09    14.115       -.56972E-05** at limit **
  11  Prefactor     14.535        125.39        .36122E-04    .31783E-03
  12  Normalizat    1.3301        .23797        .30812E-04    .64403E-04
  13  Prefactor     1.0375        .41652E-01   -.16857E-04    .12664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.79163
  Prefactor  = 7.84183
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  norm       = 5.50707
  norm       = 4.33931
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5353
  Normalizat = 1.33009
  Prefactor  = 1.03747
utfile=/lscratch/kocevski/27009019/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
.....................!
real 7.28
user 6.81
sys 0.18

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27009019/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27009019/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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/27009019/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
.....................!
real 60.20
user 56.12
sys 3.55

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

Setting source of interest to:
4FGL J1849.4+2745 @ 282.354 27.7542

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits scfile=/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27009019/cmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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=282.354 yref=27.7542 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.54
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits scfile=/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits outfile=/lscratch/kocevski/27009019/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.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=282.354 yref=27.7542 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.51
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits evtable="EVENTS" scfile=/lscratch/kocevski/27008629/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27008629/Model_4FGL_J1849.4+2745_daily_bin2166.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 G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/lscratch/kocevski/27008629/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits.....................!
real 150.02
user 148.12
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27008629/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits', '/lscratch/kocevski/27008629/ft2_4FGL_J1849.4+2745_daily_bin2166.fits', expMap='/lscratch/kocevski/27008629/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', expCube='/lscratch/kocevski/27008629/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27008629/Model_4FGL_J1849.4+2745_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.4+2745'

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  2.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27008629/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27008629/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27008629/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27008629/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27008629/Model_4FGL_J1849.4+2745_daily_bin2166.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) = 19332.5737525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14821E-07   1.0000          .0000       .10000E+07
     2 'norm      '    3.7606       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50206E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .31089E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.4732       1.0000          .0000       .10000E+07
     8 'norm      '    4.3615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32499E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13360E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1709       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3301       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19331.97     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      674 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6791       -.81881E-06** at limit **
   2  norm          3.7916        7.6799       -.95561E-06    .13927E-04
   3  Prefactor     7.8418        4.8403        .26089E-06   -.30713E-02
   4  Prefactor     .16653E-09    7.6705       -.37533E-05** at limit **
   5  Prefactor      .0000        2.4468        .30747E-06** at limit **
   6  norm          .11102E-09    14.564        .72569E-05** at limit **
   7  norm          5.5071        4.5000       -.14391E-05    .24581E-02
   8  norm          4.3393        3.4501        .53358E-07    .14369E-02
   9  Prefactor     .55511E-10    3.8176       -.90697E-06** at limit **
  10  Prefactor     .11102E-09    14.115       -.56972E-05** at limit **
  11  Prefactor     14.535        125.39        .36122E-04    .31783E-03
  12  Normalizat    1.3301        .23797        .30812E-04    .64403E-04
  13  Prefactor     1.0375        .41652E-01   -.16857E-04    .12664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.79163
  Prefactor  = 7.84183
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  norm       = 5.50707
  norm       = 4.33931
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5353
  Normalizat = 1.33009
  Prefactor  = 1.03747
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.97     FROM HESSE     STATUS=OK           171 CALLS      845 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7916        7.7191        .52038E-03   -1.5669    
   3  Prefactor     7.8418        4.8321        .35770E-03   -1.5652    
   4  Prefactor     .16653E-09    7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5071        4.5072        .42926E-03   -1.5661    
   8  norm          4.3393        3.4407        .48205E-03   -1.5666    
   9  Prefactor     .55511E-10    3.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.535        124.23        .33071E-03   -1.5632    
  12  Normalizat    1.3301        .22910        .14224       -.82673    
  13  Prefactor     1.0375        .39859E-01    .28849E-01   -.91491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.189e-09
Minuit parameter uncertainties:
  1  4.31345e-06
  2  7.71914
  3  4.8321
  4  6.5445e-05
  5  9.25318e-06
  6  7.46732e-05
  7  4.5072
  8  3.44069
  9  2.33704e-05
  10  7.57735e-05
  11  84.9895
  12  0.229272
  13  0.0398602
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.97     FROM HESSE     STATUS=OK           171 CALLS      845 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7916        7.7191        .52038E-03   -1.5669    
   3  Prefactor     7.8418        4.8321        .35770E-03   -1.5652    
   4  Prefactor     .16653E-09    7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5071        4.5072        .42926E-03   -1.5661    
   8  norm          4.3393        3.4407        .48205E-03   -1.5666    
   9  Prefactor     .55511E-10    3.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.535        124.23        .33071E-03   -1.5632    
  12  Normalizat    1.3301        .22910        .14224       -.82673    
  13  Prefactor     1.0375        .39859E-01    .28849E-01   -.91491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.189e-09
Minuit parameter uncertainties:
  1  4.31345e-06
  2  7.71914
  3  4.8321
  4  6.5445e-05
  5  9.25318e-06
  6  7.46732e-05
  7  4.5072
  8  3.44069
  9  2.33704e-05
  10  7.57735e-05
  11  84.9895
  12  0.229272
  13  0.0398602
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.97     FROM HESSE     STATUS=OK           171 CALLS      845 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7916        7.7191        .52038E-03   -1.5669    
   3  Prefactor     7.8418        4.8321        .35770E-03   -1.5652    
   4  Prefactor     .16653E-09    7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5071        4.5072        .42926E-03   -1.5661    
   8  norm          4.3393        3.4407        .48205E-03   -1.5666    
   9  Prefactor     .55511E-10    3.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.535        124.23        .33071E-03   -1.5632    
  12  Normalizat    1.3301        .22910        .14224       -.82673    
  13  Prefactor     1.0375        .39859E-01    .28849E-01   -.91491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.189e-09
Minuit parameter uncertainties:
  1  4.31345e-06
  2  7.71914
  3  4.8321
  4  6.5445e-05
  5  9.25318e-06
  6  7.46732e-05
  7  4.5072
  8  3.44069
  9  2.33704e-05
  10  7.57735e-05
  11  84.9895
  12  0.229272
  13  0.0398602
Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008639/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008645/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008639/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:20:53.321549', job_id='27008639', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398453.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:20:53 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008645/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:20:53.757454', job_id='27008645', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398453.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:20:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008629/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008629/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:21:41.114759', job_id='27008629', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398501.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:21:41 PDT 2026

cevski/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27008889/Model_4FGL_J1849.4+2745_daily_bin2166.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 G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits.....................!
real 135.60
user 133.56
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits', '/lscratch/kocevski/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits', expMap='/lscratch/kocevski/27008889/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', expCube='/lscratch/kocevski/27008889/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27008889/Model_4FGL_J1849.4+2745_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.4+2745'

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  2.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27008889/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27008889/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27008889/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27008889/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27008889/Model_4FGL_J1849.4+2745_daily_bin2166.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) = 19332.5737525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14821E-07   1.0000          .0000       .10000E+07
     2 'norm      '    3.7606       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50206E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .31089E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.4732       1.0000          .0000       .10000E+07
     8 'norm      '    4.3615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32499E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13360E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1709       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3301       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19331.97     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      674 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6791       -.81881E-06** at limit **
   2  norm          3.7916        7.6799       -.95561E-06    .13927E-04
   3  Prefactor     7.8418        4.8403        .26089E-06   -.30713E-02
   4  Prefactor     .16653E-09    7.6705       -.37533E-05** at limit **
   5  Prefactor      .0000        2.4468        .30747E-06** at limit **
   6  norm          .11102E-09    14.564        .72569E-05** at limit **
   7  norm          5.5071        4.5000       -.14391E-05    .24581E-02
   8  norm          4.3393        3.4501        .53358E-07    .14369E-02
   9  Prefactor     .55511E-10    3.8176       -.90697E-06** at limit **
  10  Prefactor     .11102E-09    14.115       -.56972E-05** at limit **
  11  Prefactor     14.535        125.39        .36122E-04    .31783E-03
  12  Normalizat    1.3301        .23797        .30812E-04    .64403E-04
  13  Prefactor     1.0375        .41652E-01   -.16857E-04    .12664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.79163
  Prefactor  = 7.84183
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  norm       = 5.50707
  norm       = 4.33931
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5353
  Normalizat = 1.33009
  Prefactor  = 1.03747
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.97     FROM HESSE     STATUS=OK           171 CALLS      845 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7916        7.7191        .52038E-03   -1.5669    
   3  Prefactor     7.8418        4.8321        .35770E-03   -1.5652    
   4  Prefactor     .16653E-09    7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5071        4.5072        .42926E-03   -1.5661    
   8  norm          4.3393        3.4407        .48205E-03   -1.5666    
   9  Prefactor     .55511E-10    3.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.535        124.23        .33071E-03   -1.5632    
  12  Normalizat    1.3301        .22910        .14224       -.82673    
  13  Prefactor     1.0375        .39859E-01    .28849E-01   -.91491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.189e-09
Minuit parameter uncertainties:
  1  4.31345e-06
  2  7.71914
  3  4.8321
  4  6.5445e-05
  5  9.25318e-06
  6  7.46732e-05
  7  4.5072
  8  3.44069
  9  2.33704e-05
  10  7.57735e-05
  11  84.9895
  12  0.229272
  13  0.0398602
cevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27009019/Model_4FGL_J1849.4+2745_daily_bin2166.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 G42.8+0.6
adding source GAL_V02
adding source W 51C
Working on...
/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits.....................!
real 128.15
user 126.04
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits', '/lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits', expMap='/lscratch/kocevski/27009019/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', expCube='/lscratch/kocevski/27009019/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27009019/Model_4FGL_J1849.4+2745_daily_bin2166.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.4+2745'

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  2.084e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27009019/ft1_filtered_4FGL_J1849.4+2745_daily_bin2166.fits
Spacecraft file(s): /lscratch/kocevski/27009019/ft2_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure map: /lscratch/kocevski/27009019/expmap_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
Exposure cube: /lscratch/kocevski/27009019/ltcube_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27009019/Model_4FGL_J1849.4+2745_daily_bin2166.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) = 19332.5737525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14821E-07   1.0000          .0000       .10000E+07
     2 'norm      '    3.7606       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8477       1.0000          .0000       .10000E+07
     4 'Prefactor '    .50206E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .24980E-08   1.0000          .0000       .10000E+07
     6 'norm      '    .31089E-05   1.0000          .0000       .10000E+07
     7 'norm      '    5.4732       1.0000          .0000       .10000E+07
     8 'norm      '    4.3615       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32499E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13360E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.1709       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3301       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0376       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   19331.97     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      674 TOTAL
                     EDM=   .89E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6791       -.81881E-06** at limit **
   2  norm          3.7916        7.6799       -.95561E-06    .13927E-04
   3  Prefactor     7.8418        4.8403        .26089E-06   -.30713E-02
   4  Prefactor     .16653E-09    7.6705       -.37533E-05** at limit **
   5  Prefactor      .0000        2.4468        .30747E-06** at limit **
   6  norm          .11102E-09    14.564        .72569E-05** at limit **
   7  norm          5.5071        4.5000       -.14391E-05    .24581E-02
   8  norm          4.3393        3.4501        .53358E-07    .14369E-02
   9  Prefactor     .55511E-10    3.8176       -.90697E-06** at limit **
  10  Prefactor     .11102E-09    14.115       -.56972E-05** at limit **
  11  Prefactor     14.535        125.39        .36122E-04    .31783E-03
  12  Normalizat    1.3301        .23797        .30812E-04    .64403E-04
  13  Prefactor     1.0375        .41652E-01   -.16857E-04    .12664E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.79163
  Prefactor  = 7.84183
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 1.11022e-10
  norm       = 5.50707
  norm       = 4.33931
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 14.5353
  Normalizat = 1.33009
  Prefactor  = 1.03747
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.97     FROM HESSE     STATUS=OK           171 CALLS      845 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7916        7.7191        .52038E-03   -1.5669    
   3  Prefactor     7.8418        4.8321        .35770E-03   -1.5652    
   4  Prefactor     .16653E-09    7.6811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.4408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    14.559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.5071        4.5072        .42926E-03   -1.5661    
   8  norm          4.3393        3.4407        .48205E-03   -1.5666    
   9  Prefactor     .55511E-10    3.8153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.535        124.23        .33071E-03   -1.5632    
  12  Normalizat    1.3301        .22910        .14224       -.82673    
  13  Prefactor     1.0375        .39859E-01    .28849E-01   -.91491    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.189e-09
Minuit parameter uncertainties:
  1  4.31345e-06
  2  7.71914
  3  4.8321
  4  6.5445e-05
  5  9.25318e-06
  6  7.46732e-05
  7  4.5072
  8  3.44069
  9  2.33704e-05
  10  7.57735e-05
  11  84.9895
  12  0.229272
  13  0.0398602
Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27008889/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27008889/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:24:37.956703', job_id='27008889', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398677.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:24:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  5.551e-11  2.337e-05  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  2.300e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.037e+00  3.986e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.330e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.354 27.754
Photon Flux Upper Limit: 6.96546340859e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0053454186584 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27009019/likelihoodResults_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 19331.9735695
delta logL = -0.000118186828331

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9734515
delta logL = -2.2567473934e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   19331.96     FROM MIGRAD    STATUS=CONVERGED    151 CALLS      362 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13919E-01    1.3543        .43208E-04** at limit **
   2  Index         4.6111        1.3787        .29942        .44230E-04
   3  Normalizat    1.3189        .24853E-01    .63409E-03   -.16882E-03
   4  Prefactor     1.0382        .45443E-02    .12746E-03   -.37641E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0139194
  Index      = 4.61115
  Normalizat = 1.31891
  Prefactor  = 1.03817
 **********
 **   18 **HESSE 
 **********

 FCN=   19331.96     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      391 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13919E-01    22.952        .17283E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6111        5.5105        .10850E-01   -.77849E-01
   3  Normalizat    1.3189        .19565        .25364E-04   -.83004    
   4  Prefactor     1.0382        .34756E-01    .50983E-05   -.91468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.71942e-10
Minuit parameter uncertainties:
  1  1.13046
  2  30.3008
  3  0.195762
  4  0.0347568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 19331.9588457
delta logL = 0.014605581684

Extracting fit parameters...

4FGL J1849.4+2745
   Spectrum: PowerLaw
374    Prefactor:  1.392e-02  1.130e+00  0.000e+00  1.000e+06 ( 1.000e-13)
375        Index:  4.611e+00  3.030e+01  0.000e+00  1.000e+01 (-1.000e+00)
376        Scale:  1.544e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
938    Prefactor:  1.038e+00  3.476e-02  0.000e+00  1.000e+01 ( 1.000e+00)
939        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
940        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
934   Normalization:  1.319e+00  1.958e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.354 27.754

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/27009019/cmap_HighResolution_800755201_801014401_4FGL_J1849.4+2745_daily_bin2166.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.35e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2026-05-21 14:25:28.011506', job_id='27009019', GAL2='1.04', fit_tolerance='1e-08', EG2='1.32', EG='1.33', time_epoch_completed='1779398728.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.46e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2166' AND source_name='4FGL J1849.4+2745' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 21 14:25:28 PDT 2026

