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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin1240
RA = 138.986, Dec = 29.553
tmin = 560736001, tmax = 560995201
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='110222', job_status='RUN', time_executed='2021-08-31 05:55:21.325320', time_epoch_executed='1630414521.33' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='1240'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110222

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110222/ft1_4FGL_J0915.9+2933_daily_bin1240.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110222/ft2_4FGL_J0915.9+2933_daily_bin1240.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110222/ft1_4FGL_J0915.9+2933_daily_bin1240.fits outfile=/scratch/kocevski/110222/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1240.fits ra=138.986 dec=29.553 rad=12.0 tmin=560736001.0 tmax=560995201.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 7.30
user 3.52
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110222/ft1_filtered_4FGL_J0915.9+2933_daily_bin1240.fits" evtable="EVENTS" scfile=/scratch/kocevski/110222/ft2_4FGL_J0915.9+2933_daily_bin1240.fits sctable="SC_DATA" outfile=/scratch/kocevski/110222/ltcube_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.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/110222/ft2_4FGL_J0915.9+2933_daily_bin1240.fits
.....................!
real 13.04
user 11.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110222/ft1_filtered_4FGL_J0915.9+2933_daily_bin1240.fits evtable="EVENTS" scfile=/scratch/kocevski/110222/ft2_4FGL_J0915.9+2933_daily_bin1240.fits sctable="SC_DATA" expcube=/scratch/kocevski/110222/ltcube_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.fits outfile=/scratch/kocevski/110222/expmap_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.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/110222/ltcube_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.fits
.....................!
real 194.14
user 186.26
sys 4.14

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/110222/ft1_filtered_4FGL_J0915.9+2933_daily_bin1240.fits scfile=/scratch/kocevski/110222/ft2_4FGL_J0915.9+2933_daily_bin1240.fits outfile=/scratch/kocevski/110222/cmap_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.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.18
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110222/ft1_filtered_4FGL_J0915.9+2933_daily_bin1240.fits scfile=/scratch/kocevski/110222/ft2_4FGL_J0915.9+2933_daily_bin1240.fits outfile=/scratch/kocevski/110222/cmap_HighResolution_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.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.72
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18455       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.037       1.0000         .10000E-03   10000.    
     3 'norm      '    .72122       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    48.750       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10917E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    14.900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    705.91       1.0000         .10000E-03   10000.    
    12 'Prefactor '    102.66       1.0000         .10000E-03   10000.    
    13 'norm      '    .10310E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8620       1.0000         .10000E-03   10000.    
    16 'Prefactor '    164.78       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10797       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.6692       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1286.079     FROM MIGRAD    STATUS=CONVERGED    828 CALLS     3604 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18431        10.434        .13530E-02   -.10892E-03
   2  Prefactor     10.030        22.086        .63240E-03   -.46709E-04
   3  norm          .72100        1.0906        .42509E-04   -.84378E-04
   4  Prefactor     .10000E-03    14.663        .13400E-02** at limit **
   5  Prefactor     .10000E-03    39.146        .18142E-02** at limit **
   6  norm          48.749        88.641        .57432E-04   -.90562E-05
   7  Prefactor     .10000E-03    11.151        .11696E-02** at limit **
   8  Prefactor     .10000E-03    1174.0        .18142E-02** at limit **
   9  Prefactor     .10000E-03    172.79        .18142E-02** at limit **
  10  norm          14.901        9.4174        .81453E-04   -.18703E-04
  11  Prefactor     705.97        872.46        .78082E-04    .26936E-06
  12  Prefactor     102.65        153.48        .39684E-04   -.60161E-05
  13  norm          .10000E-03    513.10        .18142E-02** at limit **
  14  Prefactor     .10000E-03    240.67        .18142E-02** at limit **
  15  Prefactor     2.8541        46.715        .24030E-03   -.12514E-04
  16  Prefactor     164.78        139.39        .15711E-03   -.49207E-05
  17  Prefactor     .10000E-03    98.890        .18142E-02** at limit **
  18  Prefactor     .10000E-03    46.303        .18142E-02** at limit **
  19  Prefactor     .10000E-03    174.77        .18142E-02** at limit **
  20  Prefactor     .10000E-03    9.7713        .10950E-02** at limit **
  21  Normalizat    .10790        .77187        .78501E-02    .95041E-04
  22  Prefactor     1.6693        .49193        .20064E-03   -.30173E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.184307
  Prefactor  = 10.0302
  norm       = 0.721004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 48.7491
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.9006
  Prefactor  = 705.972
  Prefactor  = 102.649
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.85409
  Prefactor  = 164.784
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.107899
  Prefactor  = 1.66926
 **********
 **   18 **HESSE 
 **********

 FCN=   1286.079     FROM HESSE     STATUS=OK           324 CALLS     3928 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18431        10.084        .54121E-04   -1.5622    
   2  Prefactor     10.030        21.878        .25296E-04   -1.5074    
   3  norm          .72100        1.0888        .17004E-05   -1.5538    
   4  Prefactor     .10000E-03    14.664        .26800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.148        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          48.749        88.548        .22973E-05   -1.4310    
   7  Prefactor     .10000E-03    11.151        .23392E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1174.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    172.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.901        9.4145        .32581E-05   -1.4936    
  11  Prefactor     705.97        872.34        .15616E-04   -1.0329    
  12  Prefactor     102.65        153.43        .79368E-05   -1.3678    
  13  norm          .10000E-03    513.10        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    240.67        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.8541        46.149        .96119E-05   -1.5370    
  16  Prefactor     164.78        139.30        .62842E-05   -1.3133    
  17  Prefactor     .10000E-03    98.891        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    46.316        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    174.77        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.7713        .21900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .10790        .69375        .15700E-02   -1.3725    
  22  Prefactor     1.6693        .46866        .80256E-05   -.72903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11342e-10
