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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin254
RA = 138.986, Dec = 29.553
tmin = 305164801, tmax = 305424001
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='103547', job_status='RUN', time_executed='2021-08-31 05:33:32.397072', time_epoch_executed='1630413212.4' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='254'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103547

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103547/ft1_4FGL_J0915.9+2933_daily_bin254.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103547/ft2_4FGL_J0915.9+2933_daily_bin254.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103547/ft1_4FGL_J0915.9+2933_daily_bin254.fits outfile=/scratch/kocevski/103547/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin254.fits ra=138.986 dec=29.553 rad=12.0 tmin=305164801.0 tmax=305424001.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.83
user 3.30
sys 0.50

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103547/ft1_filtered_4FGL_J0915.9+2933_daily_bin254.fits" evtable="EVENTS" scfile=/scratch/kocevski/103547/ft2_4FGL_J0915.9+2933_daily_bin254.fits sctable="SC_DATA" outfile=/scratch/kocevski/103547/ltcube_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.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/103547/ft2_4FGL_J0915.9+2933_daily_bin254.fits
.....................!
real 12.21
user 11.35
sys 0.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103547/ft1_filtered_4FGL_J0915.9+2933_daily_bin254.fits evtable="EVENTS" scfile=/scratch/kocevski/103547/ft2_4FGL_J0915.9+2933_daily_bin254.fits sctable="SC_DATA" expcube=/scratch/kocevski/103547/ltcube_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.fits outfile=/scratch/kocevski/103547/expmap_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.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/103547/ltcube_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.fits
.....................!
real 190.67
user 184.01
sys 6.32

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/103547/ft1_filtered_4FGL_J0915.9+2933_daily_bin254.fits scfile=/scratch/kocevski/103547/ft2_4FGL_J0915.9+2933_daily_bin254.fits outfile=/scratch/kocevski/103547/cmap_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.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.87
user 0.36
sys 0.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103547/ft1_filtered_4FGL_J0915.9+2933_daily_bin254.fits scfile=/scratch/kocevski/103547/ft2_4FGL_J0915.9+2933_daily_bin254.fits outfile=/scratch/kocevski/103547/cmap_HighResolution_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.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.87
user 0.38
sys 0.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3664       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.2136       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.825       1.0000         .10000E-03   10000.    
     5 'Prefactor '    45.265       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.2371       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21386       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9105       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4239       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.997       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2984       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77080       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99818       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=   5342.498     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     1995 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3666        .98964        .33968E-07    .37228E-03
   2  Prefactor     .10000E-03    15.482       -.98465E-05** at limit **
   3  norm          3.2138        1.0132       -.26886E-08   -.18060E-03
   4  Prefactor     11.825        8.5125       -.28489E-09    .17797E-04
   5  Prefactor     45.263        19.867       -.81910E-06   -.74384E-05
   6  norm          .10000E-03    10.850        .12099E-04** at limit **
   7  Prefactor     1.2375        2.4689       -.29833E-06   -.67417E-03
   8  Prefactor     .10000E-03    12.723       -.87768E-05** at limit **
   9  Prefactor     .20643        2.5749        .83302E-06   -.14038E-02
  10  norm          1.9106        1.2367        .21714E-07    .17438E-03
  11  Prefactor     .10000E-03    7.1263       -.17335E-05** at limit **
  12  Prefactor     .10000E-03    15.497       -.10765E-04** at limit **
  13  norm          .10000E-03    2.5192       -.22755E-07** at limit **
  14  Prefactor     2.4247        2.6847       -.25959E-06   -.28627E-03
  15  Prefactor     .10000E-03    1.2509       -.11845E-07** at limit **
  16  Prefactor     .10000E-03    19.949        .27188E-04** at limit **
  17  Prefactor     .10000E-03    41.043       -.12920E-04** at limit **
  18  Prefactor     30.000        9.8542       -.17374E-06   -.22461E-03
  19  Prefactor     .10000E-03    2.2832        .67452E-08** at limit **
  20  Prefactor     5.2991        3.2461        .29448E-06   -.43277E-03
  21  Normalizat    .77055        .17240        .71052E-07   -.71138E-04
  22  Prefactor     .99847        .16943        .92521E-07   -.31178E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.36658
  Prefactor  = 0.0001
  norm       = 3.21376
  Prefactor  = 11.8251
  Prefactor  = 45.2633
  norm       = 0.0001
  Prefactor  = 1.23748
  Prefactor  = 0.0001
  Prefactor  = 0.206428
  norm       = 1.91065
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.42473
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30
  Prefactor  = 0.0001
  Prefactor  = 5.29913
  Normalizat = 0.770546
  Prefactor  = 0.998472
 **********
 **   18 **HESSE 
 **********

 FCN=   5342.498     FROM HESSE     STATUS=OK           344 CALLS     2339 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3666        .98918        .60078E-04   -1.5474    
   2  Prefactor     .10000E-03    15.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2138        1.0132        .11300E-03   -1.5349    
   4  Prefactor     11.825        8.5115        .11649E-03   -1.5020    
   5  Prefactor     45.263        19.908        .59592E-04   -1.4361    
   6  norm          .10000E-03    10.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.2375        2.4278        .15701E-03   -1.5485    
   8  Prefactor     .10000E-03    12.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .20643        6.4087        .22243E-02   -1.5617    
  10  norm          1.9106        1.2432        .63761E-04   -1.5432    
  11  Prefactor     .10000E-03    7.1389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5269        .11326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4247        2.6615        .11975E-03   -1.5397    
  15  Prefactor     .10000E-03    1.2651        .79795E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    19.902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    41.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.000        9.8717        .73153E-04   -1.4612    
  19  Prefactor     .10000E-03    2.2858        .10786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.2991        3.2456        .96599E-04   -1.5248    
  21  Normalizat    .77055        .19933        .25120E-03   -1.0117    
  22  Prefactor     .99847        .19659        .22880E-03   -.92780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19486e-09
