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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin946
RA = 138.986, Dec = 29.553
tmin = 484531201, tmax = 484790401
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='108439', job_status='RUN', time_executed='2021-08-31 05:50:55.123094', time_epoch_executed='1630414255.12' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108439

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108439/ft1_4FGL_J0915.9+2933_daily_bin946.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108439/ft2_4FGL_J0915.9+2933_daily_bin946.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108439/ft1_4FGL_J0915.9+2933_daily_bin946.fits outfile=/scratch/kocevski/108439/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin946.fits ra=138.986 dec=29.553 rad=12.0 tmin=484531201.0 tmax=484790401.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 7.38
user 6.82
sys 0.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108439/ft1_filtered_4FGL_J0915.9+2933_daily_bin946.fits" evtable="EVENTS" scfile=/scratch/kocevski/108439/ft2_4FGL_J0915.9+2933_daily_bin946.fits sctable="SC_DATA" outfile=/scratch/kocevski/108439/ltcube_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.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/108439/ft2_4FGL_J0915.9+2933_daily_bin946.fits
.....................!
real 12.35
user 11.50
sys 0.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108439/ft1_filtered_4FGL_J0915.9+2933_daily_bin946.fits evtable="EVENTS" scfile=/scratch/kocevski/108439/ft2_4FGL_J0915.9+2933_daily_bin946.fits sctable="SC_DATA" expcube=/scratch/kocevski/108439/ltcube_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.fits outfile=/scratch/kocevski/108439/expmap_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.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/108439/ltcube_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.fits
.....................!
real 191.43
user 185.07
sys 4.78

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/108439/ft1_filtered_4FGL_J0915.9+2933_daily_bin946.fits scfile=/scratch/kocevski/108439/ft2_4FGL_J0915.9+2933_daily_bin946.fits outfile=/scratch/kocevski/108439/cmap_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.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.95
user 0.37
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108439/ft1_filtered_4FGL_J0915.9+2933_daily_bin946.fits scfile=/scratch/kocevski/108439/ft2_4FGL_J0915.9+2933_daily_bin946.fits outfile=/scratch/kocevski/108439/cmap_HighResolution_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.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.24
user 0.36
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67029       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1660       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7404       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .67320       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.5713       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.4310       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .82430       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .72877E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .56678       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17809E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .49051       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99233       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1416       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=   5877.051     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2128 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67040        .78360        .21450E-06    .11422E-02
   2  Prefactor     5.1621        12.199       -.45456E-05    .31114E-05
   3  norm          .10000E-03    .23459        .53877E-07** at limit **
   4  Prefactor     4.7401        6.6474        .29208E-05    .48308E-03
   5  Prefactor     .67783        69.660        .30846E-04   -.70505E-04
   6  norm          .10000E-03    28.891        .36760E-06** at limit **
   7  Prefactor     .10000E-03    1.5251       -.12196E-06** at limit **
   8  Prefactor     .10000E-03    13.980       -.50643E-07** at limit **
   9  Prefactor     9.5723        5.7694       -.28281E-06    .22515E-03
  10  norm          .10000E-03    .42147        .12162E-07** at limit **
  11  Prefactor     .10000E-03    7.7273       -.66688E-07** at limit **
  12  Prefactor     .10010E-03    508.01        .28801E-04** at limit **
  13  norm          2.4312        5.8306        .12536E-05    .15114E-03
  14  Prefactor     .82343        2.5136        .54241E-07   -.11787E-03
  15  Prefactor     .10005E-03    1.6667       -.36507E-07** at limit **
  16  Prefactor     .55114        43.116       -.19251E-04   -.39942E-04
  17  Prefactor     .10000E-03    168.55       -.11014E-04** at limit **
  18  Prefactor     .10000E-03    2.8154       -.17336E-06** at limit **
  19  Prefactor     .10000E-03    3.8232       -.14297E-06** at limit **
  20  Prefactor     .48992        1.8865        .47471E-06   -.60086E-04
  21  Normalizat    .99228        .17602       -.45861E-06    .33017E-03
  22  Prefactor     1.1416        .16654        .12113E-05    .58108E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.670395
  Prefactor  = 5.16207
  norm       = 0.0001
  Prefactor  = 4.74007
  Prefactor  = 0.677835
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.57226
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100098
  norm       = 2.43124
  Prefactor  = 0.823428
  Prefactor  = 0.000100047
  Prefactor  = 0.551145
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.489919
  Normalizat = 0.992285
  Prefactor  = 1.14163
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.051     FROM HESSE     STATUS=OK           348 CALLS     2476 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67040        .76271        .70770E-04   -1.5544    
   2  Prefactor     5.1621        12.230        .17687E-03   -1.5254    
   3  norm          .10000E-03    .24163        .72435E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7401        9.1162        .92403E-03   -1.5272    
   5  Prefactor     .67783        85.778        .43402E-02   -1.5543    
   6  norm          .10000E-03    28.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5487        .92458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.5723        5.5578        .12733E-03   -1.5089    
  10  norm          .10000E-03    .42252        .48594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.7383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10010E-03    503.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.4312        5.7804        .26246E-03   -1.5396    
  14  Prefactor     .82343        2.3007        .19229E-02   -1.5526    
  15  Prefactor     .10005E-03    45.554        .18599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55114        243.22        .68395E-02   -1.5559    
  17  Prefactor     .10000E-03    170.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.8379        .12560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.8404        .14640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .48992        3.0289        .19235E-02   -1.5568    
  21  Normalizat    .99228        .20412        .23582E-03   -.93289    
  22  Prefactor     1.1416        .19656        .22969E-03   -.88147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8483e-08
