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

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225

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


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

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32889725/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32889725/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:12:05.008747', job_id='32889725', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784826725.01', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:12:06 PDT 2026

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890199', job_status='RUN', time_executed='2026-07-23 10:09:54.152446', time_epoch_executed='1784826594.15' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890199

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890199/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890199/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890199/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.24
user 1.71
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890199/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 2.00
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ounumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890466', job_status='RUN', time_executed='2026-07-23 10:10:27.104817', time_epoch_executed='1784826627.1' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890466

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890466/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890466/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890466/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.59
user 1.70
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890466/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.94
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" outnumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890489', job_status='RUN', time_executed='2026-07-23 10:10:27.122440', time_epoch_executed='1784826627.12' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890489

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890489/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890489/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890489/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.32
user 1.70
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890489/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.96
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ounumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890465', job_status='RUN', time_executed='2026-07-23 10:10:27.100860', time_epoch_executed='1784826627.1' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890465

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890465/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890465/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890465/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.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 4.00
user 1.68
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890465/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.99
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" outnumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890441', job_status='RUN', time_executed='2026-07-23 10:10:26.539488', time_epoch_executed='1784826626.54' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890441

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890441/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890441/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890441/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.38
user 1.70
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890441/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.44
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ounumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890336', job_status='RUN', time_executed='2026-07-23 10:09:55.472009', time_epoch_executed='1784826595.47' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890336

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890336/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890336/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890336/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.68
user 1.68
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890336/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 2.19
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ounumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890584', job_status='RUN', time_executed='2026-07-23 10:11:09.206190', time_epoch_executed='1784826669.21' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890584

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890584/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890584/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890584/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.06
user 1.67
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890584/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.79
user 0.17
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ouDone.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890593', job_status='RUN', time_executed='2026-07-23 10:11:06.880557', time_epoch_executed='1784826666.88' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890593

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890593/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890593/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890593/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.57
user 1.69
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890593/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.90
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ouDone.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890608', job_status='RUN', time_executed='2026-07-23 10:11:09.482773', time_epoch_executed='1784826669.48' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890608

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890608/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890608/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890608/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.42
user 1.64
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890608/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.84
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ouDone.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890507', job_status='RUN', time_executed='2026-07-23 10:11:08.732810', time_epoch_executed='1784826668.73' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890507/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890507/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890507/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.36
user 1.71
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890507/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.90
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32890199/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.79
user 6.77
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890199/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890199/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890199/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.52
user 55.65
sys 3.53

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890199/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.62
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890199/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.72
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890199/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALfile=/lscratch/kocevski/32890466/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 9.04
user 7.02
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890466/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890466/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890466/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.09
user 55.64
sys 3.38

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890466/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.05
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890466/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.96
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890466/Model_4FGL_J1230.8+1223_daily_bin2187.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_tfile=/lscratch/kocevski/32890489/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 9.19
user 7.15
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890489/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890489/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890489/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 60.52
user 55.63
sys 3.46

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890489/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.16
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890489/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.02
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890489/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALnumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890653', job_status='RUN', time_executed='2026-07-23 10:11:48.184649', time_epoch_executed='1784826708.18' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890653

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890653/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890653/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890653/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.25
user 1.72
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890653/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.53
user 0.17
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" oufile=/lscratch/kocevski/32890465/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.39
user 6.75
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890465/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890465/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890465/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.00
user 55.59
sys 3.55

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890465/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.97
user 0.20
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890465/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.10
user 0.19
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890465/Model_4FGL_J1230.8+1223_daily_bin2187.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_number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890675', job_status='RUN', time_executed='2026-07-23 10:11:46.956639', time_epoch_executed='1784826706.96' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890675

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890675/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890675/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890675/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.18
user 1.69
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890675/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.61
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ounumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
tfile=/lscratch/kocevski/32890441/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.48
user 6.78
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890441/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890441/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890441/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 60.83
user 55.78
sys 3.41

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890441/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.79
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890441/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.84
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890441/Model_4FGL_J1230.8+1223_daily_bin2187.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.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890600', job_status='RUN', time_executed='2026-07-23 10:11:11.980906', time_epoch_executed='1784826671.98' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890600/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890600/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890600/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.58
user 1.68
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890600/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 2.13
user 0.16
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32890336/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 9.07
user 6.76
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890336/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890336/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890336/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.33
user 55.49
sys 3.44

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890336/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.41
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890336/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.09
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890336/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALtfile=/lscratch/kocevski/32890584/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.36
user 6.71
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890584/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890584/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890584/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.06
user 55.70
sys 3.58

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890584/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.16
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890584/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.96
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890584/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALtfile=/lscratch/kocevski/32890507/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.44
user 6.74
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890507/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890507/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890507/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 60.97
user 55.52
sys 3.45

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890507/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.86
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890507/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.43
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890507/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALtfile=/lscratch/kocevski/32890608/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.22
user 6.72
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890608/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890608/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890608/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 60.93
user 55.61
sys 3.30

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890608/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.89
user 0.19
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890608/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.65
user 0.20
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890608/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALtfile=/lscratch/kocevski/32890593/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 9.01
user 7.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890593/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890593/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890593/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 60.94
user 55.42
sys 3.55

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890593/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 2.09
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890593/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.94
user 0.19
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890593/Model_4FGL_J1230.8+1223_daily_bin2187.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/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.92
user 19.14
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890199/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890199/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890199/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890199/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890199/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890199/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890199/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890199/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1230.8+1223_daily_bin2187
RA = 187.712, Dec = 12.3883
tmin = 806198401, tmax = 806457601
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='32890927', job_status='RUN', time_executed='2026-07-23 10:12:51.412971', time_epoch_executed='1784826771.41' WHERE source_name='4FGL J1230.8+1223' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32890927

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32890927/ft1_4FGL_J1230.8+1223_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32890927/ft1_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890927/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits ra=187.712 dec=12.3883 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.72
user 1.83
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.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/32890927/ft1_filteredMKT_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.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 1.75
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 597

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" ouV02
Working on...
/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.18
user 18.92
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890466/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890466/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890466/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890466/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890466/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890466/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890466/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890466/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
_V02
Working on...
/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.79
user 19.20
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890489/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890489/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890489/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890489/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890489/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890489/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890489/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890489/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
V02
Working on...
/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.45
user 18.77
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890465/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890465/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890465/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890465/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890465/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890465/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890465/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890465/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
de (Fixed Index): 0
logL (Fixed Index) = 6391.28651345

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890199/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
12281
  Prefactor  = 0
