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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin385
RA = 138.986, Dec = 29.553
tmin = 339120001, tmax = 339379201
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='104905', job_status='RUN', time_executed='2021-08-31 05:39:47.850829', time_epoch_executed='1630413587.85' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='385'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104905

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104905/ft1_4FGL_J0915.9+2933_daily_bin385.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104905/ft2_4FGL_J0915.9+2933_daily_bin385.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104905/ft1_4FGL_J0915.9+2933_daily_bin385.fits outfile=/scratch/kocevski/104905/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin385.fits ra=138.986 dec=29.553 rad=12.0 tmin=339120001.0 tmax=339379201.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 11.59
user 6.02
sys 5.53

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104905/ft1_filtered_4FGL_J0915.9+2933_daily_bin385.fits evtable="EVENTS" scfile=/scratch/kocevski/104905/ft2_4FGL_J0915.9+2933_daily_bin385.fits sctable="SC_DATA" expcube=/scratch/kocevski/104905/ltcube_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.fits outfile=/scratch/kocevski/104905/expmap_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.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/104905/ltcube_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.fits
.....................!
real 198.09
user 185.92
sys 11.76

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/104905/ft1_filtered_4FGL_J0915.9+2933_daily_bin385.fits scfile=/scratch/kocevski/104905/ft2_4FGL_J0915.9+2933_daily_bin385.fits outfile=/scratch/kocevski/104905/cmap_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.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.70
user 0.39
sys 5.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104905/ft1_filtered_4FGL_J0915.9+2933_daily_bin385.fits scfile=/scratch/kocevski/104905/ft2_4FGL_J0915.9+2933_daily_bin385.fits outfile=/scratch/kocevski/104905/cmap_HighResolution_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.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.74
user 0.39
sys 5.32

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12717E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    6.3006       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3376       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.439       1.0000         .10000E-03   10000.    
     6 'norm      '    47.794       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .46795       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.0852       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3775       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12069E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    135.48       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9015       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .57073       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3211       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88433       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=   6519.576     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2370 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50330        .67357E-07** at limit **
   2  Prefactor     .10000E-03    35.099        .13246E-04** at limit **
   3  norm          6.3003        1.3471        .91424E-07    .35044E-03
   4  Prefactor     5.3372        11.904        .23432E-05    .25722E-03
   5  Prefactor     11.437        16.464       -.97454E-08    .17354E-04
   6  norm          47.796        43.961       -.25338E-05   -.14787E-04
   7  Prefactor     .10000E-03    .98679       -.45793E-07** at limit **
   8  Prefactor     .10000E-03    13.346       -.40688E-05** at limit **
   9  Prefactor     .10000E-03    2.2814       -.25462E-07** at limit **
  10  norm          .46832        1.6258        .20032E-06    .15958E-03
  11  Prefactor     7.0911        14.872        .15298E-05    .55452E-04
  12  Prefactor     .10000E-03    18.901        .85972E-05** at limit **
  13  norm          .10000E-03    6.4451       -.22677E-06** at limit **
  14  Prefactor     3.3804        3.9180       -.19211E-06    .66546E-04
  15  Prefactor     .10000E-03    2.0171       -.39970E-07** at limit **
  16  Prefactor     .10000E-03    60.372        .96523E-05** at limit **
  17  Prefactor     135.48        88.972       -.25749E-05   -.12554E-04
  18  Prefactor     5.9006        6.2675        .18676E-06   -.19469E-05
  19  Prefactor     .10000E-03    9.4229        .68256E-06** at limit **
  20  Prefactor     .57081        2.3874        .25727E-06    .92397E-04
  21  Normalizat    1.3208        .18434        .87760E-06    .95597E-06
  22  Prefactor     .88445        .17481        .39080E-06    .45403E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 6.30031
  Prefactor  = 5.33724
  Prefactor  = 11.4372
  norm       = 47.796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.468316
  Prefactor  = 7.09107
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.38043
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 135.483
  Prefactor  = 5.90061
  Prefactor  = 0.0001
  Prefactor  = 0.570811
  Normalizat = 1.32083
  Prefactor  = 0.884453
 **********
 **   18 **HESSE 
 **********

 FCN=   6519.576     FROM HESSE     STATUS=OK           342 CALLS     2712 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .52365        .11172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    38.437        .43378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.3003        1.3478        .40695E-04   -1.5206    
   4  Prefactor     5.3372        13.655        .86977E-03   -1.5246    
   5  Prefactor     11.437        16.487        .11845E-03   -1.5031    
   6  norm          47.796        44.060        .58001E-04   -1.4324    
   7  Prefactor     .10000E-03    .98936        .78328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.2998        .11894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .46832        1.6599        .18796E-03   -1.5571    
  11  Prefactor     7.0911        14.861        .15071E-03   -1.5175    
  12  Prefactor     .10000E-03    18.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.5147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3804        3.9080        .16209E-03   -1.5340    
  15  Prefactor     .10000E-03    2.0434        .11189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    60.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     135.48        89.006        .34601E-04   -1.3375    
  18  Prefactor     5.9006        6.2528        .16531E-03   -1.5222    
  19  Prefactor     .10000E-03    9.6090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .57081        2.5666        .24316E-03   -1.5557    
  21  Normalizat    1.3208        .21442        .24101E-03   -.82947    
  22  Prefactor     .88445        .20339        .27902E-03   -.96686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92491e-10
