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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin213
RA = 138.986, Dec = 29.553
tmin = 294537601, tmax = 294796801
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='103459', job_status='RUN', time_executed='2021-08-31 05:34:55.527745', time_epoch_executed='1630413295.53' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103459

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103459/ft1_4FGL_J0915.9+2933_daily_bin213.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103459/ft2_4FGL_J0915.9+2933_daily_bin213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103459/ft1_4FGL_J0915.9+2933_daily_bin213.fits outfile=/scratch/kocevski/103459/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin213.fits ra=138.986 dec=29.553 rad=12.0 tmin=294537601.0 tmax=294796801.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 4.85
user 2.20
sys 2.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103459/ft2_4FGL_J0915.9+2933_daily_bin213.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/103459/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin213.fits evtable="EVENTS" outfile="/scratch/kocevski/103459/ft1_filtered_4FGL_J0915.9+2933_daily_bin213.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 2.95
user 0.35
sys 2.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103459/ft1_filtered_4FGL_J0915.9+2933_daily_bin213.fits" evtable="EVENTS" scfile=/scratch/kocevski/103459/ft2_4FGL_J0915.9+2933_daily_bin213.fits sctable="SC_DATA" outfile=/scratch/kocevski/103459/ltcube_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.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/103459/ft2_4FGL_J0915.9+2933_daily_bin213.fits
.....................!
real 20.99
user 17.96
sys 2.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103459/ft1_filtered_4FGL_J0915.9+2933_daily_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/103459/ft2_4FGL_J0915.9+2933_daily_bin213.fits sctable="SC_DATA" expcube=/scratch/kocevski/103459/ltcube_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.fits outfile=/scratch/kocevski/103459/expmap_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.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/103459/ltcube_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.fits
.....................!
real 196.38
user 187.64
sys 7.97

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/103459/ft1_filtered_4FGL_J0915.9+2933_daily_bin213.fits scfile=/scratch/kocevski/103459/ft2_4FGL_J0915.9+2933_daily_bin213.fits outfile=/scratch/kocevski/103459/cmap_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.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 3.41
user 0.40
sys 2.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103459/ft1_filtered_4FGL_J0915.9+2933_daily_bin213.fits scfile=/scratch/kocevski/103459/ft2_4FGL_J0915.9+2933_daily_bin213.fits outfile=/scratch/kocevski/103459/cmap_HighResolution_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.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 3.08
user 0.43
sys 2.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.931       1.0000         .10000E-03   10000.    
     3 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.080       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6510       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 '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9892       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0097       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11030E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.2556       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.269       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.894       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.804       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1477       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1108       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92376       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=   6856.662     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2082 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .85877       -.37396E-09** at limit **
   2  Prefactor     13.939        13.154       -.29801E-08    .27189E-04
   3  norm          .10000E-03    .24283        .27005E-09** at limit **
   4  Prefactor     19.080        12.350       -.24630E-08    .57589E-04
   5  Prefactor     3.6506        9.1227       -.79199E-08    .59251E-04
   6  norm          .10000E-03    10.190       -.20367E-08** at limit **
   7  Prefactor     .10000E-03    2.1135        .99103E-09** at limit **
   8  Prefactor     .10000E-03    59.998       -.47926E-08** at limit **
   9  Prefactor     4.9870        3.9479        .73768E-08    .74592E-04
  10  norm          1.0097        .91983        .48773E-09   -.28204E-03
  11  Prefactor     .10000E-03    35.038        .21658E-07** at limit **
  12  Prefactor     .10000E-03    15.995       -.35254E-08** at limit **
  13  norm          3.2514        .63694       -.12062E-06   -.12909E-03
  14  Prefactor     .10000E-03    1.1223        .12940E-08** at limit **
  15  Prefactor     .10000E-03    1.7720       -.11710E-08** at limit **
  16  Prefactor     21.268        16.144       -.16105E-08   -.13630E-04
  17  Prefactor     .10000E-03    19.792       -.10565E-07** at limit **
  18  Prefactor     11.894        5.8826        .78539E-08   -.25701E-02
  19  Prefactor     10.804        9.6418       -.26200E-08    .10345E-03
  20  Prefactor     2.1478        1.8917       -.25154E-08    .47442E-03
  21  Normalizat    1.1107        .16557        .18090E-07    .38656E-03
  22  Prefactor     .92383        .15910       -.67253E-08    .33658E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 13.9391
  norm       = 0.0001
  Prefactor  = 19.0801
  Prefactor  = 3.65058
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 4.987
  norm       = 1.00973
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.25144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.2678
  Prefactor  = 0.000100002
  Prefactor  = 11.8938
  Prefactor  = 10.8041
  Prefactor  = 2.14776
  Normalizat = 1.11075
  Prefactor  = 0.92383
 **********
 **   18 **HESSE 
 **********

 FCN=   6856.662     FROM HESSE     STATUS=OK           342 CALLS     2424 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8448        .14508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.939        12.867        .10731E-03   -1.4961    
   3  norm          .10000E-03    .25150        .79317E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.080        12.317        .91694E-04   -1.4834    
   5  Prefactor     3.6506        9.1044        .21141E-03   -1.5326    
   6  norm          .10000E-03    10.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1679        .23498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    60.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9870        3.9687        .14098E-03   -1.5261    
  10  norm          1.0097        .97656        .73693E-03   -1.5507    
  11  Prefactor     .10000E-03    35.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.2514        5.7281        .11223E-02   -1.5347    
  14  Prefactor     .10000E-03    1.1285        .85623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.5843        .21194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.268        16.145        .86851E-04   -1.4785    
  17  Prefactor     .10000E-03    19.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.894        5.8825        .11616E-03   -1.5018    
  19  Prefactor     10.804        9.6514        .12189E-03   -1.5050    
  20  Prefactor     2.1478        1.8822        .10338E-03   -1.5415    
  21  Normalizat    1.1107        .19150        .23216E-03   -.89407    
  22  Prefactor     .92383        .18384        .24854E-03   -.95313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46073e-09
