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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin963
RA = 138.986, Dec = 29.553
tmin = 488937601, tmax = 489196801
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='108463', job_status='RUN', time_executed='2021-08-31 05:49:06.672695', time_epoch_executed='1630414146.67' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='963'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108463

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108463/ft1_4FGL_J0915.9+2933_daily_bin963.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108463/ft2_4FGL_J0915.9+2933_daily_bin963.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108463/ft1_4FGL_J0915.9+2933_daily_bin963.fits outfile=/scratch/kocevski/108463/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin963.fits ra=138.986 dec=29.553 rad=12.0 tmin=488937601.0 tmax=489196801.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 3.99
user 3.31
sys 0.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108463/ft1_filtered_4FGL_J0915.9+2933_daily_bin963.fits" evtable="EVENTS" scfile=/scratch/kocevski/108463/ft2_4FGL_J0915.9+2933_daily_bin963.fits sctable="SC_DATA" outfile=/scratch/kocevski/108463/ltcube_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.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/108463/ft2_4FGL_J0915.9+2933_daily_bin963.fits
.....................!
real 13.01
user 12.34
sys 0.49

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108463/ft1_filtered_4FGL_J0915.9+2933_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/108463/ft2_4FGL_J0915.9+2933_daily_bin963.fits sctable="SC_DATA" expcube=/scratch/kocevski/108463/ltcube_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.fits outfile=/scratch/kocevski/108463/expmap_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.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/108463/ltcube_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.fits
.....................!
real 192.65
user 185.63
sys 4.83

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/108463/ft1_filtered_4FGL_J0915.9+2933_daily_bin963.fits scfile=/scratch/kocevski/108463/ft2_4FGL_J0915.9+2933_daily_bin963.fits outfile=/scratch/kocevski/108463/cmap_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.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 0.90
user 0.38
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108463/ft1_filtered_4FGL_J0915.9+2933_daily_bin963.fits scfile=/scratch/kocevski/108463/ft2_4FGL_J0915.9+2933_daily_bin963.fits outfile=/scratch/kocevski/108463/cmap_HighResolution_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.86
user 0.38
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6095       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3508       1.0000         .10000E-03   10000.    
     6 'norm      '    70.094       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2326       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.123       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6623       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5047       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.344       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0864       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .81535       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0971       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=   5402.875     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2315 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .36631        .90712E-02** at limit **
   2  Prefactor     .10000E-03    17.129        .90712E-02** at limit **
   3  norm          2.6092        .94904        .63131E-02   -.28333E-02
   4  Prefactor     .10000E-03    5.0544        .90712E-02** at limit **
   5  Prefactor     2.3501        23.413        .66837E-02    .21057E-03
   6  norm          70.093        36.475        .11987E-02    .69658E-03
   7  Prefactor     2.2326        2.1535        .68782E-02   -.60566E-04
   8  Prefactor     .10000E-03    17.935        .90712E-02** at limit **
   9  Prefactor     .10000E-03    3.1812        .90712E-02** at limit **
  10  norm          .10000E-03    .71969        .32367E-01** at limit **
  11  Prefactor     13.124        18.900        .27643E-02   -.58042E-03
  12  Prefactor     .10000E-03    24.999        .90712E-02** at limit **
  13  norm          3.6609        6.6400        .52769E-02    .29004E-03
  14  Prefactor     .10000E-03    1.4865        .90712E-02** at limit **
  15  Prefactor     1.5053        3.5825        .87228E-02    .83608E-03
  16  Prefactor     .10000E-03    12.603        .90712E-02** at limit **
  17  Prefactor     49.344        56.135        .14272E-02    .15108E-03
  18  Prefactor     .10000E-03    4.4694        .90712E-02** at limit **
  19  Prefactor     .10000E-03    2.9771        .90712E-02** at limit **
  20  Prefactor     1.0866        1.8935        .11508E-01    .12480E-02
  21  Normalizat    .81543        .16745        .43810E-01    .26173E-04
  22  Prefactor     1.0969        .16771        .37699E-01   -.18501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 2.60915
  Prefactor  = 0.0001
  Prefactor  = 2.35014
  norm       = 70.0935
  Prefactor  = 2.23255
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 13.124
  Prefactor  = 0.000100002
  norm       = 3.66093
  Prefactor  = 0.0001
  Prefactor  = 1.50525
  Prefactor  = 0.0001
  Prefactor  = 49.3437
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.08663
  Normalizat = 0.815427
  Prefactor  = 1.09693
 **********
 **   18 **HESSE 
 **********

 FCN=   5402.875     FROM HESSE     STATUS=OK           334 CALLS     2649 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .37066        .43427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6092        .94785        .41481E-04   -1.5385    
   4  Prefactor     .10000E-03    5.0705        .16137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3501        23.359        .26735E-03   -1.5401    
   6  norm          70.093        36.480        .23973E-03   -1.4032    
   7  Prefactor     2.2326        2.1659        .10296E-03   -1.5409    
   8  Prefactor     .10000E-03    17.943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.2596        .25563E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.0474        .12018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.124        18.786        .11057E-03   -1.4983    
  12  Prefactor     .10000E-03    25.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6609        6.5879        .21107E-03   -1.5325    
  14  Prefactor     .10000E-03    1.5090        .87465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.5053        3.5227        .19903E-03   -1.5463    
  16  Prefactor     .10000E-03    12.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     49.344        56.137        .57087E-04   -1.4302    
  18  Prefactor     .10000E-03    4.5314        .15167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.9850        .12385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0866        1.8494        .12789E-03   -1.5499    
  21  Normalizat    .81543        .19088        .23906E-03   -.99499    
  22  Prefactor     1.0969        .19218        .21900E-03   -.89565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59875e-09