Minuit parameter uncertainties:
  1  2.39624e-06
  2  0.000669235
  3  1.34784
  4  13.6633
  5  16.4934
  6  44.0898
  7  2.24535e-06
  8  4.84751e-05
  9  8.49491e-06
  10  1.66004
  11  14.8685
  12  5.9005e-05
  13  4.03914e-05
  14  3.90826
  15  8.22191e-06
  16  0.000344598
  17  89.0946
  18  6.25349
  19  3.43886e-05
  20  2.42075
  21  0.214568
  22  0.203569
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.683e-01  1.660e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  8.845e-01  2.036e-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.321e+00  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104905/likelihoodResults_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.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) = 6519.5672809
delta logL = 0.00833382824567

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6519.56259959
delta logL = 0.0130151353505

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13787       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0203       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89480       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=   6519.563     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      237 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13790        3.5873        .19141E-01    .24131E-02
   2  alpha         3.0203        3.9543        .42338        .43381E-04
   3  Normalizat    1.3067        .19185E-01    .54761E-01    .40735E-05
   4  Prefactor     .89485        .18701E-01    .44939E-01    .15284E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.137902
  alpha      = 3.02033
  Normalizat = 1.3067
  Prefactor  = 0.894848
 **********
 **   18 **HESSE 
 **********

 FCN=   6519.563     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      272 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13790        58.708        .73019E-03   -1.5634    
   2  alpha         3.0203        3.6591        .28535E-01    .20966    
   3  Normalizat    1.3067        .12274        .24214E-03   -.83367    
   4  Prefactor     .89485        .12142        .27756E-03   -.96321    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.25787e-06
Minuit parameter uncertainties:
  1  5.69423
  2  21.5961
  3  0.122763
  4  0.121453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104905': 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) = 6519.56259952
delta logL = 0.0130152031861

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.379e-01  5.694e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.020e+00  2.160e+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:  8.948e-01  1.215e-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.307e+00  1.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/104905/cmap_HighResolution_339120001_339379201_4FGL_J0915.9+2933_daily_bin385.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-05', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2021-08-31 05:52:10.895662', job_id='104905', GAL2='0.89', fit_tolerance='1e-08', EG2='1.31', EG='1.32', time_epoch_completed='1630414330.9', return_code2='102', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.30e-02', ts2='0.12', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='385' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:52:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 104905: <4FGL_J0915.9+2933_daily_bin385> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin385 138.986 29.553 339120001 339379201 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 :                                   813.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            997 sec.

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

