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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin437
RA = 138.986, Dec = 29.553
tmin = 352598401, tmax = 352857601
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='104985', job_status='RUN', time_executed='2021-08-31 05:39:42.172398', time_epoch_executed='1630413582.17' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104985

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104985/ft1_4FGL_J0915.9+2933_daily_bin437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104985/ft2_4FGL_J0915.9+2933_daily_bin437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104985/ft1_4FGL_J0915.9+2933_daily_bin437.fits outfile=/scratch/kocevski/104985/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin437.fits ra=138.986 dec=29.553 rad=12.0 tmin=352598401.0 tmax=352857601.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.11
user 3.89
sys 2.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104985/ft1_filtered_4FGL_J0915.9+2933_daily_bin437.fits" evtable="EVENTS" scfile=/scratch/kocevski/104985/ft2_4FGL_J0915.9+2933_daily_bin437.fits sctable="SC_DATA" outfile=/scratch/kocevski/104985/ltcube_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.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/104985/ft2_4FGL_J0915.9+2933_daily_bin437.fits
.....................!
real 14.55
user 11.76
sys 2.57

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104985/ft1_filtered_4FGL_J0915.9+2933_daily_bin437.fits evtable="EVENTS" scfile=/scratch/kocevski/104985/ft2_4FGL_J0915.9+2933_daily_bin437.fits sctable="SC_DATA" expcube=/scratch/kocevski/104985/ltcube_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.fits outfile=/scratch/kocevski/104985/expmap_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.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/104985/ltcube_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.fits
.....................!
real 193.50
user 185.46
sys 7.51

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/104985/ft1_filtered_4FGL_J0915.9+2933_daily_bin437.fits scfile=/scratch/kocevski/104985/ft2_4FGL_J0915.9+2933_daily_bin437.fits outfile=/scratch/kocevski/104985/cmap_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.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.47
user 0.37
sys 2.09

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104985/ft1_filtered_4FGL_J0915.9+2933_daily_bin437.fits scfile=/scratch/kocevski/104985/ft2_4FGL_J0915.9+2933_daily_bin437.fits outfile=/scratch/kocevski/104985/cmap_HighResolution_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.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.50
user 0.39
sys 2.08

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2904       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.897       1.0000         .10000E-03   10000.    
     3 'norm      '    .97357       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.007       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.9701       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6698       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3919       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .32451E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.8107       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1043       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.146       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5497       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0637       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1124       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=   5760.671     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2373 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2902        1.3192       -.13101E-06   -.32420E-03
   2  Prefactor     20.898        17.547       -.10431E-05    .74489E-05
   3  norm          .97356        .73513       -.40600E-07   -.19260E-04
   4  Prefactor     22.009        16.142       -.72372E-06    .20366E-04
   5  Prefactor     .10000E-03    20.124        .42034E-06** at limit **
   6  norm          .10000E-03    31.505       -.38332E-05** at limit **
   7  Prefactor     5.9701        4.1087       -.69211E-06   -.11674E-03
   8  Prefactor     7.6861        29.504        .38019E-04   -.10190E-04
   9  Prefactor     .10000E-03    .96656       -.57488E-07** at limit **
  10  norm          .10000E-03    .45431       -.29468E-07** at limit **
  11  Prefactor     2.3520        42.426       -.18188E-04   -.52129E-03
  12  Prefactor     .10000E-03    66.655        .56966E-05** at limit **
  13  norm          .10023E-03    10.446        .28481E-05** at limit **
  14  Prefactor     1.8103        2.1780       -.15836E-06   -.37895E-03
  15  Prefactor     7.1049        5.1335       -.53484E-06   -.20723E-03
  16  Prefactor     .10000E-03    9.5050        .89792E-07** at limit **
  17  Prefactor     16.088        56.288       -.11525E-03    .10057E-04
  18  Prefactor     .10000E-03    2.7745        .20775E-06** at limit **
  19  Prefactor     .10000E-03    2.4912        .10336E-07** at limit **
  20  Prefactor     1.5498        1.7736       -.10350E-06   -.28236E-03
  21  Normalizat    1.0637        .18471        .22077E-05   -.27001E-03
  22  Prefactor     1.1124        .18026        .20276E-05   -.15926E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2902
  Prefactor  = 20.8985
  norm       = 0.973558
  Prefactor  = 22.0093
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.97011
  Prefactor  = 7.68608
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.35197
  Prefactor  = 0.0001
  norm       = 0.00010023
  Prefactor  = 1.81027
  Prefactor  = 7.10493
  Prefactor  = 0.0001
  Prefactor  = 16.0875
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.54975
  Normalizat = 1.06368
  Prefactor  = 1.11237
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.671     FROM HESSE     STATUS=OK           344 CALLS     2717 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2902        1.3007        .84191E-04   -1.5481    
   2  Prefactor     20.898        17.481        .87620E-04   -1.4793    
   3  norm          .97356        .73064        .53720E-04   -1.5511    
   4  Prefactor     22.009        16.101        .85382E-04   -1.4769    
   5  Prefactor     .10000E-03    20.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    31.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9701        4.1147        .12285E-03   -1.5219    
   8  Prefactor     7.6861        29.142        .14480E-03   -1.5153    
   9  Prefactor     .10000E-03    .96763        .72860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .45499        .49953E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3520        31.639        .26480E-03   -1.5401    
  12  Prefactor     .10000E-03    66.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10023E-03    63.109        .39623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.8103        2.1615        .11849E-03   -1.5439    
  15  Prefactor     7.1049        5.1534        .13696E-03   -1.5175    
  16  Prefactor     .10000E-03    9.5099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.088        56.055        .99676E-04   -1.4906    
  18  Prefactor     .10000E-03    2.7923        .12346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.4930        .11699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.5498        1.7530        .10493E-03   -1.5459    
  21  Normalizat    1.0637        .21832        .25158E-03   -.90927    
  22  Prefactor     1.1124        .21414        .24868E-03   -.89072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00359e-09