06537
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890199/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:22:53.438010', job_id='32890199', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827373.44', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:22:54 PDT 2026

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

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
_V02
Working on...
/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.47
user 18.96
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890441/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890441/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890441/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890441/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890441/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890441/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890441/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890441/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890466/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890489/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890466/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:10.170212', job_id='32890466', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827390.17', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:23:11 PDT 2026

tfile=/lscratch/kocevski/32890653/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.66
user 6.82
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890653/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890653/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890653/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 60.42
user 55.54
sys 3.54

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890653/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.83
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890653/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.77
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890653/Model_4FGL_J1230.8+1223_daily_bin2187.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 GALshell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890489/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:12.078678', job_id='32890489', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827392.08', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:23:13 PDT 2026

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

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
_V02
Working on...
/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.74
user 18.97
sys 0.77

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890336/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890336/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890336/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890336/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890336/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890336/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890336/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890336/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
tfile=/lscratch/kocevski/32890675/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.30
user 6.82
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890675/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890675/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890675/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.29
user 55.81
sys 3.60

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890675/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.55
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890675/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.75
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890675/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.28651345

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890465/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
_V02
Working on...
/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.14
user 18.94
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890507/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890507/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890507/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890507/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890507/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890507/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890507/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890507/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890465/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:24.151440', job_id='32890465', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827404.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:23:25 PDT 2026

_V02
Working on...
/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.22
user 18.65
sys 0.81

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890608/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890608/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890608/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890608/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890608/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890608/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890608/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890608/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
_V02
Working on...
/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.26
user 18.87
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890584/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890584/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890584/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890584/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890584/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890584/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890584/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890584/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
_V02
Working on...
/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.85
user 19.11
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890593/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890593/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890593/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890593/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890593/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890593/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890593/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890593/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
tfile=/lscratch/kocevski/32890600/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 8.80
user 6.75
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890600/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890600/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890600/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 61.21
user 55.61
sys 3.40

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890600/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.70
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890600/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.74
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890600/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.28651345

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890441/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890441/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:36.682584', job_id='32890441', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827416.68', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:23:37 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890336/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890336/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:52.362128', job_id='32890336', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827432.36', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:23:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890507/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890608/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890584/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890593/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890507/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:58.135384', job_id='32890507', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827438.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:23:59 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890608/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:58.852399', job_id='32890608', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827438.85', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:24:00 PDT 2026

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

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890584/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:59.393217', job_id='32890584', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827439.39', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:24:00 PDT 2026

Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890593/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:23:59.805368', job_id='32890593', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827439.81', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:24:00 PDT 2026

