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


Performing analysis on: 4FGL_J2015.5+3710_weekly_bin853
RA = 303.892, Dec = 37.176
tmin = 754876801, tmax = 755481601
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='59979060', job_status='RUN', time_executed='2024-12-10 01:16:20.148952', time_epoch_executed='1733822180.15' WHERE source_name='4FGL J2015.5+3710' and cadence='weekly' and bin_id='853'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59979060

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59979060/ft1_4FGL_J2015.5+3710_weekly_bin853.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59979060/ft1_4FGL_J2015.5+3710_weekly_bin853.fits outfile=/lscratch/kocevski/59979060/ft1_filteredMKT_4FGL_J2015.5+3710_weekly_bin853.fits ra=303.892 dec=37.176 rad=12.0 tmin=754876801.0 tmax=755481601.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.53
user 3.12
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.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/59979060/ft1_filteredMKT_4FGL_J2015.5+3710_weekly_bin853.fits evtable="EVENTS" outfile="/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.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.45
user 0.23
sys 0.16

Number of photons that the gtmktime cut: 22175

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59979060/ltcube_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.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/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits
.....................!
real 19.03
user 18.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59979060/ltcube_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.fits outfile=/lscratch/kocevski/59979060/expmap_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.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/59979060/ltcube_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.fits
.....................!
real 68.16
user 63.78
sys 3.90

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source Cygnus Loop in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 212 point sources and 4 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 J2015.5+3710 @ 303.892 37.176

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits scfile=/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits outfile=/lscratch/kocevski/59979060/cmap_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.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=303.892 yref=37.176 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.26
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits scfile=/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits outfile=/lscratch/kocevski/59979060/cmap_HighResolution_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.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=303.892 yref=37.176 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.27
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits evtable="EVENTS" scfile=/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59979060/Model_4FGL_J2015.5+3710_weekly_bin853.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 Cygnus Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits.....................!
real 1584.22
user 1572.12
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits', '/lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits', expMap='/lscratch/kocevski/59979060/expmap_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.fits', expCube='/lscratch/kocevski/59979060/ltcube_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59979060/Model_4FGL_J2015.5+3710_weekly_bin853.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2015.5+3710'

4FGL J2015.5+3710
   Spectrum: LogParabola
375         norm:  7.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
376        alpha:  2.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.777e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  3.095e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59979060/ft1_filtered_4FGL_J2015.5+3710_weekly_bin853.fits
Spacecraft file(s): /lscratch/kocevski/59979060/ft2_4FGL_J2015.5+3710_weekly_bin853.fits
Exposure map: /lscratch/kocevski/59979060/expmap_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.fits
Exposure cube: /lscratch/kocevski/59979060/ltcube_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59979060/Model_4FGL_J2015.5+3710_weekly_bin853.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) = 192053.800988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7378       1.0000          .0000       .10000E+07
     2 'norm      '    2.3071       1.0000          .0000       .10000E+07
     3 'norm      '    .31954E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3955       1.0000          .0000       .10000E+07
     5 'norm      '    .28283E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10888E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .56496       1.0000          .0000       .10000E+07
     8 'norm      '    3.6847       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.0644       1.0000         .10000E-03   10000.    
    10 'norm      '    .19817E-07   1.0000          .0000       .10000E+07
    11 'norm      '    9.5579       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26622       1.0000         .10000E-03   10000.    
    13 'norm      '    13.214       1.0000          .0000       .10000E+07
    14 'Prefactor '    .43635E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2728       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0247       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   192053.7     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      931 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7257        2.7877       -.17108E-06   -.50328E-03
   2  norm          2.2626        4.6756       -.19498E-06   -.12946E-03
   3  norm           .0000        1.8841        .32014E-06** at limit **
   4  Prefactor     2.4139        5.3959       -.21584E-06   -.58226E-03
   5  norm           .0000        1.4333       -.69564E-07** at limit **
   6  Prefactor     .22204E-09    36.308       -.24443E-05** at limit **
   7  norm          .56483        .57536       -.15558E-07    .54531E-03
   8  norm          3.6856        2.1417       -.56663E-07   -.23679E-03
   9  Prefactor     2.0643        .11428        .96211E-07   -.25181E-02
  10  norm           .0000        .34327        .89524E-07** at limit **
  11  norm          9.5679        2.7017       -.11070E-06   -.26848E-02
  12  Prefactor     .27218        1.7358        .17715E-05    .85498E-04
  13  norm          13.343        12.246       -.68056E-07    .35849E-03
  14  Prefactor     .11102E-09    15.375       -.10950E-05** at limit **
  15  Normalizat    1.2728        .14374       -.16283E-05   -.17486E-04
  16  Prefactor     1.0247        .12841E-01   -.96503E-07    .32725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72573
  norm       = 2.26264
  norm       = 0
  Prefactor  = 2.41392
  norm       = 0
  Prefactor  = 2.22045e-10
  norm       = 0.564825
  norm       = 3.68556
  Prefactor  = 2.06425
  norm       = 0
  norm       = 9.56787
  Prefactor  = 0.27218
  norm       = 13.3427
  Prefactor  = 1.11022e-10
  Normalizat = 1.2728
  Prefactor  = 1.02466
 **********
 **   18 **HESSE 
 **********

 FCN=   192053.7     FROM HESSE     STATUS=OK           241 CALLS     1172 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7257        2.8288        .79567E-03   -1.5682    
   2  norm          2.2626        4.6584        .67527E-03   -1.5678    
   3  norm           .0000        1.8712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4139        5.4410        .66138E-03   -1.5677    
   5  norm           .0000        1.4381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    35.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .56483        .58586        .72427E-03   -1.5693    
   8  norm          3.6856        2.1441        .52591E-03   -1.5670    
   9  Prefactor     2.0643        .11491        .71894E-02   -1.5421    
  10  norm           .0000        .34141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.5679        2.7288        .32390E-03   -1.5646    
  12  Prefactor     .27218        .58753        .10276       -1.5604    
  13  norm          13.343        12.259        .27529E-03   -1.5635    
  14  Prefactor     .11102E-09    15.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2728        .15088        .29860       -.84382    
  16  Prefactor     1.0247        .13038E-01    .28411E-01   -.91912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52164e-06
