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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin750
RA = 138.986, Dec = 29.553
tmin = 433728001, tmax = 433987201
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='108186', job_status='RUN', time_executed='2021-08-31 05:49:24.080386', time_epoch_executed='1630414164.08' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108186

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108186/ft1_4FGL_J0915.9+2933_daily_bin750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108186/ft2_4FGL_J0915.9+2933_daily_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108186/ft1_4FGL_J0915.9+2933_daily_bin750.fits outfile=/scratch/kocevski/108186/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin750.fits ra=138.986 dec=29.553 rad=12.0 tmin=433728001.0 tmax=433987201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.64
user 5.78
sys 0.60

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108186/ft2_4FGL_J0915.9+2933_daily_bin750.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/108186/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/108186/ft1_filtered_4FGL_J0915.9+2933_daily_bin750.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.09
user 0.30
sys 0.53

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108186/ft1_filtered_4FGL_J0915.9+2933_daily_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/108186/ft2_4FGL_J0915.9+2933_daily_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/108186/ltcube_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.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/108186/ft2_4FGL_J0915.9+2933_daily_bin750.fits
.....................!
real 13.06
user 11.97
sys 0.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108186/ft1_filtered_4FGL_J0915.9+2933_daily_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/108186/ft2_4FGL_J0915.9+2933_daily_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/108186/ltcube_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.fits outfile=/scratch/kocevski/108186/expmap_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.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/108186/ltcube_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.fits
.....................!
real 194.25
user 185.04
sys 4.60

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/108186/ft1_filtered_4FGL_J0915.9+2933_daily_bin750.fits scfile=/scratch/kocevski/108186/ft2_4FGL_J0915.9+2933_daily_bin750.fits outfile=/scratch/kocevski/108186/cmap_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.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.09
user 0.35
sys 0.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108186/ft1_filtered_4FGL_J0915.9+2933_daily_bin750.fits scfile=/scratch/kocevski/108186/ft2_4FGL_J0915.9+2933_daily_bin750.fits outfile=/scratch/kocevski/108186/cmap_HighResolution_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.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.97
user 0.35
sys 0.52

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61860       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1691       1.0000         .10000E-03   10000.    
     3 'norm      '    1.7168       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .74552       1.0000         .10000E-03   10000.    
     6 'norm      '    28.367       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.6383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    64.756       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.9395       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.488       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    24.163       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.9730       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10866E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.252       1.0000         .10000E-03   10000.    
    17 'Prefactor '    63.896       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.155       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6155       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0269       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0092       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .61779       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=   4529.511     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2399 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61839        .85292        .22777E-07    .60600E-05
   2  Prefactor     8.1667        9.6464        .57569E-06   -.32478E-05
   3  norm          1.7167        .77925       -.22211E-07   -.17284E-03
   4  Prefactor     .10000E-03    3.2159       -.10265E-06** at limit **
   5  Prefactor     .56230        15.876        .14858E-05   -.16888E-03
   6  norm          28.327        32.359        .52714E-05    .21969E-04
   7  Prefactor     6.6359        4.1995       -.97308E-08   -.13150E-04
   8  Prefactor     64.749        53.006        .11323E-05    .62895E-05
   9  Prefactor     .10000E-03    2.7388       -.71165E-07** at limit **
  10  norm          4.9451        2.7437        .50968E-07    .25292E-04
  11  Prefactor     26.486        34.761        .17414E-06    .63981E-05
  12  Prefactor     .10000E-03    19.127       -.36439E-07** at limit **
  13  norm          24.159        15.847        .10466E-06    .95413E-05
  14  Prefactor     3.9725        5.4159       -.10257E-06   -.15859E-04
  15  Prefactor     .10000E-03    2.5158       -.11720E-06** at limit **
  16  Prefactor     25.253        32.261        .47235E-06    .33059E-05
  17  Prefactor     63.901        69.641       -.54855E-06   -.30953E-05
  18  Prefactor     11.153        7.5724        .11765E-06   -.88273E-06
  19  Prefactor     1.6148        4.2594        .32453E-05    .27400E-04
  20  Prefactor     1.0259        2.0824        .11214E-06    .26379E-05
  21  Normalizat    1.0095        .18117       -.65862E-07   -.36370E-05
  22  Prefactor     .61781        .16661       -.86910E-06   -.16789E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.618394
  Prefactor  = 8.16667
  norm       = 1.71672
  Prefactor  = 0.0001
  Prefactor  = 0.562295
  norm       = 28.3267
  Prefactor  = 6.6359
  Prefactor  = 64.7486
  Prefactor  = 0.0001
  norm       = 4.94505
  Prefactor  = 26.4858
  Prefactor  = 0.0001
  norm       = 24.1587
  Prefactor  = 3.97253
  Prefactor  = 0.0001
  Prefactor  = 25.2532
  Prefactor  = 63.9014
  Prefactor  = 11.1531
  Prefactor  = 1.61484
  Prefactor  = 1.02594
  Normalizat = 1.00951
  Prefactor  = 0.617806
 **********
 **   18 **HESSE 
 **********

 FCN=   4529.511     FROM HESSE     STATUS=OK           358 CALLS     2757 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61839        .80118        .70493E-03   -1.5551    
   2  Prefactor     8.1667        9.6286        .70136E-03   -1.5136    
   3  norm          1.7167        .77966        .38699E-04   -1.5446    
   4  Prefactor     .10000E-03    3.2177        .11788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .56230        96.533        .47906E-02   -1.5558    
   6  norm          28.327        32.378        .75221E-04   -1.4643    
   7  Prefactor     6.6359        4.2053        .10559E-03   -1.5193    
   8  Prefactor     64.749        52.955        .49870E-04   -1.4097    
   9  Prefactor     .10000E-03    2.7543        .10857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9451        2.6790        .77657E-04   -1.5263    
  11  Prefactor     26.486        34.725        .77838E-04   -1.4678    
  12  Prefactor     .10000E-03    19.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          24.159        15.835        .81489E-04   -1.4725    
  14  Prefactor     3.9725        5.3784        .16032E-03   -1.5309    
  15  Prefactor     .10000E-03    13.147        .19572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.253        32.274        .79717E-04   -1.4702    
  17  Prefactor     63.901        69.672        .50203E-04   -1.4107    
  18  Prefactor     11.153        7.5692        .11995E-03   -1.5040    
  19  Prefactor     1.6148        4.2661        .11130E-02   -1.5454    
  20  Prefactor     1.0259        2.0315        .13290E-03   -1.5505    
  21  Normalizat    1.0095        .20951        .21377E-03   -.92713    
  22  Prefactor     .61781        .19342        .26164E-03   -1.0684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.32284e-10
