/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 202 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 = 7469
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin115
RA = 138.986, Dec = 29.553
tmin = 269136001, tmax = 269395201
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='103319', job_status='RUN', time_executed='2021-08-31 05:34:30.851000', time_epoch_executed='1630413270.85' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='115'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103319

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103319/ft1_4FGL_J0915.9+2933_daily_bin115.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103319/ft1_4FGL_J0915.9+2933_daily_bin115.fits outfile=/scratch/kocevski/103319/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin115.fits ra=138.986 dec=29.553 rad=12.0 tmin=269136001.0 tmax=269395201.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 1.97
user 1.49
sys 0.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103319/ft1_filtered_4FGL_J0915.9+2933_daily_bin115.fits" evtable="EVENTS" scfile=/scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits sctable="SC_DATA" outfile=/scratch/kocevski/103319/ltcube_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.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/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits
.....................!
real 13.47
user 12.79
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103319/ft1_filtered_4FGL_J0915.9+2933_daily_bin115.fits evtable="EVENTS" scfile=/scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits sctable="SC_DATA" expcube=/scratch/kocevski/103319/ltcube_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits outfile=/scratch/kocevski/103319/expmap_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.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/103319/ltcube_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits
.....................!
real 191.19
user 185.63
sys 5.02

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/103319/ft1_filtered_4FGL_J0915.9+2933_daily_bin115.fits scfile=/scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits outfile=/scratch/kocevski/103319/cmap_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.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 0.89
user 0.36
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103319/ft1_filtered_4FGL_J0915.9+2933_daily_bin115.fits scfile=/scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits outfile=/scratch/kocevski/103319/cmap_HighResolution_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.40
sys 0.39

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/103319/ft1_filtered_4FGL_J0915.9+2933_daily_bin115.fits', '/scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits', expMap='/scratch/kocevski/103319/expmap_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits', expCube='/scratch/kocevski/103319/ltcube_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/103319/Model_4FGL_J0915.9+2933_daily_bin115.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/103319/ft1_filtered_4FGL_J0915.9+2933_daily_bin115.fits
Spacecraft file(s): /scratch/kocevski/103319/ft2_4FGL_J0915.9+2933_daily_bin115.fits
Exposure map: /scratch/kocevski/103319/expmap_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits
Exposure cube: /scratch/kocevski/103319/ltcube_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/103319/Model_4FGL_J0915.9+2933_daily_bin115.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6053.05705579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .71387       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    38.651       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.8951       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0745       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4156       1.0000         .10000E-03   10000.    
    10 'norm      '    .42687       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8789       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6283       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.512       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.4745       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.2798       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.5456       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0656       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98055       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=   6052.922     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2020 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .93598       -.14390E-06** at limit **
   2  Prefactor     .10000E-03    9.1769       -.40090E-05** at limit **
   3  norm          .71363        .49122        .61681E-07    .66066E-03
   4  Prefactor     .10000E-03    2.6284        .16937E-06** at limit **
   5  Prefactor     .10000E-03    6.8268        .10229E-05** at limit **
   6  norm          38.627        33.779       -.28970E-04    .62946E-05
   7  Prefactor     7.8952        4.4530       -.27228E-06   -.34694E-04
   8  Prefactor     6.0749        22.906        .37115E-06   -.23849E-04
   9  Prefactor     7.4155        4.6014       -.15534E-06   -.39243E-04
  10  norm          .42619        1.1743       -.75761E-06   -.20587E-02
  11  Prefactor     .10000E-03    8.4236        .39654E-05** at limit **
  12  Prefactor     .10000E-03    16.611        .66417E-06** at limit **
  13  norm          .10000E-03    6.6411       -.15567E-05** at limit **
  14  Prefactor     3.8792        3.4846        .16099E-06   -.46757E-04
  15  Prefactor     3.6284        3.9557        .15531E-05   -.18719E-03
  16  Prefactor     14.508        30.870       -.70595E-05   -.57304E-05
  17  Prefactor     .10000E-03    22.962        .64044E-06** at limit **
  18  Prefactor     7.4745        6.1115       -.11556E-06   -.11182E-03
  19  Prefactor     8.2798        7.5764       -.31471E-06    .25290E-04
  20  Prefactor     5.5455        2.6326       -.42007E-07   -.12543E-04
  21  Normalizat    1.0656        .17870        .11845E-05    .11999E-03
  22  Prefactor     .98047        .17202        .20354E-05    .52854E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.713635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 38.6266
  Prefactor  = 7.89519
  Prefactor  = 6.07495
  Prefactor  = 7.41555
  norm       = 0.426192
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.87915
  Prefactor  = 3.62837
  Prefactor  = 14.5082
  Prefactor  = 0.0001
  Prefactor  = 7.47447
  Prefactor  = 8.27977
  Prefactor  = 5.54553
  Normalizat = 1.06563
  Prefactor  = 0.980468
 **********
 **   18 **HESSE 
 **********

 FCN=   6052.922     FROM HESSE     STATUS=OK           352 CALLS     2372 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7736        .14511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .71363        .48350        .44005E-04   -1.5539    
   4  Prefactor     .10000E-03    2.6303        .12319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.8501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          38.627        33.675        .64470E-04   -1.4464    
   7  Prefactor     7.8952        4.4518        .11846E-03   -1.5146    
   8  Prefactor     6.0749        22.887        .16290E-03   -1.5215    
   9  Prefactor     7.4155        4.6000        .12444E-03   -1.5163    
  10  norm          .42619        1.0720        .13536E-02   -1.5577    
  11  Prefactor     .10000E-03    8.4322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.7194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8792        3.4833        .13038E-03   -1.5314    
  15  Prefactor     3.6284        3.9302        .15046E-03   -1.5327    
  16  Prefactor     14.508        30.900        .10514E-03   -1.4946    
  17  Prefactor     .10000E-03    22.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.4745        6.1067        .14669E-03   -1.5161    
  19  Prefactor     8.2798        7.5838        .13932E-03   -1.5132    
  20  Prefactor     5.5455        2.6315        .83613E-04   -1.5237    
  21  Normalizat    1.0656        .20542        .23961E-03   -.90863    
  22  Prefactor     .98047        .19792        .24982E-03   -.93383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02443e-09
