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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin166
RA = 138.986, Dec = 29.553
tmin = 282355201, tmax = 282614401
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='103372', job_status='RUN', time_executed='2021-08-31 05:35:43.095842', time_epoch_executed='1630413343.1' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103372/ft1_4FGL_J0915.9+2933_daily_bin166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103372/ft2_4FGL_J0915.9+2933_daily_bin166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103372/ft1_4FGL_J0915.9+2933_daily_bin166.fits outfile=/scratch/kocevski/103372/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin166.fits ra=138.986 dec=29.553 rad=12.0 tmin=282355201.0 tmax=282614401.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 8.30
user 3.50
sys 4.66

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103372/ft2_4FGL_J0915.9+2933_daily_bin166.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/103372/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin166.fits evtable="EVENTS" outfile="/scratch/kocevski/103372/ft1_filtered_4FGL_J0915.9+2933_daily_bin166.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 5.10
user 0.34
sys 4.64

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103372/ft1_filtered_4FGL_J0915.9+2933_daily_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/103372/ft2_4FGL_J0915.9+2933_daily_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/103372/ltcube_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.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/103372/ft2_4FGL_J0915.9+2933_daily_bin166.fits
.....................!
real 17.50
user 12.16
sys 5.18

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103372/ft1_filtered_4FGL_J0915.9+2933_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/103372/ft2_4FGL_J0915.9+2933_daily_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/103372/ltcube_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.fits outfile=/scratch/kocevski/103372/expmap_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.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/103372/ltcube_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.fits
.....................!
real 197.29
user 185.40
sys 10.08

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/103372/ft1_filtered_4FGL_J0915.9+2933_daily_bin166.fits scfile=/scratch/kocevski/103372/ft2_4FGL_J0915.9+2933_daily_bin166.fits outfile=/scratch/kocevski/103372/cmap_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.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 5.19
user 0.38
sys 4.56

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103372/ft1_filtered_4FGL_J0915.9+2933_daily_bin166.fits scfile=/scratch/kocevski/103372/ft2_4FGL_J0915.9+2933_daily_bin166.fits outfile=/scratch/kocevski/103372/cmap_HighResolution_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.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 5.06
user 0.38
sys 4.55

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4854       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .85315       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.787       1.0000         .10000E-03   10000.    
     6 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1647       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10453E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3319       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0866       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14118E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    14.217       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7312       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.3420       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.309       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2303       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66680       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=   5511.784     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2091 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4849        1.4107       -.88610E-08   -.35261E-04
   2  Prefactor     .10000E-03    28.333       -.37727E-06** at limit **
   3  norm          .85308        .67641        .50337E-07    .89170E-04
   4  Prefactor     .10000E-03    4.4829        .16283E-07** at limit **
   5  Prefactor     18.776        14.754        .88519E-07   -.67662E-05
   6  norm          .10000E-03    8.4690       -.43957E-07** at limit **
   7  Prefactor     2.1648        2.7658        .22147E-06    .15689E-04
   8  Prefactor     .10000E-03    19.226        .45621E-07** at limit **
   9  Prefactor     1.3321        3.6887        .12030E-05    .53595E-04
  10  norm          1.0867        .92085       -.10861E-07   -.29026E-05
  11  Prefactor     .10000E-03    7.5869        .25279E-07** at limit **
  12  Prefactor     .10000E-03    251.13       -.14393E-04** at limit **
  13  norm          14.212        8.4167        .90434E-07   -.33915E-04
  14  Prefactor     .10000E-03    1.2878       -.39368E-07** at limit **
  15  Prefactor     1.7315        2.4707        .21562E-06    .30165E-04
  16  Prefactor     5.3470        25.845        .57831E-06   -.10659E-05
  17  Prefactor     .10000E-03    52.509        .22830E-06** at limit **
  18  Prefactor     13.309        7.1359        .79750E-06    .31862E-04
  19  Prefactor     .10000E-03    6.0673        .84440E-07** at limit **
  20  Prefactor     .10000E-03    .77543        .65087E-07** at limit **
  21  Normalizat    1.2303        .17195       -.11034E-05   -.52649E-04
  22  Prefactor     .66685        .16341       -.87425E-06   -.58532E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.48487
  Prefactor  = 0.0001
  norm       = 0.853078
  Prefactor  = 0.0001
  Prefactor  = 18.7755
  norm       = 0.0001
  Prefactor  = 2.16476
  Prefactor  = 0.0001
  Prefactor  = 1.33207
  norm       = 1.08665
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 14.2124
  Prefactor  = 0.0001
  Prefactor  = 1.73153
  Prefactor  = 5.34698
  Prefactor  = 0.0001
  Prefactor  = 13.3087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23034
  Prefactor  = 0.666846
 **********
 **   18 **HESSE 
 **********

 FCN=   5511.784     FROM HESSE     STATUS=OK           346 CALLS     2437 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4849        1.4040        .63996E-04   -1.5393    
   2  Prefactor     .10000E-03    29.253        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85308        .65466        .52403E-03   -1.5523    
   4  Prefactor     .10000E-03    4.4910        .15350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.776        14.786        .92405E-04   -1.4841    
   6  norm          .10000E-03    8.4700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1648        2.7540        .13508E-03   -1.5414    
   8  Prefactor     .10000E-03    19.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3321        3.6965        .22797E-03   -1.5477    
  10  norm          1.0867        .94292        .63907E-04   -1.5499    
  11  Prefactor     .10000E-03    7.6060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    255.69        .41036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.212        8.4168        .10623E-03   -1.4954    
  14  Prefactor     .10000E-03    1.2920        .82193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.7315        2.4523        .13401E-03   -1.5445    
  16  Prefactor     5.3470        25.796        .17388E-03   -1.5245    
  17  Prefactor     .10000E-03    52.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.309        7.1423        .54897E-03   -1.4978    
  19  Prefactor     .10000E-03    6.1334        .17861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.1882        .12702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2303        .19641        .20736E-03   -.85670    
  22  Prefactor     .66685        .18696        .27096E-03   -1.0484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81502e-11
