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

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
 **********
 **   18 **HESSE 
 **********

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
/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) = 23421.2727058

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719591/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719591/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:52:11.646680', job_id='31719591', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784101931.65', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:52:12 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719669/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
Done.


Performing analysis on: 4FGL_J1904.1+3627_daily_bin2176
RA = 286.034, Dec = 36.4526
tmin = 803347201, tmax = 803606401
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='31720088', job_status='RUN', time_executed='2026-07-15 00:50:46.047883', time_epoch_executed='1784101846.05' WHERE source_name='4FGL J1904.1+3627' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31720088

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31720088/ft1_4FGL_J1904.1+3627_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31720088/ft1_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720088/ft1_filteredMKT_4FGL_J1904.1+3627_daily_bin2176.fits ra=286.034 dec=36.4526 rad=12.0 tmin=803347201.0 tmax=803606401.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.00
user 1.38
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.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/31720088/ft1_filteredMKT_4FGL_J1904.1+3627_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.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.67
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 2307

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits sctable="SC_DATA" oshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719669/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:52:55.666500', job_id='31719669', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784101975.67', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:52:56 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719674/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719675/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719674/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:53:03.148999', job_id='31719674', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784101983.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:53:03 PDT 2026

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719675/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:53:06.675329', job_id='31719675', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784101986.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:53:07 PDT 2026

09/Model_4FGL_J1904.1+3627_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/lscratch/kocevski/31719709/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits.....................!
real 110.36
user 108.40
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31719709/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits', '/lscratch/kocevski/31719709/ft2_4FGL_J1904.1+3627_daily_bin2176.fits', expMap='/lscratch/kocevski/31719709/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', expCube='/lscratch/kocevski/31719709/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31719709/Model_4FGL_J1904.1+3627_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1904.1+3627'

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  2.483e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31719709/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31719709/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31719709/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31719709/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31719709/Model_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.9949701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55667E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76605E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .25579E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.2526       1.0000          .0000       .10000E+07
     6 'norm      '    8.4261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27882E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14773E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16887E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27478E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .54390E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.8736       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4893       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      770 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3860       -.23175E-06** at limit **
   2  Prefactor      .0000        2.2967       -.65152E-07** at limit **
   3  Prefactor      .0000        1.9825       -.17477E-06** at limit **
   4  norm           .0000        16.356       -.30262E-07** at limit **
   5  norm          3.2550        3.6852        .11383E-07    .21827E-03
   6  norm          8.4259        2.9350       -.55887E-07    .86127E-03
   7  Prefactor      .0000        18.869        .21125E-07** at limit **
   8  Prefactor      .0000        3.7931       -.16099E-06** at limit **
   9  Prefactor      .0000        35.434       -.13819E-06** at limit **
  10  Prefactor      .0000        1.6389       -.99890E-07** at limit **
  11  norm           .0000        7.2409       -.12640E-06** at limit **
  12  norm          4.8811        4.3951       -.57657E-07   -.41476E-05
  13  Normalizat    1.4894        .17805        .31902E-07   -.73597E-05
  14  Prefactor     .94812        .42038E-01    .28749E-06   -.31330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 3.25502
  norm       = 8.42593
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.88107
  Normalizat = 1.48944
  Prefactor  = 0.948116
