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

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
/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).

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

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
/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)
A" outfile=/lscratch/kocevski/32680171/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 16.98
user 16.10
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32680171/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680171/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680171/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 62.55
user 57.99
sys 3.62

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680171/cmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680171/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32680171/Model_4FGL_J2235.8-3627_weekly_bin937.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 
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

A" outfile=/lscratch/kocevski/32680186/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 17.80
user 16.93
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32680186/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680186/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680186/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 66.40
user 61.52
sys 3.84

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680186/cmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.93
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680186/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.05
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32680186/Model_4FGL_J2235.8-3627_weekly_bin937.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 Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32679891/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32679882/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32679882/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 19:54:48.279282', job_id='32679882', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784688888.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:54:48 PDT 2026

Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32679891/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 19:54:48.162190', job_id='32679891', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784688888.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:54:48 PDT 2026

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


Performing analysis on: 4FGL_J2235.8-3627_weekly_bin937
RA = 338.971, Dec = -36.4605
tmin = 805680001, tmax = 806284801
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='32680494', job_status='RUN', time_executed='2026-07-21 19:48:06.133248', time_epoch_executed='1784688486.13' WHERE source_name='4FGL J2235.8-3627' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32680494

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32680494/ft1_4FGL_J2235.8-3627_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32680494/ft1_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680494/ft1_filteredMKT_4FGL_J2235.8-3627_weekly_bin937.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=805680001.0 tmax=806284801.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.34
user 4.23
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.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/32680494/ft1_filteredMKT_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.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.93
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1110

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATsource GAL_V02
Working on...
/lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits.....................!
real 30.77
user 29.13
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits', '/lscratch/kocevski/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits', expMap='/lscratch/kocevski/32680171/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', expCube='/lscratch/kocevski/32680171/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32680171/Model_4FGL_J2235.8-3627_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32680171/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32680171/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32680171/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32680171/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32680171/Model_4FGL_J2235.8-3627_weekly_bin937.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) = 12289.7056667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15660E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .58041E-04   1.0000          .0000       .10000E+07
     4 'norm      '    15.407       1.0000          .0000       .10000E+07
     5 'norm      '    1.1657       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10725E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23426E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .17222E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.244       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24140E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6443       1.0000          .0000       .10000E+07
    12 'norm      '    2.2781       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5476       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58347       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49658E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .18805E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6483       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11326E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .38747E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30069E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0945       1.0000          .0000       .10000E+07
    22 'norm      '    .37294E-05   1.0000          .0000       .10000E+07
    23 'norm      '    6.9848       1.0000          .0000       .10000E+07
    24 'Prefactor '    25.675       1.0000          .0000       .10000E+07
    25 'Prefactor '    .52349E-04   1.0000          .0000       .10000E+07
    26 'norm      '    .39548       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .87447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2007 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.436        4.7432       -.14768E-06    .35267E-01
   2  Prefactor      .0000        2.2670        .14066E-07** at limit **
   3  norm          .55511E-10    1.0917        .52376E-07** at limit **
   4  norm          15.399        4.7275        .21554E-07   -.65775E-01
   5  norm          1.1659        .30469       -.29680E-07   -.11469E-01
   6  Prefactor      .0000        1.5587        .55496E-07** at limit **
   7  Prefactor      .0000        .67275        .14372E-06** at limit **
   8  norm           .0000        4.6016        .22248E-06** at limit **
   9  Prefactor     13.219        1.8661        .47124E-07   -.12924E-01
  10  Prefactor     .33357E-06    4.0363       -.10826E-06** at limit **
  11  Prefactor     7.5745        8.4923        .33966E-06   -.26195E-02
  12  norm          2.3139        1.3717        .17405E-07    .89779E-03
  13  Prefactor     .58442E-06    187.25       -.66648E-06** at limit **
  14  Prefactor     .58055        3.3061       -.18072E-06   -.30607E-01
  15  Prefactor     .20317E-07    .77438        .92187E-07** at limit **
  16  norm          .16653E-09    2.7687       -.54443E-07** at limit **
  17  Prefactor     5.6495        5.2005       -.17535E-06   -.12155E-01
  18  Prefactor     .28311E-08    9.9057        .11259E-06** at limit **
  19  norm           .0000        .23959       -.75315E-07** at limit **
  20  Prefactor     .33307E-09    1.4112       -.19079E-06** at limit **
  21  norm          5.0971        1.0550        .28494E-08    .90100E-03
  22  norm          .20206E-07    .78582       -.22402E-06** at limit **
  23  norm          6.9637        4.5112        .56706E-07   -.28270E-02
  24  Prefactor     25.577        7.5035        .18665E-06   -.13171    
  25  Prefactor     .51070E-08    16.436        .94311E-06** at limit **
  26  norm          .39735        1.9073       -.11154E-06    .53613E-03
  27  Normalizat    1.0871        .14548       -.86422E-06    .13373E-03
  28  Prefactor     .87403        .14217        .23656E-05    .13638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4358
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 15.3991
  norm       = 1.16587
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.2195
  Prefactor  = 3.33567e-07
  Prefactor  = 7.57447
  norm       = 2.31389
  Prefactor  = 5.84421e-07
  Prefactor  = 0.580548
  Prefactor  = 2.03171e-08
  norm       = 1.66533e-10
  Prefactor  = 5.64952
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 5.09709
  norm       = 2.02061e-08
  norm       = 6.96375
  Prefactor  = 25.5772
  Prefactor  = 5.10703e-09
  norm       = 0.397347
  Normalizat = 1.08706
  Prefactor  = 0.874034
