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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin400
RA = 138.986, Dec = 29.553
tmin = 343008001, tmax = 343267201
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='104924', job_status='RUN', time_executed='2021-08-31 05:38:57.281440', time_epoch_executed='1630413537.28' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104924/ft1_4FGL_J0915.9+2933_daily_bin400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104924/ft2_4FGL_J0915.9+2933_daily_bin400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104924/ft1_4FGL_J0915.9+2933_daily_bin400.fits outfile=/scratch/kocevski/104924/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin400.fits ra=138.986 dec=29.553 rad=12.0 tmin=343008001.0 tmax=343267201.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 12.12
user 3.58
sys 3.79

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104924/ft1_filtered_4FGL_J0915.9+2933_daily_bin400.fits" evtable="EVENTS" scfile=/scratch/kocevski/104924/ft2_4FGL_J0915.9+2933_daily_bin400.fits sctable="SC_DATA" outfile=/scratch/kocevski/104924/ltcube_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.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/104924/ft2_4FGL_J0915.9+2933_daily_bin400.fits
.....................!
real 17.24
user 11.36
sys 4.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104924/ft1_filtered_4FGL_J0915.9+2933_daily_bin400.fits evtable="EVENTS" scfile=/scratch/kocevski/104924/ft2_4FGL_J0915.9+2933_daily_bin400.fits sctable="SC_DATA" expcube=/scratch/kocevski/104924/ltcube_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.fits outfile=/scratch/kocevski/104924/expmap_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.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/104924/ltcube_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.fits
.....................!
real 196.69
user 185.44
sys 9.62

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/104924/ft1_filtered_4FGL_J0915.9+2933_daily_bin400.fits scfile=/scratch/kocevski/104924/ft2_4FGL_J0915.9+2933_daily_bin400.fits outfile=/scratch/kocevski/104924/cmap_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.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 4.00
user 0.37
sys 3.53

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104924/ft1_filtered_4FGL_J0915.9+2933_daily_bin400.fits scfile=/scratch/kocevski/104924/ft2_4FGL_J0915.9+2933_daily_bin400.fits outfile=/scratch/kocevski/104924/cmap_HighResolution_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.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 4.02
user 0.38
sys 3.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3791       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    71.702       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5454       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0431       1.0000         .10000E-03   10000.    
    10 'norm      '    .80083       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10770E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3755       1.0000         .10000E-03   10000.    
    13 'norm      '    11.263       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4210       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .74942       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11142E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14691E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80098       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1356       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6176.968     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     2027 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .71449        .54667E-07** at limit **
   2  Prefactor     .10000E-03    3.5838        .13139E-06** at limit **
   3  norm          3.3792        .98463        .87473E-07   -.96382E-03
   4  Prefactor     .10000E-03    5.5596       -.37177E-06** at limit **
   5  Prefactor     .10000E-03    38.289       -.70438E-04** at limit **
   6  norm          71.702        1.0138        .15169E-06   -.58835E-03
   7  Prefactor     5.5453        3.4160        .10587E-06    .92605E-04
   8  Prefactor     .10000E-03    13.387       -.23363E-05** at limit **
   9  Prefactor     5.0414        4.3669        .40810E-06    .20175E-03
  10  norm          .80074        .87889        .10984E-07   -.34174E-03
  11  Prefactor     .10000E-03    46.311        .79769E-04** at limit **
  12  Prefactor     6.3621        2.7608       -.58301E-05    .11512E-02
  13  norm          11.255        7.0204        .48879E-05   -.37176E-04
  14  Prefactor     2.4209        2.7943       -.71163E-06    .56374E-03
  15  Prefactor     .10000E-03    1.9574        .13248E-07** at limit **
  16  Prefactor     .73996        1.6482        .99326E-05   -.16363E-03
  17  Prefactor     .10001E-03    184.19       -.65300E-04** at limit **
  18  Prefactor     .10000E-03    20.150        .74902E-05** at limit **
  19  Prefactor     .10000E-03    3.1273       -.40911E-07** at limit **
  20  Prefactor     .10000E-03    1.4255        .15529E-06** at limit **
  21  Normalizat    .80097        .18328       -.32698E-05   -.30314E-03
  22  Prefactor     1.1356        .18807        .98174E-06   -.25957E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.3792
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 71.7024
  Prefactor  = 5.54528
  Prefactor  = 0.0001
  Prefactor  = 5.04141
  norm       = 0.800742
  Prefactor  = 0.000100002
  Prefactor  = 6.3621
  norm       = 11.2547
  Prefactor  = 2.4209
  Prefactor  = 0.0001
  Prefactor  = 0.739956
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.800968
  Prefactor  = 1.13559
 **********
 **   18 **HESSE 
 **********

 FCN=   6176.968     FROM HESSE     STATUS=OK           404 CALLS     2431 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .47569        .28393E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.5772        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3792        .98715        .55030E-02   -1.5340    
   4  Prefactor     .10000E-03    5.5463        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    37.136        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          71.702        43.242        .11852E-02   -1.4012    
   7  Prefactor     5.5453        3.4198        .42653E-02   -1.5237    
   8  Prefactor     .10000E-03    13.382        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0414        4.3881        .44764E-02   -1.5259    
  10  norm          .80074        .87701        .12443E-01   -1.5529    
  11  Prefactor     .10000E-03    45.328        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.3621        95.382        .39740E-02   -1.5203    
  13  norm          11.255        7.0519        .29844E-02   -1.5037    
  14  Prefactor     2.4209        2.8169        .65763E-02   -1.5397    
  15  Prefactor     .10000E-03    1.9083        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .73996        17.062        .12250       -1.5536    
  17  Prefactor     .10001E-03    183.00        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.9073        .56418E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.1185        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .81743        .40220E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .80097        .16438        .43623E-01   -1.0003    
  22  Prefactor     1.1356        .16505        .36367E-01   -.88337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6542e-08
