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

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

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

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

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

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

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


Performing analysis on: 4FGL_J2135.3-5006_daily_bin2089
RA = 323.836, Dec = -50.1015
tmin = 780796801, tmax = 781056001
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='14127263', job_status='RUN', time_executed='2025-10-21 02:32:31.612485', time_epoch_executed='1761039151.61' WHERE source_name='4FGL J2135.3-5006' and cadence='daily' and bin_id='2089'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/14127263

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/14127263/ft1_4FGL_J2135.3-5006_daily_bin2089.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/14127263/ft1_4FGL_J2135.3-5006_daily_bin2089.fits outfile=/lscratch/kocevski/14127263/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin2089.fits ra=323.836 dec=-50.1015 rad=12.0 tmin=780796801.0 tmax=781056001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.52
user 2.03
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.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/14127263/ft1_filteredMKT_4FGL_J2135.3-5006_daily_bin2089.fits evtable="EVENTS" outfile="/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.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.66
user 0.20
sys 0.11

Number of photons that the gtmktime cut: 859

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14127263/ltcube_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.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/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits
.....................!
real 9.83
user 9.21
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits evtable="EVENTS" scfile=/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14127263/ltcube_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.fits outfile=/lscratch/kocevski/14127263/expmap_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.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/14127263/ltcube_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.fits
.....................!
real 71.42
user 67.02
sys 3.72

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

Setting source of interest to:
4FGL J2135.3-5006 @ 323.836 -50.1015

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits scfile=/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits outfile=/lscratch/kocevski/14127263/cmap_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.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=323.836 yref=-50.1015 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.46
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits scfile=/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits outfile=/lscratch/kocevski/14127263/cmap_HighResolution_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.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=323.836 yref=-50.1015 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.47
user 0.23
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits evtable="EVENTS" scfile=/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14127263/Model_4FGL_J2135.3-5006_daily_bin2089.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/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits.....................!
real 27.62
user 26.11
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits', '/lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits', expMap='/lscratch/kocevski/14127263/expmap_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.fits', expCube='/lscratch/kocevski/14127263/ltcube_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14127263/Model_4FGL_J2135.3-5006_daily_bin2089.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2135.3-5006'

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  2.639e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/14127263/ft1_filtered_4FGL_J2135.3-5006_daily_bin2089.fits
Spacecraft file(s): /lscratch/kocevski/14127263/ft2_4FGL_J2135.3-5006_daily_bin2089.fits
Exposure map: /lscratch/kocevski/14127263/expmap_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.fits
Exposure cube: /lscratch/kocevski/14127263/ltcube_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/14127263/Model_4FGL_J2135.3-5006_daily_bin2089.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) = 9201.98478604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10221       1.0000          .0000       .10000E+07
     2 'Prefactor '    .93814E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26350E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .76568       1.0000          .0000       .10000E+07
     5 'Prefactor '    .16835E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.4935       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10348       1.0000          .0000       .10000E+07
     8 'Prefactor '    .78091E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .38172E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .95089E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    34.471       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.5055       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.5466       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.3490       1.0000          .0000       .10000E+07
    15 'norm      '    .15931E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.323       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10179E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .21192E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .81266       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9201.970     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1585 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .20678E-06    85.459       -.73647E-06** at limit **
   2  Prefactor      .0000        .99383       -.45387E-08** at limit **
   3  Prefactor      .0000        5.5380        .10087E-07** at limit **
   4  norm          .76599        .96690       -.60159E-08    .30545E-04
   5  Prefactor      .0000        1.3493       -.72778E-08** at limit **
   6  Prefactor     3.6210        10.201        .29911E-06   -.44591E-02
   7  Prefactor     .13978E-06    87.394        .38075E-06** at limit **
   8  Prefactor      .0000        3.9505        .32152E-07** at limit **
   9  norm           .0000        4.1636        .25665E-07** at limit **
  10  Prefactor      .0000        21.670        .26329E-07** at limit **
  11  Prefactor     34.406        4.3821        .62371E-07   -.64123E-01
  12  Prefactor     3.6309        7.0208       -.90154E-07    .98985E-03
  13  Prefactor     6.5531        3.5828        .19826E-08   -.33666E-03
  14  Prefactor     .12895E-06    507.92        .57752E-05** at limit **
  15  norm          .35527E-08    6.3840        .14509E-06** at limit **
  16  Prefactor     10.288        4.0309       -.15339E-07   -.71327E-04
  17  Prefactor     .63838E-08    6.9528       -.96686E-07** at limit **
  18  Prefactor     .22204E-09    45.245        .52138E-07** at limit **
  19  Normalizat    .81283        .18358       -.10509E-05   -.83066E-05
  20  Prefactor     1.1287        .12276        .41129E-06   -.12196E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06779e-07
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.765993
  Prefactor  = 0
  Prefactor  = 3.62095
  Prefactor  = 1.39777e-07
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 34.406
  Prefactor  = 3.63085
  Prefactor  = 6.55309
  Prefactor  = 1.28952e-07
  norm       = 3.55271e-09
  Prefactor  = 10.2878
  Prefactor  = 6.38378e-09
  Prefactor  = 2.22045e-10
  Normalizat = 0.812835
  Prefactor  = 1.12872
 **********
 **   18 **HESSE 
 **********

 FCN=   9201.970     FROM HESSE     STATUS=OK           337 CALLS     1922 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .20678E-06    123.62        .13870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .99309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        5.5486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .76599        .97630        .55529E-03   -1.5690    
   5  Prefactor      .0000        1.3447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6210        20.042        .54071E-03   -1.5670    
   7  Prefactor     .13978E-06    11.786        .13837E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.8669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        4.0639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        3.1936        .99594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.406        29.917        .17034E-03   -1.5591    
  12  Prefactor     3.6309        7.3032        .53974E-03   -1.5670    
  13  Prefactor     6.5531        3.5890        .39199E-03   -1.5657    
  14  Prefactor     .12895E-06    505.34        .94188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .35527E-08    6.4028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.288        4.0234        .31160E-03   -1.5644    
  17  Prefactor     .63838E-08    6.9829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .22204E-09    45.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .81283        .16229        .68494E-01   -.99594    
  20  Prefactor     1.1287        .10600        .36588E-01   -.88554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14876e-07