source GAL_V02
Working on...
/lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits.....................!
real 33.46
user 31.61
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits', '/lscratch/kocevski/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits', expMap='/lscratch/kocevski/32680186/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', expCube='/lscratch/kocevski/32680186/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32680186/Model_4FGL_J2235.8-3627_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32680186/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32680186/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32680186/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32680186/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32680186/Model_4FGL_J2235.8-3627_weekly_bin937.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) = 12289.7056667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15660E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .58041E-04   1.0000          .0000       .10000E+07
     4 'norm      '    15.407       1.0000          .0000       .10000E+07
     5 'norm      '    1.1657       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10725E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23426E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .17222E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.244       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24140E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6443       1.0000          .0000       .10000E+07
    12 'norm      '    2.2781       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5476       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58347       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49658E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .18805E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6483       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11326E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .38747E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30069E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0945       1.0000          .0000       .10000E+07
    22 'norm      '    .37294E-05   1.0000          .0000       .10000E+07
    23 'norm      '    6.9848       1.0000          .0000       .10000E+07
    24 'Prefactor '    25.675       1.0000          .0000       .10000E+07
    25 'Prefactor '    .52349E-04   1.0000          .0000       .10000E+07
    26 'norm      '    .39548       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0859       1.0000    **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
      .10000E-01   10.000    
    28 'Prefactor '    .87447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2007 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.436        4.7432       -.14768E-06    .35267E-01
   2  Prefactor      .0000        2.2670        .14066E-07** at limit **
   3  norm          .55511E-10    1.0917        .52376E-07** at limit **
   4  norm          15.399        4.7275        .21554E-07   -.65775E-01
   5  norm          1.1659        .30469       -.29680E-07   -.11469E-01
   6  Prefactor      .0000        1.5587        .55496E-07** at limit **
   7  Prefactor      .0000        .67275        .14372E-06** at limit **
   8  norm           .0000        4.6016        .22248E-06** at limit **
   9  Prefactor     13.219        1.8661        .47124E-07   -.12924E-01
  10  Prefactor     .33357E-06    4.0363       -.10826E-06** at limit **
  11  Prefactor     7.5745        8.4923        .33966E-06   -.26195E-02
  12  norm          2.3139        1.3717        .17405E-07    .89779E-03
  13  Prefactor     .58442E-06    187.25       -.66648E-06** at limit **
  14  Prefactor     .58055        3.3061       -.18072E-06   -.30607E-01
  15  Prefactor     .20317E-07    .77438        .92187E-07** at limit **
  16  norm          .16653E-09    2.7687       -.54443E-07** at limit **
  17  Prefactor     5.6495        5.2005       -.17535E-06   -.12155E-01
  18  Prefactor     .28311E-08    9.9057        .11259E-06** at limit **
  19  norm           .0000        .23959       -.75315E-07** at limit **
  20  Prefactor     .33307E-09    1.4112       -.19079E-06** at limit **
  21  norm          5.0971        1.0550        .28494E-08    .90100E-03
  22  norm          .20206E-07    .78582       -.22402E-06** at limit **
  23  norm          6.9637        4.5112        .56706E-07   -.28270E-02
  24  Prefactor     25.577        7.5035        .18665E-06   -.13171    
  25  Prefactor     .51070E-08    16.436        .94311E-06** at limit **
  26  norm          .39735        1.9073       -.11154E-06    .53613E-03
  27  Normalizat    1.0871        .14548       -.86422E-06    .13373E-03
  28  Prefactor     .87403        .14217        .23656E-05    .13638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4358
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 15.3991
  norm       = 1.16587
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.2195
  Prefactor  = 3.33567e-07
  Prefactor  = 7.57447
  norm       = 2.31389
  Prefactor  = 5.84421e-07
  Prefactor  = 0.580548
  Prefactor  = 2.03171e-08
  norm       = 1.66533e-10
  Prefactor  = 5.64952
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 5.09709
  norm       = 2.02061e-08
  norm       = 6.96375
  Prefactor  = 25.5772
  Prefactor  = 5.10703e-09
  norm       = 0.397347
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32680171/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32680171/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 19:57:48.529721', job_id='32680171', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784689068.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:57:49 PDT 2026

