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


Performing analysis on: 4FGL_J0956.7+2516_daily_bin19
RA = 149.176, Dec = 25.2817
tmin = 244252801, tmax = 244512001
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='578032', job_status='RUN', time_executed='2021-09-01 05:59:05.275510', time_epoch_executed='1630501145.28' WHERE source_name='4FGL J0956.7+2516' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/578032

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/578032/ft1_4FGL_J0956.7+2516_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/578032/ft1_4FGL_J0956.7+2516_daily_bin19.fits outfile=/scratch/kocevski/578032/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin19.fits ra=149.176 dec=25.2817 rad=12.0 tmin=244252801.0 tmax=244512001.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 2.42
user 2.22
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.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/578032/ft1_filteredMKT_4FGL_J0956.7+2516_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.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.56
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/578032/ltcube_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.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/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits
.....................!
real 13.00
user 12.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/578032/ltcube_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.fits outfile=/scratch/kocevski/578032/expmap_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.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/578032/ltcube_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.fits
.....................!
real 191.21
user 185.48
sys 5.32

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/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.fits scfile=/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits outfile=/scratch/kocevski/578032/cmap_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.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.83
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.fits scfile=/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits outfile=/scratch/kocevski/578032/cmap_HighResolution_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.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.94
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/578032/ft2_4FGL_J0956.7+2516_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/578032/Model_4FGL_J0956.7+2516_daily_bin19.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/578032/ft1_filtered_4FGL_J0956.7+2516_daily_bin19.fits.....................!
real 50.33
user 46.49
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.022       1.0000         .10000E-03   10000.    
     2 'norm      '    13.024       1.0000         .10000E-03   10000.    
     3 'norm      '    .40680       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9937       1.0000         .10000E-03   10000.    
     6 'Prefactor '    57.230       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.375       1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.207       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.4295       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.996       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0523       1.0000         .10000E-03   10000.    
    12 'norm      '    23.609       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .36117E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.245       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .65815       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0896       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.

 FCN=   5365.442     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2061 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.024        16.932       -.11175E-08   -.20999E-04
   2  norm          13.026        21.460       -.14771E-06    .18403E-05
   3  norm          .40689        1.6330        .96149E-06    .21074E-03
   4  Prefactor     .10000E-03    23.726       -.27968E-06** at limit **
   5  Prefactor     3.9946        3.5510       -.86536E-07   -.11634E-03
   6  Prefactor     57.225        30.989        .85341E-07    .30714E-05
   7  Prefactor     17.387        37.067       -.61132E-07    .88375E-05
   8  Prefactor     60.205        38.632        .25312E-06    .12437E-04
   9  Prefactor     6.4311        6.0334        .28614E-06    .82257E-04
  10  Prefactor     12.998        8.9049        .88560E-07    .24897E-04
  11  Prefactor     1.0524        1.3162        .94683E-07    .13162E-03
  12  norm          23.611        9.1509        .81705E-07    .60179E-04
  13  Prefactor     .10000E-03    1.1240        .22070E-06** at limit **
  14  Prefactor     .10000E-03    169.89       -.34580E-06** at limit **
  15  Prefactor     .10000E-03    1.6854        .22209E-06** at limit **
  16  Prefactor     16.333        56.417        .14947E-05    .27004E-04
  17  Prefactor     .10000E-03    6.3154       -.60215E-06** at limit **
  18  Prefactor     .10000E-03    1.1003       -.19304E-06** at limit **
  19  Normalizat    .65782        .18806       -.36860E-05    .11457E-03
  20  Prefactor     1.0898        .18943        .33314E-05    .24169E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0238
  norm       = 13.026
  norm       = 0.406892
  Prefactor  = 0.0001
  Prefactor  = 3.99458
  Prefactor  = 57.2255
  Prefactor  = 17.3871
  Prefactor  = 60.205
  Prefactor  = 6.43106
  Prefactor  = 12.9984
  Prefactor  = 1.0524
  norm       = 23.6107
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3334
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.657819
  Prefactor  = 1.08984
 **********
 **   18 **HESSE 
 **********

 FCN=   5365.442     FROM HESSE     STATUS=OK           299 CALLS     2360 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.024        16.918        .10006E-03   -1.4907    
   2  norm          13.026        21.457        .11099E-03   -1.4986    
   3  norm          .40689        1.6896        .17703E-03   -1.5580    
   4  Prefactor     .10000E-03    23.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9946        3.5117        .11960E-03   -1.5308    
   6  Prefactor     57.225        30.971        .53029E-04   -1.4194    
   7  Prefactor     17.387        37.060        .96084E-04   -1.4874    
   8  Prefactor     60.205        38.646        .51709E-04   -1.4155    
   9  Prefactor     6.4311        6.0210        .15829E-03   -1.5201    
  10  Prefactor     12.998        8.9029        .11111E-03   -1.4987    
  11  Prefactor     1.0524        1.2872        .90880E-04   -1.5503    
  12  norm          23.611        9.1510        .82439E-04   -1.4736    
  13  Prefactor     .10000E-03    1.1353        .75947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    175.54        .42619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.7003        .92962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.333        56.536        .99370E-04   -1.4899    
  17  Prefactor     .10000E-03    6.4702        .35916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.1242        .74966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .65782        .19310        .25827E-03   -1.0558    
  20  Prefactor     1.0898        .19336        .21741E-03   -.89792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11721e-10
