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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin650
RA = 138.986, Dec = 29.553
tmin = 407808001, tmax = 408067201
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='106702', job_status='RUN', time_executed='2021-08-31 05:42:35.189558', time_epoch_executed='1630413755.19' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106702

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106702/ft1_4FGL_J0915.9+2933_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106702/ft2_4FGL_J0915.9+2933_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106702/ft1_4FGL_J0915.9+2933_daily_bin650.fits outfile=/scratch/kocevski/106702/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin650.fits ra=138.986 dec=29.553 rad=12.0 tmin=407808001.0 tmax=408067201.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 5.34
user 3.84
sys 1.07

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106702/ft1_filtered_4FGL_J0915.9+2933_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/106702/ft2_4FGL_J0915.9+2933_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/106702/ltcube_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.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/106702/ft2_4FGL_J0915.9+2933_daily_bin650.fits
.....................!
real 13.18
user 11.69
sys 1.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106702/ft1_filtered_4FGL_J0915.9+2933_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/106702/ft2_4FGL_J0915.9+2933_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/106702/ltcube_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.fits outfile=/scratch/kocevski/106702/expmap_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.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/106702/ltcube_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.fits
.....................!
real 191.31
user 184.81
sys 5.77

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/106702/ft1_filtered_4FGL_J0915.9+2933_daily_bin650.fits scfile=/scratch/kocevski/106702/ft2_4FGL_J0915.9+2933_daily_bin650.fits outfile=/scratch/kocevski/106702/cmap_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.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.45
user 0.36
sys 0.98

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106702/ft1_filtered_4FGL_J0915.9+2933_daily_bin650.fits scfile=/scratch/kocevski/106702/ft2_4FGL_J0915.9+2933_daily_bin650.fits outfile=/scratch/kocevski/106702/cmap_HighResolution_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.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.36
user 0.38
sys 0.96

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.285       1.0000         .10000E-03   10000.    
     3 'norm      '    1.6219       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.401       1.0000         .10000E-03   10000.    
     6 'norm      '    34.804       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0723       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11086E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26098       1.0000         .10000E-03   10000.    
    10 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11134E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3129       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.8076       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0062       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95204       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=   4413.218     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2363 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50849       -.32972E-07** at limit **
   2  Prefactor     17.285        14.475        .98634E-07   -.25910E-04
   3  norm          1.6221        .86739       -.38708E-07   -.52140E-03
   4  Prefactor     .10000E-03    16.183        .69765E-05** at limit **
   5  Prefactor     30.401        23.661       -.33998E-07   -.34948E-04
   6  norm          34.804        46.378       -.90608E-07   -.61046E-04
   7  Prefactor     5.0719        4.1427       -.37527E-06    .24466E-04
   8  Prefactor     .10000E-03    74.579       -.35646E-04** at limit **
   9  Prefactor     .25248        3.1494       -.14242E-05    .75977E-03
  10  norm          .10000E-03    2.4279        .29426E-06** at limit **
  11  Prefactor     .10000E-03    37.062        .13155E-05** at limit **
  12  Prefactor     .10000E-03    51.028        .47113E-04** at limit **
  13  norm          .10000E-03    3.9194       -.12902E-06** at limit **
  14  Prefactor     .10000E-03    1.1656       -.18140E-07** at limit **
  15  Prefactor     3.3127        5.1240       -.11290E-05   -.42935E-03
  16  Prefactor     .10000E-03    15.653       -.47096E-05** at limit **
  17  Prefactor     .10000E-03    34.682       -.16876E-04** at limit **
  18  Prefactor     .10000E-03    2.5592        .30869E-06** at limit **
  19  Prefactor     .10000E-03    3.7438       -.16605E-06** at limit **
  20  Prefactor     3.8081        3.4114       -.26160E-06   -.27474E-03
  21  Normalizat    1.0063        .20134        .10442E-05    .44142E-04
  22  Prefactor     .95192        .19103       -.72713E-06    .68549E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.2846
  norm       = 1.62212
  Prefactor  = 0.0001
  Prefactor  = 30.4011
  norm       = 34.8039
  Prefactor  = 5.0719
  Prefactor  = 0.0001
  Prefactor  = 0.252476
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.31273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.80811
  Normalizat = 1.00628
  Prefactor  = 0.951918
 **********
 **   18 **HESSE 
 **********

 FCN=   4413.218     FROM HESSE     STATUS=OK           342 CALLS     2705 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .78926        .91990E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.285        14.422        .96334E-04   -1.4876    
   3  norm          1.6221        .86788        .43530E-04   -1.5453    
   4  Prefactor     .10000E-03    16.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.401        23.687        .72667E-04   -1.4605    
   6  norm          34.804        46.472        .67928E-04   -1.4527    
   7  Prefactor     5.0719        4.1448        .11810E-03   -1.5258    
   8  Prefactor     .10000E-03    74.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .25248        18.449        .22438E-02   -1.5607    
  10  norm          .10000E-03    2.5078        .20152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    37.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    51.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.9311        .12841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1675        .70024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3127        5.1283        .17338E-03   -1.5344    
  16  Prefactor     .10000E-03    15.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.5675        .10378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7489        .12553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.8081        3.4158        .10994E-03   -1.5318    
  21  Normalizat    1.0063        .23507        .23625E-03   -.92820    
  22  Prefactor     .95192        .22319        .23991E-03   -.94350    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92817e-09
