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

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244389/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244389/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:37:37.307295', job_id='36244389', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960257.31', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:37:37 PDT 2026

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

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

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

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
outfile=/lscratch/kocevski/36244536/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 8.58
user 7.87
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244536/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244536/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244536/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 70.65
user 65.97
sys 3.92

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244536/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244536/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.82
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244536/Model_4FGL_J2141.8-3727_daily_bin2199.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/36244416/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 9.90
user 8.89
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244416/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244416/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244416/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 79.96
user 74.32
sys 4.19

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244416/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.86
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244416/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.04
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244416/Model_4FGL_J2141.8-3727_daily_bin2199.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/36244431/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 19.30
user 17.83
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244431/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244431/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244431/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244431/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244431/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244431/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244431/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244431/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244431/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244431/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013

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/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).

Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244393/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
/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)
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244393/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:37:53.746835', job_id='36244393', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960273.75', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:37:54 PDT 2026

outfile=/lscratch/kocevski/36244545/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 8.67
user 7.88
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244545/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244545/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244545/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 70.62
user 65.75
sys 4.20

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244545/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244545/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244545/Model_4FGL_J2141.8-3727_daily_bin2199.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 sourc **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721

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

Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244387/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244387/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:38:03.584222', job_id='36244387', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960283.58', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:38:04 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/36244412/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 22.12
user 19.92
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244412/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244412/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244412/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244412/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244412/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244412/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244412/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244412/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244412/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244412/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244431/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244431/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:38:22.316373', job_id='36244431', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960302.32', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:38:22 PDT 2026

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

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
number of points = 7582
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2141.8-3727_daily_bin2199
RA = 325.462, Dec = -37.4545
tmin = 809308801, tmax = 809568001
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='36244842', job_status='RUN', time_executed='2026-08-28 16:35:43.729760', time_epoch_executed='1787960143.73' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='2199'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36244842

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36244842/ft1_4FGL_J2141.8-3727_daily_bin2199.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36244842/ft1_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244842/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=809308801.0 tmax=809568001.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.48
user 2.96
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.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/36244842/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" outfile="/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.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.78
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 19.59
user 17.90
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244536/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244536/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244536/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244536/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244536/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244536/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244536/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244536/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244412/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244412/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:38:58.170213', job_id='36244412', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960338.17', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:38:58 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 21.79
user 20.41
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244416/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244416/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244416/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244416/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244416/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244416/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244416/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244416/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
number of points = 7582
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
Done.


Performing analysis on: 4FGL_J2141.8-3727_daily_bin2199
RA = 325.462, Dec = -37.4545
tmin = 809308801, tmax = 809568001
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='36244878', job_status='RUN', time_executed='2026-08-28 16:36:17.150998', time_epoch_executed='1787960177.15' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='2199'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36244878

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36244878/ft1_4FGL_J2141.8-3727_daily_bin2199.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36244878/ft1_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244878/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=809308801.0 tmax=809568001.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.12
user 3.30
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.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/36244878/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" outfile="/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.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.73
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" e GAL_V02
Working on...
/lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 19.34
user 17.75
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244545/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244545/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244545/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244545/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244545/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244545/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244545/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244545/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244536/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244536/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:39:27.527221', job_id='36244536', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960367.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:39:28 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244545/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244416/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244545/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:39:38.781829', job_id='36244545', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960378.78', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:39:39 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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244416/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:39:39.158195', job_id='36244416', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960379.16', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:39:39 PDT 2026

outfile=/lscratch/kocevski/36244842/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 8.92
user 8.16
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244842/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244842/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244842/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 72.47
user 67.33
sys 4.24

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244842/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244842/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.09
user 0.24
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244842/Model_4FGL_J2141.8-3727_daily_bin2199.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 sourcnumber of points = 7582
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2141.8-3727_daily_bin2199
RA = 325.462, Dec = -37.4545
tmin = 809308801, tmax = 809568001
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='36244985', job_status='RUN', time_executed='2026-08-28 16:37:58.835410', time_epoch_executed='1787960278.84' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='2199'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36244985

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36244985/ft1_4FGL_J2141.8-3727_daily_bin2199.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36244985/ft1_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244985/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=809308801.0 tmax=809568001.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.11
user 3.24
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.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/36244985/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" outfile="/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.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.94
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" number of points = 7582
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2141.8-3727_daily_bin2199
RA = 325.462, Dec = -37.4545
tmin = 809308801, tmax = 809568001
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='36244973', job_status='RUN', time_executed='2026-08-28 16:37:51.634644', time_epoch_executed='1787960271.63' WHERE source_name='4FGL J2141.8-3727' and cadence='daily' and bin_id='2199'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/36244973

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/36244973/ft1_4FGL_J2141.8-3727_daily_bin2199.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/36244973/ft1_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244973/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits ra=325.462 dec=-37.4545 rad=12.0 tmin=809308801.0 tmax=809568001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.89
user 3.09
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.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/36244973/ft1_filteredMKT_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" outfile="/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 422

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits" evtable="EVENTS" scfile=/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" outfile=/lscratch/kocevski/36244878/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 9.98
user 9.20
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244878/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244878/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244878/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 80.06
user 74.68
sys 4.41

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244878/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.99
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244878/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.98
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244878/Model_4FGL_J2141.8-3727_daily_bin2199.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/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 19.91
user 18.23
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244842/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244842/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244842/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244842/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244842/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244842/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244842/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244842/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244842/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244842/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:42:14.390603', job_id='36244842', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960534.39', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:42:14 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 21.49
user 19.97
sys 0.77

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244878/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244878/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244878/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244878/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244878/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244878/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244878/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244878/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
outfile=/lscratch/kocevski/36244985/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 8.57
user 7.78
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244985/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244985/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244985/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 77.07
user 71.15
sys 4.55

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244985/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.96
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244985/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.14
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244985/Model_4FGL_J2141.8-3727_daily_bin2199.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 sourcDone.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244878/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
outfile=/lscratch/kocevski/36244973/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 9.37
user 8.40
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" expcube=/lscratch/kocevski/36244973/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244973/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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/36244973/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
.....................!
real 78.68
user 73.16
sys 4.42

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