83/Model_4FGL_J1904.1+3627_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/lscratch/kocevski/31719783/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits.....................!
real 99.48
user 97.46
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31719783/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits', '/lscratch/kocevski/31719783/ft2_4FGL_J1904.1+3627_daily_bin2176.fits', expMap='/lscratch/kocevski/31719783/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', expCube='/lscratch/kocevski/31719783/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31719783/Model_4FGL_J1904.1+3627_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1904.1+3627'

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  2.483e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31719783/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31719783/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31719783/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31719783/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31719783/Model_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.9949701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55667E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76605E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .25579E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.2526       1.0000          .0000       .10000E+07
     6 'norm      '    8.4261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27882E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14773E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16887E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27478E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .54390E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.8736       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4893       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      770 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3860       -.23175E-06** at limit **
   2  Prefactor      .0000        2.2967       -.65152E-07** at limit **
   3  Prefactor      .0000        1.9825       -.17477E-06** at limit **
   4  norm           .0000        16.356       -.30262E-07** at limit **
   5  norm          3.2550        3.6852        .11383E-07    .21827E-03
   6  norm          8.4259        2.9350       -.55887E-07    .86127E-03
   7  Prefactor      .0000        18.869        .21125E-07** at limit **
   8  Prefactor      .0000        3.7931       -.16099E-06** at limit **
   9  Prefactor      .0000        35.434       -.13819E-06** at limit **
  10  Prefactor      .0000        1.6389       -.99890E-07** at limit **
  11  norm           .0000        7.2409       -.12640E-06** at limit **
  12  norm          4.8811        4.3951       -.57657E-07   -.41476E-05
  13  Normalizat    1.4894        .17805        .31902E-07   -.73597E-05
  14  Prefactor     .94812        .42038E-01    .28749E-06   -.31330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 3.25502
  norm       = 8.42593
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.88107
  Normalizat = 1.48944
  Prefactor  = 0.948116
 **********
 **   18 **HESSE 
 **********

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
utfile=/lscratch/kocevski/31720088/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
.....................!
real 6.76
user 6.21
sys 0.18

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31720088/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720088/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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/31720088/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
.....................!
real 59.32
user 55.29
sys 3.44

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 229 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 J1904.1+3627 @ 286.034 36.4526

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits scfile=/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720088/cmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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=286.034 yref=36.4526 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits scfile=/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720088/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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=286.034 yref=36.4526 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.19
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/317200 **********
 **   18 **HESSE 
 **********

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1904.1+3627_daily_bin2176
RA = 286.034, Dec = 36.4526
tmin = 803347201, tmax = 803606401
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='31720124', job_status='RUN', time_executed='2026-07-15 00:52:05.888285', time_epoch_executed='1784101925.89' WHERE source_name='4FGL J1904.1+3627' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31720124

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31720124/ft1_4FGL_J1904.1+3627_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31720124/ft1_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720124/ft1_filteredMKT_4FGL_J1904.1+3627_daily_bin2176.fits ra=286.034 dec=36.4526 rad=12.0 tmin=803347201.0 tmax=803606401.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.06
user 1.39
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.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/31720124/ft1_filteredMKT_4FGL_J1904.1+3627_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.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.67
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 2307

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits sctable="SC_DATA" o06/Model_4FGL_J1904.1+3627_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/lscratch/kocevski/31719806/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits.....................!
real 95.72
user 94.15
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31719806/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits', '/lscratch/kocevski/31719806/ft2_4FGL_J1904.1+3627_daily_bin2176.fits', expMap='/lscratch/kocevski/31719806/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', expCube='/lscratch/kocevski/31719806/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31719806/Model_4FGL_J1904.1+3627_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1904.1+3627'

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  2.483e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31719806/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31719806/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31719806/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31719806/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31719806/Model_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.9949701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55667E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76605E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .25579E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.2526       1.0000          .0000       .10000E+07
     6 'norm      '    8.4261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27882E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14773E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16887E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27478E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .54390E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.8736       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4893       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      770 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3860       -.23175E-06** at limit **
   2  Prefactor      .0000        2.2967       -.65152E-07** at limit **
   3  Prefactor      .0000        1.9825       -.17477E-06** at limit **
   4  norm           .0000        16.356       -.30262E-07** at limit **
   5  norm          3.2550        3.6852        .11383E-07    .21827E-03
   6  norm          8.4259        2.9350       -.55887E-07    .86127E-03
   7  Prefactor      .0000        18.869        .21125E-07** at limit **
   8  Prefactor      .0000        3.7931       -.16099E-06** at limit **
   9  Prefactor      .0000        35.434       -.13819E-06** at limit **
  10  Prefactor      .0000        1.6389       -.99890E-07** at limit **
  11  norm           .0000        7.2409       -.12640E-06** at limit **
  12  norm          4.8811        4.3951       -.57657E-07   -.41476E-05
  13  Normalizat    1.4894        .17805        .31902E-07   -.73597E-05
  14  Prefactor     .94812        .42038E-01    .28749E-06   -.31330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 3.25502
  norm       = 8.42593
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.88107
  Normalizat = 1.48944
  Prefactor  = 0.948116
 **********
 **   18 **HESSE 
 **********

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719709/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719709/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:55:16.523065', job_id='31719709', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784102116.52', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:55:16 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719783/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719783/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:55:22.915773', job_id='31719783', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784102122.92', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:55:23 PDT 2026