Minuit parameter uncertainties:
  1  2.07659e-05
  2  1.23564e-06
  3  0.483505
  4  1.9707e-05
  5  4.03853e-06
  6  33.6912
  7  4.45199
  8  22.9202
  9  4.6002
  10  1.07206
  11  1.54306e-05
  12  6.15669e-05
  13  2.8479e-05
  14  3.48343
  15  3.93044
  16  30.9337
  17  9.52353e-06
  18  6.10722
  19  7.58466
  20  2.63154
  21  0.205571
  22  0.198067
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.262e-01  1.072e+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:  9.805e-01  1.981e-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.066e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/103319/likelihoodResults_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.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) = 6052.88223176
delta logL = 0.0401789008893

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6052.88204878
delta logL = 0.0403618796372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42726       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0942       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98033       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=   6052.882     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      230 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .42746        26.714        .25622E-01    .15817E-02
   2  alpha         2.0946        2.9790        .41858        .22669E-04
   3  Normalizat    1.0640        .29680E-01    .39704E-01    .10559E-04
   4  Prefactor     .98032        .29893E-01    .46021E-01    .92202E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.427457
  alpha      = 2.09464
  Normalizat = 1.06399
  Prefactor  = 0.980318
 **********
 **   18 **HESSE 
 **********

 FCN=   6052.882     FROM HESSE     STATUS=OK            35 CALLS      265 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .42746        1.0594        .12052E-02   -1.5577    
   2  alpha         2.0946        1.2462        .27990E-01   -.16286    
   3  Normalizat    1.0640        .19360        .23976E-03   -.90917    
   4  Prefactor     .98032        .19545        .24981E-03   -.93388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35594e-09
Minuit parameter uncertainties:
  1  1.05943
  2  1.30642
  3  0.193733
  4  0.195587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103319': 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) = 6052.88204864
delta logL = 0.0403620193092

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.275e-01  1.059e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.095e+00  1.306e+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:  9.803e-01  1.956e-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  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.21
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/103319/cmap_HighResolution_269136001_269395201_4FGL_J0915.9+2933_daily_bin115.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-05', job_status='DONE', photon_flux_upper_limit='4.00e-08', time_completed='2021-08-31 05:44:16.990644', job_id='103319', GAL2='0.98', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1630413856.99', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.04e-02', ts2='0.29', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='115' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 103319: <4FGL_J0915.9+2933_daily_bin115> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin115 138.986 29.553 269136001 269395201 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 :                                   588.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             228.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            805 sec.

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

