/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 109 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin173
RA = 138.986, Dec = 29.553
tmin = 284169601, tmax = 284428801
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='103379', job_status='RUN', time_executed='2021-08-31 05:33:17.135704', time_epoch_executed='1630413197.14' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='173'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103379

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103379/ft1_4FGL_J0915.9+2933_daily_bin173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103379/ft1_4FGL_J0915.9+2933_daily_bin173.fits outfile=/scratch/kocevski/103379/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin173.fits ra=138.986 dec=29.553 rad=12.0 tmin=284169601.0 tmax=284428801.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.93
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.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/103379/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin173.fits evtable="EVENTS" outfile="/scratch/kocevski/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.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.61
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits" evtable="EVENTS" scfile=/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits sctable="SC_DATA" outfile=/scratch/kocevski/103379/ltcube_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.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/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits
.....................!
real 11.66
user 11.35
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits sctable="SC_DATA" expcube=/scratch/kocevski/103379/ltcube_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.fits outfile=/scratch/kocevski/103379/expmap_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.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/103379/ltcube_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.fits
.....................!
real 193.33
user 187.01
sys 4.78

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/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits scfile=/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits outfile=/scratch/kocevski/103379/cmap_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.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 0.55
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits scfile=/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits outfile=/scratch/kocevski/103379/cmap_HighResolution_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.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 0.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/103379/Model_4FGL_J0915.9+2933_daily_bin173.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/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits....................!
real 52.33
user 51.00
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits', '/scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits', expMap='/scratch/kocevski/103379/expmap_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.fits', expCube='/scratch/kocevski/103379/ltcube_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/103379/Model_4FGL_J0915.9+2933_daily_bin173.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/103379/ft1_filtered_4FGL_J0915.9+2933_daily_bin173.fits
Spacecraft file(s): /scratch/kocevski/103379/ft2_4FGL_J0915.9+2933_daily_bin173.fits
Exposure map: /scratch/kocevski/103379/expmap_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.fits
Exposure cube: /scratch/kocevski/103379/ltcube_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/103379/Model_4FGL_J0915.9+2933_daily_bin173.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) = 5766.53392449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0231       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2128       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0739       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.869       1.0000         .10000E-03   10000.    
     6 'norm      '    67.980       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.2560       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6543       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    134.83       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17834       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1630       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89197       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5766.532     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2369 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0212        1.7029        .72074E-06    .37283E-03
   2  Prefactor     1.2125        68.556       -.15958E-04   -.17859E-03
   3  norm          1.0739        .67559        .11905E-06    .41751E-03
   4  Prefactor     .10000E-03    10.066       -.16880E-06** at limit **
   5  Prefactor     14.865        14.870       -.89986E-06    .22164E-04
   6  norm          67.980        37.921       -.14308E-05    .20727E-04
   7  Prefactor     .10000E-03    1.9377       -.21093E-07** at limit **
   8  Prefactor     .10000E-03    19.619       -.28614E-06** at limit **
   9  Prefactor     .10000E-03    4.1722       -.16013E-07** at limit **
  10  norm          2.2556        1.9622        .25229E-07   -.24720E-03
  11  Prefactor     .10000E-03    20.128        .58829E-05** at limit **
  12  Prefactor     .10000E-03    18.307       -.81167E-05** at limit **
  13  norm          3.6527        7.1023       -.78424E-06   -.30288E-03
  14  Prefactor     .10000E-03    2.1198        .67962E-08** at limit **
  15  Prefactor     .10000E-03    4.2092        .46765E-07** at limit **
  16  Prefactor     .10000E-03    15.340        .26922E-05** at limit **
  17  Prefactor     134.87        87.908        .32754E-04    .89892E-04
  18  Prefactor     .11974        6.6379       -.32656E-05    .10998E-03
  19  Prefactor     .10000E-03    2.4179        .26881E-07** at limit **
  20  Prefactor     .10000E-03    2.1068        .84539E-07** at limit **
  21  Normalizat    1.1632        .17836        .34684E-06    .37763E-03
  22  Prefactor     .89189        .16961       -.15645E-05    .39058E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.02119
  Prefactor  = 1.21248
  norm       = 1.07386
  Prefactor  = 0.0001
  Prefactor  = 14.865
  norm       = 67.9795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.25564
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.65271
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 134.868
  Prefactor  = 0.119737
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1632
  Prefactor  = 0.891892
 **********
 **   18 **HESSE 
 **********

 FCN=   5766.532     FROM HESSE     STATUS=OK           342 CALLS     2711 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0212        1.5668        .10954E-03   -1.5506    
   2  Prefactor     1.2125        64.165        .41055E-03   -1.5488    
   3  norm          1.0739        .67118        .47594E-04   -1.5501    
   4  Prefactor     .10000E-03    10.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.865        14.892        .10387E-03   -1.4937    
   6  norm          67.980        37.937        .48681E-04   -1.4057    
   7  Prefactor     .10000E-03    1.9593        .10319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    19.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.2719        .30261E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2556        1.9499        .95603E-04   -1.5408    
  11  Prefactor     .10000E-03    20.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6527        7.0985        .21131E-03   -1.5326    
  14  Prefactor     .10000E-03    2.1380        .10781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.3385        .30357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     134.87        87.216        .17342E-03   -1.3380    
  18  Prefactor     .11974        7.8934        .54023E-01   -1.5639    
  19  Prefactor     .10000E-03    2.4200        .11532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.1975        .21495E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1632        .20875        .23416E-03   -.87748    
  22  Prefactor     .89189        .19825        .25422E-03   -.96425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86983e-09
