/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 198 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 = 7378
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin29
RA = 138.986, Dec = 29.553
tmin = 246844801, tmax = 247104001
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='102321', job_status='RUN', time_executed='2021-08-31 05:30:13.080505', time_epoch_executed='1630413013.08' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='29'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/102321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/102321/ft1_4FGL_J0915.9+2933_daily_bin29.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/102321/ft2_4FGL_J0915.9+2933_daily_bin29.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/102321/ft1_4FGL_J0915.9+2933_daily_bin29.fits outfile=/scratch/kocevski/102321/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin29.fits ra=138.986 dec=29.553 rad=12.0 tmin=246844801.0 tmax=247104001.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 1.40
user 1.24
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/102321/ft1_filtered_4FGL_J0915.9+2933_daily_bin29.fits" evtable="EVENTS" scfile=/scratch/kocevski/102321/ft2_4FGL_J0915.9+2933_daily_bin29.fits sctable="SC_DATA" outfile=/scratch/kocevski/102321/ltcube_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.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/102321/ft2_4FGL_J0915.9+2933_daily_bin29.fits
.....................!
real 12.60
user 12.28
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/102321/ft1_filtered_4FGL_J0915.9+2933_daily_bin29.fits evtable="EVENTS" scfile=/scratch/kocevski/102321/ft2_4FGL_J0915.9+2933_daily_bin29.fits sctable="SC_DATA" expcube=/scratch/kocevski/102321/ltcube_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.fits outfile=/scratch/kocevski/102321/expmap_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.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/102321/ltcube_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.fits
.....................!
real 190.06
user 185.66
sys 3.95

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/102321/ft1_filtered_4FGL_J0915.9+2933_daily_bin29.fits scfile=/scratch/kocevski/102321/ft2_4FGL_J0915.9+2933_daily_bin29.fits outfile=/scratch/kocevski/102321/cmap_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.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 3.45
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/102321/ft1_filtered_4FGL_J0915.9+2933_daily_bin29.fits scfile=/scratch/kocevski/102321/ft2_4FGL_J0915.9+2933_daily_bin29.fits outfile=/scratch/kocevski/102321/cmap_HighResolution_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.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.52
user 0.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18302       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .67777E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.504       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    90.184       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7382       1.0000         .10000E-03   10000.    
    10 'norm      '    .56853       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.9381       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6435       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0248       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4691       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1002       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1016       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=   8858.883     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2074 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18295        .67258       -.56840E-06   -.11921E-02
   2  Prefactor     .10000E-03    3.8752       -.72390E-06** at limit **
   3  norm          .10009E-03    .26806        .10774E-05** at limit **
   4  Prefactor     31.476        15.506       -.92020E-05   -.16282E-03
   5  Prefactor     .10000E-03    8.9680        .33151E-06** at limit **
   6  norm          90.185        39.674        .20859E-05   -.19202E-03
   7  Prefactor     .10000E-03    1.3795       -.56460E-07** at limit **
   8  Prefactor     .10000E-03    20.129        .53411E-05** at limit **
   9  Prefactor     2.7385        3.2556        .18755E-05   -.12499E-02
  10  norm          .56811        1.2164       -.26142E-06   -.17248E-02
  11  Prefactor     .10000E-03    4.0909        .67187E-06** at limit **
  12  Prefactor     7.9409        29.488        .60481E-05   -.89866E-04
  13  norm          .10000E-03    2.0684       -.89257E-07** at limit **
  14  Prefactor     .10000E-03    1.1972       -.11047E-06** at limit **
  15  Prefactor     3.6454        4.2268       -.77523E-06   -.64084E-03
  16  Prefactor     .10000E-03    17.201        .12653E-05** at limit **
  17  Prefactor     .10000E-03    16.192       -.37913E-05** at limit **
  18  Prefactor     .10000E-03    2.7375        .92770E-07** at limit **
  19  Prefactor     4.0250        4.8739       -.17243E-06   -.91047E-04
  20  Prefactor     5.4693        2.4694        .43994E-07   -.39899E-03
  21  Normalizat    1.1001        .14975        .86123E-06   -.53922E-03
  22  Prefactor     1.1016        .14563        .57884E-06   -.52099E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.182954
  Prefactor  = 0.0001
  norm       = 0.000100095
  Prefactor  = 31.476
  Prefactor  = 0.0001
  norm       = 90.1847
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.7385
  norm       = 0.568105
  Prefactor  = 0.0001
  Prefactor  = 7.94087
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.6454
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.02501
  Prefactor  = 5.46926
  Normalizat = 1.10014
  Prefactor  = 1.10163
 **********
 **   18 **HESSE 
 **********

 FCN=   8858.883     FROM HESSE     STATUS=OK           350 CALLS     2424 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18295        1.0921        .14234E-02   -1.5622    
   2  Prefactor     .10000E-03    3.8810        .18083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10009E-03    .94490        .15407E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.476        16.766        .71387E-04   -1.4585    
   5  Prefactor     .10000E-03    9.0200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          90.185        39.651        .42313E-04   -1.3806    
   7  Prefactor     .10000E-03    1.3979        .10792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.7385        3.2101        .17720E-03   -1.5377    
  10  norm          .56811        .98229        .14359E-02   -1.5557    
  11  Prefactor     .10000E-03    4.0922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.9409        29.425        .14231E-03   -1.5144    
  13  norm          .10000E-03    2.0766        .13218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.2118        .10051E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.6454        4.1824        .18719E-03   -1.5326    
  16  Prefactor     .10000E-03    17.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7682        .15201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0250        4.8736        .20101E-03   -1.5307    
  20  Prefactor     5.4693        2.4704        .95126E-04   -1.5240    
  21  Normalizat    1.1001        .17844        .24914E-03   -.89747    
  22  Prefactor     1.1016        .17342        .24992E-03   -.89414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98738e-09