Minuit parameter uncertainties:
  1  1.01154e-05
  2  0.000355906
  3  0.947856
  4  9.81631e-08
  5  14.8258
  6  36.4912
  7  2.16595
  8  0.000260331
  9  8.8872e-05
  10  8.43488e-06
  11  18.7943
  12  0.000414568
  13  6.58918
  14  3.21424e-05
  15  3.52321
  16  2.53286e-05
  17  56.1977
  18  5.78614e-05
  19  7.18893e-05
  20  1.84947
  21  0.191042
  22  0.192301
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  8.435e-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.097e+00  1.923e-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.154e-01  1.910e-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: 3.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/108463/likelihoodResults_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.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) = 5402.87973616
delta logL = -0.00452224324908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5402.87521205
delta logL = 1.86710167327e-06

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 'alpha     '    1.7814       1.0000          .0000       5.0000    
     3 'Normalizat'    .81542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0969       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5402.875     FROM MIGRAD    STATUS=FAILED       182 CALLS      340 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49907E-02    249.78        .66544E-03   -.29682E-02
   2  alpha         2.9568        3.4613        .50000        .24514E-04
   3  Normalizat    .81505        .31250E-01    .23911E-03   -.63298E-03
   4  Prefactor     1.0970        .32931E-01    .21899E-03   -.66330E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5402.875     FROM SIMPLEX   STATUS=UNCHANGED     98 CALLS      438 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49907E-02    249.78        .29103E-03   -.29682E-02
   2  alpha         2.9568        3.4613        .57404E-03    .24514E-04
   3  Normalizat    .81505        .31250E-01    .13665E-04   -.63298E-03
   4  Prefactor     1.0970        .32931E-01    .12159E-04   -.66330E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5402.875     FROM MIGRAD    STATUS=FAILED        90 CALLS      528 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49866E-02    2.7999        .12673E-01   -.90164E-03
   2  alpha         2.9568        3.8742        .50000        .25855E-04
   3  Normalizat    .81505        .11484E-01    .95643E-05   -.69251E-03
   4  Prefactor     1.0970        .12093E-01    .87597E-05   -.71511E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00498664
  alpha      = 2.95684
  Normalizat = 0.815052
  Prefactor  = 1.09702
 **********
 **   18 **HESSE 
 **********

 FCN=   5402.875     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      567 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49866E-02    2.7085        .12822E-01   -1.5722    
   2  alpha         2.9568        3.8386        .50000        .18377    
   3  Normalizat    .81505        .11382E-01    .19129E-05   -.99513    
   4  Prefactor     1.0970        .11988E-01    .17519E-05   -.89562    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.03892e-08
Minuit parameter uncertainties:
  1  0.230101
  2  18.5823
  3  0.0113824
  4  0.0119879
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108463': 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): 1
logL (Free Index) = 5402.87504395
delta logL = 0.000169970407114

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.987e-03  2.301e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.957e+00  1.858e+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.097e+00  1.199e-02  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.151e-01  1.138e-02  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/108463/cmap_HighResolution_488937601_489196801_4FGL_J0915.9+2933_daily_bin963.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-05', job_status='DONE', photon_flux_upper_limit='3.49e-08', time_completed='2021-08-31 05:59:24.837705', job_id='108463', GAL2='1.10', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630414764.84', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.70e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='963' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 108463: <4FGL_J0915.9+2933_daily_bin963> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin963 138.986 29.553 488937601 489196801 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 :                                   608.53 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            794 sec.

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