Minuit parameter uncertainties:
  1  2.96751e-07
  2  14.4247
  3  0.867885
  4  2.72419e-05
  5  23.6946
  6  46.52
  7  4.14499
  8  0.000253027
  9  4.31699
  10  1.3093e-05
  11  0.000227448
  12  3.6034e-05
  13  8.21825e-06
  14  2.5521e-06
  15  5.12901
  16  1.3018e-05
  17  5.63021e-06
  18  8.24193e-07
  19  1.32376e-07
  20  3.41598
  21  0.235315
  22  0.223406
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.309e-05  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.519e-01  2.234e-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.006e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106702/likelihoodResults_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.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) = 4413.22010965
delta logL = -0.00190172006933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4412.52499465
delta logL = 0.693213274711

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37980       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3184       1.0000          .0000       5.0000    
     3 'Normalizat'    .94281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97887       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=   4412.525     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      269 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37961        6.1583        .83029E-02    .10671E-02
   2  alpha         3.3186        3.9245        .25869        .53892E-04
   3  Normalizat    .94279        .45584E-01    .45446E-01    .88009E-05
   4  Prefactor     .97890        .45633E-01    .46002E-01    .54642E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.379613
  alpha      = 3.31858
  Normalizat = 0.94279
  Prefactor  = 0.978898
 **********
 **   18 **HESSE 
 **********

 FCN=   4412.525     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      304 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37961        16.513        .37718E-03   -1.5585    
   2  alpha         3.3186        3.9155        .97385E-02    .33358    
   3  Normalizat    .94279        .20376        .24254E-03   -.94972    
   4  Prefactor     .97890        .21178        .23660E-03   -.93436    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.53796e-11
Minuit parameter uncertainties:
  1  5.00829
  2  5.99897
  3  0.20393
  4  0.211961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106702': 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): 102
logL (Free Index) = 4412.52499461
delta logL = 0.693213312886

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.796e-01  5.008e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.319e+00  5.999e+00  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.789e-01  2.120e-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:  9.428e-01  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.32 +/- 6.00
Photon Flux (Free Index): 6.55e-08 +/- 6.67e-08
Energy Flux (Free Index): 1.24e-05 +/- 3.51e-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/106702/cmap_HighResolution_407808001_408067201_4FGL_J0915.9+2933_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-05', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='6.93e-01', photon_flux2='6.55e-08', job_status='DONE', time_completed='2021-08-31 05:51:39.044687', photon_index_error2='6.00', photon_index2='3.32', ts='-0.00', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='6.49e-08', energy_flux_error2='3.51e-05', EG='1.01', time_epoch_completed='1630414299.04', return_code='0', job_id='106702', GAL2='0.98', EG2='0.94', return_code2='102', photon_flux_error2='6.67e-08', ts2='1.44', photon_index='1.75' WHERE bin_id='650' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:51:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 106702: <4FGL_J0915.9+2933_daily_bin650> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin650> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:41:00 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:41:01 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:41:01 2021
Terminated at Tue Aug 31 05:51:39 2021
Results reported at Tue Aug 31 05:51:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin650 138.986 29.553 407808001 408067201 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 :                                   553.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            639 sec.

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

