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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin954
RA = 138.986, Dec = 29.553
tmin = 486604801, tmax = 486864001
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='108451', job_status='RUN', time_executed='2021-08-31 05:46:27.357703', time_epoch_executed='1630413987.36' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='954'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108451

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108451/ft1_4FGL_J0915.9+2933_daily_bin954.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108451/ft2_4FGL_J0915.9+2933_daily_bin954.fits


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

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

Done.
real 3.83
user 3.39
sys 0.41

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108451/ft2_4FGL_J0915.9+2933_daily_bin954.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/108451/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin954.fits evtable="EVENTS" outfile="/scratch/kocevski/108451/ft1_filtered_4FGL_J0915.9+2933_daily_bin954.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.73
user 0.33
sys 0.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108451/ft1_filtered_4FGL_J0915.9+2933_daily_bin954.fits" evtable="EVENTS" scfile=/scratch/kocevski/108451/ft2_4FGL_J0915.9+2933_daily_bin954.fits sctable="SC_DATA" outfile=/scratch/kocevski/108451/ltcube_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.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/108451/ft2_4FGL_J0915.9+2933_daily_bin954.fits
.....................!
real 12.33
user 11.70
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108451/ft1_filtered_4FGL_J0915.9+2933_daily_bin954.fits evtable="EVENTS" scfile=/scratch/kocevski/108451/ft2_4FGL_J0915.9+2933_daily_bin954.fits sctable="SC_DATA" expcube=/scratch/kocevski/108451/ltcube_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.fits outfile=/scratch/kocevski/108451/expmap_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.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/108451/ltcube_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.fits
.....................!
real 191.22
user 186.64
sys 4.08

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/108451/ft1_filtered_4FGL_J0915.9+2933_daily_bin954.fits scfile=/scratch/kocevski/108451/ft2_4FGL_J0915.9+2933_daily_bin954.fits outfile=/scratch/kocevski/108451/cmap_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.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.01
user 0.38
sys 0.37

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108451/ft1_filtered_4FGL_J0915.9+2933_daily_bin954.fits scfile=/scratch/kocevski/108451/ft2_4FGL_J0915.9+2933_daily_bin954.fits outfile=/scratch/kocevski/108451/cmap_HighResolution_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.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.14
user 0.38
sys 0.39

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .43618       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0141       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0793       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .36013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14039E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.944       1.0000         .10000E-03   10000.    
    10 'norm      '    2.8828       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.143       1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.161       1.0000         .10000E-03   10000.    
    13 'norm      '    9.0253       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.326       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7264       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .75408       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2940       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=   5831.197     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2376 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43632        1.1957       -.90656E-06   -.20190E-02
   2  Prefactor     .10000E-03    17.201        .63286E-05** at limit **
   3  norm          1.0137        .75324        .14069E-06   -.31230E-03
   4  Prefactor     2.0610        17.904       -.98898E-05   -.40243E-03
   5  Prefactor     .10000E-03    9.9637       -.13015E-05** at limit **
   6  norm          .10004E-03    155.26        .15144E-03** at limit **
   7  Prefactor     .10000E-03    3.2904       -.13486E-06** at limit **
   8  Prefactor     .10000E-03    17.855       -.14502E-04** at limit **
   9  Prefactor     12.944        5.9387       -.19401E-06    .63674E-04
  10  norm          2.8833        1.6626        .16042E-07   -.32505E-03
  11  Prefactor     15.137        24.354        .62652E-05    .37740E-04
  12  Prefactor     44.054        53.481       -.82773E-04   -.29603E-03
  13  norm          9.0349        9.8476       -.40015E-05   -.68559E-04
  14  Prefactor     .10000E-03    1.4789       -.11399E-06** at limit **
  15  Prefactor     .10000E-03    2.3051        .13835E-05** at limit **
  16  Prefactor     .10000E-03    17.429        .73935E-05** at limit **
  17  Prefactor     12.354        46.609        .30179E-04   -.75038E-05
  18  Prefactor     .10000E-03    7.0796       -.59920E-06** at limit **
  19  Prefactor     .10000E-03    6.4559        .24827E-07** at limit **
  20  Prefactor     1.7264        2.4685       -.65474E-06   -.78121E-03
  21  Normalizat    .75406        .17948        .41246E-05   -.77930E-03
  22  Prefactor     1.2939        .17521        .16546E-05   -.98927E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.436325
  Prefactor  = 0.0001
  norm       = 1.01371
  Prefactor  = 2.06103
  Prefactor  = 0.0001
  norm       = 0.000100042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9443
  norm       = 2.8833
  Prefactor  = 15.1371
  Prefactor  = 44.0544
  norm       = 9.03486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.7264
  Normalizat = 0.754063
  Prefactor  = 1.29389
 **********
 **   18 **HESSE 
 **********

 FCN=   5831.197     FROM HESSE     STATUS=OK           342 CALLS     2718 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43632        1.1703        .13246E-03   -1.5576    
   2  Prefactor     .10000E-03    17.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0137        .75544        .53179E-04   -1.5507    
   4  Prefactor     2.0610        17.719        .28640E-03   -1.5421    
   5  Prefactor     .10000E-03    9.9992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10004E-03    160.41        .42622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4193        .27033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.944        5.9347        .11133E-03   -1.4988    
  10  norm          2.8833        1.6605        .72520E-04   -1.5368    
  11  Prefactor     15.137        24.290        .10293E-03   -1.4930    
  12  Prefactor     44.054        53.705        .30165E-03   -1.4380    
  13  norm          9.0349        9.8265        .13341E-03   -1.5107    
  14  Prefactor     .10000E-03    1.4849        .90600E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.7101        .21811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.354        46.609        .11410E-03   -1.5005    
  18  Prefactor     .10000E-03    7.2372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.5019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7264        2.4500        .13683E-03   -1.5445    
  21  Normalizat    .75406        .20875        .28113E-03   -1.0180    
  22  Prefactor     1.2939        .20853        .22132E-03   -.83489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62592e-09
