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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin439
RA = 138.986, Dec = 29.553
tmin = 353116801, tmax = 353376001
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='104988', job_status='RUN', time_executed='2021-08-31 05:38:36.628279', time_epoch_executed='1630413516.63' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='439'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104988

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104988/ft1_4FGL_J0915.9+2933_daily_bin439.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104988/ft2_4FGL_J0915.9+2933_daily_bin439.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104988/ft1_4FGL_J0915.9+2933_daily_bin439.fits outfile=/scratch/kocevski/104988/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin439.fits ra=138.986 dec=29.553 rad=12.0 tmin=353116801.0 tmax=353376001.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 13.81
user 3.21
sys 9.61

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104988/ft1_filtered_4FGL_J0915.9+2933_daily_bin439.fits" evtable="EVENTS" scfile=/scratch/kocevski/104988/ft2_4FGL_J0915.9+2933_daily_bin439.fits sctable="SC_DATA" outfile=/scratch/kocevski/104988/ltcube_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.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/104988/ft2_4FGL_J0915.9+2933_daily_bin439.fits
.....................!
real 23.61
user 12.43
sys 10.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104988/ft1_filtered_4FGL_J0915.9+2933_daily_bin439.fits evtable="EVENTS" scfile=/scratch/kocevski/104988/ft2_4FGL_J0915.9+2933_daily_bin439.fits sctable="SC_DATA" expcube=/scratch/kocevski/104988/ltcube_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.fits outfile=/scratch/kocevski/104988/expmap_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.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/104988/ltcube_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.fits
.....................!
real 203.61
user 185.23
sys 16.42

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/104988/ft1_filtered_4FGL_J0915.9+2933_daily_bin439.fits scfile=/scratch/kocevski/104988/ft2_4FGL_J0915.9+2933_daily_bin439.fits outfile=/scratch/kocevski/104988/cmap_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.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 10.23
user 0.40
sys 9.05

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104988/ft1_filtered_4FGL_J0915.9+2933_daily_bin439.fits scfile=/scratch/kocevski/104988/ft2_4FGL_J0915.9+2933_daily_bin439.fits outfile=/scratch/kocevski/104988/cmap_HighResolution_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.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 10.07
user 0.38
sys 9.09

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7607       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .37302       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.679       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.312       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.4780       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0102       1.0000         .10000E-03   10000.    
    10 'norm      '    .60251       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.1132       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7540       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6815       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91329       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0657       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5861.325     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2352 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7605        1.3779         .0000        .62382E-03
   2  Prefactor     .10000E-03    3.8184         .0000    ** at limit **
   3  norm          .37305        .55619         .0000        .65299E-03
   4  Prefactor     25.677        15.997         .0000        .14670E-03
   5  Prefactor     20.308        17.899         .0000        .69657E-03
   6  norm          .10001E-03    19.475         .0000    ** at limit **
   7  Prefactor     9.4777        5.0881         .0000        .21111E-03
   8  Prefactor     .10010E-03    23.200         .0000    ** at limit **
   9  Prefactor     5.0110        4.1634         .0000       -.17414E-03
  10  norm          .60180        1.7359         .0000        .14677E-02
  11  Prefactor     .10000E-03    10.725         .0000    ** at limit **
  12  Prefactor     .10002E-03    39.427         .0000    ** at limit **
  13  norm          1.1156        13.582         .0000        .21158E-01
  14  Prefactor     .10000E-03    1.4540         .0000    ** at limit **
  15  Prefactor     .10000E-03    2.3411         .0000    ** at limit **
  16  Prefactor     .10006E-03    28.987         .0000    ** at limit **
  17  Prefactor     .10006E-03    41.723         .0000    ** at limit **
  18  Prefactor     4.7527        7.9361         .0000        .24018E-03
  19  Prefactor     .10000E-03    6.1535         .0000    ** at limit **
  20  Prefactor     4.6814        3.5073         .0000        .23885E-03
  21  Normalizat    .91346        .18666         .0000        .59364E-04
  22  Prefactor     1.0656        .17395         .0000        .77831E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7605
  Prefactor  = 0.0001
  norm       = 0.373054
  Prefactor  = 25.6774
  Prefactor  = 20.3085
  norm       = 0.000100014
  Prefactor  = 9.47769
  Prefactor  = 0.000100099
  Prefactor  = 5.01103
  norm       = 0.601799
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  norm       = 1.11559
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100059
  Prefactor  = 0.000100056
  Prefactor  = 4.75266
  Prefactor  = 0.0001
  Prefactor  = 4.68137
  Normalizat = 0.913464
  Prefactor  = 1.06562
 **********
 **   18 **HESSE 
 **********

 FCN=   5861.325     FROM HESSE     STATUS=OK           344 CALLS     2696 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7605        1.3662        .76655E-04   -1.5443    
   2  Prefactor     .10000E-03    3.8217        .14610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .37305        .50994        .65901E-03   -1.5586    
   4  Prefactor     25.677        15.853        .79052E-04   -1.4694    
   5  Prefactor     20.308        17.927        .88870E-04   -1.4806    
   6  norm          .10001E-03    19.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.4777        5.0936        .12042E-03   -1.5092    
   8  Prefactor     .10010E-03    23.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0110        4.1396        .13534E-03   -1.5260    
  10  norm          .60180        1.6990        .16345E-03   -1.5553    
  11  Prefactor     .10000E-03    10.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    39.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1156        13.722        .22347E-02   -1.5497    
  14  Prefactor     .10000E-03    1.4668        .89993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.3731        .11422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10006E-03    29.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10006E-03    41.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.7527        7.9255        .18454E-03   -1.5272    
  19  Prefactor     .10000E-03    6.1980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6814        3.5105        .11558E-03   -1.5275    
  21  Normalizat    .91346        .21465        .25685E-03   -.95989    
  22  Prefactor     1.0656        .20052        .23597E-03   -.90573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12367e-08