Minuit parameter uncertainties:
  1  1.56685
  2  17.6599
  3  0.671185
  4  3.27203e-05
  5  14.8958
  6  37.9508
  7  3.5565e-06
  8  8.55229e-06
  9  9.05703e-06
  10  1.95
  11  3.30699e-05
  12  1.4452e-06
  13  7.10012
  14  5.39445e-06
  15  3.39762e-06
  16  2.07647e-05
  17  87.2991
  18  1.94381
  19  5.90975e-07
  20  6.09655e-06
  21  0.208901
  22  0.198409
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.256e+00  1.950e+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:  8.919e-01  1.984e-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:  1.163e+00  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.23
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.28e-08 +/- 1.97e-08
Energy Flux (Fixed Index): 2.62e-05 +/- 2.27e-05

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

Saving results to:
/scratch/kocevski/103379/likelihoodResults_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.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) = 5765.27552071
delta logL = 1.25622021398

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5765.24523541
delta logL = 1.28650552063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92761       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1134       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94926       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=   5765.245     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      239 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92651        7.2245        .88452E-02    .10171E-02
   2  alpha         3.1141        3.7572        .20973        .91819E-04
   3  Normalizat    1.0630        .56536E-01    .39750E-01    .77306E-04
   4  Prefactor     .94940        .51151E-01    .45630E-01    .13634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.926506
  alpha      = 3.1141
  Normalizat = 1.06304
  Prefactor  = 0.949396
 **********
 **   18 **HESSE 
 **********

 FCN=   5765.245     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92651        3.4593        .39623E-04   -1.5515    
   2  alpha         3.1141        1.8672        .81777E-02    .24818    
   3  Normalizat    1.0630        .24701        .24301E-03   -.90948    
   4  Prefactor     .94940        .22659        .24709E-03   -.94436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87859e-11
Minuit parameter uncertainties:
  1  3.46
  2  2.13157
  3  0.247279
  4  0.226815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103379': 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) = 5765.24523501
delta logL = 1.28650591892

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.265e-01  3.460e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.114e+00  2.132e+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:  9.494e-01  2.268e-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:  1.063e+00  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.91
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.11 +/- 2.13
Photon Flux (Free Index): 1.04e-07 +/- 9.74e-08
Energy Flux (Free Index): 2.15e-05 +/- 1.37e-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/103379/cmap_HighResolution_284169601_284428801_4FGL_J0915.9+2933_daily_bin173.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-05', comment='SUCCESS', photon_flux='2.28e-08', energy_flux2='2.15e-05', photon_flux_error='1.97e-08', dlogl='1.29e+00', energy_flux='2.62e-05', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-08-31 05:43:04.861224', photon_index_error2='2.13', photon_index2='3.11', ts='2.23', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='7.02e-08', energy_flux_error2='1.37e-05', EG='1.16', time_epoch_completed='1630413784.86', return_code='0', job_id='103379', GAL2='0.95', EG2='1.06', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='9.74e-08', ts2='4.91', photon_index='1.75' WHERE bin_id='173' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:43:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 103379: <4FGL_J0915.9+2933_daily_bin173> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin173> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:30:58 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:31:00 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:31:00 2021
Terminated at Tue Aug 31 05:43:05 2021
Results reported at Tue Aug 31 05:43:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin173 138.986 29.553 284169601 284428801 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 :                                   582.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             292.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            727 sec.

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