Minuit parameter uncertainties:
  1  0.989195
  2  5.19869e-05
  3  1.01323
  4  8.51234
  5  19.9112
  6  1.42387e-06
  7  2.42797
  8  5.18832e-07
  9  2.30009
  10  1.24321
  11  4.38298e-07
  12  6.90642e-07
  13  1.27146e-07
  14  2.66167
  15  3.64047e-08
  16  3.40437e-05
  17  7.06343e-06
  18  9.87225
  19  5.33411e-07
  20  3.24574
  21  0.199522
  22  0.196736
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.911e+00  1.243e+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:  9.985e-01  1.967e-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:  7.705e-01  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.53
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.93e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 2.22e-05 +/- 1.45e-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) = 5341.76296009
delta logL = 0.735247750559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5341.72907318
delta logL = 0.769134654412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7545       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1812       1.0000          .0000       5.0000    
     3 'Normalizat'    .77430       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99919       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=   5341.729     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      199 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7550        1.1772        .79114E-02   -.22371E-03
   2  alpha         1.1813        .37700        .30362       -.18792E-04
   3  Normalizat    .77428        .16389        .43274E-01    .15314E-04
   4  Prefactor     .99915        .16897        .46257E-01    .46848E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.755
  alpha      = 1.18128
  Normalizat = 0.774282
  Prefactor  = 0.999145
 **********
 **   18 **HESSE 
 **********

 FCN=   5341.729     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7550        1.3359        .63407E-04   -1.5443    
   2  alpha         1.1813        .44699        .12730E-01   -.55564    
   3  Normalizat    .77428        .18943        .25065E-03   -1.0103    
   4  Prefactor     .99915        .19539        .22879E-03   -.92758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57043e-10
Minuit parameter uncertainties:
  1  1.33589
  2  0.450359
  3  0.189591
  4  0.195533
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103547': 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) = 5341.72907294
delta logL = 0.76913489287

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.755e+00  1.336e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.181e+00  4.504e-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.991e-01  1.955e-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:  7.743e-01  1.896e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.06
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.18 +/- 0.45
Photon Flux (Free Index): 1.18e-08 +/- 9.21e-09
Energy Flux (Free Index): 6.21e-05 +/- 6.59e-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/103547/cmap_HighResolution_305164801_305424001_4FGL_J0915.9+2933_daily_bin254.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.93e-08', energy_flux2='6.21e-05', photon_flux_error='1.26e-08', dlogl='7.69e-01', energy_flux='2.22e-05', photon_flux2='1.18e-08', job_status='DONE', time_completed='2021-08-31 05:42:10.364656', photon_index_error2='0.45', photon_index2='1.18', ts='14.53', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='6.59e-05', EG='0.77', time_epoch_completed='1630413730.36', return_code='0', job_id='103547', GAL2='1.00', EG2='0.77', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='9.21e-09', ts2='16.06', photon_index='1.75' WHERE bin_id='254' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:42:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 103547: <4FGL_J0915.9+2933_daily_bin254> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin254 138.986 29.553 305164801 305424001 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 :                                   518.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             282.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   660 sec.
    Turnaround time :                            662 sec.

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