Minuit parameter uncertainties:
  1  2.8288
  2  4.65844
  3  1.38048e-05
  4  5.44101
  5  1.51119e-06
  6  0.000177794
  7  0.585856
  8  2.14408
  9  0.114913
  10  8.68368e-08
  11  2.72875
  12  0.587541
  13  12.2587
  14  7.3537e-05
  15  0.150927
  16  0.0130375
Done.

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

Extracting fit parameters...

4FGL J2015.5+3710
   Spectrum: LogParabola
375         norm:  3.686e+00  2.144e+00  0.000e+00  1.000e+06 ( 1.000e-13)
376        alpha:  2.705e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
377         beta:  1.777e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  3.095e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
771    Prefactor:  1.025e+00  1.304e-02  0.000e+00  1.000e+01 ( 1.000e+00)
772        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
773        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
770   Normalization:  1.273e+00  1.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.11
Ra Dec: 303.892 37.176
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 5.96e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.40e-05

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) = 192053.746184
delta logL = 0.000918118428672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 192053.744876
delta logL = 0.00222607108299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5194       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7466       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2723       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0246       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   192053.7     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      225 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5179        13.402        .53863E-03    .34681E-01
   2  alpha         2.7474        .86860        .41407        .63730E-03
   3  Normalizat    1.2724        .35836E-01    .29863        .76241E-03
   4  Prefactor     1.0246        .29414E-02    .28411E-01   -.11010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51786
  alpha      = 2.74735
  Normalizat = 1.2724
  Prefactor  = 1.02456
 **********
 **   18 **HESSE 
 **********

 FCN=   192053.7     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5179        5.8265        .21545E-04   -1.5670    
   2  alpha         2.7474        1.0830        .22751E-01    .99104E-01
   3  Normalizat    1.2724        .14193        .13431E-02   -.84394    
   4  Prefactor     1.0246        .12581E-01    .12556E-03   -.91915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18867e-09
Minuit parameter uncertainties:
  1  5.82648
  2  1.12046
  3  0.141973
  4  0.0125809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 192053.744875
delta logL = 0.00222714891424

Extracting fit parameters...

4FGL J2015.5+3710
   Spectrum: LogParabola
375         norm:  3.518e+00  5.826e+00  0.000e+00  1.000e+06 ( 1.000e-13)
376        alpha:  2.747e+00  1.120e+00  0.000e+00  5.000e+00 ( 1.000e+00)
377         beta:  1.777e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
378           Eb:  3.095e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
771    Prefactor:  1.025e+00  1.258e-02  0.000e+00  1.000e+01 ( 1.000e+00)
772        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
773        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
770   Normalization:  1.272e+00  1.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 303.892 37.176
Photon Index (Free Index): 2.75 +/- 1.12
Photon Flux (Free Index): 6.32e-08 +/- 8.76e-08
Energy Flux (Free Index): 2.44e-05 +/- 1.43e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.330e+00 [aplpy.core]
Saving /lscratch/kocevski/59979060/cmap_HighResolution_754876801_755481601_4FGL_J2015.5+3710_weekly_bin853.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.96e-08', energy_flux2='2.44e-05', photon_flux_error='3.47e-08', dlogl='2.23e-03', energy_flux='2.41e-05', photon_flux2='6.32e-08', job_status='DONE', time_completed='2024-12-10 02:26:35.611995', photon_index_error2='1.12', photon_index2='2.75', ts='4.11', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.43e-05', EG='1.27', time_epoch_completed='1733826395.61', return_code='0', job_id='59979060', GAL2='1.02', EG2='1.27', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='8.76e-08', ts2='4.12', photon_index='2.71' WHERE bin_id='853' AND source_name='4FGL J2015.5+3710' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 10 02:26:35 PST 2024