Minuit parameter uncertainties:
  1  16.9232
  2  21.4696
  3  1.65818
  4  1.71024e-05
  5  3.5119
  6  30.9799
  7  37.1092
  8  38.6618
  9  6.02153
  10  8.90381
  11  1.2872
  12  9.15156
  13  4.09538e-06
  14  0.000388331
  15  5.16782e-06
  16  56.7226
  17  8.92905e-06
  18  1.31783e-06
  19  0.193294
  20  0.193481
Done.

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

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  6.431e+00  6.022e+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.090e+00  1.935e-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:  6.578e-01  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 149.176 25.282
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 3.72e-08 +/- 3.48e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 9.63e-06

TS (Fixed Index): 1.55
Ra Dec: 149.176 25.282
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/578032/likelihoodResults_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.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) = 5364.39793439
delta logL = 1.04365146392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5364.39586924
delta logL = 1.04571661789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2145       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3336       1.0000          .0000       10.000    
     3 'Normalizat'    .60596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1293       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=   5364.396     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      292 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2141        12.739        .10251E-01    .47094E-03
   2  Index         4.3338        3.4409        .13803        .10585E-03
   3  Normalizat    .60595        .47579E-01    .60603E-01    .23778E-04
   4  Prefactor     1.1293        .50272E-01    .36566E-01    .14302E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.21411
  Index      = 4.33379
  Normalizat = 0.60595
  Prefactor  = 1.12933
 **********
 **   18 **HESSE 
 **********

 FCN=   5364.396     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      325 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2141        25.181        .49987E-04   -1.5488    
   2  Index         4.3338        7.1253        .53706E-02   -.13364    
   3  Normalizat    .60595        .17832        .26811E-03   -1.0773    
   4  Prefactor     1.1293        .19044        .21399E-03   -.88535    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.36124e-10
Minuit parameter uncertainties:
  1  11.0634
  2  6.21608
  3  0.178492
  4  0.190556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/578032': 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) = 5364.39586923
delta logL = 1.04571662696

Extracting fit parameters...

4FGL J0956.7+2516
   Spectrum: PowerLaw
235    Prefactor:  1.214e+00  1.106e+01  1.000e-04  1.000e+04 ( 1.000e-12)
236        Index:  4.334e+00  6.216e+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.129e+00  1.906e-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:  6.060e-01  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.81
Ra Dec: 149.176 25.282
Photon Index (Free Index): 4.33 +/- 6.22
Photon Flux (Free Index): 7.66e-08 +/- 4.88e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.10e-05

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/578032/cmap_HighResolution_244252801_244512001_4FGL_J0956.7+2516_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', comment='SUCCESS', photon_flux='3.72e-08', energy_flux2='1.09e-05', photon_flux_error='3.48e-08', dlogl='1.05e+00', energy_flux='1.03e-05', photon_flux2='7.66e-08', job_status='DONE', time_completed='2021-09-01 06:08:17.228708', photon_index_error2='6.22', photon_index2='4.33', ts='1.55', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.10e-05', EG='0.66', time_epoch_completed='1630501697.23', return_code='0', job_id='578032', GAL2='1.13', EG2='0.61', return_code2='102', energy_flux_error='9.63e-06', photon_flux_error2='4.88e-08', ts2='3.81', photon_index='2.55' WHERE bin_id='19' AND source_name='4FGL J0956.7+2516' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:08:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 578032: <4FGL_J0956.7+2516_daily_bin19> in cluster <slac> Done

Job <4FGL_J0956.7+2516_daily_bin19> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 05:55:36 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 05:55:38 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:38 2021
Terminated at Wed Sep  1 06:08:18 2021
Results reported at Wed Sep  1 06:08:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0956.7+2516_daily_bin19 149.176 25.2817 244252801 244512001 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 :                                   547.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            762 sec.

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