Minuit parameter uncertainties:
  1  3.58516e-06
  2  12.8694
  3  1.61709e-06
  4  12.3187
  5  9.10785
  6  5.25504e-05
  7  1.19414e-05
  8  0.000763134
  9  3.96888
  10  0.976572
  11  0.000255848
  12  0.000114555
  13  5.72908
  14  5.06985e-06
  15  6.91652e-06
  16  16.1487
  17  0.000390908
  18  5.88275
  19  9.65284
  20  1.88224
  21  0.19162
  22  0.183962
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.010e+00  9.766e-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:  9.238e-01  1.840e-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.111e+00  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.30
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.02e-08 +/- 9.88e-09
Energy Flux (Fixed Index): 1.17e-05 +/- 1.14e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6856.00946011
delta logL = 0.652615128904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6856.00440226
delta logL = 0.657672987537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39657       1.0000         .10000E-03   10000.    
     2 'alpha     '    .79575       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92408       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=   6856.004     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39572        .37399        .10841E-01   -.75896E-03
   2  alpha         .79526        .51821        .46400       -.28904E-04
   3  Normalizat    1.1162        .15992        .37379E-01    .94589E-05
   4  Prefactor     .92398        .15849        .45311E-01    .10908E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.395717
  alpha      = 0.795258
  Normalizat = 1.11623
  Prefactor  = 0.923982
 **********
 **   18 **HESSE 
 **********

 FCN=   6856.004     FROM HESSE     STATUS=OK            35 CALLS      243 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39572        .62770        .43574E-03   -1.5582    
   2  alpha         .79526        .71451        .21055E-01   -.75035    
   3  Normalizat    1.1162        .18469        .23163E-03   -.89233    
   4  Prefactor     .92398        .18298        .24852E-03   -.95308    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75801e-09
Minuit parameter uncertainties:
  1  0.627712
  2  0.734071
  3  0.184797
  4  0.183102
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103459': 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) = 6856.00440105
delta logL = 0.657674191762

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.957e-01  6.277e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  7.953e-01  7.341e-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:  9.240e-01  1.831e-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.116e+00  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.62
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.80 +/- 0.73
Photon Flux (Free Index): 3.20e-09 +/- 3.52e-09
Energy Flux (Free Index): 4.26e-05 +/- 6.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/103459/cmap_HighResolution_294537601_294796801_4FGL_J0915.9+2933_daily_bin213.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-08', energy_flux2='4.26e-05', photon_flux_error='9.88e-09', dlogl='6.58e-01', energy_flux='1.17e-05', photon_flux2='3.20e-09', job_status='DONE', time_completed='2021-08-31 05:45:20.021255', photon_index_error2='0.73', photon_index2='0.80', ts='8.30', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='6.21e-05', EG='1.11', time_epoch_completed='1630413920.02', return_code='0', job_id='103459', GAL2='0.92', EG2='1.12', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='3.52e-09', ts2='9.62', photon_index='1.75' WHERE bin_id='213' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 103459: <4FGL_J0915.9+2933_daily_bin213> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin213 138.986 29.553 294537601 294796801 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 :                                   648.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             249.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            859 sec.

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

