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

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
utfile=/lscratch/kocevski/37567589/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 9.06
user 8.31
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37567589/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567589/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37567589/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 73.54
user 68.24
sys 4.29

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567589/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567589/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.72
user 0.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37567589/Model_4FGL_J2031.2-4121_daily_bin2203.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 sourcenumber of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2031.2-4121_daily_bin2203
RA = 307.811, Dec = -41.3574
tmin = 810345601, tmax = 810604801
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='37567907', job_status='RUN', time_executed='2026-09-09 16:11:58.539458', time_epoch_executed='1788995518.54' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37567907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37567907/ft1_4FGL_J2031.2-4121_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37567907/ft1_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567907/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=810345601.0 tmax=810604801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.70
user 2.04
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.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/37567907/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.84
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA"  **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37567142/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37567142/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:13:54.474678', job_id='37567142', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995634.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:13:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37567175/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37567175/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:14:03.182938', job_id='37567175', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995643.18', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:14:03 PDT 2026

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


Performing analysis on: 4FGL_J2031.2-4121_daily_bin2203
RA = 307.811, Dec = -41.3574
tmin = 810345601, tmax = 810604801
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='37567982', job_status='RUN', time_executed='2026-09-09 16:12:33.086823', time_epoch_executed='1788995553.09' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37567982

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37567982/ft1_4FGL_J2031.2-4121_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37567982/ft1_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567982/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=810345601.0 tmax=810604801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.86
user 2.13
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.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/37567982/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.77
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2031.2-4121_daily_bin2203
RA = 307.811, Dec = -41.3574
tmin = 810345601, tmax = 810604801
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='37568033', job_status='RUN', time_executed='2026-09-09 16:12:46.063679', time_epoch_executed='1788995566.06' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37568033

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37568033/ft1_4FGL_J2031.2-4121_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37568033/ft1_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568033/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=810345601.0 tmax=810604801.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.81
user 2.09
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.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/37568033/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.70
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2031.2-4121_daily_bin2203
RA = 307.811, Dec = -41.3574
tmin = 810345601, tmax = 810604801
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='37568005', job_status='RUN', time_executed='2026-09-09 16:12:47.230258', time_epoch_executed='1788995567.23' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37568005

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37568005/ft1_4FGL_J2031.2-4121_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37568005/ft1_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568005/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=810345601.0 tmax=810604801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.80
user 1.94
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.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/37568005/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.89
user 0.22
sys 0.19

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2031.2-4121_daily_bin2203
RA = 307.811, Dec = -41.3574
tmin = 810345601, tmax = 810604801
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='37568081', job_status='RUN', time_executed='2026-09-09 16:13:04.677871', time_epoch_executed='1788995584.68' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37568081

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37568081/ft1_4FGL_J2031.2-4121_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37568081/ft1_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568081/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=810345601.0 tmax=810604801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.92
user 2.09
sys 0.13

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.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/37568081/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.82
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA"  GAL_V02
Working on...
/lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 25.40
user 23.77
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37567589/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37567589/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37567589/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37567589/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37567589/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37567589/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37567589/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37567589/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37567589/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
number of points = 7433
number of fields = 31
RA_SUN column already exists. File will not be modified.
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37567589/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:15:24.449008', job_id='37567589', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995724.45', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:15:24 PDT 2026

Done.


