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


Performing analysis on: 4FGL_J1018.4+0528_weekly_bin850
RA = 154.617, Dec = 5.4702
tmin = 753062401, tmax = 753667201
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='59112762', job_status='RUN', time_executed='2024-11-19 01:01:37.440697', time_epoch_executed='1732006897.44' WHERE source_name='4FGL J1018.4+0528' and cadence='weekly' and bin_id='850'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/59112762

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/59112762/ft1_4FGL_J1018.4+0528_weekly_bin850.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/59112762/ft1_4FGL_J1018.4+0528_weekly_bin850.fits outfile=/lscratch/kocevski/59112762/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin850.fits ra=154.617 dec=5.4702 rad=12.0 tmin=753062401.0 tmax=753667201.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.10
user 4.69
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.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/59112762/ft1_filteredMKT_4FGL_J1018.4+0528_weekly_bin850.fits evtable="EVENTS" outfile="/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.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.42
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1227

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits" evtable="EVENTS" scfile=/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits sctable="SC_DATA" outfile=/lscratch/kocevski/59112762/ltcube_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.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/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits
.....................!
real 17.34
user 16.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits evtable="EVENTS" scfile=/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits sctable="SC_DATA" expcube=/lscratch/kocevski/59112762/ltcube_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.fits outfile=/lscratch/kocevski/59112762/expmap_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.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/59112762/ltcube_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.fits
.....................!
real 66.28
user 61.65
sys 4.02

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

Setting source of interest to:
4FGL J1018.4+0528 @ 154.617 5.4702

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits scfile=/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits outfile=/lscratch/kocevski/59112762/cmap_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.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=154.617 yref=5.4702 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.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits scfile=/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits outfile=/lscratch/kocevski/59112762/cmap_HighResolution_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.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=154.617 yref=5.4702 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.23
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits evtable="EVENTS" scfile=/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/59112762/Model_4FGL_J1018.4+0528_weekly_bin850.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/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits.....................!
real 43.19
user 41.87
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits', '/lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits', expMap='/lscratch/kocevski/59112762/expmap_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.fits', expCube='/lscratch/kocevski/59112762/ltcube_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/59112762/Model_4FGL_J1018.4+0528_weekly_bin850.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1018.4+0528'

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  9.961e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/59112762/ft1_filtered_4FGL_J1018.4+0528_weekly_bin850.fits
Spacecraft file(s): /lscratch/kocevski/59112762/ft2_4FGL_J1018.4+0528_weekly_bin850.fits
Exposure map: /lscratch/kocevski/59112762/expmap_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.fits
Exposure cube: /lscratch/kocevski/59112762/ltcube_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/59112762/Model_4FGL_J1018.4+0528_weekly_bin850.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) = 13497.3623817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44352E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .17832E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .39462E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0846       1.0000          .0000       .10000E+07
     5 'Prefactor '    .36462E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .49061E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    78.086       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82302E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .82287E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.9973       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.5566       1.0000          .0000       .10000E+07
    12 'Prefactor '    .18490E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .14633E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .78762E-04   1.0000          .0000       .10000E+07
    15 'norm      '    .81260       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15674E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .86059       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2045       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13497.36     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1355 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.3451        .10193E-07** at limit **
   2  norm           .0000        .50926       -.13596E-08** at limit **
   3  Prefactor     .44409E-09    6.8589        .19642E-07** at limit **
   4  Prefactor     5.0667        1.7817       -.73600E-08   -.51171E-02
   5  Prefactor     .11102E-09    7.5167       -.32103E-07** at limit **
   6  Prefactor      .0000        2.0809        .35431E-07** at limit **
   7  Prefactor     78.384        34.990        .96685E-08   -.12068E-03
   8  Prefactor      .0000        9.5208       -.15495E-06** at limit **
   9  Prefactor      .0000        3.0550        .48912E-07** at limit **
  10  norm          2.9968        .94949       -.27577E-07    .97155E-03
  11  Prefactor     3.5603        4.0303       -.26067E-07    .10430E-03
  12  Prefactor      .0000        1.0515       -.15512E-07** at limit **
  13  Prefactor     .99920E-08    2.4039        .36077E-07** at limit **
  14  Prefactor      .0000        3.9111        .24884E-07** at limit **
  15  norm          .81288        .34767        .14510E-07   -.47622E-03
  16  Prefactor     .75495E-08    3.0361        .38316E-07** at limit **
  17  Normalizat    .86035        .13994       -.12643E-05    .67556E-05
  18  Prefactor     1.2046        .12286        .83310E-06    .31529E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 0
  Prefactor  = 4.44089e-10
  Prefactor  = 5.06671
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 78.3839
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.99677
  Prefactor  = 3.56033
  Prefactor  = 0
  Prefactor  = 9.99201e-09
  Prefactor  = 0
  norm       = 0.812879
  Prefactor  = 7.54952e-09
  Normalizat = 0.860351
  Prefactor  = 1.20461
 **********
 **   18 **HESSE 
 **********

 FCN=   13497.36     FROM HESSE     STATUS=OK           288 CALLS     1643 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .27670        .34743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .10855        .21337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    6.9499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.0667        15.324        .44566E-03   -1.5663    
   5  Prefactor     .11102E-09    7.6211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     78.384        34.898        .11317E-03   -1.5531    
   8  Prefactor      .0000        9.5479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        3.0487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9968        .95254        .58607E-03   -1.5673    
  11  Prefactor     3.5603        4.0442        .53568E-03   -1.5670    
  12  Prefactor      .0000        1.0426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .99920E-08    5.2666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        3.8877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .81288        .35019        .52000E-03   -1.5690    
  16  Prefactor     .75495E-08    5.1367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .86035        .12393        .44396E-01   -.97868    
  18  Prefactor     1.2046        .10794        .34525E-01   -.86190    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87065e-09
