/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 29 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_J0915.9+2933_daily_bin19
RA = 138.986, Dec = 29.553
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='102307', job_status='RUN', time_executed='2021-08-31 05:29:47.290717', time_epoch_executed='1630412987.29' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102307

Creating custom pfile directory:
/scratch/kocevski/102307/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/102307/ft1_4FGL_J0915.9+2933_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/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102307/ft1_4FGL_J0915.9+2933_daily_bin19.fits outfile=/scratch/kocevski/102307/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin19.fits ra=138.986 dec=29.553 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 10.67
user 2.19
sys 8.38

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_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/102307/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_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 8.95
user 0.34
sys 8.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/102307/ltcube_244252801_244512001_4FGL_J0915.9+2933_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/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits
.....................!
real 22.12
user 12.23
sys 9.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/102307/ltcube_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.fits outfile=/scratch/kocevski/102307/expmap_244252801_244512001_4FGL_J0915.9+2933_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/102307/ltcube_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.fits
.....................!
real 202.82
user 186.20
sys 14.70

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

Setting source of interest to:
4FGL J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits scfile=/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits outfile=/scratch/kocevski/102307/cmap_244252801_244512001_4FGL_J0915.9+2933_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=138.986 yref=29.553 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 8.35
user 0.37
sys 7.87

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits scfile=/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits outfile=/scratch/kocevski/102307/cmap_HighResolution_244252801_244512001_4FGL_J0915.9+2933_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=138.986 yref=29.553 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 8.60
user 0.39
sys 8.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/102307/Model_4FGL_J0915.9+2933_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/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits.....................!
real 66.21
user 54.09
sys 11.78

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits', '/scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits', expMap='/scratch/kocevski/102307/expmap_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.fits', expCube='/scratch/kocevski/102307/ltcube_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/102307/Model_4FGL_J0915.9+2933_daily_bin19.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.9+2933'

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.063e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/102307/ft1_filtered_4FGL_J0915.9+2933_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/102307/ft2_4FGL_J0915.9+2933_daily_bin19.fits
Exposure map: /scratch/kocevski/102307/expmap_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.fits
Exposure cube: /scratch/kocevski/102307/ltcube_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/102307/Model_4FGL_J0915.9+2933_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) = 6107.35918138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4280       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2397       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.789       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.284       1.0000         .10000E-03   10000.    
     6 'norm      '    9.9163       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6667       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.981       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7584       1.0000         .10000E-03   10000.    
    10 'norm      '    .34984       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .55148       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.2457       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.7913       1.0000         .10000E-03   10000.    
    16 'Prefactor '    52.920       1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.271       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9023       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.899       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .93142       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80803       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0163       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6107.348     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     2015 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4280        1.2608       -.32843E-07    .33460E-04
   2  Prefactor     .10000E-03    4.6754        .34022E-06** at limit **
   3  norm          2.2397        .84045       -.45911E-07   -.70938E-04
   4  Prefactor     16.790        2.2577        .33661E-07    .69688E-02
   5  Prefactor     22.285        3.5853        .66585E-07    .77209E-02
   6  norm          9.9142        2.0164       -.81137E-07   -.15919E-02
   7  Prefactor     2.6666        3.0264       -.48927E-07    .42912E-04
   8  Prefactor     30.056        38.355        .12661E-05   -.16344E-02
   9  Prefactor     5.7619        4.8275       -.65539E-07    .14524E-03
  10  norm          .34993        1.9750       -.29054E-06   -.44003E-04
  11  Prefactor     .37615        397.80       -.44291E-05   -.32660E-04
  12  Prefactor     .10000E-03    20.726        .11490E-05** at limit **
  13  norm          8.2749        9.5358        .11909E-05    .47722E-03
  14  Prefactor     .10000E-03    1.3189        .18554E-06** at limit **
  15  Prefactor     3.7911        3.4606       -.32520E-06   -.10092E-03
  16  Prefactor     52.917        2.6739       -.61497E-07   -.18810E-02
  17  Prefactor     15.251        4.6385       -.22380E-06   -.72511E-03
  18  Prefactor     6.9021        6.1653       -.66898E-06    .28905E-03
  19  Prefactor     12.898        1.0612       -.17080E-07   -.17385E-02
  20  Prefactor     .93159        1.1830       -.20975E-07    .49971E-05
  21  Normalizat    .80807        .19439        .25308E-05    .16164E-03
  22  Prefactor     1.0163        .18791       -.89005E-06    .12588E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.42797
  Prefactor  = 0.0001
  norm       = 2.23966
  Prefactor  = 16.7901
  Prefactor  = 22.2848
  norm       = 9.91422
  Prefactor  = 2.66657
  Prefactor  = 30.0558
  Prefactor  = 5.7619
  norm       = 0.34993
  Prefactor  = 0.376145
  Prefactor  = 0.0001
  norm       = 8.2749
  Prefactor  = 0.0001
  Prefactor  = 3.79107
  Prefactor  = 52.9174
  Prefactor  = 15.2512
  Prefactor  = 6.9021
  Prefactor  = 12.8978
  Prefactor  = 0.931591
  Normalizat = 0.808075
  Prefactor  = 1.01628
 **********
 **   18 **HESSE 
 **********

 FCN=   6107.348     FROM HESSE     STATUS=OK           402 CALLS     2417 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4280        1.2644        .65658E-02   -1.5396    
   2  Prefactor     .10000E-03    4.6513        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2397        .86926        .68658E-02   -1.5409    
   4  Prefactor     16.790        12.561        .24437E-02   -1.4888    
   5  Prefactor     22.285        15.948        .21213E-02   -1.4763    
   6  norm          9.9142        19.277        .31812E-02   -1.5078    
   7  Prefactor     2.6666        3.0438        .62395E-02   -1.5381    
   8  Prefactor     30.056        40.377        .18293E-02   -1.4611    
   9  Prefactor     5.7619        4.8728        .41844E-02   -1.5228    
  10  norm          .34993        1.9762        .10642E-01   -1.5590    
  11  Prefactor     .37615        24.348        .11479       -1.5585    
  12  Prefactor     .10000E-03    20.710        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.2749        9.1827        .34904E-02   -1.5133    
  14  Prefactor     .10000E-03    1.3132        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.7911        3.5274        .51829E-02   -1.5319    
  16  Prefactor     52.917        30.188        .13784E-02   -1.4252    
  17  Prefactor     15.251        35.832        .25623E-02   -1.4927    
  18  Prefactor     6.9021        6.2206        .38177E-02   -1.5182    
  19  Prefactor     12.898        9.0582        .27883E-02   -1.4990    
  20  Prefactor     .93159        1.4107        .21839E-01   -1.5515    
  21  Normalizat    .80807        .17513        .43715E-01   -.99770    
  22  Prefactor     1.0163        .16485        .42531E-01   -.92189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52118e-07