Performing analysis on: 4FGL_J2031.2-4121_daily_bin2203
RA = 307.811, Dec = -41.3574
tmin = 810345601, tmax = 810604801
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='37568179', job_status='RUN', time_executed='2026-09-09 16:13:49.538902', time_epoch_executed='1788995629.54' WHERE source_name='4FGL J2031.2-4121' and cadence='daily' and bin_id='2203'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/37568179

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/37568179/ft1_4FGL_J2031.2-4121_daily_bin2203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/37568179/ft1_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568179/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits ra=307.811 dec=-41.3574 rad=12.0 tmin=810345601.0 tmax=810604801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.66
user 2.08
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.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/37568179/ft1_filteredMKT_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" outfile="/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.71
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits" evtable="EVENTS" scfile=/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" outfile=/lscratch/kocevski/37567907/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 9.27
user 8.29
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37567907/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567907/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37567907/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 70.84
user 65.84
sys 3.73

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567907/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567907/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37567907/Model_4FGL_J2031.2-4121_daily_bin2203.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 sourcoutfile=/lscratch/kocevski/37567982/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 10.28
user 8.23
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37567982/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567982/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37567982/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 72.58
user 67.29
sys 4.10

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567982/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37567982/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37567982/Model_4FGL_J2031.2-4121_daily_bin2203.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 souroutfile=/lscratch/kocevski/37568005/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 9.05
user 7.92
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37568005/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568005/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568005/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 68.85
user 62.98
sys 4.70

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568005/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568005/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37568005/Model_4FGL_J2031.2-4121_daily_bin2203.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 sourcoutfile=/lscratch/kocevski/37568033/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 9.23
user 8.36
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37568033/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568033/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568033/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 74.79
user 68.93
sys 4.28

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568033/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568033/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37568033/Model_4FGL_J2031.2-4121_daily_bin2203.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 sourcoutfile=/lscratch/kocevski/37568081/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 9.24
user 8.44
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37568081/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568081/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568081/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 74.26
user 68.97
sys 4.21

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

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568081/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568081/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37568081/Model_4FGL_J2031.2-4121_daily_bin2203.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/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 25.02
user 23.11
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37567907/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37567907/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37567907/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37567907/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37567907/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37567907/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37567907/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37567907/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37567907/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37567907/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:17:15.764525', job_id='37567907', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995835.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:17:16 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 25.90
user 23.82
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37567982/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37567982/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37567982/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37567982/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37567982/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37567982/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37567982/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37567982/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
outfile=/lscratch/kocevski/37568179/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 11.75
user 11.00
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" expcube=/lscratch/kocevski/37568179/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568179/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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/37568179/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
.....................!
real 78.50
user 72.92
sys 4.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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2031.2-4121 @ 307.811 -41.3574

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568179/cmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.87
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits scfile=/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits outfile=/lscratch/kocevski/37568179/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.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=307.811 yref=-41.3574 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits evtable="EVENTS" scfile=/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/37568179/Model_4FGL_J2031.2-4121_daily_bin2203.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 sou **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
e GAL_V02
Working on...
/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 26.27
user 24.10
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37568033/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37568033/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37568033/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37568033/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37568033/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37568033/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37568033/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37568033/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
e GAL_V02
Working on...
/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 27.80
user 24.49
sys 2.38

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37568005/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37568005/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37568005/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37568005/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37568005/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37568005/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37568005/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37568005/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
e GAL_V02
Working on...
/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 25.75
user 24.06
sys 0.92

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37568081/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37568081/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37568081/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37568081/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37568081/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37568081/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37568081/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37568081/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37567982/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37567982/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:17:58.313311', job_id='37567982', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995878.31', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:17:58 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37568033/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37568033/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:18:14.058755', job_id='37568033', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995894.06', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:18:14 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37568081/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37568005/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37568081/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:18:21.735383', job_id='37568081', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995901.74', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:18:21 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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37568005/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:18:23.383796', job_id='37568005', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995903.38', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:18:23 PDT 2026

rce GAL_V02
Working on...
/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits.....................!
real 27.53
user 25.68
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits', '/lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits', expMap='/lscratch/kocevski/37568179/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', expCube='/lscratch/kocevski/37568179/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/37568179/Model_4FGL_J2031.2-4121_daily_bin2203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2031.2-4121'

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.668e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/37568179/ft1_filtered_4FGL_J2031.2-4121_daily_bin2203.fits
Spacecraft file(s): /lscratch/kocevski/37568179/ft2_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure map: /lscratch/kocevski/37568179/expmap_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
Exposure cube: /lscratch/kocevski/37568179/ltcube_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/37568179/Model_4FGL_J2031.2-4121_daily_bin2203.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) = 6917.61360132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37850E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.156       1.0000          .0000       .10000E+07
     3 'Prefactor '    .28310E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .25254E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .93958E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .94924E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .73653E-04   1.0000          .0000       .10000E+07
     8 'norm      '    32.566       1.0000          .0000       .10000E+07
     9 'norm      '    .40512E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .45131E-07   1.0000          .0000       .10000E+07
    11 'norm      '    .87291E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .87793E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.90       1.0000          .0000       .10000E+07
    14 'Prefactor '    .44279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .94054       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.598       1.0000          .0000       .10000E+07
    17 'Prefactor '    .95630E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .22754E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .95921       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0371       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1518 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72164E-09    4.1994       -.26895E-06** at limit **
   2  Prefactor     11.158        1.0377        .45788E-07   -.14223E-02
   3  Prefactor     .17764E-08    4.9721        .34136E-06** at limit **
   4  norm          .45780E-06    5.5528       -.16875E-05** at limit **
   5  Prefactor      .0000        3.9068        .10733E-06** at limit **
   6  norm           .0000        .49990       -.24391E-07** at limit **
   7  norm          .17181E-06    3.1873        .13185E-05** at limit **
   8  norm          32.632        12.474       -.11632E-05    .12243    
   9  norm           .0000        .88307        .43032E-06** at limit **
  10  norm           .0000        2.0191        .15176E-06** at limit **
  11  norm          .12274E-06    66.353        .41520E-05** at limit **
  12  norm          .13273E-06    3.1257        .10927E-05** at limit **
  13  Prefactor     124.92        2.4383       -.10802E-06    .12095    
  14  Prefactor     .41023E-06    9.6246       -.10568E-05** at limit **
  15  norm          .93828        2.1681        .95871E-06    .10080E-02
  16  Prefactor     15.389        5.1905        .79545E-06   -.52965E-01
  17  Prefactor     .97675E-01    .64578        .23957E-06** at limit **
  18  Prefactor     .38602E-06    10.964       -.27448E-06** at limit **
  19  Normalizat    .95943        .27053        .12918E-04   -.18451E-04
  20  Prefactor     1.0371        .11688       -.67650E-05   -.15276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.21645e-10
  Prefactor  = 11.1583
  Prefactor  = 1.77636e-09
  norm       = 4.578e-07
  Prefactor  = 0
  norm       = 0
  norm       = 1.71807e-07
  norm       = 32.6324
  norm       = 0
  norm       = 0
  norm       = 1.22735e-07
  norm       = 1.32727e-07
  Prefactor  = 124.915
  Prefactor  = 4.10227e-07
  norm       = 0.938275
  Prefactor  = 15.3888
  Prefactor  = 0.0976746
  Prefactor  = 3.86025e-07
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********

 FCN=   6917.612     FROM HESSE     STATUS=OK           329 CALLS     1847 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72164E-09    4.2002        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.158        17.110        .29970E-03   -1.5641    
   3  Prefactor     .17764E-08    4.9805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .45780E-06    6.4478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        3.9110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .49523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .17181E-06    6.8647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.632        21.360        .17526E-03   -1.5594    
   9  norm           .0000        .87759        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.0126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12274E-06    65.619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13273E-06    6.7195        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.92        105.56        .89483E-04   -1.5484    
  14  Prefactor     .41023E-06    10.446        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .93828        2.1763        .42997E-03   -1.5689    
  16  Prefactor     15.389        30.255        .25333E-03   -1.5630    
  17  Prefactor     .97675E-01    3.7287        .88680E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38602E-06    11.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .95943        .24555        .85415E-01   -.94402    
  20  Prefactor     1.0371        .10159        .40735E-01   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8463e-06