A" outfile=/lscratch/kocevski/32680494/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 18.25
user 17.28
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32680494/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680494/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680494/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 67.73
user 62.91
sys 3.93

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680494/cmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.94
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680494/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32680494/Model_4FGL_J2235.8-3627_weekly_bin937.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 Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32680186/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32680186/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 19:58:34.420152', job_id='32680186', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784689114.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 19:58:35 PDT 2026

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


Performing analysis on: 4FGL_J2235.8-3627_weekly_bin937
RA = 338.971, Dec = -36.4605
tmin = 805680001, tmax = 806284801
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='32680751', job_status='RUN', time_executed='2026-07-21 19:52:01.737240', time_epoch_executed='1784688721.74' WHERE source_name='4FGL J2235.8-3627' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32680751

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32680751/ft1_4FGL_J2235.8-3627_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32680751/ft1_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680751/ft1_filteredMKT_4FGL_J2235.8-3627_weekly_bin937.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=805680001.0 tmax=806284801.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.78
user 3.82
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.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/32680751/ft1_filteredMKT_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.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.80
user 0.19
sys 0.15

Number of photons that the gtmktime cut: 1110

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATsource GAL_V02
Working on...
/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits.....................!
real 33.53
user 31.48
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits', '/lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits', expMap='/lscratch/kocevski/32680494/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', expCube='/lscratch/kocevski/32680494/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32680494/Model_4FGL_J2235.8-3627_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32680494/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32680494/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32680494/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32680494/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32680494/Model_4FGL_J2235.8-3627_weekly_bin937.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) = 12289.7056667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15660E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .58041E-04   1.0000          .0000       .10000E+07
     4 'norm      '    15.407       1.0000          .0000       .10000E+07
     5 'norm      '    1.1657       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10725E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23426E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .17222E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.244       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24140E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6443       1.0000          .0000       .10000E+07
    12 'norm      '    2.2781       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5476       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58347       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49658E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .18805E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6483       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11326E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .38747E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30069E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0945       1.0000          .0000       .10000E+07
    22 'norm      '    .37294E-05   1.0000          .0000       .10000E+07
    23 'norm      '    6.9848       1.0000          .0000       .10000E+07
    24 'Prefactor '    25.675       1.0000          .0000       .10000E+07
    25 'Prefactor '    .52349E-04   1.0000          .0000       .10000E+07
    26 'norm      '    .39548       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .87447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2007 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.436        4.7432       -.14768E-06    .35267E-01
   2  Prefactor      .0000        2.2670        .14066E-07** at limit **
   3  norm          .55511E-10    1.0917        .52376E-07** at limit **
   4  norm          15.399        4.7275        .21554E-07   -.65775E-01
   5  norm          1.1659        .30469       -.29680E-07   -.11469E-01
   6  Prefactor      .0000        1.5587        .55496E-07** at limit **
   7  Prefactor      .0000        .67275        .14372E-06** at limit **
   8  norm           .0000        4.6016        .22248E-06** at limit **
   9  Prefactor     13.219        1.8661        .47124E-07   -.12924E-01
  10  Prefactor     .33357E-06    4.0363       -.10826E-06** at limit **
  11  Prefactor     7.5745        8.4923        .33966E-06   -.26195E-02
  12  norm          2.3139        1.3717        .17405E-07    .89779E-03
  13  Prefactor     .58442E-06    187.25       -.66648E-06** at limit **
  14  Prefactor     .58055        3.3061       -.18072E-06   -.30607E-01
  15  Prefactor     .20317E-07    .77438        .92187E-07** at limit **
  16  norm          .16653E-09    2.7687       -.54443E-07** at limit **
  17  Prefactor     5.6495        5.2005       -.17535E-06   -.12155E-01
  18  Prefactor     .28311E-08    9.9057        .11259E-06** at limit **
  19  norm           .0000        .23959       -.75315E-07** at limit **
  20  Prefactor     .33307E-09    1.4112       -.19079E-06** at limit **
  21  norm          5.0971        1.0550        .28494E-08    .90100E-03
  22  norm          .20206E-07    .78582       -.22402E-06** at limit **
  23  norm          6.9637        4.5112        .56706E-07   -.28270E-02
  24  Prefactor     25.577        7.5035        .18665E-06   -.13171    
  25  Prefactor     .51070E-08    16.436        .94311E-06** at limit **
  26  norm          .39735        1.9073       -.11154E-06    .53613E-03
  27  Normalizat    1.0871        .14548       -.86422E-06    .13373E-03
  28  Prefactor     .87403        .14217        .23656E-05    .13638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4358
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 15.3991
  norm       = 1.16587
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.2195
  Prefactor  = 3.33567e-07
  Prefactor  = 7.57447
  norm       = 2.31389
  Prefactor  = 5.84421e-07
  Prefactor  = 0.580548
  Prefactor  = 2.03171e-08
  norm       = 1.66533e-10
  Prefactor  = 5.64952
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 5.09709
  norm       = 2.02061e-08
  norm       = 6.96375
  Prefactor  = 25.5772
  Prefactor  = 5.10703e-09
  norm       = 0.397347
  Normalizat = 1.08706
  Prefactor  = 0.874034
