/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 18 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7445
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0956.7+2516_daily_bin1414
RA = 149.176, Dec = 25.2817
tmin = 605836801, tmax = 606096001
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='585113', job_status='RUN', time_executed='2021-09-01 06:16:37.042372', time_epoch_executed='1630502197.04' WHERE source_name='4FGL J0956.7+2516' and cadence='daily' and bin_id='1414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585113

Creating custom pfile directory:
/scratch/kocevski/585113/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=605836801.0 && nMetStart<606096001.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=605836801.0 && nMetStart<606096001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585113/ft1_4FGL_J0956.7+2516_daily_bin1414.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=605836801.0 && nMetStart<606096001.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585113/ft1_4FGL_J0956.7+2516_daily_bin1414.fits outfile=/scratch/kocevski/585113/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1414.fits ra=149.176 dec=25.2817 rad=12.0 tmin=605836801.0 tmax=606096001.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.69
user 3.38
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/585113/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin1414.fits evtable="EVENTS" outfile="/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.68
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits" evtable="EVENTS" scfile=/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits sctable="SC_DATA" outfile=/scratch/kocevski/585113/ltcube_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.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 /scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits
.....................!
real 12.39
user 11.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits evtable="EVENTS" scfile=/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits sctable="SC_DATA" expcube=/scratch/kocevski/585113/ltcube_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.fits outfile=/scratch/kocevski/585113/expmap_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.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 /scratch/kocevski/585113/ltcube_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.fits
.....................!
real 191.23
user 185.80
sys 3.57

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

Setting source of interest to:
4FGL J0956.7+2516 @ 149.176 25.2817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits scfile=/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits outfile=/scratch/kocevski/585113/cmap_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.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=149.176 yref=25.2817 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.72
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits scfile=/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits outfile=/scratch/kocevski/585113/cmap_HighResolution_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.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=149.176 yref=25.2817 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.61
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits evtable="EVENTS" scfile=/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/585113/Model_4FGL_J0956.7+2516_daily_bin1414.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...
/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits.....................!
real 50.67
user 48.99
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits', '/scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits', expMap='/scratch/kocevski/585113/expmap_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.fits', expCube='/scratch/kocevski/585113/ltcube_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/585113/Model_4FGL_J0956.7+2516_daily_bin1414.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0956.7+2516'

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  4.112e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/585113/ft1_filtered_4FGL_J0956.7+2516_daily_bin1414.fits
Spacecraft file(s): /scratch/kocevski/585113/ft2_4FGL_J0956.7+2516_daily_bin1414.fits
Exposure map: /scratch/kocevski/585113/expmap_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.fits
Exposure cube: /scratch/kocevski/585113/ltcube_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/585113/Model_4FGL_J0956.7+2516_daily_bin1414.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) = 5357.14610325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    44.942       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.527       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.713       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10834E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5519       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .58259E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7714       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.2312       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .62172E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.944       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5041       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4723       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2299       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5357.121     FROM MIGRAD    STATUS=CONVERGED    762 CALLS     2396 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.133        .18142E-02** at limit **
   2  norm          44.935        42.067        .59805E-04   -.76038E-05
   3  norm          .10000E-03    .54642        .52681E-03** at limit **
   4  Prefactor     22.536        22.870        .84393E-04   -.75438E-05
   5  Prefactor     .10000E-03    1.2153        .78605E-03** at limit **
   6  Prefactor     28.720        30.425        .74767E-04   -.95794E-05
   7  Prefactor     .10000E-03    209.75        .18142E-02** at limit **
   8  Prefactor     7.5465        28.305        .14593E-03   -.10283E-04
   9  Prefactor     .10000E-03    15.403        .26653E-02** at limit **
  10  Prefactor     2.7720        10.378        .24447E-03    .58130E-05
  11  Prefactor     .10000E-03    .87625        .66619E-03** at limit **
  12  norm          2.2339        6.2372        .13761E-02    .43257E-04
  13  Prefactor     .10000E-03    10.919        .35702E-01** at limit **
  14  Prefactor     .10000E-03    80.330        .18142E-02** at limit **
  15  Prefactor     11.949        7.4990        .11591E-03    .54238E-04
  16  Prefactor     .10000E-03    73.381        .18142E-02** at limit **
  17  Prefactor     1.5017        9.0521        .34901E-03    .90818E-04
  18  Prefactor     1.4731        3.0915        .16899E-03   -.75214E-04
  19  Normalizat    1.2301        .21275        .21559E-03   -.17244E-04
  20  Prefactor     .73835        .20088        .26610E-03   -.61008E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 44.9346
  norm       = 0.0001
  Prefactor  = 22.5362
  Prefactor  = 0.0001
  Prefactor  = 28.7204
  Prefactor  = 0.000100002
  Prefactor  = 7.54654
  Prefactor  = 0.0001
  Prefactor  = 2.77202
  Prefactor  = 0.0001
  norm       = 2.2339
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9487
  Prefactor  = 0.0001
  Prefactor  = 1.50166
  Prefactor  = 1.4731
  Normalizat = 1.23012
  Prefactor  = 0.738353
 **********
 **   18 **HESSE 
 **********

 FCN=   5357.121     FROM HESSE     STATUS=OK           283 CALLS     2679 TOTAL
                     EDM=   .71E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.153        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          44.935        42.052        .23922E-05   -1.4366    
   3  norm          .10000E-03    .54643        .10536E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.536        22.867        .33757E-05   -1.4758    
   5  Prefactor     .10000E-03    1.2154        .15721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.720        30.415        .29907E-05   -1.4636    
   7  Prefactor     .10000E-03    209.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.5465        28.300        .58374E-05   -1.5158    
   9  Prefactor     .10000E-03    15.510        .53307E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7720        10.374        .97787E-05   -1.5375    
  11  Prefactor     .10000E-03    .87629        .13324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.2339        6.2338        .55044E-04   -1.5409    
  13  Prefactor     .10000E-03    6.7063        .47431E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    80.364        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.949        7.4374        .46365E-05   -1.5016    
  16  Prefactor     .10000E-03    73.399        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.5017        9.0334        .13960E-04   -1.5463    
  18  Prefactor     1.4731        3.0889        .67594E-05   -1.5465    
  19  Normalizat    1.2301        .21296        .86235E-05   -.85677    
  20  Prefactor     .73835        .20108        .10644E-04   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13883e-11
