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


Performing analysis on: 4FGL_J0931.2-8533_weekly_bin825
RA = 142.818, Dec = -85.5626
tmin = 737942401, tmax = 738547201
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='49203946', job_status='RUN', time_executed='2024-05-28 01:26:15.813323', time_epoch_executed='1716884775.81' WHERE source_name='4FGL J0931.2-8533' and cadence='weekly' and bin_id='825'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/49203946

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/49203946/ft1_4FGL_J0931.2-8533_weekly_bin825.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/49203946/ft1_4FGL_J0931.2-8533_weekly_bin825.fits outfile=/lscratch/kocevski/49203946/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin825.fits ra=142.818 dec=-85.5626 rad=12.0 tmin=737942401.0 tmax=738547201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.99
user 3.55
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.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/49203946/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin825.fits evtable="EVENTS" outfile="/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.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.50
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2497

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits" evtable="EVENTS" scfile=/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits sctable="SC_DATA" outfile=/lscratch/kocevski/49203946/ltcube_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.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/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits
.....................!
real 15.65
user 15.18
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits evtable="EVENTS" scfile=/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits sctable="SC_DATA" expcube=/lscratch/kocevski/49203946/ltcube_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.fits outfile=/lscratch/kocevski/49203946/expmap_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.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/49203946/ltcube_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.fits
.....................!
real 59.39
user 55.60
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
Extended source SMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Added 181 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0931.2-8533 @ 142.818 -85.5626

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits scfile=/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits outfile=/lscratch/kocevski/49203946/cmap_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.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=142.818 yref=-85.5626 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.47
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits scfile=/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits outfile=/lscratch/kocevski/49203946/cmap_HighResolution_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.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=142.818 yref=-85.5626 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.45
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits evtable="EVENTS" scfile=/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/49203946/Model_4FGL_J0931.2-8533_weekly_bin825.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits.....................!
real 6807.43
user 6778.25
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits', '/lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits', expMap='/lscratch/kocevski/49203946/expmap_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.fits', expCube='/lscratch/kocevski/49203946/ltcube_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/49203946/Model_4FGL_J0931.2-8533_weekly_bin825.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0931.2-8533'

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  7.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.533e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.301e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/49203946/ft1_filtered_4FGL_J0931.2-8533_weekly_bin825.fits
Spacecraft file(s): /lscratch/kocevski/49203946/ft2_4FGL_J0931.2-8533_weekly_bin825.fits
Exposure map: /lscratch/kocevski/49203946/expmap_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.fits
Exposure cube: /lscratch/kocevski/49203946/ltcube_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/49203946/Model_4FGL_J0931.2-8533_weekly_bin825.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) = 25696.782012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.461       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28784E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0163       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.0229       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6288       1.0000          .0000       .10000E+07
     6 'norm      '    .99473       1.0000          .0000       .10000E+07
     7 'Prefactor '    .69706       1.0000          .0000       .10000E+07
     8 'norm      '    3.0581       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3674       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13660E-04   1.0000          .0000       .10000E+07
    11 'norm      '    2.4098       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.4368       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19088E-02   1.0000          .0000       .10000E+07
    14 'norm      '    16.487       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1858       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.3304       1.0000          .0000       .10000E+07
    17 'norm      '    6.9086       1.0000          .0000       .10000E+07
    18 'Prefactor '    37.279       1.0000          .0000       .10000E+07
    19 'Normalizat'    .97799       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   25696.76     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1542 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.395        29.126       -.13321E-07   -.21989E-02
   2  Prefactor      .0000        7.7914        .21791E-07** at limit **
   3  Prefactor     7.2602        12.216       -.37910E-07    .28923E-03
   4  Prefactor     6.4908        24.288       -.34092E-06   -.52796E-03
   5  Prefactor     1.6463        7.6883        .14427E-06   -.81088E-04
   6  norm          .99325        1.5984        .65454E-07   -.80826E-04
   7  Prefactor     .94369E-09    598.73        .87484E-06** at limit **
   8  norm          3.1734        6.7705        .53466E-06   -.39872E-03
   9  Prefactor     6.3914        7.2102        .20140E-07   -.44091E-04
  10  Prefactor      .0000        6.2372       -.16362E-06** at limit **
  11  norm          2.4080        2.1825       -.31899E-07    .32506E-03
  12  Prefactor     5.4423        3.4626        .82041E-08    .34243E-03
  13  Prefactor      .0000        16.731       -.11836E-06** at limit **
  14  norm          16.210        17.683       -.57216E-07   -.22344E-03
  15  Prefactor     1.1764        2.0589        .16837E-07   -.71271E-03
  16  Prefactor     1.3185        5.0734       -.31408E-07    .54781E-04
  17  norm          6.9080        4.0660       -.29703E-08    .13576E-03
  18  Prefactor     37.195        2.6530       -.80304E-08    .34644E-01
  19  Normalizat    .97996        .17177        .18317E-06   -.31867E-04
  20  Prefactor     .99361        .51989E-01    .81070E-06   -.10661E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.3951
  Prefactor  = 0
  Prefactor  = 7.26022
  Prefactor  = 6.49084
  Prefactor  = 1.64631
  norm       = 0.993253
  Prefactor  = 9.4369e-10
  norm       = 3.17339
  Prefactor  = 6.39142
  Prefactor  = 0
  norm       = 2.40799
  Prefactor  = 5.44228
  Prefactor  = 0
  norm       = 16.2095
  Prefactor  = 1.17637
  Prefactor  = 1.31852
  norm       = 6.90798
  Prefactor  = 37.1951
  Normalizat = 0.979956
  Prefactor  = 0.993613
 **********
 **   18 **HESSE 
 **********

 FCN=   25696.76     FROM HESSE     STATUS=OK           351 CALLS     1893 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.395        29.308        .20651E-03   -1.5613    
   2  Prefactor      .0000        7.6966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2602        12.270        .37849E-03   -1.5654    
   4  Prefactor     6.4908        24.389        .35374E-03   -1.5657    
   5  Prefactor     1.6463        7.8033        .82839E-03   -1.5682    
   6  norm          .99325        1.6143        .43579E-03   -1.5688    
   7  Prefactor     .94369E-09    25.238        .14919E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.1734        7.1611        .57987E-03   -1.5672    
   9  Prefactor     6.3914        7.2174        .39753E-03   -1.5657    
  10  Prefactor      .0000        6.2312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4080        2.1923        .65922E-03   -1.5677    
  12  Prefactor     5.4423        3.4810        .43071E-03   -1.5661    
  13  Prefactor      .0000        16.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          16.210        17.679        .24640E-03   -1.5627    
  15  Prefactor     1.1764        2.0881        .10474E-02   -1.5686    
  16  Prefactor     1.3185        5.0631        .95174E-03   -1.5685    
  17  norm          6.9080        4.2801        .38146E-03   -1.5655    
  18  Prefactor     37.195        38.789        .16380E-03   -1.5586    
  19  Normalizat    .97996        .15613        .10336       -.93705    
  20  Prefactor     .99361        .46419E-01    .31840E-01   -.92943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56557e-06