A" outfile=/lscratch/kocevski/32680751/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 16.59
user 15.63
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32680751/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680751/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680751/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 61.64
user 57.15
sys 3.68

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680751/cmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.80
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680751/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.95
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32680751/Model_4FGL_J2235.8-3627_weekly_bin937.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  **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32680494/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32680494/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 20:02:03.903445', job_id='32680494', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784689323.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 20:02:04 PDT 2026

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


Performing analysis on: 4FGL_J2235.8-3627_weekly_bin937
RA = 338.971, Dec = -36.4605
tmin = 805680001, tmax = 806284801
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='32680896', job_status='RUN', time_executed='2026-07-21 19:54:06.579101', time_epoch_executed='1784688846.58' WHERE source_name='4FGL J2235.8-3627' and cadence='weekly' and bin_id='937'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32680896

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32680896/ft1_4FGL_J2235.8-3627_weekly_bin937.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32680896/ft1_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680896/ft1_filteredMKT_4FGL_J2235.8-3627_weekly_bin937.fits ra=338.971 dec=-36.4605 rad=12.0 tmin=805680001.0 tmax=806284801.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.62
user 3.71
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.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/32680896/ft1_filteredMKT_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" outfile="/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1110

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATsource GAL_V02
Working on...
/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits.....................!
real 31.20
user 29.22
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits', '/lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits', expMap='/lscratch/kocevski/32680751/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', expCube='/lscratch/kocevski/32680751/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32680751/Model_4FGL_J2235.8-3627_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32680751/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32680751/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32680751/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32680751/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32680751/Model_4FGL_J2235.8-3627_weekly_bin937.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) = 12289.7056667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15660E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .58041E-04   1.0000          .0000       .10000E+07
     4 'norm      '    15.407       1.0000          .0000       .10000E+07
     5 'norm      '    1.1657       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10725E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23426E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .17222E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.244       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24140E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6443       1.0000          .0000       .10000E+07
    12 'norm      '    2.2781       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5476       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58347       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49658E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .18805E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6483       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11326E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .38747E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30069E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0945       1.0000          .0000       .10000E+07
    22 'norm      '    .37294E-05   1.0000          .0000       .10000E+07
    23 'norm      '    6.9848       1.0000          .0000       .10000E+07
    24 'Prefactor '    25.675       1.0000          .0000       .10000E+07
    25 'Prefactor '    .52349E-04   1.0000          .0000       .10000E+07
    26 'norm      '    .39548       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .87447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2007 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.436        4.7432       -.14768E-06    .35267E-01
   2  Prefactor      .0000        2.2670        .14066E-07** at limit **
   3  norm          .55511E-10    1.0917        .52376E-07** at limit **
   4  norm          15.399        4.7275        .21554E-07   -.65775E-01
   5  norm          1.1659        .30469       -.29680E-07   -.11469E-01
   6  Prefactor      .0000        1.5587        .55496E-07** at limit **
   7  Prefactor      .0000        .67275        .14372E-06** at limit **
   8  norm           .0000        4.6016        .22248E-06** at limit **
   9  Prefactor     13.219        1.8661        .47124E-07   -.12924E-01
  10  Prefactor     .33357E-06    4.0363       -.10826E-06** at limit **
  11  Prefactor     7.5745        8.4923        .33966E-06   -.26195E-02
  12  norm          2.3139        1.3717        .17405E-07    .89779E-03
  13  Prefactor     .58442E-06    187.25       -.66648E-06** at limit **
  14  Prefactor     .58055        3.3061       -.18072E-06   -.30607E-01
  15  Prefactor     .20317E-07    .77438        .92187E-07** at limit **
  16  norm          .16653E-09    2.7687       -.54443E-07** at limit **
  17  Prefactor     5.6495        5.2005       -.17535E-06   -.12155E-01
  18  Prefactor     .28311E-08    9.9057        .11259E-06** at limit **
  19  norm           .0000        .23959       -.75315E-07** at limit **
  20  Prefactor     .33307E-09    1.4112       -.19079E-06** at limit **
  21  norm          5.0971        1.0550        .28494E-08    .90100E-03
  22  norm          .20206E-07    .78582       -.22402E-06** at limit **
  23  norm          6.9637        4.5112        .56706E-07   -.28270E-02
  24  Prefactor     25.577        7.5035        .18665E-06   -.13171    
  25  Prefactor     .51070E-08    16.436        .94311E-06** at limit **
  26  norm          .39735        1.9073       -.11154E-06    .53613E-03
  27  Normalizat    1.0871        .14548       -.86422E-06    .13373E-03
  28  Prefactor     .87403        .14217        .23656E-05    .13638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4358
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 15.3991
  norm       = 1.16587
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.2195
  Prefactor  = 3.33567e-07
  Prefactor  = 7.57447
  norm       = 2.31389
  Prefactor  = 5.84421e-07
  Prefactor  = 0.580548
  Prefactor  = 2.03171e-08
  norm       = 1.66533e-10
  Prefactor  = 5.64952
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 5.09709
  norm       = 2.02061e-08
  norm       = 6.96375
  Prefactor  = 25.5772
  Prefactor  = 5.10703e-09
  norm       = 0.397347
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
A" outfile=/lscratch/kocevski/32680896/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 16.01
user 15.16
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32680896/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680896/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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/32680896/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
.....................!
real 59.88
user 55.65
sys 3.39

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

