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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin266
RA = 138.986, Dec = 29.553
tmin = 308275201, tmax = 308534401
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='103581', job_status='RUN', time_executed='2021-08-31 05:33:35.413405', time_epoch_executed='1630413215.41' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='266'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103581

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103581/ft1_4FGL_J0915.9+2933_daily_bin266.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103581/ft2_4FGL_J0915.9+2933_daily_bin266.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103581/ft1_4FGL_J0915.9+2933_daily_bin266.fits outfile=/scratch/kocevski/103581/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin266.fits ra=138.986 dec=29.553 rad=12.0 tmin=308275201.0 tmax=308534401.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.62
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103581/ft1_filtered_4FGL_J0915.9+2933_daily_bin266.fits" evtable="EVENTS" scfile=/scratch/kocevski/103581/ft2_4FGL_J0915.9+2933_daily_bin266.fits sctable="SC_DATA" outfile=/scratch/kocevski/103581/ltcube_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.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/103581/ft2_4FGL_J0915.9+2933_daily_bin266.fits
.....................!
real 11.93
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103581/ft1_filtered_4FGL_J0915.9+2933_daily_bin266.fits evtable="EVENTS" scfile=/scratch/kocevski/103581/ft2_4FGL_J0915.9+2933_daily_bin266.fits sctable="SC_DATA" expcube=/scratch/kocevski/103581/ltcube_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.fits outfile=/scratch/kocevski/103581/expmap_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.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/103581/ltcube_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.fits
.....................!
real 191.03
user 186.77
sys 3.93

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/103581/ft1_filtered_4FGL_J0915.9+2933_daily_bin266.fits scfile=/scratch/kocevski/103581/ft2_4FGL_J0915.9+2933_daily_bin266.fits outfile=/scratch/kocevski/103581/cmap_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103581/ft1_filtered_4FGL_J0915.9+2933_daily_bin266.fits scfile=/scratch/kocevski/103581/ft2_4FGL_J0915.9+2933_daily_bin266.fits outfile=/scratch/kocevski/103581/cmap_HighResolution_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2180       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.568       1.0000         .10000E-03   10000.    
     3 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.415       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.609       1.0000         .10000E-03   10000.    
     6 'norm      '    .29535E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8830       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.470       1.0000         .10000E-03   10000.    
    13 'norm      '    4.7691       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.629       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1686       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92006       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=   5979.064     FROM MIGRAD    STATUS=CONVERGED    834 CALLS     2767 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2182        1.6434        .67091E-04    .51343E-04
   2  Prefactor     22.559        15.698        .84316E-04    .98159E-04
   3  norm          .10000E-03    .59707        .87712E-03** at limit **
   4  Prefactor     12.406        14.747        .11369E-03    .56801E-04
   5  Prefactor     11.608        20.142        .11758E-03    .37710E-05
   6  norm          .10000E-03    39.993        .13585    ** at limit **
   7  Prefactor     .10000E-03    2.6496        .24158E-03** at limit **
   8  Prefactor     .10000E-03    12.830        .18142E-02** at limit **
   9  Prefactor     7.8829        5.4587        .14180E-03    .59489E-04
  10  norm          .10000E-03    .69119        .62397E-03** at limit **
  11  Prefactor     .10000E-03    21.115        .18142E-02** at limit **
  12  Prefactor     22.410        58.760        .84499E-04    .79380E-05
  13  norm          4.7696        7.2389        .18424E-03   -.33816E-04
  14  Prefactor     .10000E-03    3.6308        .28238E-03** at limit **
  15  Prefactor     .10000E-03    3.2358        .13419E-02** at limit **
  16  Prefactor     .10000E-03    16.633        .18142E-02** at limit **
  17  Prefactor     .10000E-03    13.882        .18142E-02** at limit **
  18  Prefactor     17.629        8.9251        .95390E-04    .80924E-04
  19  Prefactor     .10000E-03    11.856        .18142E-02** at limit **
  20  Prefactor     .10000E-03    2.0600        .21169E-02** at limit **
  21  Normalizat    1.1687        .21213        .23729E-03    .83842E-05
  22  Prefactor     .91995        .20419        .25818E-03    .12972E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.21824
  Prefactor  = 22.5592
  norm       = 0.0001
  Prefactor  = 12.4065
  Prefactor  = 11.608
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.88289
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.4101
  norm       = 4.76964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6286
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16868
  Prefactor  = 0.919952
 **********
 **   18 **HESSE 
 **********

 FCN=   5979.064     FROM HESSE     STATUS=OK           330 CALLS     3097 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2182        1.6434        .26837E-05   -1.5349    
   2  Prefactor     22.559        15.698        .33726E-05   -1.4758    
   3  norm          .10000E-03    .59838        .17542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.406        14.746        .45474E-05   -1.5003    
   5  Prefactor     11.608        20.137        .47030E-05   -1.5026    
   6  norm          .10000E-03    39.101        .13820       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6497        .48315E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.831        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8829        5.4585        .56720E-05   -1.5146    
  10  norm          .10000E-03    .69123        .12479E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.120        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.410        58.714        .33800E-05   -1.4761    
  13  norm          4.7696        7.2379        .73694E-05   -1.5271    
  14  Prefactor     .10000E-03    3.6309        .56476E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.2372        .26839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.636        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.629        8.9249        .38156E-05   -1.4868    
  19  Prefactor     .10000E-03    11.862        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.0653        .42338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1687        .21231        .94918E-05   -.87576    
  22  Prefactor     .91995        .20437        .10327E-04   -.95447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59633e-10