tfile=/lscratch/kocevski/32890927/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 9.46
user 7.55
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32890927/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890927/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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/32890927/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
.....................!
real 65.50
user 59.64
sys 3.69

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

Setting source of interest to:
4FGL J1230.8+1223 @ 187.712 12.3883

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890927/cmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.56
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits scfile=/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits outfile=/lscratch/kocevski/32890927/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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=187.712 yref=12.3883 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 1.31
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32890927/Model_4FGL_J1230.8+1223_daily_bin2187.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/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.59
user 18.85
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890653/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890653/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890653/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890653/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890653/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890653/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890653/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890653/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
_V02
Working on...
/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.72
user 19.33
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890675/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890675/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890675/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890675/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890675/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890675/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890675/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890675/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
_V02
Working on...
/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 21.38
user 18.88
sys 0.84

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890600/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890600/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890600/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890600/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890600/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890600/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890600/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890600/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890653/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890653/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:25:01.085067', job_id='32890653', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827501.09', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:25:01 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890675/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890675/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:25:10.138620', job_id='32890675', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827510.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:25:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890600/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890600/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:25:20.592220', job_id='32890600', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827520.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:25:21 PDT 2026

_V02
Working on...
/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits.....................!
real 22.81
user 20.30
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits', '/lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits', expMap='/lscratch/kocevski/32890927/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', expCube='/lscratch/kocevski/32890927/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32890927/Model_4FGL_J1230.8+1223_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.8+1223'

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  6.672e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32890927/ft1_filtered_4FGL_J1230.8+1223_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32890927/ft2_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32890927/expmap_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32890927/ltcube_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32890927/Model_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.4386383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19399E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    232.03       1.0000          .0000       .10000E+07
     3 'Prefactor '    .59397E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1944       1.0000          .0000       .10000E+07
     5 'Prefactor '    8.0199       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.7600       1.0000          .0000       .10000E+07
     7 'Prefactor '    44.395       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49266E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .96309E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14652       1.0000          .0000       .10000E+07
    11 'norm      '    4.7731       1.0000          .0000       .10000E+07
    12 'Prefactor '    36.469       1.0000          .0000       .10000E+07
    13 'norm      '    .39918       1.0000          .0000       .10000E+07
    14 'norm      '    .87580E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.3631       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14816E-06   1.0000          .0000       .10000E+07
    17 'norm      '    6.2131       1.0000          .0000       .10000E+07
    18 'Prefactor '    .34557E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.9503       1.0000          .0000       .10000E+07
    20 'Prefactor '    13.947       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0646       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1810 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.6160        .48102E-06** at limit **
   2  Prefactor     241.34        140.70       -.14813E-05   -.36176E-01
   3  Prefactor      .0000        4.7939        .90868E-07** at limit **
   4  Prefactor     3.3970        18.136       -.10585E-05    .14110E-02
   5  Prefactor     8.0404        4.6967       -.84765E-07   -.74643E-04
   6  Prefactor     .19484E-07    228.39        .94596E-06** at limit **
   7  Prefactor     46.521        47.956        .42383E-06   -.35636E-01
   8  Prefactor      .0000        1.1179       -.21752E-06** at limit **
   9  Prefactor      .0000        4.3281       -.12442E-06** at limit **
  10  Prefactor     .19040E-01    38.647        .16546E-05** at limit **
  11  norm          4.7584        4.3219       -.69120E-07    .88105E-03
  12  Prefactor     36.832        30.581       -.48563E-06   -.36862E-01
  13  norm          .40016        .21899       -.14070E-07   -.55598E-03
  14  norm          .21649E-08    15.136       -.49007E-08** at limit **
  15  norm          3.3639        .89963        .26076E-07   -.29652E-02
  16  Prefactor      .0000        5.2381        .11471E-06** at limit **
  17  norm          6.2206        2.3511       -.34197E-07   -.14497E-03
  18  Prefactor     .66613E-09    11.494        .69074E-06** at limit **
  19  Prefactor     2.0332        23.747        .58270E-07    .71472E-03
  20  Prefactor     14.105        12.033        .31201E-07   -.16556E-02
  21  Normalizat    1.1228        .25595        .27066E-05   -.34427E-05
  22  Prefactor     1.0654        .21939       -.20486E-05    .48507E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 241.341
  Prefactor  = 0
  Prefactor  = 3.39703
  Prefactor  = 8.04037
  Prefactor  = 1.94844e-08
  Prefactor  = 46.5213
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.0190402
  norm       = 4.75837
  Prefactor  = 36.8321
  norm       = 0.400165
  norm       = 2.16493e-09
  norm       = 3.36385
  Prefactor  = 0
  norm       = 6.22061
  Prefactor  = 6.66134e-10
  Prefactor  = 2.03322
  Prefactor  = 14.1048
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********

 FCN=   6391.287     FROM HESSE     STATUS=OK           392 CALLS     2202 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.6370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     241.34        141.17        .65657E-04   -1.5397    
   3  Prefactor      .0000        4.7755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3970        18.159        .56667E-03   -1.5671    
   5  Prefactor     8.0404        4.6921        .35381E-03   -1.5651    
   6  Prefactor     .19484E-07    226.20        .78955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.521        48.393        .15010E-03   -1.5572    
   8  Prefactor      .0000        1.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.2592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .19040E-01    13.979        .12818E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.7584        4.3568        .46028E-03   -1.5664    
  12  Prefactor     36.832        30.743        .16561E-03   -1.5587    
  13  norm          .40016        .22204        .59649E-03   -1.5695    
  14  norm          .21649E-08    15.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3639        .89930        .55157E-03   -1.5671    
  16  Prefactor      .0000        5.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2206        2.3497        .40250E-03   -1.5658    
  18  Prefactor     .66613E-09    11.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.0332        23.552        .74281E-03   -1.5679    
  20  Prefactor     14.105        12.141        .26794E-03   -1.5633    
  21  Normalizat    1.1228        .21242        .63591E-01   -.89023    
  22  Prefactor     1.0654        .18214        .59576E-01   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34893e-07