Minuit parameter uncertainties:
  1  1.40399
  2  6.3777e-05
  3  0.654666
  4  4.9539e-06
  5  14.7888
  6  1.97252e-06
  7  2.75417
  8  1.2652e-05
  9  3.69709
  10  0.942937
  11  1.54967e-06
  12  0.00140477
  13  8.4175
  14  2.75365e-06
  15  2.45249
  16  23.505
  17  0.000137456
  18  7.14272
  19  1.26494e-05
  20  2.88071e-06
  21  0.196525
  22  0.187133
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.087e+00  9.429e-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:  6.668e-01  1.871e-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.230e+00  1.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.23
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.10e-08 +/- 9.54e-09
Energy Flux (Fixed Index): 1.26e-05 +/- 1.10e-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) = 5510.44323591
delta logL = 1.34054158898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5510.4314871
delta logL = 1.35229039734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68236       1.0000         .10000E-03   10000.    
     2 'alpha     '    .82021       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66694       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=   5510.431     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      211 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68212        .61849        .11994E-01   -.27652E-03
   2  alpha         .82009        .42044        .34909       -.22599E-04
   3  Normalizat    1.2334        .16365        .34117E-01    .13854E-05
   4  Prefactor     .66696        .16307        .61256E-01    .19882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.682124
  alpha      = 0.820088
  Normalizat = 1.23344
  Prefactor  = 0.666957
 **********
 **   18 **HESSE 
 **********

 FCN=   5510.431     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68212        .92997        .50334E-03   -1.5543    
   2  alpha         .82009        .58799        .15398E-02   -.73686    
   3  Normalizat    1.2334        .18635        .20713E-03   -.85576    
   4  Prefactor     .66696        .18545        .27097E-03   -1.0484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55788e-10
Minuit parameter uncertainties:
  1  0.929991
  2  0.598351
  3  0.18645
  4  0.185618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103372': 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) = 5510.43148706
delta logL = 1.35229043825

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.821e-01  9.300e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  8.201e-01  5.984e-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:  6.670e-01  1.856e-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.233e+00  1.865e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.93
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.82 +/- 0.60
Photon Flux (Free Index): 5.38e-09 +/- 5.38e-09
Energy Flux (Free Index): 6.79e-05 +/- 8.29e-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/103372/cmap_HighResolution_282355201_282614401_4FGL_J0915.9+2933_daily_bin166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-08', energy_flux2='6.79e-05', photon_flux_error='9.54e-09', dlogl='1.35e+00', energy_flux='1.26e-05', photon_flux2='5.38e-09', job_status='DONE', time_completed='2021-08-31 05:45:42.150426', photon_index_error2='0.60', photon_index2='0.82', ts='9.23', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='8.29e-05', EG='1.23', time_epoch_completed='1630413942.15', return_code='0', job_id='103372', GAL2='0.67', EG2='1.23', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='5.38e-09', ts2='11.93', photon_index='1.75' WHERE bin_id='166' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 103372: <4FGL_J0915.9+2933_daily_bin166> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin166 138.986 29.553 282355201 282614401 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 :                                   656.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             194.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            886 sec.

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