Minuit parameter uncertainties:
  1  0.0101113
  2  6.33398e-08
  3  5.9873e-06
  4  0.976303
  5  6.85098e-07
  6  17.0378
  7  0.0025672
  8  4.81331e-06
  9  7.91096e-06
  10  7.63378e-08
  11  29.9174
  12  7.30322
  13  3.58901
  14  0.016148
  15  0.000302436
  16  4.02341
  17  0.000421868
  18  0.000192453
  19  0.162383
  20  0.10602
Done.

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

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  4.813e-06  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  2.430e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.129e+00  1.060e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  8.128e-01  1.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 323.836 -50.102
Photon Flux Upper Limit: 5.60572764565e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00434038635378 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/14127263/likelihoodResults_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.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) = 9201.98188382
delta logL = -0.0116231974571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9201.97026109
delta logL = -4.70758095616e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9201.970     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      240 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6800        .42118E-03** at limit **
   2  Index         1.4907        .80650       -.62385E-05     .0000    
   3  Normalizat    .81283        1.1513        .12740E-05   -.36943E-04
   4  Prefactor     1.1287        1.1321        .85974E-06   -.61324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.49074
  Normalizat = 0.812835
  Prefactor  = 1.12872
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9201.970     FROM HESSE     STATUS=FAILED         9 CALLS      249 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .19862        1.3833       -.62385E-05   -.77799    
   3  Normalizat    .81283        1.1513        .12740E-05   -.99594    
   4  Prefactor     1.1287        1.1321        .85974E-06   -.88554    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.15293e-12
Minuit parameter uncertainties:
  1  4.92035e-06
  2  0.81356
  3  1.18896
  4  1.15775
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) = 9201.97026062
delta logL = 0.0

Extracting fit parameters...

4FGL J2135.3-5006
   Spectrum: PowerLaw
291    Prefactor:  0.000e+00  4.920e-06  0.000e+00  1.000e+06 ( 1.000e-12)
292        Index:  1.491e+00  8.136e-01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.285e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  1.129e+00  1.158e+00  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  8.128e-01  1.189e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 323.836 -50.102

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/14127263/cmap_HighResolution_780796801_781056001_4FGL_J2135.3-5006_daily_bin2089.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.34e-03', job_status='DONE', photon_flux_upper_limit='5.61e-08', time_completed='2025-10-21 02:39:02.592912', job_id='14127263', GAL2='1.13', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1761039542.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='2089' AND source_name='4FGL J2135.3-5006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 21 02:39:02 PDT 2025

