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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin514
RA = 138.986, Dec = 29.553
tmin = 372556801, tmax = 372816001
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='106495', job_status='RUN', time_executed='2021-08-31 05:44:47.443390', time_epoch_executed='1630413887.44' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106495

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106495/ft1_4FGL_J0915.9+2933_daily_bin514.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106495/ft2_4FGL_J0915.9+2933_daily_bin514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106495/ft1_4FGL_J0915.9+2933_daily_bin514.fits outfile=/scratch/kocevski/106495/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin514.fits ra=138.986 dec=29.553 rad=12.0 tmin=372556801.0 tmax=372816001.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.39
user 3.13
sys 0.93

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106495/ft2_4FGL_J0915.9+2933_daily_bin514.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/106495/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin514.fits evtable="EVENTS" outfile="/scratch/kocevski/106495/ft1_filtered_4FGL_J0915.9+2933_daily_bin514.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 1.52
user 0.32
sys 0.84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106495/ft1_filtered_4FGL_J0915.9+2933_daily_bin514.fits" evtable="EVENTS" scfile=/scratch/kocevski/106495/ft2_4FGL_J0915.9+2933_daily_bin514.fits sctable="SC_DATA" outfile=/scratch/kocevski/106495/ltcube_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.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/106495/ft2_4FGL_J0915.9+2933_daily_bin514.fits
.....................!
real 13.15
user 11.54
sys 1.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106495/ft1_filtered_4FGL_J0915.9+2933_daily_bin514.fits evtable="EVENTS" scfile=/scratch/kocevski/106495/ft2_4FGL_J0915.9+2933_daily_bin514.fits sctable="SC_DATA" expcube=/scratch/kocevski/106495/ltcube_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.fits outfile=/scratch/kocevski/106495/expmap_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.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/106495/ltcube_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.fits
.....................!
real 195.20
user 186.24
sys 7.13

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/106495/ft1_filtered_4FGL_J0915.9+2933_daily_bin514.fits scfile=/scratch/kocevski/106495/ft2_4FGL_J0915.9+2933_daily_bin514.fits outfile=/scratch/kocevski/106495/cmap_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.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 1.34
user 0.37
sys 0.83

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106495/ft1_filtered_4FGL_J0915.9+2933_daily_bin514.fits scfile=/scratch/kocevski/106495/ft2_4FGL_J0915.9+2933_daily_bin514.fits outfile=/scratch/kocevski/106495/cmap_HighResolution_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.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 1.53
user 0.36
sys 0.85

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.935       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.604       1.0000         .10000E-03   10000.    
     3 'norm      '    1.9477       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.867       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.933       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1958       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21312E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.1487       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1399       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0557       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4313       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3268       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.793       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.735       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .35099       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2563       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88275       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0680       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=   7272.848     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2421 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.935        2.8183        .52843E-07    .22452E-03
   2  Prefactor     16.606        15.923       -.74663E-07   -.30415E-04
   3  norm          1.9478        .85479        .24322E-07    .71604E-04
   4  Prefactor     28.869        15.532       -.42346E-09   -.24480E-04
   5  Prefactor     19.939        17.123       -.26503E-06   -.10909E-03
   6  norm          3.1900        43.267        .19075E-05    .35159E-04
   7  Prefactor     .10006E-03    1.9904       -.63170E-06** at limit **
   8  Prefactor     .10000E-03    16.334       -.88069E-06** at limit **
   9  Prefactor     .10000E-03    3.0351        .35814E-06** at limit **
  10  norm          2.1489        1.4492        .23692E-07    .41916E-04
  11  Prefactor     1.1390        28.561       -.15149E-05    .12874E-03
  12  Prefactor     4.0528        71.731        .17277E-05    .17452E-04
  13  norm          .10000E-03    2.3780        .66932E-07** at limit **
  14  Prefactor     4.4300        3.2630        .22458E-06    .22401E-03
  15  Prefactor     2.3272        2.6455        .48645E-07    .15563E-04
  16  Prefactor     31.784        24.107        .60993E-06    .59021E-04
  17  Prefactor     30.690        50.490        .63064E-05    .23704E-03
  18  Prefactor     .39621        6.3277        .18984E-05   -.72375E-03
  19  Prefactor     .10000E-03    4.3132       -.10802E-06** at limit **
  20  Prefactor     1.2559        2.3578       -.12085E-06   -.28507E-03
  21  Normalizat    .88261        .17038       -.32101E-06   -.14840E-03
  22  Prefactor     1.0680        .16172       -.51841E-06   -.12745E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.9353
  Prefactor  = 16.6064
  norm       = 1.94781
  Prefactor  = 28.8694
  Prefactor  = 19.9394
  norm       = 3.19001
  Prefactor  = 0.000100059
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.14887
  Prefactor  = 1.13903
  Prefactor  = 4.05282
  norm       = 0.0001
  Prefactor  = 4.43003
  Prefactor  = 2.32718
  Prefactor  = 31.784
  Prefactor  = 30.6897
  Prefactor  = 0.396213
  Prefactor  = 0.0001
  Prefactor  = 1.25588
  Normalizat = 0.882606
  Prefactor  = 1.06796
 **********
 **   18 **HESSE 
 **********

 FCN=   7272.848     FROM HESSE     STATUS=OK           356 CALLS     2777 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.935        2.8192        .53058E-04   -1.4861    
   2  Prefactor     16.606        15.916        .98289E-04   -1.4893    
   3  norm          1.9478        .85215        .48780E-04   -1.5429    
   4  Prefactor     28.869        15.525        .74567E-04   -1.4633    
   5  Prefactor     19.939        17.170        .89710E-04   -1.4815    
   6  norm          3.1900        43.443        .22666E-03   -1.5351    
   7  Prefactor     .10006E-03    19.298        .20807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.1184        .28924E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1489        1.4477        .81594E-04   -1.5415    
  11  Prefactor     1.1390        29.282        .21778E-02   -1.5495    
  12  Prefactor     4.0528        71.830        .20022E-03   -1.5305    
  13  norm          .10000E-03    2.3852        .12841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4300        3.2608        .12527E-03   -1.5287    
  15  Prefactor     2.3272        2.6343        .14138E-03   -1.5403    
  16  Prefactor     31.784        24.190        .71063E-04   -1.4580    
  17  Prefactor     30.690        52.729        .72272E-04   -1.4599    
  18  Prefactor     .39621        16.397        .27862E-02   -1.5582    
  19  Prefactor     .10000E-03    4.3311        .17293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2559        2.3237        .16776E-03   -1.5484    
  21  Normalizat    .88261        .19690        .27118E-03   -.97074    
  22  Prefactor     1.0680        .18880        .24938E-03   -.90497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5672e-09
