/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 201 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 = 7429
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin150
RA = 138.986, Dec = 29.553
tmin = 278208001, tmax = 278467201
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='103356', job_status='RUN', time_executed='2021-08-31 05:34:57.219617', time_epoch_executed='1630413297.22' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103356

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103356/ft1_4FGL_J0915.9+2933_daily_bin150.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103356/ft2_4FGL_J0915.9+2933_daily_bin150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103356/ft1_4FGL_J0915.9+2933_daily_bin150.fits outfile=/scratch/kocevski/103356/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin150.fits ra=138.986 dec=29.553 rad=12.0 tmin=278208001.0 tmax=278467201.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.96
user 5.11
sys 1.81

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103356/ft1_filtered_4FGL_J0915.9+2933_daily_bin150.fits" evtable="EVENTS" scfile=/scratch/kocevski/103356/ft2_4FGL_J0915.9+2933_daily_bin150.fits sctable="SC_DATA" outfile=/scratch/kocevski/103356/ltcube_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.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/103356/ft2_4FGL_J0915.9+2933_daily_bin150.fits
.....................!
real 13.38
user 11.12
sys 2.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103356/ft1_filtered_4FGL_J0915.9+2933_daily_bin150.fits evtable="EVENTS" scfile=/scratch/kocevski/103356/ft2_4FGL_J0915.9+2933_daily_bin150.fits sctable="SC_DATA" expcube=/scratch/kocevski/103356/ltcube_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.fits outfile=/scratch/kocevski/103356/expmap_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.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/103356/ltcube_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.fits
.....................!
real 192.51
user 185.67
sys 6.39

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/103356/ft1_filtered_4FGL_J0915.9+2933_daily_bin150.fits scfile=/scratch/kocevski/103356/ft2_4FGL_J0915.9+2933_daily_bin150.fits outfile=/scratch/kocevski/103356/cmap_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.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 2.16
user 0.36
sys 1.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103356/ft1_filtered_4FGL_J0915.9+2933_daily_bin150.fits scfile=/scratch/kocevski/103356/ft2_4FGL_J0915.9+2933_daily_bin150.fits outfile=/scratch/kocevski/103356/cmap_HighResolution_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.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 2.19
user 0.37
sys 1.75

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50695       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6690       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .92546       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    65.302       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0190       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19736       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3808       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.171       1.0000         .10000E-03   10000.    
    13 'norm      '    .26231E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7298       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.758       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2837       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66522       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=   5243.821     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2357 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50713        1.0785        .22969E-01    .10071E-02
   2  Prefactor     .10000E-03    5.9199        .90712E-02** at limit **
   3  norm          1.6693        .88432        .81588E-02    .79295E-03
   4  Prefactor     .91238        11.745        .77960E-01    .27574E-03
   5  Prefactor     .10001E-03    15.473        .90712E-02** at limit **
   6  norm          65.302        41.699        .12416E-02   -.41827E-03
   7  Prefactor     1.0200        4.0747        .12834E-01    .98682E-03
   8  Prefactor     .10000E-03    9.8869        .90712E-02** at limit **
   9  Prefactor     .19711        2.1100        .57302E-01    .50533E-03
  10  norm          1.3808        1.2256        .92602E-02    .33981E-04
  11  Prefactor     .10000E-03    6.0515        .90712E-02** at limit **
  12  Prefactor     35.171        32.948        .16893E-02    .40243E-05
  13  norm          .10001E-03    6.0851        .55026E-01** at limit **
  14  Prefactor     1.7290        2.2257        .79803E-02    .18027E-03
  15  Prefactor     .10000E-03    1.1593        .90712E-02** at limit **
  16  Prefactor     .10000E-03    5.2248        .90712E-02** at limit **
  17  Prefactor     .10001E-03    42.671        .90712E-02** at limit **
  18  Prefactor     11.759        6.3092        .29207E-02    .92216E-04
  19  Prefactor     .10000E-03    4.4495        .90712E-02** at limit **
  20  Prefactor     .10000E-03    .52806        .90712E-02** at limit **
  21  Normalizat    1.2836        .17318        .33103E-01   -.30697E-03
  22  Prefactor     .66527        .16976        .61630E-01   -.25548E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.50713
  Prefactor  = 0.000100002
  norm       = 1.66928
  Prefactor  = 0.912384
  Prefactor  = 0.000100008
  norm       = 65.3017
  Prefactor  = 1.01999
  Prefactor  = 0.0001
  Prefactor  = 0.197108
  norm       = 1.38077
  Prefactor  = 0.000100004
  Prefactor  = 35.1708
  norm       = 0.000100011
  Prefactor  = 1.72896
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100006
  Prefactor  = 11.7586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.28357
  Prefactor  = 0.665273
 **********
 **   18 **HESSE 
 **********

 FCN=   5243.821     FROM HESSE     STATUS=OK           346 CALLS     2703 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50713        .99394        .10545E-02   -1.5566    
   2  Prefactor     .10000E-03    5.9404        .17203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6693        .87087        .45548E-04   -1.5450    
   4  Prefactor     .91238        34.846        .44975E-02   -1.5517    
   5  Prefactor     .10001E-03    15.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          65.302        41.585        .49663E-04   -1.4090    
   7  Prefactor     1.0200        4.1117        .27350E-03   -1.5506    
   8  Prefactor     .10000E-03    9.8878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19711        10.325        .20051E-02   -1.5619    
  10  norm          1.3808        1.2409        .73523E-04   -1.5473    
  11  Prefactor     .10000E-03    6.0577        .17394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.171        32.945        .67574E-04   -1.4521    
  13  norm          .10001E-03    15.075        .33966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7290        2.1961        .11745E-03   -1.5445    
  15  Prefactor     .10000E-03    1.1660        .76114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.2259        .16166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    42.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.759        6.3074        .11683E-03   -1.5022    
  19  Prefactor     .10000E-03    4.4680        .14917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .52993        .51384E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2836        .19436        .20337E-03   -.84058    
  22  Prefactor     .66527        .19324        .27263E-03   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7855e-08
