/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 = 17393
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2211.2-1325_weekly_bin908
RA = 332.817, Dec = -13.4189
tmin = 788140801, tmax = 788745601
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='18161937', job_status='RUN', time_executed='2025-12-30 02:56:16.072879', time_epoch_executed='1767092176.07' WHERE source_name='4FGL J2211.2-1325' and cadence='weekly' and bin_id='908'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/18161937

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/18161937/ft1_4FGL_J2211.2-1325_weekly_bin908.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/18161937/ft1_4FGL_J2211.2-1325_weekly_bin908.fits outfile=/lscratch/kocevski/18161937/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin908.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=788140801.0 tmax=788745601.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 5.70
user 4.69
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.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/18161937/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin908.fits evtable="EVENTS" outfile="/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.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.50
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 1290

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits" evtable="EVENTS" scfile=/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits sctable="SC_DATA" outfile=/lscratch/kocevski/18161937/ltcube_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.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/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits
.....................!
real 25.00
user 23.67
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits evtable="EVENTS" scfile=/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits sctable="SC_DATA" expcube=/lscratch/kocevski/18161937/ltcube_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.fits outfile=/lscratch/kocevski/18161937/expmap_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.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/18161937/ltcube_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.fits
.....................!
real 74.81
user 69.11
sys 4.43

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

Setting source of interest to:
4FGL J2211.2-1325 @ 332.817 -13.4189

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits scfile=/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits outfile=/lscratch/kocevski/18161937/cmap_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.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=332.817 yref=-13.4189 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.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits scfile=/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits outfile=/lscratch/kocevski/18161937/cmap_HighResolution_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.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=332.817 yref=-13.4189 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.27
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits evtable="EVENTS" scfile=/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/18161937/Model_4FGL_J2211.2-1325_weekly_bin908.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/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits.....................!
real 54.13
user 50.86
sys 1.51

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits', '/lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits', expMap='/lscratch/kocevski/18161937/expmap_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.fits', expCube='/lscratch/kocevski/18161937/ltcube_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/18161937/Model_4FGL_J2211.2-1325_weekly_bin908.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2211.2-1325'

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/18161937/ft1_filtered_4FGL_J2211.2-1325_weekly_bin908.fits
Spacecraft file(s): /lscratch/kocevski/18161937/ft2_4FGL_J2211.2-1325_weekly_bin908.fits
Exposure map: /lscratch/kocevski/18161937/expmap_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.fits
Exposure cube: /lscratch/kocevski/18161937/ltcube_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/18161937/Model_4FGL_J2211.2-1325_weekly_bin908.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) = 14377.2732594

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46063E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .38131E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.1618       1.0000          .0000       .10000E+07
     4 'norm      '    9.2785       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.797       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.032       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.6774       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.705       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.5587       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5752       1.0000          .0000       .10000E+07
    11 'Prefactor '    34.944       1.0000          .0000       .10000E+07
    12 'norm      '    8.1483       1.0000          .0000       .10000E+07
    13 'Prefactor '    .56039E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .90339E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .36672       1.0000          .0000       .10000E+07
    16 'Prefactor '    .61038E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .84543E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.7364       1.0000          .0000       .10000E+07
    19 'Prefactor '    .72514E-06   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0002       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85533       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14377.11     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1278 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2581       -.66711E-07** at limit **
   2  Prefactor     .16653E-09    1.7894       -.42788E-07** at limit **
   3  Prefactor     2.1807        6.5952        .14966E-06    .41000E-02
   4  norm          9.2866        4.7274        .21712E-07    .10313E-02
   5  Prefactor     12.777        4.0657        .12621E-07   -.59470E-04
   6  Prefactor     16.185        4.1940        .30945E-07    .53000E-01
   7  Prefactor     8.6829        5.5943       -.12105E-07   -.58554E-02
   8  Prefactor     13.658        7.1759        .33897E-07    .25051E-01
   9  Prefactor     9.6306        4.6557        .28900E-07    .33992E-01
  10  Prefactor     3.5676        2.6505       -.10943E-06   -.12745E-01
  11  Prefactor     35.381        25.184        .78349E-07   -.18733E-01
  12  norm          8.1522        2.8294        .29743E-07    .62798E-02
  13  Prefactor     .22632E-06    1.1863        .68555E-07** at limit **
  14  Prefactor     .35139E-07    4.2934        .97474E-07** at limit **
  15  norm          .36664        .28574        .27949E-08    .39251E-02
  16  Prefactor     .44409E-09    5.8791        .93224E-07** at limit **
  17  norm           .0000        .26260       -.39508E-08** at limit **
  18  Prefactor     5.7438        5.3962        .47892E-07   -.97682E-01
  19  Prefactor     .24314E-06    8.4737        .69051E-07** at limit **
  20  Normalizat    .99997        .15686        .22004E-05    .34880E-03
  21  Prefactor     .85526        .10424       -.13361E-05    .21281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 2.18069
  norm       = 9.2866
  Prefactor  = 12.7768
  Prefactor  = 16.1848
  Prefactor  = 8.68289
  Prefactor  = 13.6582
  Prefactor  = 9.63064
  Prefactor  = 3.56765
  Prefactor  = 35.3815
  norm       = 8.15218
  Prefactor  = 2.26319e-07
  Prefactor  = 3.51386e-08
  norm       = 0.36664
  Prefactor  = 4.44089e-10
  norm       = 0
  Prefactor  = 5.74378
  Prefactor  = 2.43139e-07
  Normalizat = 0.999967
  Prefactor  = 0.855257
 **********
 **   18 **HESSE 
 **********

 FCN=   14377.11     FROM HESSE     STATUS=OK           363 CALLS     1641 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    1.7905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1807        10.515        .70028E-03   -1.5678    
   4  norm          9.2866        4.7408        .32877E-03   -1.5647    
   5  Prefactor     12.777        4.0802        .27976E-03   -1.5636    
   6  Prefactor     16.185        9.3678        .24987E-03   -1.5628    
   7  Prefactor     8.6829        5.5974        .34004E-03   -1.5649    
   8  Prefactor     13.658        7.3469        .27030E-03   -1.5634    
   9  Prefactor     9.6306        8.3802        .32389E-03   -1.5646    
  10  Prefactor     3.5676        2.8217        .53423E-03   -1.5670    
  11  Prefactor     35.381        25.473        .16919E-03   -1.5589    
  12  norm          8.1522        2.8330        .35099E-03   -1.5651    
  13  Prefactor     .22632E-06    67.998        .15307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .35139E-07    4.3956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .36664        .29903        .93449E-03   -1.5696    
  16  Prefactor     .44409E-09    5.9122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .26083        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.7438        12.675        .41913E-03   -1.5660    
  19  Prefactor     .24314E-06    9.2080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .99997        .13381        .46170E-01   -.93032    
  21  Prefactor     .85526        .87988E-01    .44433E-01   -.97723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25834e-07
