/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 (vtfile=/lscratch/kocevski/38111010/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 8.70
user 7.97
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38111010/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111010/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111010/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 73.05
user 67.39
sys 4.43

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111010/cmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 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.77
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111010/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 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.78
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38111010/Model_4FGL_J2330.5+1102_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL) 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)
_V02
Working on...
/lscratch/kocevski/38110865/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits.....................!
real 33.62
user 32.05
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38110865/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits', '/lscratch/kocevski/38110865/ft2_4FGL_J2330.5+1102_daily_bin2204.fits', expMap='/lscratch/kocevski/38110865/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', expCube='/lscratch/kocevski/38110865/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38110865/Model_4FGL_J2330.5+1102_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38110865/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38110865/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38110865/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38110865/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38110865/Model_4FGL_J2330.5+1102_daily_bin2204.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) = 7294.12853289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24753E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84040E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8129       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.962       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.947       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90519E-02   1.0000          .0000       .10000E+07
    10 'norm      '    7.5062       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5650       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .18251E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89384E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .46827       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7294.122     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1284 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17031E-06    10.020       -.38520E-05** at limit **
   2  Prefactor     1.6116        .25542        .20989E-06   -.66636E-03
   3  Prefactor     .61617E-08    89.438        .11698E-05** at limit **
   4  Prefactor     5.3241        7.7108       -.46726E-06   -.58303E-03
   5  Prefactor     .25113E-06    11.630       -.41336E-05** at limit **
   6  Prefactor     7.8721        7.7118       -.80813E-07    .32472E-03
   7  Prefactor     30.909        15.523        .13442E-05    .17722E-01
   8  Prefactor     25.989        1.8815        .24797E-06   -.38982E-02
   9  Prefactor     .24125E-06    24.612        .74336E-05** at limit **
  10  norm          7.3648        10.770       -.14352E-05   -.21098E-02
  11  Prefactor     7.6841        7.5545        .46127E-06    .89333E-03
  12  Prefactor     .13478E-06    10.584       -.45972E-05** at limit **
  13  norm          .47151E-06    10.283        .31622E-05** at limit **
  14  Prefactor     .23986E-06    16.164        .25191E-05** at limit **
  15  Prefactor     7.2096        1.2848        .86081E-07   -.12810E-02
  16  Prefactor      .0000        2.1714       -.26384E-06** at limit **
  17  Normalizat    .46772        .23504       -.54480E-05    .24481E-05
  18  Prefactor     1.2307        .14766        .35235E-06    .36925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70308e-07
  Prefactor  = 1.61158
ch between CFITSIO header (v  Pr) and linked library (v3.41efactor  = 5.3241
).Prefactor  = 2.51132e-07

 Prefactor  = 7.87209

 Prefactor  = 30.9085
  Prefactor  = 25.9888
  Prefactor  = 2.41251e-07
  norm       = 7.36482
  Prefactor  = 7.68408
  Prefactor  = 1.34781e-07
  norm       = 4.71512e-07
  Prefactor  = 2.39864e-07
  Prefactor  = 7.20965
  Prefactor  = 0
  Normalizat = 0.46772
  Prefactor  = 1.23067
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.122     FROM HESSE     STATUS=OK           280 CALLS     1564 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17031E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6116        .25606        .37028E-02   -1.5454    
   3  Prefactor     .61617E-08    89.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3241        7.7232        .42756E-03   -1.5662    
   5  Prefactor     .25113E-06    14.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8721        8.3229        .35850E-03   -1.5652    
   7  Prefactor     30.909        15.857        .17974E-03   -1.5597    
   8  Prefactor     25.989        25.419        .19636E-03   -1.5606    
   9  Prefactor     .24125E-06    27.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3648        10.935        .36582E-03   -1.5654    
  11  Prefactor     7.6841        7.5993        .36438E-03   -1.5653    
  12  Prefactor     .13478E-06    24.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47151E-06    15.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23986E-06    18.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2096        25.876        .37465E-03   -1.5654    
  16  Prefactor      .0000        2.1694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46772        .23665        .10374       -1.1394    
  18  Prefactor     1.2307        .14137        .33953E-01   -.85393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0331e-07
Minuit parameter uncertainties:
  1  0.00410084
  2  0.256057
  3  0.00148658
  4  7.72317
  5  0.00383007
  6  8.32288
  7  15.8567
  8  25.4187
  9  0.00514931
  10  10.9353
  11  7.59932
  12  0.00362653
  13  0.00548285
  14  0.00426332
  15  25.8765
  16  1.26222e-05
  17  0.237163
  18  0.141415
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.684e+00  7.599e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.231e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.677e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 5.32e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.20e-05

TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.66549225839e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0131755425069 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38110865/likelihoodResults_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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) = 7293.97095043
delta logL = 0.151052491708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96491079
delta logL = 0.15709213465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7293.965     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1672        392.37        .35072E-03    .37602E-03
   2  Index         2.3083        5.4815        .24277       -.30400E-04
   3  Normalizat    .48839        .40778        .10165        .34726E-05
   4  Prefactor     1.2233        .22415        .34104E-01   -.21415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16723
  Index      = 2.3083
  Normalizat = 0.48839
  Prefactor  = 1.22326
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.965     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1672        8.1217        .14029E-04   -1.5651    
   2  Index         2.3083        .83480        .12557E-01   -.56847    
   3  Normalizat    .48839        .23251        .45062E-03   -1.1296    
   4  Prefactor     1.2233        .14716        .18701E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95172e-11
Minuit parameter uncertainties:
  1  8.12169
  2  0.840363
  3  0.23297
  4  0.147206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96490975
delta logL = 0.157093176701

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.167e+00  8.122e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.308e+00  8.404e-01  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.223e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.884e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.31 +/- 0.84
Photon Flux (Free Index): 3.41e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38110865/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.27e-05', photon_flux_error='5.32e-08', dlogl='1.57e-01', energy_flux='1.22e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2026-09-12 19:07:39.132106', photon_index_error2='0.84', photon_index2='2.31', ts='2.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.28e-05', EG='0.47', time_epoch_completed='1789265259.13', return_code='0', job_id='38110865', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.84e-08', ts2='2.71', photon_index='2.79' WHERE bin_id='2204' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 19:07:39 PDT 2026

tfile=/lscratch/kocevski/38111170/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 8.67
user 8.04
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38111170/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111170/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111170/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 65.44
user 61.25
sys 3.65

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111170/cmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111170/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38111170/Model_4FGL_J2330.5+1102_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38110963/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits.....................!
real 34.67
user 32.85
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38110963/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits', '/lscratch/kocevski/38110963/ft2_4FGL_J2330.5+1102_daily_bin2204.fits', expMap='/lscratch/kocevski/38110963/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', expCube='/lscratch/kocevski/38110963/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38110963/Model_4FGL_J2330.5+1102_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38110963/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38110963/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38110963/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38110963/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38110963/Model_4FGL_J2330.5+1102_daily_bin2204.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) = 7294.12853289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24753E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84040E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8129       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.962       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.947       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90519E-02   1.0000          .0000       .10000E+07
    10 'norm      '    7.5062       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5650       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .18251E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89384E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .46827       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7294.122     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1284 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17031E-06    10.020       -.38520E-05** at limit **
   2  Prefactor     1.6116        .25542        .20989E-06   -.66636E-03
   3  Prefactor     .61617E-08    89.438        .11698E-05** at limit **
   4  Prefactor     5.3241        7.7108       -.46726E-06   -.58303E-03
   5  Prefactor     .25113E-06    11.630       -.41336E-05** at limit **
   6  Prefactor     7.8721        7.7118       -.80813E-07    .32472E-03
   7  Prefactor     30.909        15.523        .13442E-05    .17722E-01
   8  Prefactor     25.989        1.8815        .24797E-06   -.38982E-02
   9  Prefactor     .24125E-06    24.612        .74336E-05** at limit **
  10  norm          7.3648        10.770       -.14352E-05   -.21098E-02
  11  Prefactor     7.6841        7.5545        .46127E-06    .89333E-03
  12  Prefactor     .13478E-06    10.584       -.45972E-05** at limit **
  13  norm          .47151E-06    10.283        .31622E-05** at limit **
  14  Prefactor     .23986E-06    16.164        .25191E-05** at limit **
  15  Prefactor     7.2096        1.2848        .86081E-07   -.12810E-02
  16  Prefactor      .0000        2.1714       -.26384E-06** at limit **
  17  Normalizat    .46772        .23504       -.54480E-05    .24481E-05
  18  Prefactor     1.2307        .14766        .35235E-06    .36925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70308e-07
  Prefactor  = 1.61158
  Prefactor  = 6.16174e-09
  Prefactor  = 5.3241
  Prefactor  = 2.51132e-07
  Prefactor  = 7.87209
  Prefactor  = 30.9085
  Prefactor  = 25.9888
  Prefactor  = 2.41251e-07
  norm       = 7.36482
  Prefactor  = 7.68408
  Prefactor  = 1.34781e-07
  norm       = 4.71512e-07
  Prefactor  = 2.39864e-07
  Prefactor  = 7.20965
  Prefactor  = 0
  Normalizat = 0.46772
  Prefactor  = 1.23067
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.122     FROM HESSE     STATUS=OK           280 CALLS     1564 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17031E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6116        .25606        .37028E-02   -1.5454    
   3  Prefactor     .61617E-08    89.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3241        7.7232        .42756E-03   -1.5662    
   5  Prefactor     .25113E-06    14.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8721        8.3229        .35850E-03   -1.5652    
   7  Prefactor     30.909        15.857        .17974E-03   -1.5597    
   8  Prefactor     25.989        25.419        .19636E-03   -1.5606    
   9  Prefactor     .24125E-06    27.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3648        10.935        .36582E-03   -1.5654    
  11  Prefactor     7.6841        7.5993        .36438E-03   -1.5653    
  12  Prefactor     .13478E-06    24.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47151E-06    15.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23986E-06    18.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2096        25.876        .37465E-03   -1.5654    
  16  Prefactor      .0000        2.1694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46772        .23665        .10374       -1.1394    
  18  Prefactor     1.2307        .14137        .33953E-01   -.85393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0331e-07