Minuit parameter uncertainties:
  1  0.993968
  2  0.000238999
  3  0.87088
  4  11.2834
  5  0.000687518
  6  41.6035
  7  4.09608
  8  7.56588e-05
  9  2.85301
  10  1.24087
  11  0.000306079
  12  32.9617
  13  0.000820791
  14  2.19625
  15  3.77908e-05
  16  0.000205164
  17  0.00101615
  18  6.30772
  19  8.11308e-05
  20  3.56207e-06
  21  0.194469
  22  0.193435
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.381e+00  1.241e+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.653e-01  1.934e-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.284e+00  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.74
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.40e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.44e-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) = 5243.73540552
delta logL = 0.0859350500841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5243.72758709
delta logL = 0.0937534776849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2184       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4219       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2873       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66519       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=   5243.728     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      193 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2176        1.2683        .10222E-02   -.17614E-02
   2  alpha         1.4197        .61604        .47249       -.20605E-04
   3  Normalizat    1.2871        .16843        .33035E-01    .22406E-04
   4  Prefactor     .66544        .16827        .61633E-01    .46108E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21763
  alpha      = 1.41967
  Normalizat = 1.28709
  Prefactor  = 0.66544
 **********
 **   18 **HESSE 
 **********

 FCN=   5243.728     FROM HESSE     STATUS=OK            31 CALLS      224 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2176        1.3101        .20445E-03   -1.5487    
   2  alpha         1.4197        .74443        .17653E-01   -.44686    
   3  Normalizat    1.2871        .19093        .20314E-03   -.83953    
   4  Prefactor     .66544        .19106        .27264E-03   -1.0490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71072e-12
Minuit parameter uncertainties:
  1  1.31016
  2  0.758664
  3  0.191032
  4  0.19125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103356': 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) = 5243.72758148
delta logL = 0.0937590902477

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.218e+00  1.310e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.420e+00  7.587e-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.654e-01  1.913e-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.287e+00  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.93
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.42 +/- 0.76
Photon Flux (Free Index): 8.98e-09 +/- 1.24e-08
Energy Flux (Free Index): 2.46e-05 +/- 3.53e-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/103356/cmap_HighResolution_278208001_278467201_4FGL_J0915.9+2933_daily_bin150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.40e-08', energy_flux2='2.46e-05', photon_flux_error='1.26e-08', dlogl='9.38e-02', energy_flux='1.61e-05', photon_flux2='8.98e-09', job_status='DONE', time_completed='2021-08-31 05:44:14.349813', photon_index_error2='0.76', photon_index2='1.42', ts='7.74', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='3.53e-05', EG='1.28', time_epoch_completed='1630413854.35', return_code='0', job_id='103356', GAL2='0.67', EG2='1.29', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='1.24e-08', ts2='7.93', photon_index='1.75' WHERE bin_id='150' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0116>
Subject: Job 103356: <4FGL_J0915.9+2933_daily_bin150> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin150> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:30:56 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:30:57 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:30:57 2021
Terminated at Tue Aug 31 05:44:15 2021
Results reported at Tue Aug 31 05:44:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin150 138.986 29.553 278208001 278467201 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 :                                   578.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            799 sec.

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