Minuit parameter uncertainties:
  1  9.77495e-06
  2  2.39177e-05
  3  0.987156
  4  5.68541e-05
  5  0.000460877
  6  43.2608
  7  3.41988
  8  2.17184e-05
  9  4.38836
  10  0.877026
  11  0.000531716
  12  49.3619
  13  7.0524
  14  2.81705
  15  1.32193e-05
  16  7.10828
  17  0.00212051
  18  7.17684e-06
  19  4.57142e-05
  20  6.8212e-06
  21  0.164482
  22  0.165122
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.007e-01  8.770e-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.136e+00  1.651e-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:  8.010e-01  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.78
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 8.11e-09 +/- 8.88e-09
Energy Flux (Fixed Index): 9.32e-06 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/104924/likelihoodResults_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.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) = 6176.96439366
delta logL = 0.0034042830348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6176.96433843
delta logL = 0.00345951614781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79461       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8219       1.0000          .0000       5.0000    
     3 'Normalizat'    .80033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1358       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=   6176.964     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      196 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79452        32.284        .12420E-01   -.25007E-03
   2  alpha         1.8227        3.3814        .43250        .90458E-05
   3  Normalizat    .80032        .71330E-01    .43615E-01    .17458E-04
   4  Prefactor     1.1358        .61559E-01    .36362E-01    .35982E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.794525
  alpha      = 1.82272
  Normalizat = 0.800318
  Prefactor  = 1.13578
 **********
 **   18 **HESSE 
 **********

 FCN=   6176.964     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79452        .88245        .74492E-04   -1.5530    
   2  alpha         1.8227        .86207        .21673E-01   -.27434    
   3  Normalizat    .80032        .17958        .25127E-03   -1.0006    
   4  Prefactor     1.1358        .18719        .22269E-03   -.88331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79954e-10
Minuit parameter uncertainties:
  1  0.882461
  2  0.881661
  3  0.179709
  4  0.187302
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104924': 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) = 6176.96433803
delta logL = 0.00345991179165

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.945e-01  8.825e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.823e+00  8.817e-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:  1.136e+00  1.873e-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:  8.003e-01  1.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.78
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.82 +/- 0.88
Photon Flux (Free Index): 8.82e-09 +/- 1.29e-08
Energy Flux (Free Index): 8.54e-06 +/- 1.30e-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/104924/cmap_HighResolution_343008001_343267201_4FGL_J0915.9+2933_daily_bin400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.49e-05', comment='SUCCESS', photon_flux='8.11e-09', energy_flux2='8.54e-06', photon_flux_error='8.88e-09', dlogl='3.46e-03', energy_flux='9.32e-06', photon_flux2='8.82e-09', job_status='DONE', time_completed='2021-08-31 05:49:55.996661', photon_index_error2='0.88', photon_index2='1.82', ts='2.78', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='3.90e-08', energy_flux_error2='1.30e-05', EG='0.80', time_epoch_completed='1630414196.0', return_code='0', job_id='104924', GAL2='1.14', EG2='0.80', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='1.29e-08', ts2='2.78', photon_index='1.75' WHERE bin_id='400' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:49:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 104924: <4FGL_J0915.9+2933_daily_bin400> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin400> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:37 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35: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:35:38 2021
Terminated at Tue Aug 31 05:49:57 2021
Results reported at Tue Aug 31 05:49:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin400 138.986 29.553 343008001 343267201 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 :                                   697.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

