/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 118 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 = 7390
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin948
RA = 138.986, Dec = 29.553
tmin = 485049601, tmax = 485308801
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='108442', job_status='RUN', time_executed='2021-08-31 05:48:43.380296', time_epoch_executed='1630414123.38' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108442

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108442/ft1_4FGL_J0915.9+2933_daily_bin948.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108442/ft2_4FGL_J0915.9+2933_daily_bin948.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108442/ft1_4FGL_J0915.9+2933_daily_bin948.fits outfile=/scratch/kocevski/108442/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin948.fits ra=138.986 dec=29.553 rad=12.0 tmin=485049601.0 tmax=485308801.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 4.99
user 3.32
sys 1.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108442/ft2_4FGL_J0915.9+2933_daily_bin948.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/108442/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin948.fits evtable="EVENTS" outfile="/scratch/kocevski/108442/ft1_filtered_4FGL_J0915.9+2933_daily_bin948.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 1.89
user 0.33
sys 1.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108442/ft1_filtered_4FGL_J0915.9+2933_daily_bin948.fits" evtable="EVENTS" scfile=/scratch/kocevski/108442/ft2_4FGL_J0915.9+2933_daily_bin948.fits sctable="SC_DATA" outfile=/scratch/kocevski/108442/ltcube_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.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/108442/ft2_4FGL_J0915.9+2933_daily_bin948.fits
.....................!
real 13.76
user 11.73
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108442/ft1_filtered_4FGL_J0915.9+2933_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/108442/ft2_4FGL_J0915.9+2933_daily_bin948.fits sctable="SC_DATA" expcube=/scratch/kocevski/108442/ltcube_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.fits outfile=/scratch/kocevski/108442/expmap_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.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/108442/ltcube_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.fits
.....................!
real 196.10
user 187.82
sys 5.63

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/108442/ft1_filtered_4FGL_J0915.9+2933_daily_bin948.fits scfile=/scratch/kocevski/108442/ft2_4FGL_J0915.9+2933_daily_bin948.fits outfile=/scratch/kocevski/108442/cmap_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.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 1.68
user 0.38
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108442/ft1_filtered_4FGL_J0915.9+2933_daily_bin948.fits scfile=/scratch/kocevski/108442/ft2_4FGL_J0915.9+2933_daily_bin948.fits outfile=/scratch/kocevski/108442/cmap_HighResolution_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.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 1.69
user 0.38
sys 1.24

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .83979E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15480E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    .37357       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.618       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    9.9678       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5269       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7057       1.0000         .10000E-03   10000.    
    10 'norm      '    .89634       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.4431       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0763       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .78536E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5031       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1394       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98399       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95361       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=   5603.330     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2114 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79598E-01    .65919       -.14526E-06   -.13659E-03
   2  Prefactor     .10000E-03    7.5035        .16026E-07** at limit **
   3  norm          .37224        .73095       -.51526E-06   -.21427E-02
   4  Prefactor     18.636        14.005        .27236E-05    .76912E-04
   5  Prefactor     .10000E-03    6.2240        .16784E-06** at limit **
   6  norm          9.9759        38.575        .46378E-07   -.23821E-05
   7  Prefactor     3.5261        3.0898       -.56212E-07   -.27704E-03
   8  Prefactor     .10000E-03    8.8004       -.92369E-08** at limit **
   9  Prefactor     1.7077        3.4700       -.13965E-05   -.84422E-03
  10  norm          .89586        .90711        .78295E-07    .30498E-03
  11  Prefactor     .10000E-03    5.2100       -.42149E-06** at limit **
  12  Prefactor     .10000E-03    14.326       -.53457E-07** at limit **
  13  norm          3.4419        5.4176        .53429E-05   -.26896E-03
  14  Prefactor     .10000E-03    1.0107       -.39325E-07** at limit **
  15  Prefactor     1.0789        3.3033       -.86834E-06   -.10654E-02
  16  Prefactor     .10011E-03    27.474        .28502E-06** at limit **
  17  Prefactor     .10000E-03    44.757        .19885E-05** at limit **
  18  Prefactor     .10000E-03    2.2121       -.33362E-07** at limit **
  19  Prefactor     2.5020        6.3184        .27322E-05   -.44974E-03
  20  Prefactor     2.1403        2.3654       -.48045E-07   -.53443E-03
  21  Normalizat    .98389        .16526       -.43046E-06    .71170E-04
  22  Prefactor     .95384        .16180       -.17105E-06    .33795E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0795985
  Prefactor  = 0.000100004
  norm       = 0.372237
  Prefactor  = 18.6358
  Prefactor  = 0.0001
  norm       = 9.97595
  Prefactor  = 3.5261
  Prefactor  = 0.0001
  Prefactor  = 1.70766
  norm       = 0.895857
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.44189
  Prefactor  = 0.0001
  Prefactor  = 1.0789
  Prefactor  = 0.000100106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.50197
  Prefactor  = 2.14029
  Normalizat = 0.983895
  Prefactor  = 0.953836
 **********
 **   18 **HESSE 
 **********

 FCN=   5603.330     FROM HESSE     STATUS=OK           360 CALLS     2474 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79598E-01    3.8598        .11505E-02   -1.5652    
   2  Prefactor     .10000E-03    36.801        .39104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .37224        .72639        .83184E-04   -1.5586    
   4  Prefactor     18.636        13.877        .92823E-04   -1.4844    
   5  Prefactor     .10000E-03    6.2672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.9759        38.579        .12692E-03   -1.5076    
   7  Prefactor     3.5261        3.0862        .11905E-03   -1.5332    
   8  Prefactor     .10000E-03    8.8014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7077        3.5452        .19488E-03   -1.5447    
  10  norm          .89586        .92617        .69390E-04   -1.5519    
  11  Prefactor     .10000E-03    5.2236        .16693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4419        5.1387        .19981E-03   -1.5337    
  14  Prefactor     .10000E-03    1.0147        .73426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0789        3.3810        .22542E-03   -1.5500    
  16  Prefactor     .10011E-03    32.755        .10241       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    44.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2187        .10870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.5020        6.1519        .25829E-03   -1.5392    
  20  Prefactor     2.1403        2.3559        .11553E-03   -1.5415    
  21  Normalizat    .98389        .19316        .22165E-03   -.93572    
  22  Prefactor     .95384        .19010        .23114E-03   -.94285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55067e-08
