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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin920
RA = 138.986, Dec = 29.553
tmin = 477792001, tmax = 478051201
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='108403', job_status='RUN', time_executed='2021-08-31 05:48:28.439136', time_epoch_executed='1630414108.44' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='920'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108403

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108403/ft1_4FGL_J0915.9+2933_daily_bin920.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108403/ft2_4FGL_J0915.9+2933_daily_bin920.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108403/ft1_4FGL_J0915.9+2933_daily_bin920.fits outfile=/scratch/kocevski/108403/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin920.fits ra=138.986 dec=29.553 rad=12.0 tmin=477792001.0 tmax=478051201.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 4.10
user 3.40
sys 0.54

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108403/ft1_filtered_4FGL_J0915.9+2933_daily_bin920.fits evtable="EVENTS" scfile=/scratch/kocevski/108403/ft2_4FGL_J0915.9+2933_daily_bin920.fits sctable="SC_DATA" expcube=/scratch/kocevski/108403/ltcube_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.fits outfile=/scratch/kocevski/108403/expmap_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.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/108403/ltcube_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.fits
.....................!
real 193.63
user 185.38
sys 5.35

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/108403/ft1_filtered_4FGL_J0915.9+2933_daily_bin920.fits scfile=/scratch/kocevski/108403/ft2_4FGL_J0915.9+2933_daily_bin920.fits outfile=/scratch/kocevski/108403/cmap_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.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.92
user 0.37
sys 0.51

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108403/ft1_filtered_4FGL_J0915.9+2933_daily_bin920.fits scfile=/scratch/kocevski/108403/ft2_4FGL_J0915.9+2933_daily_bin920.fits outfile=/scratch/kocevski/108403/cmap_HighResolution_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.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.90
user 0.40
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.595       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0826       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4189       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8201       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.624       1.0000         .10000E-03   10000.    
    10 'norm      '    .85196       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.245       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8862       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15401E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.183       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8064       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1257       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78983       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=   5652.185     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2384 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .71921        .18658E-06** at limit **
   2  Prefactor     17.594        15.142        .28544E-06   -.10876E-03
   3  norm          2.0827        .91139       -.11726E-07   -.28264E-03
   4  Prefactor     9.4209        13.379        .81353E-06   -.22754E-04
   5  Prefactor     .10000E-03    7.0863        .21080E-06** at limit **
   6  norm          .10000E-03    41.570        .68949E-06** at limit **
   7  Prefactor     4.8204        3.7438        .87651E-07   -.25831E-04
   8  Prefactor     .10000E-03    28.892       -.34093E-06** at limit **
   9  Prefactor     11.625        6.8057       -.15440E-05    .40596E-04
  10  norm          .85202        1.2025        .27159E-07   -.29797E-04
  11  Prefactor     .10000E-03    17.204       -.48371E-06** at limit **
  12  Prefactor     .10000E-03    16.130        .73545E-07** at limit **
  13  norm          11.248        9.9772       -.20143E-05   -.88157E-05
  14  Prefactor     1.4259        4.9101        .11748E-04   -.58191E-04
  15  Prefactor     5.8827        4.6190        .18371E-06   -.15467E-04
  16  Prefactor     .10000E-03    99.557       -.86115E-06** at limit **
  17  Prefactor     35.113        62.877        .90718E-05    .54893E-04
  18  Prefactor     .10000E-03    3.7199       -.86779E-06** at limit **
  19  Prefactor     9.8065        9.4273        .11447E-06   -.16691E-04
  20  Prefactor     .10000E-03    .76805        .58824E-07** at limit **
  21  Normalizat    1.1257        .19028       -.12875E-05    .55687E-04
  22  Prefactor     .78977        .17281       -.19539E-06   -.69006E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.5936
  norm       = 2.08269
  Prefactor  = 9.42086
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.82038
  Prefactor  = 0.0001
  Prefactor  = 11.6253
  norm       = 0.852025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.2479
  Prefactor  = 1.42589
  Prefactor  = 5.88274
  Prefactor  = 0.0001
  Prefactor  = 35.1125
  Prefactor  = 0.000100001
  Prefactor  = 9.80653
  Prefactor  = 0.0001
  Normalizat = 1.12569
  Prefactor  = 0.789768
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.185     FROM HESSE     STATUS=OK           346 CALLS     2730 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.5479        .12287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.594        15.019        .47742E-03   -1.4869    
   3  norm          2.0827        .90915        .44445E-04   -1.5419    
   4  Prefactor     9.4209        13.385        .65291E-03   -1.5094    
   5  Prefactor     .10000E-03    7.1034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    41.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.8204        3.7455        .12363E-03   -1.5269    
   8  Prefactor     .10000E-03    28.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.625        6.8297        .11750E-03   -1.5026    
  10  norm          .85202        1.2017        .50529E-04   -1.5523    
  11  Prefactor     .10000E-03    17.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.248        9.9897        .11947E-03   -1.5037    
  14  Prefactor     1.4259        4.9370        .13426E-02   -1.5469    
  15  Prefactor     5.8827        4.6348        .13401E-03   -1.5223    
  16  Prefactor     .10000E-03    102.24        .36399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     35.113        62.903        .67562E-04   -1.4522    
  18  Prefactor     .10000E-03    3.7703        .14182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.8065        9.4332        .12796E-03   -1.5082    
  20  Prefactor     .10000E-03    .77373        .64329E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1257        .22039        .23367E-03   -.88931    
  22  Prefactor     .78977        .19945        .25909E-03   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6033e-09
