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

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

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

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

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

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

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


Performing analysis on: 4FGL_J2236.4-2309_daily_bin1899
RA = 339.125, Dec = -23.1552
tmin = 731548801, tmax = 731808001
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='44578253', job_status='RUN', time_executed='2024-04-20 20:20:30.669774', time_epoch_executed='1713669630.67' WHERE source_name='4FGL J2236.4-2309' and cadence='daily' and bin_id='1899'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/44578253

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/44578253/ft1_4FGL_J2236.4-2309_daily_bin1899.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/44578253/ft1_4FGL_J2236.4-2309_daily_bin1899.fits outfile=/lscratch/kocevski/44578253/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1899.fits ra=339.125 dec=-23.1552 rad=12.0 tmin=731548801.0 tmax=731808001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.06
user 1.85
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.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/44578253/ft1_filteredMKT_4FGL_J2236.4-2309_daily_bin1899.fits evtable="EVENTS" outfile="/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.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.36
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 708

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits" evtable="EVENTS" scfile=/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits sctable="SC_DATA" outfile=/lscratch/kocevski/44578253/ltcube_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.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/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits
.....................!
real 8.32
user 7.93
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits evtable="EVENTS" scfile=/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits sctable="SC_DATA" expcube=/lscratch/kocevski/44578253/ltcube_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.fits outfile=/lscratch/kocevski/44578253/expmap_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.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/44578253/ltcube_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.fits
.....................!
real 62.56
user 58.69
sys 3.47

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

Setting source of interest to:
4FGL J2236.4-2309 @ 339.125 -23.1552

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits scfile=/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits outfile=/lscratch/kocevski/44578253/cmap_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.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=339.125 yref=-23.1552 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.37
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits scfile=/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits outfile=/lscratch/kocevski/44578253/cmap_HighResolution_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.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=339.125 yref=-23.1552 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.46
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits evtable="EVENTS" scfile=/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/44578253/Model_4FGL_J2236.4-2309_daily_bin1899.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits.....................!
real 22.98
user 22.14
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits', '/lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits', expMap='/lscratch/kocevski/44578253/expmap_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.fits', expCube='/lscratch/kocevski/44578253/ltcube_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/44578253/Model_4FGL_J2236.4-2309_daily_bin1899.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2236.4-2309'

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  4.382e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/44578253/ft1_filtered_4FGL_J2236.4-2309_daily_bin1899.fits
Spacecraft file(s): /lscratch/kocevski/44578253/ft2_4FGL_J2236.4-2309_daily_bin1899.fits
Exposure map: /lscratch/kocevski/44578253/expmap_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.fits
Exposure cube: /lscratch/kocevski/44578253/ltcube_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/44578253/Model_4FGL_J2236.4-2309_daily_bin1899.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) = 7460.32581112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4947       1.0000          .0000       .10000E+07
     2 'Prefactor '    .12712E-01   1.0000          .0000       .10000E+07
     3 'norm      '    .77907       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.4998       1.0000          .0000       .10000E+07
     5 'Prefactor '    41.932       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90075E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11822E-01   1.0000          .0000       .10000E+07
     8 'norm      '    21.027       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17367E-02   1.0000          .0000       .10000E+07
    10 'norm      '    4.0147       1.0000          .0000       .10000E+07
    11 'norm      '    .10691E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .97912E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.2291       1.0000          .0000       .10000E+07
    14 'Prefactor '    29.539       1.0000          .0000       .10000E+07
    15 'norm      '    2.1098       1.0000          .0000       .10000E+07
    16 'norm      '    .54123E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15048E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .80519E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    27.155       1.0000          .0000       .10000E+07
    20 'norm      '    3.4354       1.0000          .0000       .10000E+07
    21 'Prefactor '    .64325E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13027E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1607       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0316       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7460.269     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1969 TOTAL
                     EDM=   .43E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5637        18.078       -.82720E-06   -.12931E-03
   2  Prefactor     .13178E-06    19.192       -.77239E-07** at limit **
   3  norm          .77921        .31242        .86465E-08    .53863E-04
   4  Prefactor     2.5011        5.7785       -.13143E-06   -.79987E-04
   5  Prefactor     42.009        1.4733        .64273E-08   -.28329E-03
   6  Prefactor      .0000        6.2100       -.32672E-06** at limit **
   7  Prefactor     .34078E-06    8.3482        .13291E-06** at limit **
   8  norm          21.066        1.1925       -.10856E-07   -.20908E-02
   9  Prefactor      .0000        4.5542       -.23694E-06** at limit **
  10  norm          3.9988        1.3080        .20963E-07   -.86712E-03
  11  norm           .0000        .53577        .65832E-07** at limit **
  12  Prefactor     .72164E-09    12.026       -.32671E-06** at limit **
  13  Prefactor     8.2618        1.8887        .21348E-07   -.65776E-02
  14  Prefactor     32.342        42.230       -.54198E-06   -.93166E-03
  15  norm          1.9292        3.0278        .20357E-06   -.21884E-02
  16  norm           .0000        1.3732        .79975E-07** at limit **
  17  Prefactor     .11047E-07    31.189        .46729E-06** at limit **
  18  Prefactor     .11530E-06    13.914        .18910E-06** at limit **
  19  Prefactor     27.246        14.182       -.17386E-06   -.68708E-02
  20  norm          3.4325        1.1378        .61084E-07    .58301E-03
  21  Prefactor      .0000        8.0750       -.70364E-06** at limit **
  22  Prefactor      .0000        4.1940       -.30133E-06** at limit **
  23  Normalizat    1.1581        .24456       -.13055E-05   -.11631E-04
  24  Prefactor     1.0328        .20874        .13560E-05   -.12040E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56366
  Prefactor  = 1.31783e-07
  norm       = 0.779207
  Prefactor  = 2.5011
  Prefactor  = 42.0091
  Prefactor  = 0
  Prefactor  = 3.40783e-07
  norm       = 21.0659
  Prefactor  = 0
  norm       = 3.99884
  norm       = 0
  Prefactor  = 7.21645e-10
  Prefactor  = 8.26176
  Prefactor  = 32.3424
  norm       = 1.92921
  norm       = 0
  Prefactor  = 1.10467e-08
  Prefactor  = 1.15297e-07
  Prefactor  = 27.2461
  norm       = 3.43251
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.15806
  Prefactor  = 1.03283
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.269     FROM HESSE     STATUS=OK           447 CALLS     2416 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5637        17.991        .87613E-03   -1.5683    
   2  Prefactor     .13178E-06    23.481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .77921        .31230        .54508E-03   -1.5690    
   4  Prefactor     2.5011        5.8196        .64611E-03   -1.5676    
   5  Prefactor     42.009        19.352        .15444E-03   -1.5578    
   6  Prefactor      .0000        6.2032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .34078E-06    19.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          21.066        17.507        .21814E-03   -1.5616    
   9  Prefactor      .0000        4.5499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.9988        1.3076        .50307E-03   -1.5668    
  11  norm           .0000        .53668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .72164E-09    12.045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.2618        12.225        .34925E-03   -1.5650    
  14  Prefactor     32.342        37.561        .18402E-03   -1.5594    
  15  norm          1.9292        2.7234        .71000E-03   -1.5680    
  16  norm           .0000        1.3768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11047E-07    31.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11530E-06    17.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.246        13.780        .19194E-03   -1.5604    
  20  norm          3.4325        1.1085        .54546E-03   -1.5671    
  21  Prefactor      .0000        8.0500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        4.1956        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1581        .20208        .64227E-01   -.87909    
  24  Prefactor     1.0328        .16903        .58795E-01   -.91643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85598e-07