Minuit parameter uncertainties:
  1  5.30893e-05
  2  42.0802
  3  4.90433e-07
  4  22.8759
  5  1.20103e-06
  6  30.4319
  7  0.00139559
  8  28.3504
  9  8.6429e-06
  10  10.3806
  11  6.41986e-07
  12  6.23563
  13  1.83285e-05
  14  0.000155593
  15  7.43802
  16  0.000256178
  17  7.3676
  18  3.08925
  19  0.213107
  20  0.201277
Done.

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

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  8.643e-06  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  7.384e-01  2.013e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.230e+00  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 149.176 25.282
Photon Flux Upper Limit: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.82e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/585113/likelihoodResults_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.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) = 5357.12082246
delta logL = -0.000308360501549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5357.12051416
delta logL = -5.72190401726e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5536       1.0000          .0000       10.000    
     3 'Normalizat'    1.2301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73836       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5357.121     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      224 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .51194        .53923E-01** at limit **
   2  Index         2.5599        5.7796        .50000       -.35692E-05
   3  Normalizat    1.2301        .14505E-02    .34190E-01    .90807E-04
   4  Prefactor     .73835        .14313E-02    .42910E-01    .70088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.5599
  Normalizat = 1.23012
  Prefactor  = 0.738354
 **********
 **   18 **HESSE 
 **********

 FCN=   5357.121     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      257 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    121.94        .31095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5599        5.7563        .50000       -.50982    
   3  Normalizat    1.2301        .12525E-01    .21559E-03   -.85677    
   4  Prefactor     .73835        .12352E-01    .26610E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.26004e-07
Minuit parameter uncertainties:
  1  0.000568696
  2  720.449
  3  0.0125249
  4  0.0123521
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585113': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5357.12051409
delta logL = 1.08548192657e-08

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  1.000e-04  5.687e-04  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.560e+00  7.204e+02  0.000e+00  1.000e+01 (-1.000e+00)
237        Scale:  5.839e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  7.384e-01  1.235e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.230e+00  1.252e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 149.176 25.282

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/585113/cmap_HighResolution_605836801_606096001_4FGL_J0956.7+2516_daily_bin1414.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/585113

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.82e-03', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2021-09-01 06:26:53.022859', job_id='585113', GAL2='0.74', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1630502813.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.09e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1414' AND source_name='4FGL J0956.7+2516' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:26:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 585113: <4FGL_J0956.7+2516_daily_bin1414> in cluster <slac> Done

Job <4FGL_J0956.7+2516_daily_bin1414> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Sep  1 06:15:52 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:15:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 06:15:53 2021
Terminated at Wed Sep  1 06:26:53 2021
Results reported at Wed Sep  1 06:26:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0956.7+2516_daily_bin1414 149.176 25.2817 605836801 606096001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0956.7+2516 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   562.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            661 sec.

The output (if any) is above this job summary.