utfile=/lscratch/kocevski/31720124/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
.....................!
real 7.68
user 7.00
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31720124/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720124/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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/31720124/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
.....................!
real 59.81
user 55.73
sys 3.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Added 229 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 J1904.1+3627 @ 286.034 36.4526

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits scfile=/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720124/cmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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=286.034 yref=36.4526 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.81
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits scfile=/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits outfile=/lscratch/kocevski/31720124/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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=286.034 yref=36.4526 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/317201Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31719806/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31719806/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:56:05.997869', job_id='31719806', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784102166.0', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:56:06 PDT 2026

88/Model_4FGL_J1904.1+3627_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits.....................!
real 95.31
user 93.68
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits', '/lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits', expMap='/lscratch/kocevski/31720088/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', expCube='/lscratch/kocevski/31720088/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31720088/Model_4FGL_J1904.1+3627_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1904.1+3627'

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  2.483e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31720088/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31720088/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31720088/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31720088/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31720088/Model_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.9949701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55667E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76605E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .25579E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.2526       1.0000          .0000       .10000E+07
     6 'norm      '    8.4261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27882E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14773E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16887E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27478E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .54390E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.8736       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4893       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      770 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3860       -.23175E-06** at limit **
   2  Prefactor      .0000        2.2967       -.65152E-07** at limit **
   3  Prefactor      .0000        1.9825       -.17477E-06** at limit **
   4  norm           .0000        16.356       -.30262E-07** at limit **
   5  norm          3.2550        3.6852        .11383E-07    .21827E-03
   6  norm          8.4259        2.9350       -.55887E-07    .86127E-03
   7  Prefactor      .0000        18.869        .21125E-07** at limit **
   8  Prefactor      .0000        3.7931       -.16099E-06** at limit **
   9  Prefactor      .0000        35.434       -.13819E-06** at limit **
  10  Prefactor      .0000        1.6389       -.99890E-07** at limit **
  11  norm           .0000        7.2409       -.12640E-06** at limit **
  12  norm          4.8811        4.3951       -.57657E-07   -.41476E-05
  13  Normalizat    1.4894        .17805        .31902E-07   -.73597E-05
  14  Prefactor     .94812        .42038E-01    .28749E-06   -.31330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 3.25502
  norm       = 8.42593
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.88107
  Normalizat = 1.48944
  Prefactor  = 0.948116
 **********
 **   18 **HESSE 
 **********

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
24/Model_4FGL_J1904.1+3627_daily_bin2176.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Cocoon
adding source EG_v02
adding source GAL_V02
adding source gamma Cygni
Working on...
/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits.....................!
real 96.09
user 94.18
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits', '/lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits', expMap='/lscratch/kocevski/31720124/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', expCube='/lscratch/kocevski/31720124/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31720124/Model_4FGL_J1904.1+3627_daily_bin2176.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1904.1+3627'

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  2.483e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31720124/ft1_filtered_4FGL_J1904.1+3627_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31720124/ft2_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31720124/expmap_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31720124/ltcube_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31720124/Model_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.9949701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55667E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .36637E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .76605E-08   1.0000          .0000       .10000E+07
     4 'norm      '    .25579E-05   1.0000          .0000       .10000E+07
     5 'norm      '    3.2526       1.0000          .0000       .10000E+07
     6 'norm      '    8.4261       1.0000          .0000       .10000E+07
     7 'Prefactor '    .27882E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14773E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16887E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .27478E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .54390E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.8736       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.4893       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94810       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED    114 CALLS      770 TOTAL
                     EDM=   .42E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3860       -.23175E-06** at limit **
   2  Prefactor      .0000        2.2967       -.65152E-07** at limit **
   3  Prefactor      .0000        1.9825       -.17477E-06** at limit **
   4  norm           .0000        16.356       -.30262E-07** at limit **
   5  norm          3.2550        3.6852        .11383E-07    .21827E-03
   6  norm          8.4259        2.9350       -.55887E-07    .86127E-03
   7  Prefactor      .0000        18.869        .21125E-07** at limit **
   8  Prefactor      .0000        3.7931       -.16099E-06** at limit **
   9  Prefactor      .0000        35.434       -.13819E-06** at limit **
  10  Prefactor      .0000        1.6389       -.99890E-07** at limit **
  11  norm           .0000        7.2409       -.12640E-06** at limit **
  12  norm          4.8811        4.3951       -.57657E-07   -.41476E-05
  13  Normalizat    1.4894        .17805        .31902E-07   -.73597E-05
  14  Prefactor     .94812        .42038E-01    .28749E-06   -.31330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 3.25502
  norm       = 8.42593
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 4.88107
  Normalizat = 1.48944
  Prefactor  = 0.948116
Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31720088/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31720088/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 00:59:49.617096', job_id='31720088', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784102389.62', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 00:59:49 PDT 2026

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

 FCN=   23421.27     FROM HESSE     STATUS=OK           186 CALLS      956 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2898        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.9819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2550        3.7091        .56132E-03   -1.5672    
   6  norm          8.4259        2.9531        .34511E-03   -1.5650    
   7  Prefactor      .0000        18.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        35.430        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.6405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        7.2371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.8811        4.3961        .45541E-03   -1.5664    
  13  Normalizat    1.4894        .16709        .11296       -.78076    
  14  Prefactor     .94812        .39310E-01    .32304E-01   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44914e-08