Minuit parameter uncertainties:
  1  10.608
  2  0.00351811
  3  0.312297
  4  5.81963
  5  19.3515
  6  1.13373e-05
  7  0.00517885
  8  17.5067
  9  1.39721e-07
  10  1.30761
  11  2.32628e-07
  12  0.000183684
  13  12.225
  14  37.5613
  15  2.72341
  16  2.28484e-07
  17  0.00118017
  18  0.00286151
  19  13.7798
  20  1.10847
  21  1.7173e-06
  22  5.45069e-06
  23  0.202218
  24  0.169122
Done.

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

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  0.000e+00  1.397e-07  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  2.743e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.033e+00  1.691e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.158e+00  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 339.125 -23.155
Photon Flux Upper Limit: 6.70922730112e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00529456939869 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/44578253/likelihoodResults_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7460.2720095
delta logL = -0.00274225783505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7460.26926728
delta logL = -3.50410118699e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25896E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.9413       1.0000          .0000       10.000    
     3 'Normalizat'    1.1580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0328       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7460.269     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      255 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9797        .42118E-03** at limit **
   2  Index         3.5808        1.2389       -.45103E-05     .0000    
   3  Normalizat    1.1581        1.1228        .45240E-05   -.74994E-05
   4  Prefactor     1.0328        1.2142       -.37731E-05   -.19887E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.58078
  Normalizat = 1.15806
  Prefactor  = 1.03283
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7460.269     FROM HESSE     STATUS=FAILED         9 CALLS      264 TOTAL
                     EDM=   .21E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9797        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4209        2.2081       -.45103E-05   -.28780    
   3  Normalizat    1.1581        1.1228        .45240E-05   -.87909    
   4  Prefactor     1.0328        1.2142       -.37731E-05   -.91643    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.07937e-12
Minuit parameter uncertainties:
  1  6.14724e-06
  2  1.25315
  3  1.14741
  4  1.24899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7460.26926724
delta logL = 0.0

Extracting fit parameters...

4FGL J2236.4-2309
   Spectrum: PowerLaw
247    Prefactor:  0.000e+00  6.147e-06  0.000e+00  1.000e+06 ( 1.000e-12)
248        Index:  3.581e+00  1.253e+00  0.000e+00  1.000e+01 (-1.000e+00)
249        Scale:  4.484e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.033e+00  1.249e+00  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.158e+00  1.147e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 339.125 -23.155

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/44578253/cmap_HighResolution_731548801_731808001_4FGL_J2236.4-2309_daily_bin1899.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.29e-03', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2024-04-20 20:24:55.655127', job_id='44578253', GAL2='1.03', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1713669895.66', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='1899' AND source_name='4FGL J2236.4-2309' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 20 20:24:55 PDT 2024