Minuit parameter uncertainties:
  1  0.762723
  2  12.2363
  3  8.94147e-08
  4  9.11882
  5  15.2716
  6  0.000142086
  7  1.20663e-05
  8  6.54159e-06
  9  5.55811
  10  1.42646e-06
  11  2.62686e-05
  12  0.0142081
  13  5.78174
  14  2.30098
  15  0.00291676
  16  23.2495
  17  9.35479e-05
  18  1.64477e-05
  19  2.00862e-05
  20  2.43624
  21  0.204277
  22  0.196681
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.426e-06  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.142e+00  1.967e-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:  9.923e-01  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108439/likelihoodResults_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.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) = 5877.05138539
delta logL = -4.69703809358e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5877.05138064
delta logL = 4.98521330883e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7429       1.0000          .0000       5.0000    
     3 'Normalizat'    .99228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1417       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5877.051     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      230 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50858        .48631E-03** at limit **
   2  alpha         1.6413        4.1670        .17534        .18479E-06
   3  Normalizat    .99229        .18644        .23582E-03    .12341E-04
   4  Prefactor     1.1416        .19415        .22969E-03    .16631E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.64135
  Normalizat = 0.992287
  Prefactor  = 1.14163
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.051     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .42588        .97261E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6413        2.7267        .70135E-02   -.35060    
   3  Normalizat    .99229        .18662        .94328E-05   -.93289    
   4  Prefactor     1.1416        .19434        .91876E-05   -.88147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18141e-10
Minuit parameter uncertainties:
  1  7.4413e-06
  2  79.0179
  3  0.186741
  4  0.194457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108439': 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) = 5877.05137976
delta logL = 9.3129256129e-07

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  7.441e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.641e+00  7.902e+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.142e+00  1.945e-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:  9.923e-01  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.986 29.553

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/108439/cmap_HighResolution_484531201_484790401_4FGL_J0915.9+2933_daily_bin946.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.81e-05', job_status='DONE', photon_flux_upper_limit='2.44e-08', time_completed='2021-08-31 06:01:39.425783', job_id='108439', GAL2='1.14', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1630414899.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='9.31e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='946' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:01:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 108439: <4FGL_J0915.9+2933_daily_bin946> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin946 138.986 29.553 484531201 484790401 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 :                                   610.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