Minuit parameter uncertainties:
  1  1.64345
  2  15.7004
  3  1.07457e-05
  4  14.7506
  5  20.1491
  6  4.86722e-05
  7  2.2861e-05
  8  8.67004e-07
  9  5.4588
  10  3.14565e-06
  11  3.86588e-05
  12  58.8655
  13  7.23927
  14  3.66871e-06
  15  4.08225e-06
  16  4.09614e-05
  17  1.0244e-05
  18  8.9256
  19  0.000129804
  20  2.19625e-05
  21  0.212469
  22  0.204545
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  3.146e-06  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.200e-01  2.045e-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.169e+00  2.125e-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.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103581/likelihoodResults_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.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) = 5979.07059236
delta logL = -0.00664113063795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5979.06395128
delta logL = -5.08453013026e-08

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 'alpha     '    1.7566       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91998       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=   5978.444     FROM MIGRAD    STATUS=CONVERGED    279 CALLS      421 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75380E-02    .80686E-02    .14500E-02    .22003E-01
   2  alpha         5.0000        .99849        .50000    ** at limit **
   3  Normalizat    1.0917        .22351        .23729E-02   -.49337E-03
   4  Prefactor     .96757        .20877        .25818E-03   -.43211E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.007538
  alpha      = 5
  Normalizat = 1.09167
  Prefactor  = 0.967572
 **********
 **   18 **HESSE 
 **********

 FCN=   5978.444     FROM HESSE     STATUS=OK            33 CALLS      454 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75380E-02    .83679E-02    .66322E-04   -1.5725    
   2  alpha         5.0000        1.0998        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0917        .21964        .94918E-04   -.90020    
   4  Prefactor     .96757        .20782        .51636E-04   -.93818    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.87087e-10
Minuit parameter uncertainties:
  1  0.0083679
  2  7.88334e-05
  3  0.219821
  4  0.207996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103581': 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) = 5978.44445587
delta logL = 0.619495361944

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.538e-03  8.368e-03  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  5.000e+00  7.883e-05  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.676e-01  2.080e-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.092e+00  2.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 138.986 29.553
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.78e-08 +/- 6.39e-08
Energy Flux (Free Index): 7.92e-06 +/- 8.77e-06

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/103581/cmap_HighResolution_308275201_308534401_4FGL_J0915.9+2933_daily_bin266.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-05', comment='SUCCESS', energy_flux2='7.92e-06', dlogl='6.19e-01', photon_flux2='5.78e-08', job_status='DONE', time_completed='2021-08-31 05:44:14.703086', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='3.38e-08', energy_flux_error2='8.77e-06', EG='1.17', time_epoch_completed='1630413854.7', return_code='0', job_id='103581', GAL2='0.97', EG2='1.09', return_code2='0', photon_flux_error2='6.39e-08', ts2='1.34', photon_index='1.75' WHERE bin_id='266' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 103581: <4FGL_J0915.9+2933_daily_bin266> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin266 138.986 29.553 308275201 308534401 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 :                                   632.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   781 sec.
    Turnaround time :                            784 sec.

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