Setting source of interest to:
4FGL J2141.8-3727 @ 325.462 -37.4545

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244973/cmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 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.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits scfile=/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits outfile=/lscratch/kocevski/36244973/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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=325.462 yref=-37.4545 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.31
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits evtable="EVENTS" scfile=/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/36244973/Model_4FGL_J2141.8-3727_daily_bin2199.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 sourcshell-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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244878/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:42:54.449535', job_id='36244878', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960574.45', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:42:55 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 20.76
user 18.95
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244985/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244985/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244985/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244985/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244985/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244985/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244985/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244985/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
e GAL_V02
Working on...
/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits.....................!
real 20.91
user 18.99
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits', '/lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits', expMap='/lscratch/kocevski/36244973/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', expCube='/lscratch/kocevski/36244973/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/36244973/Model_4FGL_J2141.8-3727_daily_bin2199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2141.8-3727'

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  3.345e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/36244973/ft1_filtered_4FGL_J2141.8-3727_daily_bin2199.fits
Spacecraft file(s): /lscratch/kocevski/36244973/ft2_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure map: /lscratch/kocevski/36244973/expmap_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
Exposure cube: /lscratch/kocevski/36244973/ltcube_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/36244973/Model_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.96242124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11602E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19528E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .87348       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.830       1.0000          .0000       .10000E+07
     5 'Prefactor '    26.287       1.0000          .0000       .10000E+07
     6 'norm      '    3.3673       1.0000          .0000       .10000E+07
     7 'norm      '    26.323       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82024E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.317       1.0000          .0000       .10000E+07
    10 'Prefactor '    .16240E-05   1.0000          .0000       .10000E+07
    11 'norm      '    9.7970       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31113E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .52154E-02   1.0000          .0000       .10000E+07
    14 'norm      '    10.551       1.0000          .0000       .10000E+07
    15 'norm      '    1.7662       1.0000          .0000       .10000E+07
    16 'Prefactor '    35.149       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.5560       1.0000          .0000       .10000E+07
    18 'Prefactor '    .71141       1.0000          .0000       .10000E+07
    19 'Prefactor '    .67275E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.4820       1.0000          .0000       .10000E+07
    21 'Prefactor '    25.431       1.0000          .0000       .10000E+07
    22 'Normalizat'    .81892       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0793       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1897 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15817E-05    43.384        .24743E-05** at limit **
   2  Prefactor     .14339E-04    115.84       -.13665E-05** at limit **
   3  Prefactor     .85438        1.1938        .11800E-06   -.85361E-02
   4  Prefactor     15.761        12.676       -.15091E-06   -.21735E-01
   5  Prefactor     27.616        15.225        .70775E-07    .35718E-01
   6  norm          3.3754        7.1714        .11125E-06    .37570E-04
   7  norm          26.159        8.9352        .51495E-07    .19170E-02
   8  Prefactor      .0000        4.1603        .31824E-07** at limit **
   9  Prefactor     12.306        1.5310       -.40521E-08    .14996E-01
  10  Prefactor      .0000        4.4676       -.70206E-06** at limit **
  11  norm          9.8078        9.9421        .21378E-06    .77855E-02
  12  Prefactor      .0000        8.8973        .52392E-07** at limit **
  13  Prefactor     .86181E-06    31.347       -.33971E-06** at limit **
  14  norm          10.527        8.5932       -.78999E-07   -.21184E-02
  15  norm          1.7678        .59751        .52857E-07    .13170E-02
  16  Prefactor     36.404        15.333       -.48866E-07    .74211E-01
  17  Prefactor     4.7250        12.680       -.11345E-05   -.26274E-02
  18  Prefactor     .72701        10.111        .72393E-06    .36558E-02
  19  Prefactor     .29983E-05    32.092        .11274E-06** at limit **
  20  Prefactor     9.2997        14.444       -.45245E-06    .34356E-01
  21  Prefactor     25.260        3.6362        .36232E-07   -.70745E-02
  22  Normalizat    .81527        .29896       -.18123E-05   -.27980E-05
  23  Prefactor     1.0801        .17475        .19797E-05    .74953E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.58168e-06
  Prefactor  = 1.43395e-05
  Prefactor  = 0.854381
  Prefactor  = 15.7615
  Prefactor  = 27.6159
  norm       = 3.37545
  norm       = 26.1589
  Prefactor  = 0
  Prefactor  = 12.306
  Prefactor  = 0
  norm       = 9.80776
  Prefactor  = 0
  Prefactor  = 8.61811e-07
  norm       = 10.5267
  norm       = 1.76775
  Prefactor  = 36.4038
  Prefactor  = 4.725
  Prefactor  = 0.727012
  Prefactor  = 2.99832e-06
  Prefactor  = 9.29971
  Prefactor  = 25.2602
  Normalizat = 0.815272
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.887     FROM HESSE     STATUS=OK           422 CALLS     2319 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15817E-05    45.174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14339E-04    132.44        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .85438        489.70        .47611E-03   -1.5689    
   4  Prefactor     15.761        12.965        .25146E-03   -1.5629    
   5  Prefactor     27.616        51.287        .19508E-03   -1.5603    
   6  norm          3.3754        7.1985        .55121E-03   -1.5671    
   7  norm          26.159        9.5803        .19495E-03   -1.5606    
   8  Prefactor      .0000        4.1602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.306        16.047        .28518E-03   -1.5638    
  10  Prefactor      .0000        4.4662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.8078        9.9749        .31991E-03   -1.5645    
  12  Prefactor      .0000        8.8905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .86181E-06    32.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.527        8.6081        .30820E-03   -1.5643    
  15  norm          1.7678        .59446        .65781E-03   -1.5681    
  16  Prefactor     36.404        48.661        .16869E-03   -1.5587    
  17  Prefactor     4.7250        13.354        .47138E-03   -1.5664    
  18  Prefactor     .72701        10.082        .59787E-03   -1.5691    
  19  Prefactor     .29983E-05    35.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.2997        50.217        .34396E-03   -1.5647    
  21  Prefactor     25.260        28.294        .19834E-03   -1.5607    
  22  Normalizat    .81527        .27471        .80604E-01   -.99505    
  23  Prefactor     1.0801        .15865        .38432E-01   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15318e-06
