/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 115 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 = 7630
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0956.7+2516_daily_bin97
RA = 149.176, Dec = 25.2817
tmin = 264470401, tmax = 264729601
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='578150', job_status='RUN', time_executed='2021-09-01 05:57:51.859596', time_epoch_executed='1630501071.86' WHERE source_name='4FGL J0956.7+2516' and cadence='daily' and bin_id='97'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/578150

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/578150/ft1_4FGL_J0956.7+2516_daily_bin97.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/578150/ft1_4FGL_J0956.7+2516_daily_bin97.fits outfile=/scratch/kocevski/578150/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin97.fits ra=149.176 dec=25.2817 rad=12.0 tmin=264470401.0 tmax=264729601.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 1.54
user 1.34
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.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/578150/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin97.fits evtable="EVENTS" outfile="/scratch/kocevski/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.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.57
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits" evtable="EVENTS" scfile=/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits sctable="SC_DATA" outfile=/scratch/kocevski/578150/ltcube_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.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/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits
.....................!
real 12.49
user 12.04
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits sctable="SC_DATA" expcube=/scratch/kocevski/578150/ltcube_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.fits outfile=/scratch/kocevski/578150/expmap_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.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/578150/ltcube_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.fits
.....................!
real 190.29
user 185.72
sys 4.12

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/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits scfile=/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits outfile=/scratch/kocevski/578150/cmap_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.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.58
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits scfile=/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits outfile=/scratch/kocevski/578150/cmap_HighResolution_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.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.59
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/578150/Model_4FGL_J0956.7+2516_daily_bin97.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/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits....................!
real 60.01
user 55.61
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits', '/scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits', expMap='/scratch/kocevski/578150/expmap_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.fits', expCube='/scratch/kocevski/578150/ltcube_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/578150/Model_4FGL_J0956.7+2516_daily_bin97.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/578150/ft1_filtered_4FGL_J0956.7+2516_daily_bin97.fits
Spacecraft file(s): /scratch/kocevski/578150/ft2_4FGL_J0956.7+2516_daily_bin97.fits
Exposure map: /scratch/kocevski/578150/expmap_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.fits
Exposure cube: /scratch/kocevski/578150/ltcube_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/578150/Model_4FGL_J0956.7+2516_daily_bin97.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) = 6643.65847545

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2074       1.0000         .10000E-03   10000.    
     2 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .12358E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .41705E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.471       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.227       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0102       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40095       1.0000         .10000E-03   10000.    
    12 'norm      '    25.652       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12729E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .76045E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .53107       1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.213       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.3005       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.0522       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .81174       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2423       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=   6643.653     FROM MIGRAD    STATUS=CONVERGED    803 CALLS     2818 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1991        107.00        .41219E-03    .36959E-05
   2  norm          .10000E-03    8.9857        .18142E-02** at limit **
   3  norm          .10000E-03    1.0311        .27130E-01** at limit **
   4  Prefactor     .10000E-03    132.59        .42489E-03** at limit **
   5  Prefactor     .10000E-03    18.038        .18835E-02** at limit **
   6  Prefactor     46.483        29.915        .58818E-04    .61852E-05
   7  Prefactor     28.516        72.464        .75023E-04    .34277E-04
   8  Prefactor     14.212        27.932        .10619E-03    .75370E-04
   9  Prefactor     1.0059        9.1523        .32692E-02    .19987E-03
  10  Prefactor     .10000E-03    2.6194        .12868E-02** at limit **
  11  Prefactor     .39984        1.4832        .18598E-03    .22189E-03
  12  norm          25.653        9.8810        .79093E-04    .27569E-03
  13  Prefactor     .10000E-03    3.5868        .20697E-02** at limit **
  14  Prefactor     .10001E-03    35.531        .12968    ** at limit **
  15  Prefactor     .52157        6.7447        .27599E-02    .32822E-03
  16  Prefactor     32.182        45.878        .70599E-04    .59679E-04
  17  Prefactor     7.3001        5.9466        .14845E-03    .56290E-04
  18  Prefactor     2.0518        1.7454        .95051E-04    .11961E-05
  19  Normalizat    .81181        .19006        .25829E-03    .37056E-03
  20  Prefactor     1.2424        .19451        .22874E-03    .49824E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.19912
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 46.4833
  Prefactor  = 28.5159
  Prefactor  = 14.2124
  Prefactor  = 1.00587
  Prefactor  = 0.0001
  Prefactor  = 0.399838
  norm       = 25.6527
  Prefactor  = 0.000100002
  Prefactor  = 0.000100008
  Prefactor  = 0.52157
  Prefactor  = 32.1822
  Prefactor  = 7.30008
  Prefactor  = 2.05181
  Normalizat = 0.811805
  Prefactor  = 1.24242
 **********
 **   18 **HESSE 
 **********

 FCN=   6643.653     FROM HESSE     STATUS=OK           295 CALLS     3113 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1991        106.83        .16487E-04   -1.5489    
   2  norm          .10000E-03    8.9858        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .99409        .28114E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    132.60        .84978E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.517        .75341E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.483        29.897        .23527E-05   -1.4343    
   7  Prefactor     28.516        72.362        .15005E-04   -1.4639    
   8  Prefactor     14.212        27.923        .42476E-05   -1.4954    
   9  Prefactor     1.0059        9.0479        .13077E-03   -1.5507    
  10  Prefactor     .10000E-03    2.6196        .25736E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .39984        1.4828        .74394E-05   -1.5582    
  12  norm          25.653        9.8726        .31637E-05   -1.4695    
  13  Prefactor     .10000E-03    3.6006        .41394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    35.487        .12975       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .52157        6.7340        .11040E-03   -1.5564    
  16  Prefactor     32.182        45.872        .14120E-04   -1.4573    
  17  Prefactor     7.3001        5.9454        .59379E-05   -1.5168    
  18  Prefactor     2.0518        1.7452        .38020E-05   -1.5421    
  19  Normalizat    .81181        .18978        .51658E-04   -.99632    
  20  Prefactor     1.2424        .19466        .45748E-04   -.85036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.94013e-10