Minuit parameter uncertainties:
  1  2.81927
  2  15.9197
  3  0.852155
  4  15.5273
  5  17.1742
  6  23.5649
  7  0.00213924
  8  0.000128178
  9  2.22239e-05
  10  1.44776
  11  11.5562
  12  34.1717
  13  4.49041e-06
  14  3.26098
  15  2.63447
  16  24.1979
  17  52.8096
  18  5.09856
  19  6.55621e-06
  20  2.3239
  21  0.197059
  22  0.188919
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.149e+00  1.448e+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:  1.068e+00  1.889e-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.826e-01  1.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.93
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.18e-08 +/- 1.47e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.68e-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) = 7271.9806937
delta logL = 0.866888326684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7271.89131307
delta logL = 0.956268958487

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4218       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0114       1.0000          .0000       5.0000    
     3 'Normalizat'    .88627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0723       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=   7271.891     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4200        1.0340        .90688E-02    .28641E-03
   2  alpha         1.0104        .35945        .33304       -.73885E-04
   3  Normalizat    .88624        .15785        .44726E-01    .21917E-04
   4  Prefactor     1.0724        .15909        .56325E-01    .31154E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41999
  alpha      = 1.01037
  Normalizat = 0.886236
  Prefactor  = 1.07238
 **********
 **   18 **HESSE 
 **********

 FCN=   7271.891     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4200        1.4271        .68698E-04   -1.5470    
   2  alpha         1.0104        .50761        .14257E-01   -.63832    
   3  Normalizat    .88624        .18352        .27065E-03   -.96945    
   4  Prefactor     1.0724        .18504        .24905E-03   -.90354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1535e-11
Minuit parameter uncertainties:
  1  1.42714
  2  0.513176
  3  0.183648
  4  0.185152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106495': 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) = 7271.89131128
delta logL = 0.956270746005

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.420e+00  1.427e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.010e+00  5.132e-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.072e+00  1.852e-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.862e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.83
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.01 +/- 0.51
Photon Flux (Free Index): 9.82e-09 +/- 8.52e-09
Energy Flux (Free Index): 8.01e-05 +/- 8.16e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/106495/cmap_HighResolution_372556801_372816001_4FGL_J0915.9+2933_daily_bin514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-08', energy_flux2='8.01e-05', photon_flux_error='1.47e-08', dlogl='9.56e-01', energy_flux='2.50e-05', photon_flux2='9.82e-09', job_status='DONE', time_completed='2021-08-31 05:55:29.324174', photon_index_error2='0.51', photon_index2='1.01', ts='9.93', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='8.16e-05', EG='0.88', time_epoch_completed='1630414529.32', return_code='0', job_id='106495', GAL2='1.07', EG2='0.89', return_code2='0', energy_flux_error='1.68e-05', photon_flux_error2='8.52e-09', ts2='11.83', photon_index='1.75' WHERE bin_id='514' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:55:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 106495: <4FGL_J0915.9+2933_daily_bin514> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin514 138.986 29.553 372556801 372816001 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 :                                   634.41 sec.
    Max Memory :                                 1118 MB
    Average Memory :                             272.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            887 sec.

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