Minuit parameter uncertainties:
  1  0.89375
  2  2.84936e-05
  3  0.000599161
  4  16.7682
  5  1.18898e-06
  6  39.6627
  7  2.43996e-06
  8  0.000372439
  9  3.21033
  10  0.982316
  11  3.05735e-05
  12  29.4784
  13  7.31405e-06
  14  1.07238e-05
  15  4.18272
  16  8.11386e-05
  17  0.000185553
  18  9.10202e-06
  19  4.87409
  20  2.4704
  21  0.178533
  22  0.173509
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.681e-01  9.823e-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:  1.102e+00  1.735e-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.100e+00  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/102321/likelihoodResults_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8858.25605935
delta logL = 0.627383780193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8858.25026798
delta logL = 0.633175146824

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37267       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1613       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1261       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=   8858.250     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37265        4.2282        .10535E-01    .30877E-02
   2  alpha         3.1613        3.8192        .25888        .78170E-04
   3  Normalizat    1.0522        .32035E-01    .40414E-01    .14573E-04
   4  Prefactor     1.1261        .31893E-01    .55955E-01    .99692E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.372653
  alpha      = 3.16133
  Normalizat = 1.05217
  Prefactor  = 1.12612
 **********
 **   18 **HESSE 
 **********

 FCN=   8858.250     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      261 TOTAL
                     EDM=   .97E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37265        12.716        .48594E-03   -1.5586    
   2  alpha         3.1613        3.6369        .13935E-01    .26772    
   3  Normalizat    1.0522        .19807        .25376E-03   -.91303    
   4  Prefactor     1.1261        .17757        .24742E-03   -.88636    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.67959e-07
Minuit parameter uncertainties:
  1  4.35407
  2  6.52946
  3  0.198211
  4  0.177669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/102321': 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): 102
logL (Free Index) = 8858.25026798
delta logL = 0.633175154899

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.727e-01  4.354e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.161e+00  6.529e+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.126e+00  1.777e-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.052e+00  1.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.83
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.16 +/- 6.53
Photon Flux (Free Index): 4.61e-08 +/- 9.97e-08
Energy Flux (Free Index): 9.36e-06 +/- 1.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/102321/cmap_HighResolution_246844801_247104001_4FGL_J0915.9+2933_daily_bin29.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.20e-05', comment='SUCCESS', energy_flux2='9.36e-06', dlogl='6.33e-01', photon_flux2='4.61e-08', job_status='DONE', time_completed='2021-08-31 05:41:56.765792', photon_index_error2='6.53', photon_index2='3.16', ts='0.53', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='3.65e-08', energy_flux_error2='1.18e-05', EG='1.10', time_epoch_completed='1630413716.77', return_code='0', job_id='102321', GAL2='1.13', EG2='1.05', return_code2='102', photon_flux_error2='9.97e-08', ts2='1.83', photon_index='1.75' WHERE bin_id='29' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:41:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 102321: <4FGL_J0915.9+2933_daily_bin29> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin29 138.986 29.553 246844801 247104001 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 :                                   690.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             253.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            923 sec.

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