Minuit parameter uncertainties:
  1  0.00410084
  2  0.256057
  3  0.00148658
  4  7.72317
  5  0.00383007
  6  8.32288
  7  15.8567
  8  25.4187
  9  0.00514931
  10  10.9353
  11  7.59932
  12  0.00362653
  13  0.00548285
  14  0.00426332
  15  25.8765
  16  1.26222e-05
  17  0.237163
  18  0.141415
_V02
Working on...
/lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits.....................!
real 35.06
user 32.95
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits', '/lscratch/kocevski/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits', expMap='/lscratch/kocevski/38111010/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', expCube='/lscratch/kocevski/38111010/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38111010/Model_4FGL_J2330.5+1102_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38111010/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38111010/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38111010/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38111010/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38111010/Model_4FGL_J2330.5+1102_daily_bin2204.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) = 7294.12853289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24753E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84040E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8129       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.962       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.947       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90519E-02   1.0000          .0000       .10000E+07
    10 'norm      '    7.5062       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5650       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .18251E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89384E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .46827       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7294.122     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1284 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17031E-06    10.020       -.38520E-05** at limit **
   2  Prefactor     1.6116        .25542        .20989E-06   -.66636E-03
   3  Prefactor     .61617E-08    89.438        .11698E-05** at limit **
   4  Prefactor     5.3241        7.7108       -.46726E-06   -.58303E-03
   5  Prefactor     .25113E-06    11.630       -.41336E-05** at limit **
   6  Prefactor     7.8721        7.7118       -.80813E-07    .32472E-03
   7  Prefactor     30.909        15.523        .13442E-05    .17722E-01
   8  Prefactor     25.989        1.8815        .24797E-06   -.38982E-02
   9  Prefactor     .24125E-06    24.612        .74336E-05** at limit **
  10  norm          7.3648        10.770       -.14352E-05   -.21098E-02
  11  Prefactor     7.6841        7.5545        .46127E-06    .89333E-03
  12  Prefactor     .13478E-06    10.584       -.45972E-05** at limit **
  13  norm          .47151E-06    10.283        .31622E-05** at limit **
  14  Prefactor     .23986E-06    16.164        .25191E-05** at limit **
  15  Prefactor     7.2096        1.2848        .86081E-07   -.12810E-02
  16  Prefactor      .0000        2.1714       -.26384E-06** at limit **
  17  Normalizat    .46772        .23504       -.54480E-05    .24481E-05
  18  Prefactor     1.2307        .14766        .35235E-06    .36925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70308e-07
  Prefactor  = 1.61158
  Prefactor  = 6.16174e-09
  Prefactor  = 5.3241
  Prefactor  = 2.51132e-07
  Prefactor  = 7.87209
  Prefactor  = 30.9085
  Prefactor  = 25.9888
  Prefactor  = 2.41251e-07
  norm       = 7.36482
  Prefactor  = 7.68408
  Prefactor  = 1.34781e-07
  norm       = 4.71512e-07
  Prefactor  = 2.39864e-07
  Prefactor  = 7.20965
  Prefactor  = 0
  Normalizat = 0.46772
  Prefactor  = 1.23067
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.122     FROM HESSE     STATUS=OK           280 CALLS     1564 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17031E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6116        .25606        .37028E-02   -1.5454    
   3  Prefactor     .61617E-08    89.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3241        7.7232        .42756E-03   -1.5662    
   5  Prefactor     .25113E-06    14.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8721        8.3229        .35850E-03   -1.5652    
   7  Prefactor     30.909        15.857        .17974E-03   -1.5597    
   8  Prefactor     25.989        25.419        .19636E-03   -1.5606    
   9  Prefactor     .24125E-06    27.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3648        10.935        .36582E-03   -1.5654    
  11  Prefactor     7.6841        7.5993        .36438E-03   -1.5653    
  12  Prefactor     .13478E-06    24.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47151E-06    15.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23986E-06    18.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2096        25.876        .37465E-03   -1.5654    
  16  Prefactor      .0000        2.1694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46772        .23665        .10374       -1.1394    
  18  Prefactor     1.2307        .14137        .33953E-01   -.85393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0331e-07
