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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin155
RA = 138.986, Dec = 29.553
tmin = 279504001, tmax = 279763201
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='103361', job_status='RUN', time_executed='2021-08-31 05:33:42.270181', time_epoch_executed='1630413222.27' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103361

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103361/ft1_4FGL_J0915.9+2933_daily_bin155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103361/ft1_4FGL_J0915.9+2933_daily_bin155.fits outfile=/scratch/kocevski/103361/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin155.fits ra=138.986 dec=29.553 rad=12.0 tmin=279504001.0 tmax=279763201.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.60
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.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/103361/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin155.fits evtable="EVENTS" outfile="/scratch/kocevski/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.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.51
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/103361/ltcube_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.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/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits
.....................!
real 11.67
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/103361/ltcube_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.fits outfile=/scratch/kocevski/103361/expmap_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.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/103361/ltcube_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.fits
.....................!
real 190.45
user 185.53
sys 4.57

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/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.fits scfile=/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits outfile=/scratch/kocevski/103361/cmap_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.fits scfile=/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits outfile=/scratch/kocevski/103361/cmap_HighResolution_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.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/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/103361/ft2_4FGL_J0915.9+2933_daily_bin155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/103361/Model_4FGL_J0915.9+2933_daily_bin155.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/103361/ft1_filtered_4FGL_J0915.9+2933_daily_bin155.fits.....................!
real 52.48
user 51.28
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42278E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.2004       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .49449E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.946       1.0000         .10000E-03   10000.    
     6 'norm      '    17.296       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7177       1.0000         .10000E-03   10000.    
    10 'norm      '    3.3988       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4430       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .78969       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.069       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0841       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1658       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .14179E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0976       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84369       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=   5826.437     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2401 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .64762        .84867E-08** at limit **
   2  Prefactor     .10019E-03    10.251       -.14491E-05** at limit **
   3  norm          4.1997        1.1731        .31416E-07   -.19658E-03
   4  Prefactor     .10000E-03    43.128        .78015E-05** at limit **
   5  Prefactor     20.946        19.651        .65718E-07    .21995E-04
   6  norm          17.286        33.493       -.14228E-04   -.21757E-04
   7  Prefactor     .10000E-03    1.0514       -.30266E-08** at limit **
   8  Prefactor     .10000E-03    10.691        .11129E-06** at limit **
   9  Prefactor     4.7176        4.6742        .15386E-06   -.11814E-03
  10  norm          3.3988        1.9255       -.23116E-07    .14133E-04
  11  Prefactor     .10000E-03    9.2699       -.10256E-06** at limit **
  12  Prefactor     .10000E-03    47.822        .13849E-05** at limit **
  13  norm          .10000E-03    5.8562       -.24988E-08** at limit **
  14  Prefactor     3.4432        4.2750       -.23914E-06   -.13764E-04
  15  Prefactor     .79062        3.9338        .10015E-07   -.15220E-04
  16  Prefactor     34.069        34.906       -.89402E-07    .14099E-04
  17  Prefactor     .10000E-03    27.462       -.96109E-06** at limit **
  18  Prefactor     8.0839        7.4053        .65960E-08   -.12295E-04
  19  Prefactor     1.1676        1.6526        .12536E-07   -.36072E-03
  20  Prefactor     .10000E-03    1.7052       -.12657E-06** at limit **
  21  Normalizat    1.0978        .18595        .25264E-06    .10698E-03
  22  Prefactor     .84343        .16895        .77106E-06    .45563E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100189
  norm       = 4.19967
  Prefactor  = 0.0001
  Prefactor  = 20.9455
  norm       = 17.2858
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.71762
  norm       = 3.39876
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.44324
  Prefactor  = 0.790619
  Prefactor  = 34.0694
  Prefactor  = 0.0001
  Prefactor  = 8.08393
  Prefactor  = 1.1676
  Prefactor  = 0.0001
  Normalizat = 1.09777
  Prefactor  = 0.843425
 **********
 **   18 **HESSE 
 **********

 FCN=   5826.437     FROM HESSE     STATUS=OK           348 CALLS     2749 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .67133        .11968E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10019E-03    74.117        .46189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.1997        1.1639        .41555E-04   -1.5298    
   4  Prefactor     .10000E-03    45.109        .42326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.946        19.671        .87517E-04   -1.4792    
   6  norm          17.286        33.618        .96304E-04   -1.4876    
   7  Prefactor     .10000E-03    1.0538        .76426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.7176        4.6828        .75974E-03   -1.5274    
  10  norm          3.3988        1.9155        .76036E-04   -1.5339    
  11  Prefactor     .10000E-03    9.2868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    47.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.9099        .18019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4432        4.2503        .16043E-03   -1.5337    
  15  Prefactor     .79062        3.8361        .27954E-03   -1.5530    
  16  Prefactor     34.069        34.790        .68654E-04   -1.4540    
  17  Prefactor     .10000E-03    27.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.0839        7.3856        .70506E-03   -1.5139    
  19  Prefactor     1.1676        15.256        .21293E-02   -1.5492    
  20  Prefactor     .10000E-03    5.5275        .18803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0978        .21157        .23891E-03   -.89823    
  22  Prefactor     .84343        .19291        .25652E-03   -.98147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21423e-09
