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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin843
RA = 138.986, Dec = 29.553
tmin = 457833601, tmax = 458092801
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='108297', job_status='RUN', time_executed='2021-08-31 05:50:38.015477', time_epoch_executed='1630414238.02' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='843'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108297

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108297/ft1_4FGL_J0915.9+2933_daily_bin843.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108297/ft2_4FGL_J0915.9+2933_daily_bin843.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108297/ft1_4FGL_J0915.9+2933_daily_bin843.fits outfile=/scratch/kocevski/108297/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin843.fits ra=138.986 dec=29.553 rad=12.0 tmin=457833601.0 tmax=458092801.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.87
user 3.46
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108297/ft2_4FGL_J0915.9+2933_daily_bin843.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/108297/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin843.fits evtable="EVENTS" outfile="/scratch/kocevski/108297/ft1_filtered_4FGL_J0915.9+2933_daily_bin843.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.66
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108297/ft1_filtered_4FGL_J0915.9+2933_daily_bin843.fits" evtable="EVENTS" scfile=/scratch/kocevski/108297/ft2_4FGL_J0915.9+2933_daily_bin843.fits sctable="SC_DATA" outfile=/scratch/kocevski/108297/ltcube_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.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/108297/ft2_4FGL_J0915.9+2933_daily_bin843.fits
.....................!
real 11.83
user 11.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108297/ft1_filtered_4FGL_J0915.9+2933_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/108297/ft2_4FGL_J0915.9+2933_daily_bin843.fits sctable="SC_DATA" expcube=/scratch/kocevski/108297/ltcube_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.fits outfile=/scratch/kocevski/108297/expmap_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.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/108297/ltcube_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.fits
.....................!
real 191.83
user 184.75
sys 5.10

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/108297/ft1_filtered_4FGL_J0915.9+2933_daily_bin843.fits scfile=/scratch/kocevski/108297/ft2_4FGL_J0915.9+2933_daily_bin843.fits outfile=/scratch/kocevski/108297/cmap_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.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.05
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108297/ft1_filtered_4FGL_J0915.9+2933_daily_bin843.fits scfile=/scratch/kocevski/108297/ft2_4FGL_J0915.9+2933_daily_bin843.fits outfile=/scratch/kocevski/108297/cmap_HighResolution_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.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.31
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.990       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2872       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.378       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9653       1.0000         .10000E-03   10000.    
     6 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.6791       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0572       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.294       1.0000         .10000E-03   10000.    
    13 'norm      '    11.605       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12248E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.501       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20848       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .73925       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2723       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=   6135.640     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2357 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29725        .69712E-08** at limit **
   2  Prefactor     15.991        11.874        .75601E-08   -.15240E-04
   3  norm          1.2872        .91931        .24180E-07   -.97886E-04
   4  Prefactor     25.376        16.860        .50735E-07   -.76379E-05
   5  Prefactor     1.9687        31.680        .13124E-05   -.28835E-04
   6  norm          .10000E-03    19.675       -.12657E-06** at limit **
   7  Prefactor     .10000E-03    1.7912        .26262E-07** at limit **
   8  Prefactor     .10000E-03    10.975       -.75688E-06** at limit **
   9  Prefactor     9.6786        4.8207        .58960E-07   -.20022E-04
  10  norm          1.0574        1.1793        .21827E-08   -.17436E-04
  11  Prefactor     .10000E-03    10.950        .76626E-06** at limit **
  12  Prefactor     34.282        56.423       -.36669E-05   -.13383E-03
  13  norm          11.605        6.8863       -.14752E-07   -.82006E-04
  14  Prefactor     .10000E-03    1.7905       -.16958E-08** at limit **
  15  Prefactor     .10000E-03    1.9961       -.20863E-07** at limit **
  16  Prefactor     .10000E-03    65.153       -.11269E-06** at limit **
  17  Prefactor     .10000E-03    39.444        .13841E-06** at limit **
  18  Prefactor     12.497        8.1038        .27445E-06    .16394E-03
  19  Prefactor     .10000E-03    6.9918        .21951E-07** at limit **
  20  Prefactor     .20855        1.6674        .12165E-05   -.54438E-03
  21  Normalizat    .73936        .17008       -.45980E-06   -.61731E-04
  22  Prefactor     1.2721        .16961        .13592E-06   -.82395E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 15.9907
  norm       = 1.2872
  Prefactor  = 25.3764
  Prefactor  = 1.96865
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.6786
  norm       = 1.05735
  Prefactor  = 0.0001
  Prefactor  = 34.2822
  norm       = 11.6046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4971
  Prefactor  = 0.0001
  Prefactor  = 0.208553
  Normalizat = 0.739356
  Prefactor  = 1.27212
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.640     FROM HESSE     STATUS=OK           342 CALLS     2699 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .30039        .41689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.991        11.866        .10016E-03   -1.4908    
   3  norm          1.2872        .89970        .57443E-04   -1.5481    
   4  Prefactor     25.376        16.792        .79519E-04   -1.4700    
   5  Prefactor     1.9687        31.853        .29584E-03   -1.5427    
   6  norm          .10000E-03    19.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8161        .10233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.6786        4.8178        .11569E-03   -1.5086    
  10  norm          1.0574        1.1602        .87087E-04   -1.5502    
  11  Prefactor     .10000E-03    11.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.282        60.430        .68429E-04   -1.4536    
  13  norm          11.605        6.8917        .11760E-03   -1.5027    
  14  Prefactor     .10000E-03    1.8241        .10217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8054        .21211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    65.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    39.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.497        8.1550        .11329E-03   -1.5001    
  19  Prefactor     .10000E-03    7.0754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .20855        1.9416        .20798E-03   -1.5617    
  21  Normalizat    .73936        .19555        .26863E-03   -1.0236    
  22  Prefactor     1.2721        .19762        .22164E-03   -.84140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88348e-10
