/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 40 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 = 7434
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin1256
RA = 138.986, Dec = 29.553
tmin = 564883201, tmax = 565142401
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='110245', job_status='RUN', time_executed='2021-08-31 05:52:41.318315', time_epoch_executed='1630414361.32' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='1256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110245

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110245/ft1_4FGL_J0915.9+2933_daily_bin1256.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110245/ft1_4FGL_J0915.9+2933_daily_bin1256.fits outfile=/scratch/kocevski/110245/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1256.fits ra=138.986 dec=29.553 rad=12.0 tmin=564883201.0 tmax=565142401.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.05
user 3.32
sys 0.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.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/110245/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1256.fits evtable="EVENTS" outfile="/scratch/kocevski/110245/ft1_filtered_4FGL_J0915.9+2933_daily_bin1256.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.86
user 0.34
sys 0.47

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110245/ft1_filtered_4FGL_J0915.9+2933_daily_bin1256.fits" evtable="EVENTS" scfile=/scratch/kocevski/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.fits sctable="SC_DATA" outfile=/scratch/kocevski/110245/ltcube_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.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/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.fits
.....................!
real 12.93
user 12.07
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110245/ft1_filtered_4FGL_J0915.9+2933_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.fits sctable="SC_DATA" expcube=/scratch/kocevski/110245/ltcube_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.fits outfile=/scratch/kocevski/110245/expmap_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.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/110245/ltcube_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.fits
.....................!
real 192.64
user 185.54
sys 5.04

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/110245/ft1_filtered_4FGL_J0915.9+2933_daily_bin1256.fits scfile=/scratch/kocevski/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.fits outfile=/scratch/kocevski/110245/cmap_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.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.89
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110245/ft1_filtered_4FGL_J0915.9+2933_daily_bin1256.fits scfile=/scratch/kocevski/110245/ft2_4FGL_J0915.9+2933_daily_bin1256.fits outfile=/scratch/kocevski/110245/cmap_HighResolution_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.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.88
user 0.39
sys 0.48

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95151       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15655E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6266       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.729       1.0000         .10000E-03   10000.    
     6 'norm      '    14.928       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5613       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.3407       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10733E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10669E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .22797E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10826E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.9460       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4758       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9334       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1813       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0305       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=   7347.255     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2043 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95154        1.3327       -.60786E-06    .24548E-04
   2  Prefactor     .10000E-03    4.3393        .16694E-07** at limit **
   3  norm          1.6269        .79779        .35029E-08    .16011E-03
   4  Prefactor     .10000E-03    20.826       -.50228E-06** at limit **
   5  Prefactor     14.707        12.593       -.53927E-06    .17659E-03
   6  norm          14.913        15.580        .79403E-07    .56816E-05
   7  Prefactor     2.5624        3.3768       -.49289E-06    .26351E-03
   8  Prefactor     .10000E-03    11.271       -.11817E-06** at limit **
   9  Prefactor     .10000E-03    .72720       -.32712E-07** at limit **
  10  norm          1.3409        1.3408       -.55884E-07    .13984E-03
  11  Prefactor     .10000E-03    6.4282       -.77838E-07** at limit **
  12  Prefactor     .10000E-03    21.366       -.36968E-08** at limit **
  13  norm          .10000E-03    27.078        .10276E-04** at limit **
  14  Prefactor     .10000E-03    1.1339        .12240E-06** at limit **
  15  Prefactor     .10000E-03    2.3573       -.22787E-06** at limit **
  16  Prefactor     .10000E-03    33.955       -.72289E-07** at limit **
  17  Prefactor     7.8690        141.34        .39466E-05    .84725E-05
  18  Prefactor     6.4701        6.1648       -.94558E-07   -.57248E-04
  19  Prefactor     6.9212        8.0050       -.25933E-06    .64023E-04
  20  Prefactor     .10000E-03    .80900       -.18377E-06** at limit **
  21  Normalizat    1.1813        .16203        .11045E-05    .18888E-03
  22  Prefactor     1.0305        .15842        .59382E-06    .16132E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.951536
  Prefactor  = 0.0001
  norm       = 1.62693
  Prefactor  = 0.0001
  Prefactor  = 14.7074
  norm       = 14.9128
  Prefactor  = 2.56238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.34089
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.86903
  Prefactor  = 6.47006
  Prefactor  = 6.92121
  Prefactor  = 0.0001
  Normalizat = 1.18128
  Prefactor  = 1.03055
 **********
 **   18 **HESSE 
 **********

 FCN=   7347.255     FROM HESSE     STATUS=OK           344 CALLS     2387 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95154        1.3200        .11437E-03   -1.5513    
   2  Prefactor     .10000E-03    4.3532        .17436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6269        .79320        .51689E-04   -1.5453    
   4  Prefactor     .10000E-03    21.346        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.707        12.577        .52181E-03   -1.4941    
   6  norm          14.913        15.580        .10366E-03   -1.4935    
   7  Prefactor     2.5624        3.3621        .17346E-03   -1.5388    
   8  Prefactor     .10000E-03    11.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .72874        .71384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3409        1.3289        .96239E-04   -1.5476    
  11  Prefactor     .10000E-03    6.4474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    26.507        .33985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9828        .17620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4222        .25706E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    34.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.8690        143.11        .14224E-03   -1.5147    
  18  Prefactor     6.4701        6.1639        .15771E-03   -1.5199    
  19  Prefactor     6.9212        8.0089        .15236E-03   -1.5182    
  20  Prefactor     .10000E-03    .82148        .75384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1813        .18790        .24073E-03   -.87183    
  22  Prefactor     1.0305        .18427        .25354E-03   -.91718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14756e-10