Minuit parameter uncertainties:
  1  0.00410084
  2  0.256057
  3  0.00148658
  4  7.72317
  5  0.00383007
  6  8.32288
  7  15.8567
  8  25.4187
  9  0.00514931
  10  10.9353
  11  7.59932
  12  0.00362653
  13  0.00548285
  14  0.00426332
  15  25.8765
  16  1.26222e-05
  17  0.237163
  18  0.141415
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.684e+00  7.599e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.231e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.677e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 5.32e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.20e-05

TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.66549225839e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0131755425069 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38110963/likelihoodResults_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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) = 7293.97095043
delta logL = 0.151052491708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96491079
delta logL = 0.15709213465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7293.965     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1672        392.37        .35072E-03    .37602E-03
   2  Index         2.3083        5.4815        .24277       -.30400E-04
   3  Normalizat    .48839        .40778        .10165        .34726E-05
   4  Prefactor     1.2233        .22415        .34104E-01   -.21415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16723
  Index      = 2.3083
  Normalizat = 0.48839
  Prefactor  = 1.22326
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.965     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1672        8.1217        .14029E-04   -1.5651    
   2  Index         2.3083        .83480        .12557E-01   -.56847    
   3  Normalizat    .48839        .23251        .45062E-03   -1.1296    
   4  Prefactor     1.2233        .14716        .18701E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95172e-11
Minuit parameter uncertainties:
  1  8.12169
  2  0.840363
  3  0.23297
  4  0.147206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96490975
delta logL = 0.157093176701

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.167e+00  8.122e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.308e+00  8.404e-01  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.223e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.884e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.31 +/- 0.84
Photon Flux (Free Index): 3.41e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38110963/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.27e-05', photon_flux_error='5.32e-08', dlogl='1.57e-01', energy_flux='1.22e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2026-09-12 19:08:23.123046', photon_index_error2='0.84', photon_index2='2.31', ts='2.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.28e-05', EG='0.47', time_epoch_completed='1789265303.12', return_code='0', job_id='38110963', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.84e-08', ts2='2.71', photon_index='2.79' WHERE bin_id='2204' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 19:08:23 PDT 2026

tfile=/lscratch/kocevski/38111179/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 9.26
user 8.52
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38111179/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111179/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111179/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 75.62
user 70.42
sys 4.40

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111179/cmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111179/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 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.84
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38111179/Model_4FGL_J2330.5+1102_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALDone.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.684e+00  7.599e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.231e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.677e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 5.32e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.20e-05

TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.66549225839e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0131755425069 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38111010/likelihoodResults_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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) = 7293.97095043
delta logL = 0.151052491708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96491079
delta logL = 0.15709213465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7293.965     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1672        392.37        .35072E-03    .37602E-03
   2  Index         2.3083        5.4815        .24277       -.30400E-04
   3  Normalizat    .48839        .40778        .10165        .34726E-05
   4  Prefactor     1.2233        .22415        .34104E-01   -.21415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16723
  Index      = 2.3083
  Normalizat = 0.48839
  Prefactor  = 1.22326
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.965     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1672        8.1217        .14029E-04   -1.5651    
   2  Index         2.3083        .83480        .12557E-01   -.56847    
   3  Normalizat    .48839        .23251        .45062E-03   -1.1296    
   4  Prefactor     1.2233        .14716        .18701E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95172e-11
Minuit parameter uncertainties:
  1  8.12169
  2  0.840363
  3  0.23297
  4  0.147206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96490975
delta logL = 0.157093176701

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.167e+00  8.122e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.308e+00  8.404e-01  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.223e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.884e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.31 +/- 0.84
Photon Flux (Free Index): 3.41e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38111010/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.27e-05', photon_flux_error='5.32e-08', dlogl='1.57e-01', energy_flux='1.22e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2026-09-12 19:08:44.035014', photon_index_error2='0.84', photon_index2='2.31', ts='2.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.28e-05', EG='0.47', time_epoch_completed='1789265324.04', return_code='0', job_id='38111010', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.84e-08', ts2='2.71', photon_index='2.79' WHERE bin_id='2204' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 19:08:44 PDT 2026