Minuit parameter uncertainties:
  1  1.92574e-07
  2  3.05318e-08
  3  0.000108146
  4  15.3246
  5  6.37899e-05
  6  1.86693e-06
  7  34.8985
  8  1.36055e-05
  9  4.74713e-06
  10  0.952536
  11  4.04419
  12  1.94721e-07
  13  0.000459234
  14  3.91345e-06
  15  0.350188
  16  0.000393665
  17  0.123974
  18  0.107956
Done.

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

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  0.000e+00  1.361e-05  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.284e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.205e+00  1.080e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.604e-01  1.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 154.617 5.470
Photon Flux Upper Limit: 3.02221367555e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00231667583456 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/59112762/likelihoodResults_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.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) = 13497.4065593
delta logL = -0.050189509886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13497.3563709
delta logL = -1.12083398562e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13497.36     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      195 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        10.049       -.18672E-06** at limit **
   2  Index         2.2331        6.1075        .10246E-04     .0000    
   3  Normalizat    .86035        .13591       -.16658E-06    .35210E-04
   4  Prefactor     1.2046        .12168        .24436E-05    .48907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.23306
  Normalizat = 0.860351
  Prefactor  = 1.20461
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   13497.36     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .54E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.9957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .55210        1.9493        .10246E-04   -.58643    
   3  Normalizat    .86035        1.1973       -.16658E-06   -.97868    
   4  Prefactor     1.2046        1.1015        .24436E-05   -.86190    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.44445e-13
Minuit parameter uncertainties:
  1  7.8768e-06
  2  1.84915
  3  1.23755
  4  1.12365
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) = 13497.3563698
delta logL = 0.0

Extracting fit parameters...

4FGL J1018.4+0528
   Spectrum: PowerLaw
216    Prefactor:  0.000e+00  7.877e-06  0.000e+00  1.000e+06 ( 1.000e-14)
217        Index:  2.233e+00  1.849e+00  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  1.954e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.205e+00  1.124e+00  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.604e-01  1.238e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 154.617 5.470

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/59112762/cmap_HighResolution_753062401_753667201_4FGL_J1018.4+0528_weekly_bin850.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.32e-03', job_status='DONE', photon_flux_upper_limit='3.02e-08', time_completed='2024-11-19 01:07:07.882262', job_id='59112762', GAL2='1.20', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1732007227.88', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='850' AND source_name='4FGL J1018.4+0528' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov 19 01:07:07 PST 2024