Minuit parameter uncertainties:
  1  2.50802e-05
  2  141.174
  3  4.71603e-06
  4  15.7083
  5  4.69205
  6  0.00420167
  7  48.3934
  8  5.30021e-06
  9  6.75481e-08
  10  1.03181
  11  4.3568
  12  30.7426
  13  0.222035
  14  0.000362653
  15  0.899302
  16  3.98425e-07
  17  2.34974
  18  0.000174731
  19  13.8401
  20  12.1412
  21  0.212583
  22  0.18225
Done.

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

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  3.984e-07  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.057e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.823e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  2.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 187.712 12.388
Photon Flux Upper Limit: 6.02132003396e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00453725299901 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32890927/likelihoodResults_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.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) = 6391.29163429
delta logL = -0.00512083716058

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6391.28651383
delta logL = -3.81661266147e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6391.287     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      218 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0281        .42118E-03** at limit **
   2  Index         1.2056        .79382       -.65401E-04     .0000    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.91466E-04
   4  Prefactor     1.0654        1.1753        .10433E-05   -.14312E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.20557
  Normalizat = 1.12281
  Prefactor  = 1.06537
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6391.287     FROM HESSE     STATUS=FAILED         9 CALLS      227 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0281        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .98868E-01    1.2212       -.65401E-04   -.86160    
   3  Normalizat    1.1228        1.1406       -.10842E-05   -.89023    
   4  Prefactor     1.0654        1.1753        .10433E-05   -.90581    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.131e-11
Minuit parameter uncertainties:
  1  2.32729e-06
  2  0.801903
  3  1.16727
  4  1.20571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6391.28651345
delta logL = -1.36424205266e-11

Extracting fit parameters...

4FGL J1230.8+1223
   Spectrum: PowerLaw
309    Prefactor:  0.000e+00  2.327e-06  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  1.206e+00  8.019e-01  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.570e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.065e+00  1.206e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.123e+00  1.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 187.712 12.388

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/32890927/cmap_HighResolution_806198401_806457601_4FGL_J1230.8+1223_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.54e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2026-07-23 10:26:21.738233', job_id='32890927', GAL2='1.07', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1784827581.74', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.06' WHERE bin_id='2187' AND source_name='4FGL J1230.8+1223' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 10:26:22 PDT 2026