Minuit parameter uncertainties:
  1  1.10795
  2  0.000750318
  3  0.72641
  4  13.8798
  5  5.64091e-06
  6  38.6755
  7  3.08638
  8  4.79339e-06
  9  3.54563
  10  0.926181
  11  4.48654e-05
  12  2.60525e-06
  13  5.13934
  14  4.51306e-06
  15  3.38158
  16  0.00373026
  17  8.06554e-06
  18  1.47012e-06
  19  6.15341
  20  2.35601
  21  0.1933
  22  0.190232
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.959e-01  9.262e-01  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:  9.538e-01  1.902e-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:  9.839e-01  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.71
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 9.07e-09 +/- 9.37e-09
Energy Flux (Fixed Index): 1.04e-05 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/108442/likelihoodResults_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.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) = 5603.13646254
delta logL = 0.193534210534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5603.1268594
delta logL = 0.203137353102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76237       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2332       1.0000          .0000       5.0000    
     3 'Normalizat'    .98816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95211       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=   5603.127     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      206 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76228        .84059        .12299E-01   -.35065E-03
   2  alpha         1.2332        .63151        .50000       -.25333E-04
   3  Normalizat    .98792        .15472        .46018E-01    .77242E-05
   4  Prefactor     .95235        .15977        .45666E-01    .81298E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.762279
  alpha      = 1.23318
  Normalizat = 0.987917
  Prefactor  = 0.952355
 **********
 **   18 **HESSE 
 **********

 FCN=   5603.127     FROM HESSE     STATUS=OK            35 CALLS      241 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76228        .90662        .64215E-03   -1.5533    
   2  alpha         1.2332        .73851        .19800E-01   -.53139    
   3  Normalizat    .98792        .18018        .22125E-03   -.93436    
   4  Prefactor     .95235        .18623        .23129E-03   -.94335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34731e-10
Minuit parameter uncertainties:
  1  0.906637
  2  0.753783
  3  0.180294
  4  0.18636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108442': 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) = 5603.12685843
delta logL = 0.203138317151

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.623e-01  9.066e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.233e+00  7.538e-01  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.524e-01  1.864e-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:  9.879e-01  1.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.11
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.23 +/- 0.75
Photon Flux (Free Index): 5.17e-09 +/- 6.61e-09
Energy Flux (Free Index): 2.36e-05 +/- 3.96e-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/108442/cmap_HighResolution_485049601_485308801_4FGL_J0915.9+2933_daily_bin948.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-05', comment='SUCCESS', photon_flux='9.07e-09', energy_flux2='2.36e-05', photon_flux_error='9.37e-09', dlogl='2.03e-01', energy_flux='1.04e-05', photon_flux2='5.17e-09', job_status='DONE', time_completed='2021-08-31 05:58:55.868234', photon_index_error2='0.75', photon_index2='1.23', ts='3.71', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='3.98e-08', energy_flux_error2='3.96e-05', EG='0.98', time_epoch_completed='1630414735.87', return_code='0', job_id='108442', GAL2='0.95', EG2='0.99', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='6.61e-09', ts2='4.11', photon_index='1.75' WHERE bin_id='948' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:58:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 108442: <4FGL_J0915.9+2933_daily_bin948> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin948> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:09 2021
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:11 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:46:11 2021
Terminated at Tue Aug 31 05:58:57 2021
Results reported at Tue Aug 31 05:58:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin948 138.986 29.553 485049601 485308801 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 :                                   614.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            768 sec.

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