Minuit parameter uncertainties:
  1  1.26443
  2  9.07251e-06
  3  0.869268
  4  12.5631
  5  15.9513
  6  19.2887
  7  3.04394
  8  40.4142
  9  4.87315
  10  1.663
  11  6.05438
  12  4.92104e-05
  13  9.18422
  14  2.66682e-06
  15  3.5276
  16  30.1968
  17  35.8824
  18  6.22118
  19  9.05913
  20  1.41077
  21  0.175257
  22  0.164936
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.499e-01  1.663e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.016e+00  1.649e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.081e-01  1.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/102307/likelihoodResults_244252801_244512001_4FGL_J0915.9+2933_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): 102
logL (Free Index) = 6106.21036766
delta logL = 1.13713440438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6106.13178275
delta logL = 1.21571931332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50521       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1700       1.0000          .0000       5.0000    
     3 'Normalizat'    .74734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0411       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6106.132     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      220 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50494        5.2001        .87171E-02    .19031E-02
   2  alpha         3.1708        3.7749        .26488        .94645E-04
   3  Normalizat    .74725        .41126E-01    .42919E-01    .35230E-04
   4  Prefactor     1.0411        .40220E-01    .40462E-01    .46303E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.504941
  alpha      = 3.17077
  Normalizat = 0.747246
  Prefactor  = 1.04109
 **********
 **   18 **HESSE 
 **********

 FCN=   6106.132     FROM HESSE     STATUS=OK            35 CALLS      255 TOTAL
                     EDM=   .89E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50494        4.6600        .39627E-03   -1.5566    
   2  alpha         3.1708        3.9294        .97403E-02    .27164    
   3  Normalizat    .74725        .20913        .26765E-03   -1.0206    
   4  Prefactor     1.0411        .20247        .23089E-03   -.91372    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85001e-11
Minuit parameter uncertainties:
  1  3.06792
  2  3.2212
  3  0.209355
  4  0.202623
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102307': 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) = 6106.13178159
delta logL = 1.21572047503

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.049e-01  3.068e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.171e+00  3.221e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.041e+00  2.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.472e-01  2.094e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.55
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.17 +/- 3.22
Photon Flux (Free Index): 6.38e-08 +/- 6.54e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.33e-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/102307/cmap_HighResolution_244252801_244512001_4FGL_J0915.9+2933_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.58e-05', comment='SUCCESS', energy_flux2='1.29e-05', dlogl='1.22e+00', photon_flux2='6.38e-08', job_status='DONE', time_completed='2021-08-31 05:41:45.799334', photon_index_error2='3.22', photon_index2='3.17', ts='0.05', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='4.86e-08', energy_flux_error2='1.33e-05', EG='0.81', time_epoch_completed='1630413705.8', return_code='0', job_id='102307', GAL2='1.04', EG2='0.75', return_code2='0', photon_flux_error2='6.54e-08', ts2='2.55', photon_index='1.75' WHERE bin_id='19' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:41:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 102307: <4FGL_J0915.9+2933_daily_bin19> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin19> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Aug 31 05:26:33 2021
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:26:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:26:38 2021
Terminated at Tue Aug 31 05:41:47 2021
Results reported at Tue Aug 31 05:41:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin19 138.986 29.553 244252801 244512001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.9+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   837.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             261.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            914 sec.

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