Minuit parameter uncertainties:
  1  22.6774
  2  7.2118e-06
  3  2.01647e-05
  4  0.000600042
  5  3.13416e-05
  6  29.9063
  7  72.5863
  8  27.9482
  9  6.03451
  10  3.56651e-06
  11  1.48298
  12  9.87319
  13  0.000173428
  14  0.0010888
  15  3.74836
  16  45.9227
  17  5.94591
  18  1.74525
  19  0.189931
  20  0.194769
Done.

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

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  1.006e+00  6.035e+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

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.242e+00  1.948e-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:  8.118e-01  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/578150/likelihoodResults_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.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) = 6643.63757004
delta logL = 0.0158080084802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6643.63737702
delta logL = 0.0160010283525

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0776       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9024       1.0000          .0000       10.000    
     3 'Normalizat'    .80830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2441       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6643.637     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      268 TOTAL
                     EDM=   .92E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0804        6.0950        .32434E-03    .29794E-05
   2  Index         2.8953        1.9600        .10438E-01    .22458E-05
   3  Normalizat    .80838        .18164        .25877E-03    .19331E-05
   4  Prefactor     1.2440        .19311        .22860E-03    .47742E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.08043
  Index      = 2.89526
  Normalizat = 0.808384
  Prefactor  = 1.244
 **********
 **   18 **HESSE 
 **********

 FCN=   6643.637     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .40E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0804        5.4805        .12974E-04   -1.5500    
   2  Index         2.8953        1.8656        .41752E-03   -.43449    
   3  Normalizat    .80838        .18187        .10351E-04   -.99758    
   4  Prefactor     1.2440        .19330        .91440E-05   -.84988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96483e-14
Minuit parameter uncertainties:
  1  4.86723
  2  1.92269
  3  0.182002
  4  0.193408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/578150': 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): 0
logL (Free Index) = 6643.63736963
delta logL = 0.0160084228701

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  1.080e+00  4.867e+00  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  2.895e+00  1.923e+00  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:  1.244e+00  1.934e-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:  8.084e-01  1.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/578150/cmap_HighResolution_264470401_264729601_4FGL_J0956.7+2516_daily_bin97.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='8.85e-08', time_completed='2021-09-01 06:08:54.435815', job_id='578150', GAL2='1.24', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1630501734.44', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.60e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='97' AND source_name='4FGL J0956.7+2516' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:08:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 578150: <4FGL_J0956.7+2516_daily_bin97> in cluster <slac> Done

Job <4FGL_J0956.7+2516_daily_bin97> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 05:55:43 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 05:55:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 05:55:44 2021
Terminated at Wed Sep  1 06:08:57 2021
Results reported at Wed Sep  1 06:08:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0956.7+2516_daily_bin97 149.176 25.2817 264470401 264729601 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 :                                   656.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            794 sec.

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

