/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 1 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin721
RA = 138.986, Dec = 29.553
tmin = 426211201, tmax = 426470401
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='106818', job_status='RUN', time_executed='2021-08-31 05:41:51.671445', time_epoch_executed='1630413711.67' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106818

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106818/ft1_4FGL_J0915.9+2933_daily_bin721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106818/ft2_4FGL_J0915.9+2933_daily_bin721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106818/ft1_4FGL_J0915.9+2933_daily_bin721.fits outfile=/scratch/kocevski/106818/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin721.fits ra=138.986 dec=29.553 rad=12.0 tmin=426211201.0 tmax=426470401.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 5.58
user 3.33
sys 1.00

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106818/ft1_filtered_4FGL_J0915.9+2933_daily_bin721.fits" evtable="EVENTS" scfile=/scratch/kocevski/106818/ft2_4FGL_J0915.9+2933_daily_bin721.fits sctable="SC_DATA" outfile=/scratch/kocevski/106818/ltcube_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.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/106818/ft2_4FGL_J0915.9+2933_daily_bin721.fits
.....................!
real 13.60
user 11.68
sys 1.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106818/ft1_filtered_4FGL_J0915.9+2933_daily_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/106818/ft2_4FGL_J0915.9+2933_daily_bin721.fits sctable="SC_DATA" expcube=/scratch/kocevski/106818/ltcube_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.fits outfile=/scratch/kocevski/106818/expmap_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.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/106818/ltcube_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.fits
.....................!
real 196.22
user 185.42
sys 6.33

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/106818/ft1_filtered_4FGL_J0915.9+2933_daily_bin721.fits scfile=/scratch/kocevski/106818/ft2_4FGL_J0915.9+2933_daily_bin721.fits outfile=/scratch/kocevski/106818/cmap_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.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 1.35
user 0.37
sys 0.92

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106818/ft1_filtered_4FGL_J0915.9+2933_daily_bin721.fits scfile=/scratch/kocevski/106818/ft2_4FGL_J0915.9+2933_daily_bin721.fits outfile=/scratch/kocevski/106818/cmap_HighResolution_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.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 1.41
user 0.37
sys 0.93

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .26310       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.704       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7546       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.315       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11922E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.117       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    11.571       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .44847       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    92.311       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .66022       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0690       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0221       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=   5897.651     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2092 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50022        .22381E-07** at limit **
   2  Prefactor     .10000E-03    4.6263       -.23487E-06** at limit **
   3  norm          .26372        .75627        .87747E-08   -.16332E-02
   4  Prefactor     31.697        16.957       -.30718E-05    .15175E-03
   5  Prefactor     .10000E-03    10.733       -.84375E-05** at limit **
   6  norm          .10000E-03    28.858       -.36489E-04** at limit **
   7  Prefactor     2.7547        2.6480        .25831E-07    .64989E-04
   8  Prefactor     29.315        33.893       -.12706E-05    .12178E-03
   9  Prefactor     .10000E-03    6.1544       -.79269E-06** at limit **
  10  norm          .10000E-03    .60034        .20978E-07** at limit **
  11  Prefactor     37.123        22.261        .39074E-05    .47432E-03
  12  Prefactor     .10000E-03    24.061        .19821E-04** at limit **
  13  norm          11.574        10.168       -.15665E-05    .70575E-03
  14  Prefactor     .45191        3.2061       -.45215E-05    .10992E-02
  15  Prefactor     .10000E-03    1.1859        .14462E-06** at limit **
  16  Prefactor     92.311        39.402        .83886E-06    .92343E-04
  17  Prefactor     .10000E-03    24.445        .16596E-04** at limit **
  18  Prefactor     .64216        4.0943       -.97988E-06    .34151E-04
  19  Prefactor     .10000E-03    7.9415        .55620E-05** at limit **
  20  Prefactor     .10000E-03    1.4500       -.21219E-06** at limit **
  21  Normalizat    1.0687        .18817        .62509E-06    .58169E-03
  22  Prefactor     1.0223        .18117        .65329E-06    .40648E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.263722
  Prefactor  = 31.6967
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.7547
  Prefactor  = 29.3146
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 37.123
  Prefactor  = 0.0001
  norm       = 11.5742
  Prefactor  = 0.451908
  Prefactor  = 0.0001
  Prefactor  = 92.3111
  Prefactor  = 0.0001
  Prefactor  = 0.642155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06871
  Prefactor  = 1.02235
 **********
 **   18 **HESSE 
 **********

 FCN=   5897.651     FROM HESSE     STATUS=OK           338 CALLS     2430 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .86423        .10558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.6391        .16131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .26372        .75359        .10364E-03   -1.5605    
   4  Prefactor     31.697        16.649        .71162E-04   -1.4581    
   5  Prefactor     .10000E-03    10.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    28.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.7547        2.6482        .11897E-03   -1.5376    
   8  Prefactor     29.315        33.862        .73997E-04   -1.4625    
   9  Prefactor     .10000E-03    6.3195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .60643        .58098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.123        22.275        .65784E-04   -1.4489    
  12  Prefactor     .10000E-03    24.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.574        10.056        .11777E-03   -1.5027    
  14  Prefactor     .45191        6.0255        .24684E-02   -1.5574    
  15  Prefactor     .10000E-03    1.1914        .81642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     92.311        39.381        .41827E-04   -1.3783    
  17  Prefactor     .10000E-03    24.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .64216        20.205        .29104E-02   -1.5548    
  19  Prefactor     .10000E-03    8.2088        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8143        .17828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0687        .21600        .24631E-03   -.90763    
  22  Prefactor     1.0223        .20850        .24904E-03   -.91988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40667e-09