_V02
Working on...
/lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits.....................!
real 33.28
user 31.61
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits', '/lscratch/kocevski/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits', expMap='/lscratch/kocevski/38111170/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', expCube='/lscratch/kocevski/38111170/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38111170/Model_4FGL_J2330.5+1102_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38111170/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38111170/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38111170/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38111170/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38111170/Model_4FGL_J2330.5+1102_daily_bin2204.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) = 7294.12853289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24753E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84040E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8129       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.962       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.947       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90519E-02   1.0000          .0000       .10000E+07
    10 'norm      '    7.5062       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5650       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .18251E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89384E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .46827       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7294.122     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1284 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17031E-06    10.020       -.38520E-05** at limit **
   2  Prefactor     1.6116        .25542        .20989E-06   -.66636E-03
   3  Prefactor     .61617E-08    89.438        .11698E-05** at limit **
   4  Prefactor     5.3241        7.7108       -.46726E-06   -.58303E-03
   5  Prefactor     .25113E-06    11.630       -.41336E-05** at limit **
   6  Prefactor     7.8721        7.7118       -.80813E-07    .32472E-03
   7  Prefactor     30.909        15.523        .13442E-05    .17722E-01
   8  Prefactor     25.989        1.8815        .24797E-06   -.38982E-02
   9  Prefactor     .24125E-06    24.612        .74336E-05** at limit **
  10  norm          7.3648        10.770       -.14352E-05   -.21098E-02
  11  Prefactor     7.6841        7.5545        .46127E-06    .89333E-03
  12  Prefactor     .13478E-06    10.584       -.45972E-05** at limit **
  13  norm          .47151E-06    10.283        .31622E-05** at limit **
  14  Prefactor     .23986E-06    16.164        .25191E-05** at limit **
  15  Prefactor     7.2096        1.2848        .86081E-07   -.12810E-02
  16  Prefactor      .0000        2.1714       -.26384E-06** at limit **
  17  Normalizat    .46772        .23504       -.54480E-05    .24481E-05
  18  Prefactor     1.2307        .14766        .35235E-06    .36925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70308e-07
  Prefactor  = 1.61158
  Prefactor  = 6.16174e-09
  Prefactor  = 5.3241
  Prefactor  = 2.51132e-07
  Prefactor  = 7.87209
  Prefactor  = 30.9085
  Prefactor  = 25.9888
  Prefactor  = 2.41251e-07
  norm       = 7.36482
  Prefactor  = 7.68408
  Prefactor  = 1.34781e-07
  norm       = 4.71512e-07
  Prefactor  = 2.39864e-07
  Prefactor  = 7.20965
  Prefactor  = 0
  Normalizat = 0.46772
  Prefactor  = 1.23067
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.122     FROM HESSE     STATUS=OK           280 CALLS     1564 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17031E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6116        .25606        .37028E-02   -1.5454    
   3  Prefactor     .61617E-08    89.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3241        7.7232        .42756E-03   -1.5662    
   5  Prefactor     .25113E-06    14.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8721        8.3229        .35850E-03   -1.5652    
   7  Prefactor     30.909        15.857        .17974E-03   -1.5597    
   8  Prefactor     25.989        25.419        .19636E-03   -1.5606    
   9  Prefactor     .24125E-06    27.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3648        10.935        .36582E-03   -1.5654    
  11  Prefactor     7.6841        7.5993        .36438E-03   -1.5653    
  12  Prefactor     .13478E-06    24.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47151E-06    15.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23986E-06    18.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2096        25.876        .37465E-03   -1.5654    
  16  Prefactor      .0000        2.1694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46772        .23665        .10374       -1.1394    
  18  Prefactor     1.2307        .14137        .33953E-01   -.85393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0331e-07
Minuit parameter uncertainties:
  1  0.00410084
  2  0.256057
  3  0.00148658
  4  7.72317
  5  0.00383007
  6  8.32288
  7  15.8567
  8  25.4187
  9  0.00514931
  10  10.9353
  11  7.59932
  12  0.00362653
  13  0.00548285
  14  0.00426332
  15  25.8765
  16  1.26222e-05
  17  0.237163
  18  0.141415
number of points = 7607
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2330.5+1102_daily_bin2204
RA = 352.629, Dec = 11.0479
tmin = 810604801, tmax = 810864001
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='38111623', job_status='RUN', time_executed='2026-09-12 19:07:06.454365', time_epoch_executed='1789265226.45' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='2204'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38111623

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38111623/ft1_4FGL_J2330.5+1102_daily_bin2204.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38111623/ft1_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111623/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin2204.fits ra=352.629 dec=11.0479 rad=12.0 tmin=810604801.0 tmax=810864001.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.61
user 2.06
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.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/38111623/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" outfile="/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.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.76
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 651

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.684e+00  7.599e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.231e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.677e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 5.32e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.20e-05

TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.66549225839e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0131755425069 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38111170/likelihoodResults_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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) = 7293.97095043
delta logL = 0.151052491708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96491079
delta logL = 0.15709213465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7293.965     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1672        392.37        .35072E-03    .37602E-03
   2  Index         2.3083        5.4815        .24277       -.30400E-04
   3  Normalizat    .48839        .40778        .10165        .34726E-05
   4  Prefactor     1.2233        .22415        .34104E-01   -.21415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16723
  Index      = 2.3083
  Normalizat = 0.48839
  Prefactor  = 1.22326
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.965     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1672        8.1217        .14029E-04   -1.5651    
   2  Index         2.3083        .83480        .12557E-01   -.56847    
   3  Normalizat    .48839        .23251        .45062E-03   -1.1296    
   4  Prefactor     1.2233        .14716        .18701E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95172e-11