Minuit parameter uncertainties:
  1  1.17036
  2  7.52742e-05
  3  0.755447
  4  12.0908
  5  2.66089e-05
  6  0.0052207
  7  3.60443e-05
  8  4.62222e-05
  9  5.93494
  10  1.66049
  11  24.3062
  12  53.7639
  13  9.82828
  14  1.17374e-06
  15  0.000114553
  16  5.00007e-06
  17  46.7471
  18  5.2261e-05
  19  3.13338e-05
  20  2.4501
  21  0.208972
  22  0.208665
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.883e+00  1.660e+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.294e+00  2.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.541e-01  2.090e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.51
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.92e-08 +/- 1.68e-08
Energy Flux (Fixed Index): 3.35e-05 +/- 1.93e-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) = 5830.57935156
delta logL = 0.617479762757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5830.55519284
delta logL = 0.641638484247

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4569       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2528       1.0000          .0000       5.0000    
     3 'Normalizat'    .76457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2917       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=   5830.555     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4565        1.4590        .65235E-02   -.15398E-03
   2  alpha         1.2527        .34980        .28461       -.27776E-04
   3  Normalizat    .76455        .17103        .63137E-01    .19836E-04
   4  Prefactor     1.2917        .17230        .50102E-01    .68368E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 2.4565
  alpha      = 1.25265
  Normalizat = 0.764551
  Prefactor  = 1.29173
 **********
 **   18 **HESSE 
 **********

 FCN=   5830.555     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4565        1.6594        .68911E-04   -1.5394    
   2  alpha         1.2527        .41554        .11997E-01   -.52237    
   3  Normalizat    .76455        .20282        .27930E-03   -1.0140    
   4  Prefactor     1.2917        .20475        .22149E-03   -.83553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61099e-10
Minuit parameter uncertainties:
  1  1.65938
  2  0.41813
  3  0.203024
  4  0.20488
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108451': 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) = 5830.55519278
delta logL = 0.641638542097

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.457e+00  1.659e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.253e+00  4.181e-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.292e+00  2.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.646e-01  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.79
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.25 +/- 0.42
Photon Flux (Free Index): 1.68e-08 +/- 1.23e-08
Energy Flux (Free Index): 7.26e-05 +/- 6.66e-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/108451/cmap_HighResolution_486604801_486864001_4FGL_J0915.9+2933_daily_bin954.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.92e-08', energy_flux2='7.26e-05', photon_flux_error='1.68e-08', dlogl='6.42e-01', energy_flux='3.35e-05', photon_flux2='1.68e-08', job_status='DONE', time_completed='2021-08-31 05:55:52.326301', photon_index_error2='0.42', photon_index2='1.25', ts='15.51', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='6.66e-05', EG='0.75', time_epoch_completed='1630414552.33', return_code='0', job_id='108451', GAL2='1.29', EG2='0.76', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='1.23e-08', ts2='16.79', photon_index='1.75' WHERE bin_id='954' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:55:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 108451: <4FGL_J0915.9+2933_daily_bin954> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin954 138.986 29.553 486604801 486864001 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 :                                   550.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             361.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            583 sec.

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

