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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin286
RA = 138.986, Dec = 29.553
tmin = 313459201, tmax = 313718401
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='104756', job_status='RUN', time_executed='2021-08-31 05:39:33.233439', time_epoch_executed='1630413573.23' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104756/ft1_4FGL_J0915.9+2933_daily_bin286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104756/ft2_4FGL_J0915.9+2933_daily_bin286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104756/ft1_4FGL_J0915.9+2933_daily_bin286.fits outfile=/scratch/kocevski/104756/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin286.fits ra=138.986 dec=29.553 rad=12.0 tmin=313459201.0 tmax=313718401.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 6.96
user 3.13
sys 3.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104756/ft1_filtered_4FGL_J0915.9+2933_daily_bin286.fits" evtable="EVENTS" scfile=/scratch/kocevski/104756/ft2_4FGL_J0915.9+2933_daily_bin286.fits sctable="SC_DATA" outfile=/scratch/kocevski/104756/ltcube_313459201_313718401_4FGL_J0915.9+2933_daily_bin286.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/104756/ft2_4FGL_J0915.9+2933_daily_bin286.fits
.....................!
real 16.42
user 11.99
sys 4.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104756/ft1_filtered_4FGL_J0915.9+2933_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/104756/ft2_4FGL_J0915.9+2933_daily_bin286.fits sctable="SC_DATA" expcube=/scratch/kocevski/104756/ltcube_313459201_313718401_4FGL_J0915.9+2933_daily_bin286.fits outfile=/scratch/kocevski/104756/expmap_313459201_313718401_4FGL_J0915.9+2933_daily_bin286.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/104756/ltcube_313459201_313718401_4FGL_J0915.9+2933_daily_bin286.fits
.....................!
real 199.01
user 187.27
sys 9.34

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/104756/ft1_filtered_4FGL_J0915.9+2933_daily_bin286.fits scfile=/scratch/kocevski/104756/ft2_4FGL_J0915.9+2933_daily_bin286.fits outfile=/scratch/kocevski/104756/cmap_313459201_313718401_4FGL_J0915.9+2933_daily_bin286.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.15
user 0.37
sys 3.58

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

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

This is gtbin version HEAD
real 4.19
user 0.39
sys 3.56

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10258E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.019       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8232       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.234       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    14.076       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9020       1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.372       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.8789       1.0000         .10000E-03   10000.    
    10 'norm      '    2.6311       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8433       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9480       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    40.781       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.120       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .53876       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0979       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85041       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=   5886.738     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2375 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .64317        .33473E-07** at limit **
   2  Prefactor     15.017        15.810        .74208E-07   -.51219E-04
   3  norm          1.8234        .95631        .35978E-07    .26588E-04
   4  Prefactor     11.232        15.271        .50710E-07   -.31304E-04
   5  Prefactor     .10000E-03    6.8729       -.31488E-07** at limit **
   6  norm          14.072        34.770       -.80107E-06   -.54724E-04
   7  Prefactor     1.9021        2.1502        .20002E-07   -.23343E-04
   8  Prefactor     35.384        36.614        .56090E-06    .22246E-03
   9  Prefactor     6.8806        5.5681        .18262E-05   -.70813E-03
  10  norm          2.6310        1.4985       -.37171E-08   -.28857E-04
  11  Prefactor     .10000E-03    20.042       -.28865E-06** at limit **
  12  Prefactor     .10000E-03    15.816       -.65243E-07** at limit **
  13  norm          3.8448        5.4552        .35956E-05   -.67393E-03
  14  Prefactor     2.9486        3.6102       -.10383E-05   -.18330E-03
  15  Prefactor     .10000E-03    1.4643        .11757E-06** at limit **
  16  Prefactor     .10000E-03    7.6748        .45874E-06** at limit **
  17  Prefactor     40.734        57.459       -.93010E-05   -.39457E-03
  18  Prefactor     14.121        7.9866        .80976E-06   -.23383E-03
  19  Prefactor     .10000E-03    7.9708       -.24552E-06** at limit **
  20  Prefactor     .53594        1.8157        .30809E-06   -.27422E-03
  21  Normalizat    1.0977        .17561       -.14548E-05    .18408E-04
  22  Prefactor     .85065        .16841        .65645E-06   -.75743E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 15.0168
  norm       = 1.8234
  Prefactor  = 11.2324
  Prefactor  = 0.0001
  norm       = 14.0715
  Prefactor  = 1.90212
  Prefactor  = 35.3842
  Prefactor  = 6.88062
  norm       = 2.63098
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.84477
  Prefactor  = 2.94855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.7338
  Prefactor  = 14.1206
  Prefactor  = 0.0001
  Prefactor  = 0.53594
  Normalizat = 1.09768
  Prefactor  = 0.850649
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.738     FROM HESSE     STATUS=OK           350 CALLS     2725 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .66589        .11967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.017        15.780        .10335E-03   -1.4933    
   3  norm          1.8234        .95030        .50107E-04   -1.5438    
   4  Prefactor     11.232        15.265        .11953E-03   -1.5038    
   5  Prefactor     .10000E-03    6.8923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.072        34.797        .10676E-03   -1.4958    
   7  Prefactor     1.9021        2.1449        .11618E-03   -1.5432    
   8  Prefactor     35.384        37.008        .67382E-04   -1.4518    
   9  Prefactor     6.8806        5.6084        .71591E-03   -1.5183    
  10  norm          2.6310        1.4955        .68840E-04   -1.5384    
  11  Prefactor     .10000E-03    20.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8448        5.5354        .10287E-02   -1.5316    
  14  Prefactor     2.9486        3.5993        .14345E-03   -1.5365    
  15  Prefactor     .10000E-03    2.6843        .17975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.6894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     40.734        60.962        .62770E-04   -1.4431    
  18  Prefactor     14.121        7.9650        .53295E-03   -1.4956    
  19  Prefactor     .10000E-03    8.1642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .53594        2.3848        .17753E-02   -1.5562    
  21  Normalizat    1.0977        .20076        .22565E-03   -.89826    
  22  Prefactor     .85065        .19315        .25322E-03   -.97888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71995e-08