Minuit parameter uncertainties:
  1  8.12169
  2  0.840363
  3  0.23297
  4  0.147206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96490975
delta logL = 0.157093176701

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.167e+00  8.122e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.308e+00  8.404e-01  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.223e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.884e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.31 +/- 0.84
Photon Flux (Free Index): 3.41e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38111170/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.27e-05', photon_flux_error='5.32e-08', dlogl='1.57e-01', energy_flux='1.22e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2026-09-12 19:09:24.614941', photon_index_error2='0.84', photon_index2='2.31', ts='2.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.28e-05', EG='0.47', time_epoch_completed='1789265364.61', return_code='0', job_id='38111170', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.84e-08', ts2='2.71', photon_index='2.79' WHERE bin_id='2204' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 19:09:24 PDT 2026

_V02
Working on...
/lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits.....................!
real 36.21
user 34.54
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits', '/lscratch/kocevski/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits', expMap='/lscratch/kocevski/38111179/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', expCube='/lscratch/kocevski/38111179/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38111179/Model_4FGL_J2330.5+1102_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38111179/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38111179/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38111179/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38111179/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38111179/Model_4FGL_J2330.5+1102_daily_bin2204.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) = 7294.12853289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24753E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84040E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8129       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.962       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.947       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90519E-02   1.0000          .0000       .10000E+07
    10 'norm      '    7.5062       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5650       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .18251E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89384E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .46827       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7294.122     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1284 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17031E-06    10.020       -.38520E-05** at limit **
   2  Prefactor     1.6116        .25542        .20989E-06   -.66636E-03
   3  Prefactor     .61617E-08    89.438        .11698E-05** at limit **
   4  Prefactor     5.3241        7.7108       -.46726E-06   -.58303E-03
   5  Prefactor     .25113E-06    11.630       -.41336E-05** at limit **
   6  Prefactor     7.8721        7.7118       -.80813E-07    .32472E-03
   7  Prefactor     30.909        15.523        .13442E-05    .17722E-01
   8  Prefactor     25.989        1.8815        .24797E-06   -.38982E-02
   9  Prefactor     .24125E-06    24.612        .74336E-05** at limit **
  10  norm          7.3648        10.770       -.14352E-05   -.21098E-02
  11  Prefactor     7.6841        7.5545        .46127E-06    .89333E-03
  12  Prefactor     .13478E-06    10.584       -.45972E-05** at limit **
  13  norm          .47151E-06    10.283        .31622E-05** at limit **
  14  Prefactor     .23986E-06    16.164        .25191E-05** at limit **
  15  Prefactor     7.2096        1.2848        .86081E-07   -.12810E-02
  16  Prefactor      .0000        2.1714       -.26384E-06** at limit **
  17  Normalizat    .46772        .23504       -.54480E-05    .24481E-05
  18  Prefactor     1.2307        .14766        .35235E-06    .36925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70308e-07
  Prefactor  = 1.61158
  Prefactor  = 6.16174e-09
  Prefactor  = 5.3241
  Prefactor  = 2.51132e-07
  Prefactor  = 7.87209
  Prefactor  = 30.9085
  Prefactor  = 25.9888
  Prefactor  = 2.41251e-07
  norm       = 7.36482
  Prefactor  = 7.68408
  Prefactor  = 1.34781e-07
  norm       = 4.71512e-07
  Prefactor  = 2.39864e-07
  Prefactor  = 7.20965
  Prefactor  = 0
  Normalizat = 0.46772
  Prefactor  = 1.23067
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.122     FROM HESSE     STATUS=OK           280 CALLS     1564 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17031E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6116        .25606        .37028E-02   -1.5454    
   3  Prefactor     .61617E-08    89.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3241        7.7232        .42756E-03   -1.5662    
   5  Prefactor     .25113E-06    14.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8721        8.3229        .35850E-03   -1.5652    
   7  Prefactor     30.909        15.857        .17974E-03   -1.5597    
   8  Prefactor     25.989        25.419        .19636E-03   -1.5606    
   9  Prefactor     .24125E-06    27.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3648        10.935        .36582E-03   -1.5654    
  11  Prefactor     7.6841        7.5993        .36438E-03   -1.5653    
  12  Prefactor     .13478E-06    24.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47151E-06    15.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23986E-06    18.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2096        25.876        .37465E-03   -1.5654    
  16  Prefactor      .0000        2.1694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46772        .23665        .10374       -1.1394    
  18  Prefactor     1.2307        .14137        .33953E-01   -.85393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0331e-07