Minuit parameter uncertainties:
  1  0.801193
  2  9.63046
  3  0.77966
  4  7.70758e-06
  5  14.7579
  6  32.3983
  7  4.20548
  8  52.9938
  9  5.79407e-06
  10  2.67908
  11  34.7513
  12  2.95486e-05
  13  15.8377
  14  5.3791
  15  0.000108363
  16  32.2967
  17  69.7615
  18  7.56988
  19  4.26695
  20  2.03165
  21  0.209684
  22  0.193626
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.945e+00  2.679e+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:  6.178e-01  1.936e-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.010e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.68
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 5.01e-08 +/- 2.71e-08
Energy Flux (Fixed Index): 5.75e-05 +/- 3.12e-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) = 4529.50861366
delta logL = 0.00197146042683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4529.50842698
delta logL = 0.00215814466173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9553       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7859       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61871       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=   4529.508     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      268 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9623        2.6415        .76761E-04    .10829E-02
   2  alpha         1.7876        .56294        .12223E-01    .60024E-04
   3  Normalizat    1.0068        .20004        .21402E-03   -.20982E-04
   4  Prefactor     .61871        .19180        .26144E-03   -.86536E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.96226
  alpha      = 1.78761
  Normalizat = 1.00675
  Prefactor  = 0.61871
 **********
 **   18 **HESSE 
 **********

 FCN=   4529.508     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9623        2.6445        .30704E-05   -1.5262    
   2  alpha         1.7876        .56266        .48893E-03   -.28896    
   3  Normalizat    1.0068        .20008        .85608E-05   -.92804    
   4  Prefactor     .61871        .19193        .10457E-04   -1.0680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04247e-10
Minuit parameter uncertainties:
  1  2.64458
  2  0.567964
  3  0.200232
  4  0.192131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108186': 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) = 4529.5084196
delta logL = 0.00216552609527

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.962e+00  2.645e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.788e+00  5.680e-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:  6.187e-01  1.921e-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.007e+00  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.62
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.79 +/- 0.57
Photon Flux (Free Index): 5.26e-08 +/- 4.82e-08
Energy Flux (Free Index): 5.53e-05 +/- 4.39e-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/108186/cmap_HighResolution_433728001_433987201_4FGL_J0915.9+2933_daily_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.01e-08', energy_flux2='5.53e-05', photon_flux_error='2.71e-08', dlogl='2.17e-03', energy_flux='5.75e-05', photon_flux2='5.26e-08', job_status='DONE', time_completed='2021-08-31 05:58:22.662100', photon_index_error2='0.57', photon_index2='1.79', ts='10.68', fit_tolerance='1e-08', GAL='0.62', photon_index_error='0.00', energy_flux_error2='4.39e-05', EG='1.01', time_epoch_completed='1630414702.66', return_code='0', job_id='108186', GAL2='0.62', EG2='1.01', return_code2='0', energy_flux_error='3.12e-05', photon_flux_error2='4.82e-08', ts2='10.62', photon_index='1.75' WHERE bin_id='750' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:58:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 108186: <4FGL_J0915.9+2933_daily_bin750> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:45:52 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:45:53 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:45:53 2021
Terminated at Tue Aug 31 05:58:23 2021
Results reported at Tue Aug 31 05:58:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin750 138.986 29.553 433728001 433987201 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 :                                   526.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