Minuit parameter uncertainties:
  1  1.32003
  2  1.00243e-05
  3  0.79321
  4  0.000103744
  5  12.5794
  6  15.584
  7  3.36237
  8  4.18992e-06
  9  3.25864e-07
  10  1.32889
  11  2.9431e-06
  12  3.28027e-05
  13  6.36825e-05
  14  3.99942e-06
  15  1.16642e-05
  16  0.000231446
  17  67.3039
  18  6.16449
  19  8.01011
  20  2.71127e-06
  21  0.188002
  22  0.184385
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.341e+00  1.329e+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.031e+00  1.844e-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.181e+00  1.880e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.24
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.36e-08 +/- 1.35e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.55e-05

TS (Fixed Index): 2.24
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 5.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.75e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110245/likelihoodResults_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7346.53495381
delta logL = 0.719597473062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7346.53443593
delta logL = 0.72011535153

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .93485       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7350       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0486       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=   7346.534     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      239 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .93479        10.569        .12933E-01    .24990E-02
   2  alpha         2.7349        3.8295        .24304        .15857E-04
   3  Normalizat    1.1428        .46766E-01    .55201E-01    .62039E-05
   4  Prefactor     1.0486        .43027E-01    .39993E-01    .12831E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.934791
  alpha      = 2.73493
  Normalizat = 1.14277
  Prefactor  = 1.04858
 **********
 **   18 **HESSE 
 **********

 FCN=   7346.534     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .93479        1.3310        .58806E-04   -1.5515    
   2  alpha         2.7349        .93195        .12799E-01    .94112E-01
   3  Normalizat    1.1428        .19162        .24409E-03   -.88390    
   4  Prefactor     1.0486        .18617        .25146E-03   -.91127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96294e-09
Minuit parameter uncertainties:
  1  1.33109
  2  0.955223
  3  0.191737
  4  0.186282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110245': 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) = 7346.53443591
delta logL = 0.720115369903

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.348e-01  1.331e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.735e+00  9.552e-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.049e+00  1.863e-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.143e+00  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.68
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.73 +/- 0.96
Photon Flux (Free Index): 4.87e-08 +/- 4.75e-08
Energy Flux (Free Index): 1.27e-05 +/- 9.34e-06

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/110245/cmap_HighResolution_564883201_565142401_4FGL_J0915.9+2933_daily_bin1256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.75e-05', comment='SUCCESS', photon_flux='1.36e-08', energy_flux2='1.27e-05', photon_flux_error='1.35e-08', dlogl='7.20e-01', energy_flux='1.56e-05', photon_flux2='4.87e-08', job_status='DONE', time_completed='2021-08-31 06:03:41.839262', photon_index_error2='0.96', photon_index2='2.73', ts='2.24', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='5.00e-08', energy_flux_error2='9.34e-06', EG='1.18', time_epoch_completed='1630415021.84', return_code='0', job_id='110245', GAL2='1.05', EG2='1.14', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='4.75e-08', ts2='3.68', photon_index='1.75' WHERE bin_id='1256' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:03:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 110245: <4FGL_J0915.9+2933_daily_bin1256> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin1256> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 05:51:34 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:51:36 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:51:36 2021
Terminated at Tue Aug 31 06:03:45 2021
Results reported at Tue Aug 31 06:03:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin1256 138.986 29.553 564883201 565142401 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 :                                   654.40 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             340.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            731 sec.

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