Minuit parameter uncertainties:
  1  0.00410084
  2  0.256057
  3  0.00148658
  4  7.72317
  5  0.00383007
  6  8.32288
  7  15.8567
  8  25.4187
  9  0.00514931
  10  10.9353
  11  7.59932
  12  0.00362653
  13  0.00548285
  14  0.00426332
  15  25.8765
  16  1.26222e-05
  17  0.237163
  18  0.141415
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.684e+00  7.599e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.231e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.677e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 5.32e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.20e-05

TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.66549225839e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0131755425069 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38111179/likelihoodResults_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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) = 7293.97095043
delta logL = 0.151052491708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96491079
delta logL = 0.15709213465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7293.965     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1672        392.37        .35072E-03    .37602E-03
   2  Index         2.3083        5.4815        .24277       -.30400E-04
   3  Normalizat    .48839        .40778        .10165        .34726E-05
   4  Prefactor     1.2233        .22415        .34104E-01   -.21415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16723
  Index      = 2.3083
  Normalizat = 0.48839
  Prefactor  = 1.22326
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.965     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1672        8.1217        .14029E-04   -1.5651    
   2  Index         2.3083        .83480        .12557E-01   -.56847    
   3  Normalizat    .48839        .23251        .45062E-03   -1.1296    
   4  Prefactor     1.2233        .14716        .18701E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95172e-11
Minuit parameter uncertainties:
  1  8.12169
  2  0.840363
  3  0.23297
  4  0.147206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96490975
delta logL = 0.157093176701

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.167e+00  8.122e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.308e+00  8.404e-01  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.223e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.884e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.31 +/- 0.84
Photon Flux (Free Index): 3.41e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38111179/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.27e-05', photon_flux_error='5.32e-08', dlogl='1.57e-01', energy_flux='1.22e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2026-09-12 19:10:17.347305', photon_index_error2='0.84', photon_index2='2.31', ts='2.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.28e-05', EG='0.47', time_epoch_completed='1789265417.35', return_code='0', job_id='38111179', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.84e-08', ts2='2.71', photon_index='2.79' WHERE bin_id='2204' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 19:10:17 PDT 2026

tfile=/lscratch/kocevski/38111623/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 8.11
user 7.52
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38111623/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111623/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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/38111623/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
.....................!
real 66.13
user 61.57
sys 3.86

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111623/cmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 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.67
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits scfile=/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits outfile=/lscratch/kocevski/38111623/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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=352.629 yref=11.0479 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits evtable="EVENTS" scfile=/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38111623/Model_4FGL_J2330.5+1102_daily_bin2204.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits.....................!
real 31.36
user 29.97
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits', '/lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits', expMap='/lscratch/kocevski/38111623/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', expCube='/lscratch/kocevski/38111623/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38111623/Model_4FGL_J2330.5+1102_daily_bin2204.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38111623/ft1_filtered_4FGL_J2330.5+1102_daily_bin2204.fits
Spacecraft file(s): /lscratch/kocevski/38111623/ft2_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure map: /lscratch/kocevski/38111623/expmap_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
Exposure cube: /lscratch/kocevski/38111623/ltcube_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38111623/Model_4FGL_J2330.5+1102_daily_bin2204.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) = 7294.12853289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24753E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6108       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14449E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.5159       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84040E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.8129       1.0000          .0000       .10000E+07
     7 'Prefactor '    30.962       1.0000          .0000       .10000E+07
     8 'Prefactor '    25.947       1.0000          .0000       .10000E+07
     9 'Prefactor '    .90519E-02   1.0000          .0000       .10000E+07
    10 'norm      '    7.5062       1.0000          .0000       .10000E+07
    11 'Prefactor '    7.5650       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18491E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .18251E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .89384E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1597       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19984E-08   1.0000          .0000       .10000E+07
    17 'Normalizat'    .46827       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2302       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7294.122     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1284 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17031E-06    10.020       -.38520E-05** at limit **
   2  Prefactor     1.6116        .25542        .20989E-06   -.66636E-03
   3  Prefactor     .61617E-08    89.438        .11698E-05** at limit **
   4  Prefactor     5.3241        7.7108       -.46726E-06   -.58303E-03
   5  Prefactor     .25113E-06    11.630       -.41336E-05** at limit **
   6  Prefactor     7.8721        7.7118       -.80813E-07    .32472E-03
   7  Prefactor     30.909        15.523        .13442E-05    .17722E-01
   8  Prefactor     25.989        1.8815        .24797E-06   -.38982E-02
   9  Prefactor     .24125E-06    24.612        .74336E-05** at limit **
  10  norm          7.3648        10.770       -.14352E-05   -.21098E-02
  11  Prefactor     7.6841        7.5545        .46127E-06    .89333E-03
  12  Prefactor     .13478E-06    10.584       -.45972E-05** at limit **
  13  norm          .47151E-06    10.283        .31622E-05** at limit **
  14  Prefactor     .23986E-06    16.164        .25191E-05** at limit **
  15  Prefactor     7.2096        1.2848        .86081E-07   -.12810E-02
  16  Prefactor      .0000        2.1714       -.26384E-06** at limit **
  17  Normalizat    .46772        .23504       -.54480E-05    .24481E-05
  18  Prefactor     1.2307        .14766        .35235E-06    .36925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.70308e-07
  Prefactor  = 1.61158
  Prefactor  = 6.16174e-09
  Prefactor  = 5.3241
  Prefactor  = 2.51132e-07
  Prefactor  = 7.87209
  Prefactor  = 30.9085
  Prefactor  = 25.9888
  Prefactor  = 2.41251e-07
  norm       = 7.36482
  Prefactor  = 7.68408
  Prefactor  = 1.34781e-07
  norm       = 4.71512e-07
  Prefactor  = 2.39864e-07
  Prefactor  = 7.20965
  Prefactor  = 0
  Normalizat = 0.46772
  Prefactor  = 1.23067
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.122     FROM HESSE     STATUS=OK           280 CALLS     1564 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17031E-06    24.684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6116        .25606        .37028E-02   -1.5454    
   3  Prefactor     .61617E-08    89.436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.3241        7.7232        .42756E-03   -1.5662    
   5  Prefactor     .25113E-06    14.604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.8721        8.3229        .35850E-03   -1.5652    
   7  Prefactor     30.909        15.857        .17974E-03   -1.5597    
   8  Prefactor     25.989        25.419        .19636E-03   -1.5606    
   9  Prefactor     .24125E-06    27.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3648        10.935        .36582E-03   -1.5654    
  11  Prefactor     7.6841        7.5993        .36438E-03   -1.5653    
  12  Prefactor     .13478E-06    24.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .47151E-06    15.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .23986E-06    18.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2096        25.876        .37465E-03   -1.5654    
  16  Prefactor      .0000        2.1694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .46772        .23665        .10374       -1.1394    
  18  Prefactor     1.2307        .14137        .33953E-01   -.85393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0331e-07