Minuit parameter uncertainties:
  1  1.09351e-07
  2  11.8681
  3  0.899714
  4  16.7949
  5  15.8473
  6  4.26721e-06
  7  7.02863e-07
  8  9.31527e-05
  9  4.81801
  10  1.1602
  11  9.08672e-05
  12  60.5381
  13  6.8922
  14  1.38267e-07
  15  2.73792e-05
  16  8.98456e-05
  17  2.42812e-05
  18  8.15576
  19  3.36298e-07
  20  1.27243
  21  0.195739
  22  0.19774
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.057e+00  1.160e+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.272e+00  1.977e-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.394e-01  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.06
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.07e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.35e-05

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

Saving results to:
/scratch/kocevski/108297/likelihoodResults_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.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) = 6135.44792409
delta logL = 0.192378898889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6135.43181579
delta logL = 0.208487197953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85359       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4103       1.0000          .0000       5.0000    
     3 'Normalizat'    .72247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2804       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=   6135.432     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      238 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85367        12.950        .12638E-01    .27415E-03
   2  alpha         2.4097        3.7043        .41185        .28664E-04
   3  Normalizat    .72239        .40379E-01    .61454E-01    .23039E-04
   4  Prefactor     1.2805        .38267E-01    .49995E-01    .54278E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.853672
  alpha      = 2.40969
  Normalizat = 0.722393
  Prefactor  = 1.28048
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.432     FROM HESSE     STATUS=OK            33 CALLS      271 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85367        1.2180        .68849E-04   -1.5523    
   2  alpha         2.4097        1.1450        .14369E-01   -.36131E-01
   3  Normalizat    .72239        .19103        .27184E-03   -1.0302    
   4  Prefactor     1.2805        .19791        .22101E-03   -.83889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84067e-12
Minuit parameter uncertainties:
  1  1.218
  2  1.18944
  3  0.191211
  4  0.19803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108297': 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) = 6135.43181537
delta logL = 0.208487624212

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.537e-01  1.218e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.410e+00  1.189e+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.280e+00  1.980e-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.224e-01  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.41 +/- 1.19
Photon Flux (Free Index): 2.41e-08 +/- 3.54e-08
Energy Flux (Free Index): 8.55e-06 +/- 8.67e-06

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/108297/cmap_HighResolution_457833601_458092801_4FGL_J0915.9+2933_daily_bin843.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-05', comment='SUCCESS', photon_flux='1.07e-08', energy_flux2='8.55e-06', photon_flux_error='1.17e-08', dlogl='2.08e-01', energy_flux='1.23e-05', photon_flux2='2.41e-08', job_status='DONE', time_completed='2021-08-31 06:01:16.928370', photon_index_error2='1.19', photon_index2='2.41', ts='2.06', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='4.63e-08', energy_flux_error2='8.67e-06', EG='0.74', time_epoch_completed='1630414876.93', return_code='0', job_id='108297', GAL2='1.28', EG2='0.72', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='3.54e-08', ts2='2.48', photon_index='1.75' WHERE bin_id='843' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:01:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 108297: <4FGL_J0915.9+2933_daily_bin843> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin843> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:45:59 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:01 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:01 2021
Terminated at Tue Aug 31 06:01:17 2021
Results reported at Tue Aug 31 06:01:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin843 138.986 29.553 457833601 458092801 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 :                                   611.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