Minuit parameter uncertainties:
  1  1.36619
  2  3.01962e-05
  3  0.50995
  4  15.856
  5  17.9321
  6  0.00105901
  7  5.09387
  8  0.00303037
  9  4.1398
  10  1.69915
  11  4.77572e-05
  12  0.00191157
  13  7.82709
  14  7.03601e-06
  15  4.44695e-06
  16  0.00262864
  17  0.00305698
  18  7.92723
  19  4.99983e-05
  20  3.51061
  21  0.214852
  22  0.200662
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
531   Normalization:  9.135e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104988/likelihoodResults_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5860.8709396
delta logL = 0.454474794376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5860.85550225
delta logL = 0.46991214604

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60240       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8594       1.0000          .0000       5.0000    
     3 'Normalizat'    .87894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0794       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=   5860.855     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59939        12.575        .11682E-01    .23327E-02
   2  alpha         2.8619        3.9122        .26187        .10565E-03
   3  Normalizat    .87883        .40597E-01    .44632E-01   -.28899E-04
   4  Prefactor     1.0796        .39936E-01    .38426E-01   -.26860E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.599391
  alpha      = 2.86192
  Normalizat = 0.878831
  Prefactor  = 1.07958
 **********
 **   18 **HESSE 
 **********

 FCN=   5860.855     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      238 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59939        34.314        .63335E-03   -1.5553    
   2  alpha         2.8619        2.7013        .13769E-01    .14528    
   3  Normalizat    .87883        .24180        .26117E-03   -.97208    
   4  Prefactor     1.0796        .24694        .23447E-03   -.90122    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49765e-10
Minuit parameter uncertainties:
  1  9.07498
  2  8.0904
  3  0.242102
  4  0.2472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104988': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5860.85549927
delta logL = 0.469915124721

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.994e-01  9.075e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.862e+00  8.090e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.080e+00  2.472e-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:  8.788e-01  2.421e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.86 +/- 8.09
Photon Flux (Free Index): 4.02e-08 +/- 6.19e-08
Energy Flux (Free Index): 9.58e-06 +/- 4.07e-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/104988/cmap_HighResolution_353116801_353376001_4FGL_J0915.9+2933_daily_bin439.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-05', comment='SUCCESS', energy_flux2='9.58e-06', dlogl='4.70e-01', photon_flux2='4.02e-08', job_status='DONE', time_completed='2021-08-31 05:51:00.239959', photon_index_error2='8.09', photon_index2='2.86', ts='0.15', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='4.07e-05', EG='0.91', time_epoch_completed='1630414260.24', return_code='0', job_id='104988', GAL2='1.08', EG2='0.88', return_code2='102', photon_flux_error2='6.19e-08', ts2='1.10', photon_index='1.75' WHERE bin_id='439' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:51:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 104988: <4FGL_J0915.9+2933_daily_bin439> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin439> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:43 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:45 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:35:45 2021
Terminated at Tue Aug 31 05:51:02 2021
Results reported at Tue Aug 31 05:51:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin439 138.986 29.553 353116801 353376001 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 :                                   869.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             260.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