Minuit parameter uncertainties:
  1  1.30073
  2  17.4858
  3  0.730647
  4  16.1044
  5  7.61425e-05
  6  3.12647e-05
  7  4.11485
  8  29.1961
  9  6.73536e-06
  10  3.98414e-07
  11  17.2636
  12  3.79192e-07
  13  0.00762574
  14  2.1616
  15  5.1537
  16  1.56202e-05
  17  56.2392
  18  3.39084e-05
  19  3.12191e-06
  20  1.75304
  21  0.218504
  22  0.214311
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  3.984e-07  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.112e+00  2.143e-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.064e+00  2.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104985/likelihoodResults_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.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) = 5760.67146956
delta logL = -8.05414583738e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5760.67146153
delta logL = -2.1933374228e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7486       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0637       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1124       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5760.671     FROM MIGRAD    STATUS=FAILED        80 CALLS      228 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    .45689        .49955E-03** at limit **
   2  alpha         1.7346        2.5513        .17516E-01    .36997E-05
   3  Normalizat    1.0637        .20792        .25158E-03    .36603E-05
   4  Prefactor     1.1124        .21063        .24868E-03    .54402E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5760.671     FROM SIMPLEX   STATUS=UNCHANGED    122 CALLS      350 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    .45689        .11044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7346        2.5513        .10736E-02   -.31115    
   3  Normalizat    1.0637        .20792        .11305E-03   -.90927    
   4  Prefactor     1.1124        .21063        .11577E-03   -.89072    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5760.671     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      377 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .45519        .99910E-04** at limit **
   2  alpha         1.7204        2.9545        .35032E-02   -.29207E-07
   3  Normalizat    1.0637        .20812        .10063E-04    .29373E-05
   4  Prefactor     1.1124        .21084        .99472E-05    .20572E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.72045
  Normalizat = 1.06368
  Prefactor  = 1.11237
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.671     FROM HESSE     STATUS=OK            23 CALLS      400 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .45519        .19982E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7204        3.0047        .70063E-03   -.31711    
   3  Normalizat    1.0637        .20830        .20126E-05   -.90927    
   4  Prefactor     1.1124        .21099        .19894E-05   -.89072    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97771e-12
Minuit parameter uncertainties:
  1  7.06968e-07
  2  94.3636
  3  0.208465
  4  0.211146
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104985': 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) = 5760.67146146
delta logL = 4.8074980441e-08

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  7.070e-07  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.720e+00  9.436e+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.112e+00  2.111e-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.064e+00  2.085e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.986 29.553

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/104985/cmap_HighResolution_352598401_352857601_4FGL_J0915.9+2933_daily_bin437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-05', job_status='DONE', photon_flux_upper_limit='2.67e-08', time_completed='2021-08-31 05:50:12.552841', job_id='104985', GAL2='1.11', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630414212.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='4.81e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='437' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:50:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 104985: <4FGL_J0915.9+2933_daily_bin437> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin437 138.986 29.553 352598401 352857601 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 :                                   654.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             209.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            871 sec.

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