Minuit parameter uncertainties:
  1  0.00410084
  2  0.256057
  3  0.00148658
  4  7.72317
  5  0.00383007
  6  8.32288
  7  15.8567
  8  25.4187
  9  0.00514931
  10  10.9353
  11  7.59932
  12  0.00362653
  13  0.00548285
  14  0.00426332
  15  25.8765
  16  1.26222e-05
  17  0.237163
  18  0.141415
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  7.684e+00  7.599e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.231e+00  1.414e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.677e-01  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.39e-08 +/- 5.32e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.20e-05

TS (Fixed Index): 2.40
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.66549225839e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0131755425069 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38111623/likelihoodResults_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.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) = 7293.97095043
delta logL = 0.151052491708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96491079
delta logL = 0.15709213465

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7293.965     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1672        392.37        .35072E-03    .37602E-03
   2  Index         2.3083        5.4815        .24277       -.30400E-04
   3  Normalizat    .48839        .40778        .10165        .34726E-05
   4  Prefactor     1.2233        .22415        .34104E-01   -.21415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.16723
  Index      = 2.3083
  Normalizat = 0.48839
  Prefactor  = 1.22326
 **********
 **   18 **HESSE 
 **********

 FCN=   7293.965     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1672        8.1217        .14029E-04   -1.5651    
   2  Index         2.3083        .83480        .12557E-01   -.56847    
   3  Normalizat    .48839        .23251        .45062E-03   -1.1296    
   4  Prefactor     1.2233        .14716        .18701E-03   -.85619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95172e-11
Minuit parameter uncertainties:
  1  8.12169
  2  0.840363
  3  0.23297
  4  0.147206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7293.96490975
delta logL = 0.157093176701

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.167e+00  8.122e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.308e+00  8.404e-01  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.223e+00  1.472e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  4.884e-01  2.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.31 +/- 0.84
Photon Flux (Free Index): 3.41e-08 +/- 4.84e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38111623/cmap_HighResolution_810604801_810864001_4FGL_J2330.5+1102_daily_bin2204.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', comment='SUCCESS', photon_flux='5.39e-08', energy_flux2='1.27e-05', photon_flux_error='5.32e-08', dlogl='1.57e-01', energy_flux='1.22e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2026-09-12 19:12:33.639636', photon_index_error2='0.84', photon_index2='2.31', ts='2.40', fit_tolerance='1e-08', GAL='1.23', photon_index_error='0.00', photon_flux_upper_limit='1.67e-07', energy_flux_error2='1.28e-05', EG='0.47', time_epoch_completed='1789265553.64', return_code='0', job_id='38111623', GAL2='1.22', EG2='0.49', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='4.84e-08', ts2='2.71', photon_index='2.79' WHERE bin_id='2204' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 12 19:12:33 PDT 2026