Setting source of interest to:
4FGL J2235.8-3627 @ 338.971 -36.4605

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680896/cmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits scfile=/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits outfile=/lscratch/kocevski/32680896/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.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=338.971 yref=-36.4605 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.91
user 0.21
sys 0.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits evtable="EVENTS" scfile=/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32680896/Model_4FGL_J2235.8-3627_weekly_bin937.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 Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32680751/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32680751/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 20:04:42.179268', job_id='32680751', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784689482.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 20:04:42 PDT 2026

source GAL_V02
Working on...
/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits.....................!
real 29.19
user 27.64
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits', '/lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits', expMap='/lscratch/kocevski/32680896/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', expCube='/lscratch/kocevski/32680896/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32680896/Model_4FGL_J2235.8-3627_weekly_bin937.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.8-3627'

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  8.910e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32680896/ft1_filtered_4FGL_J2235.8-3627_weekly_bin937.fits
Spacecraft file(s): /lscratch/kocevski/32680896/ft2_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure map: /lscratch/kocevski/32680896/expmap_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
Exposure cube: /lscratch/kocevski/32680896/ltcube_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32680896/Model_4FGL_J2235.8-3627_weekly_bin937.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) = 12289.7056667

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.439       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15660E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .58041E-04   1.0000          .0000       .10000E+07
     4 'norm      '    15.407       1.0000          .0000       .10000E+07
     5 'norm      '    1.1657       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10725E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .23426E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .17222E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.244       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24140E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    7.6443       1.0000          .0000       .10000E+07
    12 'norm      '    2.2781       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5476       1.0000          .0000       .10000E+07
    14 'Prefactor '    .58347       1.0000          .0000       .10000E+07
    15 'Prefactor '    .49658E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .18805E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6483       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11326E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .38747E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .30069E-04   1.0000          .0000       .10000E+07
    21 'norm      '    5.0945       1.0000          .0000       .10000E+07
    22 'norm      '    .37294E-05   1.0000          .0000       .10000E+07
    23 'norm      '    6.9848       1.0000          .0000       .10000E+07
    24 'Prefactor '    25.675       1.0000          .0000       .10000E+07
    25 'Prefactor '    .52349E-04   1.0000          .0000       .10000E+07
    26 'norm      '    .39548       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.0859       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .87447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED    182 CALLS     2007 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.436        4.7432       -.14768E-06    .35267E-01
   2  Prefactor      .0000        2.2670        .14066E-07** at limit **
   3  norm          .55511E-10    1.0917        .52376E-07** at limit **
   4  norm          15.399        4.7275        .21554E-07   -.65775E-01
   5  norm          1.1659        .30469       -.29680E-07   -.11469E-01
   6  Prefactor      .0000        1.5587        .55496E-07** at limit **
   7  Prefactor      .0000        .67275        .14372E-06** at limit **
   8  norm           .0000        4.6016        .22248E-06** at limit **
   9  Prefactor     13.219        1.8661        .47124E-07   -.12924E-01
  10  Prefactor     .33357E-06    4.0363       -.10826E-06** at limit **
  11  Prefactor     7.5745        8.4923        .33966E-06   -.26195E-02
  12  norm          2.3139        1.3717        .17405E-07    .89779E-03
  13  Prefactor     .58442E-06    187.25       -.66648E-06** at limit **
  14  Prefactor     .58055        3.3061       -.18072E-06   -.30607E-01
  15  Prefactor     .20317E-07    .77438        .92187E-07** at limit **
  16  norm          .16653E-09    2.7687       -.54443E-07** at limit **
  17  Prefactor     5.6495        5.2005       -.17535E-06   -.12155E-01
  18  Prefactor     .28311E-08    9.9057        .11259E-06** at limit **
  19  norm           .0000        .23959       -.75315E-07** at limit **
  20  Prefactor     .33307E-09    1.4112       -.19079E-06** at limit **
  21  norm          5.0971        1.0550        .28494E-08    .90100E-03
  22  norm          .20206E-07    .78582       -.22402E-06** at limit **
  23  norm          6.9637        4.5112        .56706E-07   -.28270E-02
  24  Prefactor     25.577        7.5035        .18665E-06   -.13171    
  25  Prefactor     .51070E-08    16.436        .94311E-06** at limit **
  26  norm          .39735        1.9073       -.11154E-06    .53613E-03
  27  Normalizat    1.0871        .14548       -.86422E-06    .13373E-03
  28  Prefactor     .87403        .14217        .23656E-05    .13638E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4358
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 15.3991
  norm       = 1.16587
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.2195
  Prefactor  = 3.33567e-07
  Prefactor  = 7.57447
  norm       = 2.31389
  Prefactor  = 5.84421e-07
  Prefactor  = 0.580548
  Prefactor  = 2.03171e-08
  norm       = 1.66533e-10
  Prefactor  = 5.64952
  Prefactor  = 2.83107e-09
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 5.09709
  norm       = 2.02061e-08
  norm       = 6.96375
  Prefactor  = 25.5772
  Prefactor  = 5.10703e-09
  norm       = 0.397347
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=OK           585 CALLS     2592 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.436        6.4885        .28377E-03   -1.5637    
   2  Prefactor      .0000        2.2668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          15.399        4.9424        .25490E-03   -1.5629    
   5  norm          1.1659        .30504        .65310E-03   -1.5686    
   6  Prefactor      .0000        1.5586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .67254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        4.6266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.219        22.366        .27498E-03   -1.5635    
  10  Prefactor     .33357E-06    7.1947        .97300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.5745        12.527        .36247E-03   -1.5653    
  12  norm          2.3139        1.3821        .68003E-03   -1.5678    
  13  Prefactor     .58442E-06    183.80        .85613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .58055        10.416        .70722E-03   -1.5693    
  15  Prefactor     .20317E-07    .96327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .16653E-09    2.7524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6495        5.3314        .42244E-03   -1.5660    
  18  Prefactor     .28311E-08    9.7674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .13147        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .33307E-09    1.4188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.0971        7.7168        .44522E-03   -1.5663    
  22  norm          .20206E-07    .97297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.9637        4.5179        .37935E-03   -1.5655    
  24  Prefactor     25.577        23.239        .19739E-03   -1.5607    
  25  Prefactor     .51070E-08    16.434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .39735        2.3406        .90012E-03   -1.5695    
  27  Normalizat    1.0871        .12629        .38604E-01   -.90168    
  28  Prefactor     .87403        .12100        .44679E-01   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40337e-07