Minuit parameter uncertainties:
  1  9.39676e-06
  2  3.5161e-05
  3  9.57694
  4  4.7408
  5  4.08025
  6  9.36778
  7  5.59742
  8  7.34694
  9  8.38018
  10  2.82171
  11  25.4728
  12  2.83299
  13  0.00784582
  14  0.000785784
  15  0.299028
  16  0.000101126
  17  1.24229e-06
  18  12.6746
  19  0.00299247
  20  0.133853
  21  0.0880029
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.366e+01  7.347e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.553e-01  8.800e-02  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.000e+00  1.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.44
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 5.54e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 1.31e-05 +/- 7.03e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14376.8354274
delta logL = 0.277749263389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14376.8282391
delta logL = 0.284937586048

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14376.83     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      236 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.212        230.29        .25650E-03    .86507E-03
   2  Index         2.3859        6.1698        .23959       -.75312E-05
   3  Normalizat    1.0140        .93813E-01    .44442E-01    .46275E-04
   4  Prefactor     .84817        .78837E-01    .44341E-01    .25876E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2116
  Index      = 2.38594
  Normalizat = 1.01395
  Prefactor  = 0.848169
 **********
 **   18 **HESSE 
 **********

 FCN=   14376.83     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.212        8.3975        .10260E-04   -1.5630    
   2  Index         2.3859        .42757        .94413E-02   -.55015    
   3  Normalizat    1.0140        .15271        .27405E-03   -.92564    
   4  Prefactor     .84817        .10411        .20337E-03   -.97976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06122e-12
Minuit parameter uncertainties:
  1  8.39749
  2  0.428293
  3  0.152774
  4  0.104133
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14376.8282389
delta logL = 0.284937783639

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.521e+01  8.397e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.386e+00  4.283e-01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.482e-01  1.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  1.014e+00  1.528e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.99
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.39 +/- 0.43
Photon Flux (Free Index): 4.52e-08 +/- 2.94e-08
Energy Flux (Free Index): 1.51e-05 +/- 9.07e-06

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/18161937/cmap_HighResolution_788140801_788745601_4FGL_J2211.2-1325_weekly_bin908.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.54e-08', energy_flux2='1.51e-05', photon_flux_error='2.97e-08', dlogl='2.85e-01', energy_flux='1.31e-05', photon_flux2='4.52e-08', job_status='DONE', time_completed='2025-12-30 03:04:52.944556', photon_index_error2='0.43', photon_index2='2.39', ts='6.44', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='9.07e-06', EG='1.00', time_epoch_completed='1767092692.94', return_code='0', job_id='18161937', GAL2='0.85', EG2='1.01', return_code2='0', energy_flux_error='7.03e-06', photon_flux_error2='2.94e-08', ts2='6.99', photon_index='2.72' WHERE bin_id='908' AND source_name='4FGL J2211.2-1325' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 30 03:04:53 PST 2025