Minuit parameter uncertainties:
  1  5.68408e-06
  2  2.59235e-07
  3  0.753622
  4  16.6518
  5  6.57389e-06
  6  0.000101699
  7  2.64827
  8  33.8839
  9  0.000140269
  10  6.48659e-07
  11  22.2798
  12  4.52954e-06
  13  10.0576
  14  3.30033
  15  1.76874e-06
  16  39.3917
  17  6.08715e-06
  18  7.20615
  19  6.89345e-05
  20  1.10829e-05
  21  0.216173
  22  0.208664
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  6.487e-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.022e+00  2.087e-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.069e+00  2.162e-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: 3.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106818/likelihoodResults_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.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) = 5897.65059203
delta logL = -2.63265064859e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5897.65059162
delta logL = 1.50484993355e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7636       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0224       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.

 FCN=   5897.651     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      230 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    111.15        .58232E-03** at limit **
   2  alpha         1.9757        2.7730        .50000       -.12958E-06
   3  Normalizat    1.0687        .85762E-01    .24631E-03   -.43802E-03
   4  Prefactor     1.0223        .85393E-01    .24904E-03   -.44660E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.97572
  Normalizat = 1.0687
  Prefactor  = 1.02235
 **********
 **   18 **HESSE 
 **********

 FCN=   5897.651     FROM HESSE     STATUS=OK            29 CALLS      259 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .71830        .11646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9757        3.8065        .50000       -.21128    
   3  Normalizat    1.0687        .20637        .49262E-04   -.90763    
   4  Prefactor     1.0223        .20556        .49808E-04   -.91988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90287e-10
Minuit parameter uncertainties:
  1  6.05997e-06
  2  89.2181
  3  0.206526
  4  0.205721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106818': 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) = 5897.65058929
delta logL = 2.47608386417e-06

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  6.060e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.976e+00  8.922e+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.022e+00  2.057e-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.069e+00  2.065e-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/106818/cmap_HighResolution_426211201_426470401_4FGL_J0915.9+2933_daily_bin721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.55e-05', job_status='DONE', photon_flux_upper_limit='3.09e-08', time_completed='2021-08-31 05:52:01.333278', job_id='106818', GAL2='1.02', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630414321.33', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.48e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='721' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:52:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 106818: <4FGL_J0915.9+2933_daily_bin721> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin721 138.986 29.553 426211201 426470401 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 :                                   599.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            654 sec.

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