Minuit parameter uncertainties:
  1  0.000109697
  2  17.1105
  3  0.000187687
  4  0.0034362
  5  9.07613e-06
  6  3.27887e-06
  7  0.002172
  8  21.3604
  9  2.15303e-06
  10  1.44181e-06
  11  0.00567548
  12  0.00188885
  13  105.557
  14  0.00414026
  15  2.17633
  16  30.2557
  17  1.20698
  18  0.00426665
  19  0.245842
  20  0.101607
Done.

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

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  1.327e-07  1.889e-03  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 307.811 -41.357
Photon Flux Upper Limit: 3.02378819979e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.37007269223e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/37568179/likelihoodResults_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6917.61274764
delta logL = -0.000544630307559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6917.61220305
delta logL = -4.11146174883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17530E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .14834       1.0000          .0000       5.0000    
     3 'Normalizat'    .95949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6917.612     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      249 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.1487        .42118E-03** at limit **
   2  alpha         4.3639        .79702       -.76668E-04     .0000    
   3  Normalizat    .95943        1.2917        .40907E-05    .12676E-04
   4  Prefactor     1.0371        1.2079       -.10681E-05    .24212E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.36392
  Normalizat = 0.959432
  Prefactor  = 1.03707
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6917.612     FROM HESSE     STATUS=FAILED         9 CALLS      258 TOTAL
                     EDM=   .52E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.3134        .82342       -.76668E-04    .84139    
   3  Normalizat    .95943        1.2917        .40907E-05   -.94402    
   4  Prefactor     1.0371        1.2079       -.10681E-05   -.91504    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.24773e-13
Minuit parameter uncertainties:
  1  1.43207e-06
  2  0.831053
  3  1.33764
  4  1.24196
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) = 6917.612203
delta logL = 9.88620740827e-09

Extracting fit parameters...

4FGL J2031.2-4121
   Spectrum: LogParabola
278         norm:  0.000e+00  1.432e-06  0.000e+00  1.000e+06 ( 1.000e-13)
279        alpha:  4.364e+00  8.311e-01  0.000e+00  5.000e+00 ( 1.000e+00)
280         beta:  5.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
281           Eb:  1.567e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.037e+00  1.242e+00  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.594e-01  1.338e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 307.811 -41.357

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/37568179/cmap_HighResolution_810345601_810604801_4FGL_J2031.2-4121_daily_bin2203.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-05', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2026-09-09 16:19:26.710806', job_id='37568179', GAL2='1.04', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1788995966.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='2203' AND source_name='4FGL J2031.2-4121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  9 16:19:27 PDT 2026