Minuit parameter uncertainties:
  1  2.06978e-06
  2  15.0222
  3  0.90916
  4  13.3888
  5  3.59836e-05
  6  0.000190861
  7  3.74569
  8  9.89357e-05
  9  6.83012
  10  1.20175
  11  0.000143019
  12  6.15057e-06
  13  9.99119
  14  4.93841
  15  4.63506
  16  0.000176619
  17  63.0222
  18  0.000109134
  19  9.43462
  20  3.36441e-06
  21  0.220574
  22  0.19963
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.520e-01  1.202e+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:  7.898e-01  1.996e-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.126e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108403/likelihoodResults_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.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) = 5651.8454479
delta logL = 0.33983440359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5651.80782333
delta logL = 0.377458977452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55221       1.0000         .10000E-03   10000.    
     2 'alpha     '    .98225       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1282       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79024       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=   5651.808     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      197 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55223        .72410        .11482E-01    .20753E-02
   2  alpha         .98216        .56561        .48884       -.23912E-04
   3  Normalizat    1.1281        .17587        .52814E-01    .73106E-05
   4  Prefactor     .79026        .16708        .43590E-01    .12676E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.552226
  alpha      = 0.982157
  Normalizat = 1.12814
  Prefactor  = 0.790258
 **********
 **   18 **HESSE 
 **********

 FCN=   5651.808     FROM HESSE     STATUS=OK            35 CALLS      232 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55223        .94008        .70279E-03   -1.5559    
   2  alpha         .98216        .78863        .20831E-01   -.65245    
   3  Normalizat    1.1281        .20713        .23351E-03   -.88853    
   4  Prefactor     .79026        .19681        .25898E-03   -1.0009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.65112e-10
Minuit parameter uncertainties:
  1  0.940103
  2  0.81097
  3  0.207276
  4  0.196981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108403': 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) = 5651.8078233
delta logL = 0.377459004124

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.522e-01  9.401e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  9.822e-01  8.110e-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:  7.903e-01  1.970e-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.128e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.98 +/- 0.81
Photon Flux (Free Index): 3.87e-09 +/- 5.63e-09
Energy Flux (Free Index): 3.38e-05 +/- 5.74e-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/108403/cmap_HighResolution_477792001_478051201_4FGL_J0915.9+2933_daily_bin920.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-05', comment='SUCCESS', energy_flux2='3.38e-05', dlogl='3.77e-01', photon_flux2='3.87e-09', job_status='DONE', time_completed='2021-08-31 05:58:23.105855', photon_index_error2='0.81', photon_index2='0.98', ts='0.94', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='4.70e-08', energy_flux_error2='5.74e-05', EG='1.13', time_epoch_completed='1630414703.11', return_code='0', job_id='108403', GAL2='0.79', EG2='1.13', return_code2='0', photon_flux_error2='5.63e-09', ts2='1.69', photon_index='1.75' WHERE bin_id='920' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:58:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 108403: <4FGL_J0915.9+2933_daily_bin920> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin920> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:07 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:46:09 2021
Terminated at Tue Aug 31 05:58:24 2021
Results reported at Tue Aug 31 05:58:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin920 138.986 29.553 477792001 478051201 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 :                                   590.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            737 sec.

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