Minuit parameter uncertainties:
  1  1.15437e-06
  2  3.77917e-07
  3  1.18429e-06
  4  2.64872e-06
  5  3.70915
  6  2.95308
  7  1.09232e-06
  8  8.93401e-07
  9  4.23321e-06
  10  1.98987e-07
  11  1.77401e-06
  12  4.39615
  13  0.16715
  14  0.0393115
Done.

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

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  8.934e-07  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.837e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  3.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 286.034 36.453
Photon Flux Upper Limit: 2.71310965787e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00200599616093 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31720124/likelihoodResults_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.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) = 23421.3987381
delta logL = -0.126032271284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 23421.2727058
delta logL = -8.80390871316e-09

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   23421.27     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      205 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6783       -.46086E-06** at limit **
   2  Index         1.0626        2.0272       -.18693E-04     .0000    
   3  Normalizat    1.4894        .17519       -.60633E-05    .46197E-04
   4  Prefactor     .94812        .41376E-01    .16517E-06    .29701E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.06259
  Normalizat = 1.48944
  Prefactor  = 0.948117
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   23421.27     FROM HESSE     STATUS=FAILED        11 CALLS      216 TOTAL
                     EDM=   .54E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .59238E-01    1.2403       -.18693E-04   -.90671    
   3  Normalizat    1.4894        1.0508       -.60633E-05   -.78076    
   4  Prefactor     .94812        1.2905        .16517E-06   -.94479    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.3599e-12
Minuit parameter uncertainties:
  1  1.03804e-05
  2  1.07444
  3  1.06681
  4  1.33632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 23421.2727058
delta logL = -3.63797880709e-12

Extracting fit parameters...

4FGL J1904.1+3627
   Spectrum: PowerLaw
346    Prefactor:  0.000e+00  1.038e-05  0.000e+00  1.000e+06 ( 1.000e-14)
347        Index:  1.063e+00  1.074e+00  0.000e+00  1.000e+01 (-1.000e+00)
348        Scale:  4.513e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
813    Prefactor:  9.481e-01  1.336e+00  0.000e+00  1.000e+01 ( 1.000e+00)
814        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
815        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
812   Normalization:  1.489e+00  1.067e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 286.034 36.453

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/31720124/cmap_HighResolution_803347201_803606401_4FGL_J1904.1+3627_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.01e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2026-07-15 01:01:16.827445', job_id='31720124', GAL2='0.95', fit_tolerance='1e-08', EG2='1.49', EG='1.49', time_epoch_completed='1784102476.83', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-3.64e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.84' WHERE bin_id='2176' AND source_name='4FGL J1904.1+3627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 15 01:01:17 PDT 2026