Minuit parameter uncertainties:
  1  1.3132e-06
  2  15.7846
  3  0.950308
  4  15.2704
  5  7.18032e-06
  6  34.8468
  7  2.14499
  8  37.0317
  9  5.60879
  10  1.49553
  11  0.000273708
  12  2.99578e-06
  13  5.5361
  14  3.59961
  15  1.33908e-06
  16  5.01476e-05
  17  61.0556
  18  7.9656
  19  3.45047e-05
  20  2.261
  21  0.200902
  22  0.193308
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.631e+00  1.496e+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.506e-01  1.933e-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.098e+00  2.009e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.97
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 1.51e-08
Energy Flux (Fixed Index): 3.06e-05 +/- 1.74e-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) = 5886.7211166
delta logL = 0.0168129685408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5886.71983076
delta logL = 0.0180988105185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7058       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6662       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84985       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=   5886.720     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      191 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7064        48.099        .61908E-02   -.62117E-04
   2  alpha         1.6661        2.5820        .30689        .11927E-04
   3  Normalizat    1.0994        .15803        .38024E-01    .63487E-05
   4  Prefactor     .84984        .12926        .44363E-01    .12874E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.70641
  alpha      = 1.66611
  Normalizat = 1.09944
  Prefactor  = 0.849841
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.720     FROM HESSE     STATUS=OK            33 CALLS      224 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7064        1.5762        .69972E-04   -1.5379    
   2  alpha         1.6661        .43635        .12002E-01   -.34007    
   3  Normalizat    1.0994        .18935        .22549E-03   -.89770    
   4  Prefactor     .84984        .19026        .25333E-03   -.97916    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04761e-11
Minuit parameter uncertainties:
  1  1.57627
  2  0.438879
  3  0.189469
  4  0.190407
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104756': 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) = 5886.71983065
delta logL = 0.0180989123301

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.706e+00  1.576e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.666e+00  4.389e-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.498e-01  1.904e-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.099e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.99
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.67 +/- 0.44
Photon Flux (Free Index): 2.49e-08 +/- 1.67e-08
Energy Flux (Free Index): 3.52e-05 +/- 3.33e-05

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/104756/cmap_HighResolution_313459201_313718401_4FGL_J0915.9+2933_daily_bin286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='3.52e-05', photon_flux_error='1.51e-08', dlogl='1.81e-02', energy_flux='3.06e-05', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-08-31 05:49:53.415911', photon_index_error2='0.44', photon_index2='1.67', ts='9.97', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='3.33e-05', EG='1.10', time_epoch_completed='1630414193.42', return_code='0', job_id='104756', GAL2='0.85', EG2='1.10', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='1.67e-08', ts2='9.99', photon_index='1.75' WHERE bin_id='286' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:49:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0142>
Subject: Job 104756: <4FGL_J0915.9+2933_daily_bin286> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin286 138.986 29.553 313459201 313718401 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 :                                   658.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             216.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            869 sec.

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