Minuit parameter uncertainties:
  1  6.48851
  2  1.81361e-07
  3  1.73667e-05
  4  4.94237
  5  0.305043
  6  8.80046e-06
  7  4.68568e-06
  8  1.79312e-05
  9  22.3657
  10  0.00309822
  11  12.5275
  12  1.38214
  13  0.0207292
  14  4.91804
  15  0.000279712
  16  4.00993e-05
  17  5.33145
  18  0.000331224
  19  1.00702e-06
  20  4.37739e-05
  21  7.71685
  22  0.000280374
  23  4.51786
  24  23.2392
  25  0.000578185
  26  1.92878
  27  0.126324
  28  0.121035
Done.

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

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  3.336e-07  3.098e-03  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.229e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  1.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.971 -36.461
Photon Flux Upper Limit: 3.98133000822e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00303996813634 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32680896/likelihoodResults_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.5757004
delta logL = -0.0151325841707

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605699
delta logL = -2.126698746e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12289.56     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      222 TOTAL
                     EDM=   .24E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .10930        .42118E-03** at limit **
   2  Index         1.9790        7.7403        .50000       -.90949E-11
   3  Normalizat    1.0871        .17357E-03    .38561E-01    .60596E-04
   4  Prefactor     .87403        .16969E-03    .44676E-01    .60534E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.979
  Normalizat = 1.08706
  Prefactor  = 0.874034
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.56     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      251 TOTAL
                     EDM=   .12E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .56648        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9790        6.3796        .50000       -.64876    
   3  Normalizat    1.0871        .39336E-03    .23201E-03   -.90168    
   4  Prefactor     .87403        .38446E-03    .24883E-03   -.97054    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.23927e-14
Minuit parameter uncertainties:
  1  1.01878e-05
  2  20650.1
  3  0.000393364
  4  0.000384457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12289.5605678
delta logL = 4.12364897784e-09

Extracting fit parameters...

4FGL J2235.8-3627
   Spectrum: PowerLaw
272    Prefactor:  5.551e-11  1.019e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  1.979e+00  2.065e+04  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.006e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  8.740e-01  3.845e-04  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.087e+00  3.934e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.971 -36.461

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/32680896/cmap_HighResolution_805680001_806284801_4FGL_J2235.8-3627_weekly_bin937.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='3.98e-08', time_completed='2026-07-21 20:07:42.781872', job_id='32680896', GAL2='0.87', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1784689662.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.12e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='937' AND source_name='4FGL J2235.8-3627' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 21 20:07:43 PDT 2026