Minuit parameter uncertainties:
  1  29.3081
  2  1.1052e-05
  3  12.2698
  4  24.389
  5  7.16846
  6  1.61431
  7  0.000309509
  8  7.16107
  9  7.21744
  10  1.25952e-05
  11  2.19227
  12  3.48102
  13  2.72642e-05
  14  17.6789
  15  2.08805
  16  5.0631
  17  4.28008
  18  38.7893
  19  0.156205
  20  0.0464205
Done.

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

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  0.000e+00  1.260e-05  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  2.533e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.301e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  9.936e-01  4.642e-02  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.800e-01  1.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 142.818 -85.563
Photon Flux Upper Limit: 4.17285019045e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00325235160994 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/49203946/likelihoodResults_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.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) = 25696.7654427
delta logL = -0.00548003802032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 25696.7599626
delta logL = -1.61489879247e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   25696.76     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      234 TOTAL
                     EDM=   .62E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.8464        .42118E-03** at limit **
   2  Index         1.4859        .80590       -.67795E-06     .0000    
   3  Normalizat    .97996        1.3109       -.20822E-07   -.50385E-05
   4  Prefactor     .99361        1.3331       -.10438E-05    .83660E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.48594
  Normalizat = 0.979956
  Prefactor  = 0.993613
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   25696.76     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .62E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.8464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .19674        1.3806       -.67795E-06   -.77934    
   3  Normalizat    .97996        1.3109       -.20822E-07   -.93705    
   4  Prefactor     .99361        1.3331       -.10438E-05   -.92943    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.18896e-14
Minuit parameter uncertainties:
  1  1.20932e-06
  2  0.812958
  3  1.35813
  4  1.38167
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) = 25696.7599626
delta logL = 0.0

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  0.000e+00  1.209e-06  0.000e+00  1.000e+06 ( 1.000e-13)
221        Index:  1.486e+00  8.130e-01  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.301e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  9.936e-01  1.382e+00  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.800e-01  1.358e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 142.818 -85.563

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/49203946/cmap_HighResolution_737942401_738547201_4FGL_J0931.2-8533_weekly_bin825.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.25e-03', job_status='DONE', photon_flux_upper_limit='4.17e-08', time_completed='2024-05-28 03:29:46.191836', job_id='49203946', GAL2='0.99', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1716892186.19', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='825' AND source_name='4FGL J0931.2-8533' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 28 03:29:46 PDT 2024