Minuit parameter uncertainties:
  1  6.91331e-07
  2  0.0074881
  3  1.16389
  4  0.000208815
  5  19.6773
  6  33.6547
  7  7.19591e-07
  8  1.5286e-06
  9  4.68313
  10  1.91553
  11  3.07666e-06
  12  0.000111321
  13  3.05494e-06
  14  4.25064
  15  3.48318
  16  34.8107
  17  4.69963e-06
  18  7.38639
  19  8.4434
  20  2.14584e-05
  21  0.21173
  22  0.193064
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.399e+00  1.916e+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.434e-01  1.931e-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.098e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.47
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.44e-08 +/- 1.94e-08
Energy Flux (Fixed Index): 3.95e-05 +/- 2.23e-05

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) = 5825.44598055
delta logL = 0.990892912479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5825.23537498
delta logL = 1.20149848049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7891       1.0000         .10000E-03   10000.    
     2 'alpha     '    .98561       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85011       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=   5825.235     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      202 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7891        1.3390        .78184E-02    .35890E-02
   2  alpha         .98544        .35172        .26244       -.18181E-04
   3  Normalizat    1.1080        .17136        .53870E-01    .50670E-05
   4  Prefactor     .85007        .16447        .44366E-01    .94393E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78911
  alpha      = 0.985441
  Normalizat = 1.108
  Prefactor  = 0.850072
 **********
 **   18 **HESSE 
 **********

 FCN=   5825.235     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7891        2.0933        .63994E-04   -1.5440    
   2  alpha         .98544        .55331        .11372E-02   -.65080    
   3  Normalizat    1.1080        .20011        .23819E-03   -.89495    
   4  Prefactor     .85007        .19237        .25596E-03   -.97908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.85844e-09
Minuit parameter uncertainties:
  1  2.09341
  2  0.56071
  3  0.200245
  4  0.192519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103361': 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) = 5825.23537475
delta logL = 1.20149871983

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.789e+00  2.093e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  9.854e-01  5.607e-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:  8.501e-01  1.925e-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.108e+00  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.87
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.99 +/- 0.56
Photon Flux (Free Index): 1.25e-08 +/- 1.20e-08
Energy Flux (Free Index): 1.08e-04 +/- 9.94e-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/103361/cmap_HighResolution_279504001_279763201_4FGL_J0915.9+2933_daily_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.44e-08', energy_flux2='1.08e-04', photon_flux_error='1.94e-08', dlogl='1.20e+00', energy_flux='3.95e-05', photon_flux2='1.25e-08', job_status='DONE', time_completed='2021-08-31 05:42:45.197540', photon_index_error2='0.56', photon_index2='0.99', ts='25.47', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='9.94e-05', EG='1.10', time_epoch_completed='1630413765.2', return_code='0', job_id='103361', GAL2='0.85', EG2='1.11', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='1.20e-08', ts2='27.87', photon_index='1.75' WHERE bin_id='155' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:42:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 103361: <4FGL_J0915.9+2933_daily_bin155> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin155 138.986 29.553 279504001 279763201 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 :                                   535.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            709 sec.

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