Minuit parameter uncertainties:
  1  2.72626
  2  21.8956
  3  1.08878
  4  5.98389e-06
  5  1.10727e-05
  6  88.7879
  7  6.43325e-07
  8  0.00151526
  9  4.76471e-05
  10  9.4154
  11  890.148
  12  154.033
  13  5.76121e-05
  14  0.000160454
  15  22.974
  16  139.583
  17  4.51703e-06
  18  1.06391e-05
  19  4.33755e-05
  20  4.39994e-07
  21  0.530209
  22  0.469905
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.490e+01  9.415e+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.669e+00  4.699e-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.079e-01  5.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.11
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.51e-07 +/- 9.53e-08
Energy Flux (Fixed Index): 1.73e-04 +/- 1.10e-04

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) = 1283.94339299
delta logL = 2.13518473855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1283.93140763
delta logL = 2.1471701009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6689       1.0000         .10000E-03   10000.    
     2 'alpha     '    .41989       1.0000          .0000       5.0000    
     3 'Normalizat'    .15268       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6940       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=   1283.931     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      258 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6626        3.2269        .62368E-02   -.16609E-03
   2  alpha         .41908        .45114        .15660        .56262E-05
   3  Normalizat    .15285        1.5433        .15658        .25419E-04
   4  Prefactor     1.6937        .89715        .45325E-01    .53195E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.66259
  alpha      = 0.419084
  Normalizat = 0.152845
  Prefactor  = 1.69372
 **********
 **   18 **HESSE 
 **********

 FCN=   1283.931     FROM HESSE     STATUS=OK            31 CALLS      289 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6626        4.4118        .41900E-04   -1.5382    
   2  alpha         .41908        .59540        .70259E-03   -.98336    
   3  Normalizat    .15285        .48482        .68036E-03   -1.3311    
   4  Prefactor     1.6937        .45583        .20032E-03   -.72249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72935e-12
Minuit parameter uncertainties:
  1  4.41229
  2  0.615435
  3  0.499446
  4  0.456961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110222': 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) = 1283.93140625
delta logL = 2.14717148091

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.663e+00  4.412e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  4.191e-01  6.154e-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.694e+00  4.570e-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.528e-01  4.994e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.27
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.42 +/- 0.62
Photon Flux (Free Index): 3.94e-08 +/- 2.99e-08
Energy Flux (Free Index): 9.86e-04 +/- 9.51e-04

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/110222/cmap_HighResolution_560736001_560995201_4FGL_J0915.9+2933_daily_bin1240.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.51e-07', energy_flux2='9.86e-04', photon_flux_error='9.53e-08', dlogl='2.15e+00', energy_flux='1.73e-04', photon_flux2='3.94e-08', job_status='DONE', time_completed='2021-08-31 06:02:13.658904', photon_index_error2='0.62', photon_index2='0.42', ts='23.11', fit_tolerance='1e-08', GAL='1.67', photon_index_error='0.00', energy_flux_error2='9.51e-04', EG='0.11', time_epoch_completed='1630414933.66', return_code='0', job_id='110222', GAL2='1.69', EG2='0.15', return_code2='0', energy_flux_error='1.10e-04', photon_flux_error2='2.99e-08', ts2='27.27', photon_index='1.75' WHERE bin_id='1240' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:02:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 110222: <4FGL_J0915.9+2933_daily_bin1240> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin1240 138.986 29.553 560736001 560995201 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 :                                   382.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            641 sec.

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