Minuit parameter uncertainties:
  1  0.0169058
  2  0.0871588
  3  40.9127
  4  12.9651
  5  51.2881
  6  7.19848
  7  9.5803
  8  2.03418e-05
  9  16.0466
  10  1.49754e-05
  11  9.97495
  12  3.71471e-06
  13  0.010551
  14  8.60806
  15  0.594459
  16  48.6614
  17  13.3537
  18  5.41465
  19  0.0205678
  20  43.2211
  21  28.2937
  22  0.275182
  23  0.158721
Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244985/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244985/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:44:30.561141', job_id='36244985', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960670.56', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:44:31 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  2.034e-05  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  2.623e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.587e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 325.462 -37.455
Photon Flux Upper Limit: 1.0116991547e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.00792842661976 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/36244973/likelihoodResults_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.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) = 4798.8871093
delta logL = -0.000244518290856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4798.88686503
delta logL = -2.43378963205e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   4798.887     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .36480        .14199E-02** at limit **
   2  Index         5.2262        1.9536       -.67855E-04     .0000    
   3  Normalizat    .81527        1.1536       -.90575E-05    .52041E-05
   4  Prefactor     1.0801        1.1627        .16846E-05    .11262E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.22622
  Normalizat = 0.815271
  Prefactor  = 1.08013
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4798.887     FROM HESSE     STATUS=FAILED         9 CALLS      287 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .36480        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7590        2.4492       -.67855E-04    .45259E-01
   3  Normalizat    .81527        1.1536       -.90575E-05   -.99505    
   4  Prefactor     1.0801        1.1627        .16846E-05   -.90104    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.81101e-11
Minuit parameter uncertainties:
  1  9.49359e-07
  2  2.00714
  3  1.19138
  4  1.19172
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) = 4798.88686479
delta logL = -1.63709046319e-11

Extracting fit parameters...

4FGL J2141.8-3727
   Spectrum: PowerLaw
267    Prefactor:  0.000e+00  9.494e-07  0.000e+00  1.000e+06 ( 1.000e-12)
268        Index:  5.226e+00  2.007e+00  0.000e+00  1.000e+01 (-1.000e+00)
269        Scale:  5.479e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.080e+00  1.192e+00  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  8.153e-01  1.191e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 325.462 -37.455

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/36244973/cmap_HighResolution_809308801_809568001_4FGL_J2141.8-3727_daily_bin2199.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2026-08-28 16:44:41.137129', job_id='36244973', GAL2='1.08', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1787960681.14', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.64e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='2199' AND source_name='4FGL J2141.8-3727' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 28 16:44:41 PDT 2026

