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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin458
RA = 138.986, Dec = 29.553
tmin = 358041601, tmax = 358300801
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='105016', job_status='RUN', time_executed='2021-08-31 05:38:47.009969', time_epoch_executed='1630413527.01' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='458'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105016/ft1_4FGL_J0915.9+2933_daily_bin458.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105016/ft2_4FGL_J0915.9+2933_daily_bin458.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105016/ft1_4FGL_J0915.9+2933_daily_bin458.fits outfile=/scratch/kocevski/105016/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin458.fits ra=138.986 dec=29.553 rad=12.0 tmin=358041601.0 tmax=358300801.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 3.79
user 3.23
sys 0.50

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105016/ft2_4FGL_J0915.9+2933_daily_bin458.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/105016/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin458.fits evtable="EVENTS" outfile="/scratch/kocevski/105016/ft1_filtered_4FGL_J0915.9+2933_daily_bin458.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.98
user 0.32
sys 0.42

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105016/ft1_filtered_4FGL_J0915.9+2933_daily_bin458.fits evtable="EVENTS" scfile=/scratch/kocevski/105016/ft2_4FGL_J0915.9+2933_daily_bin458.fits sctable="SC_DATA" expcube=/scratch/kocevski/105016/ltcube_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.fits outfile=/scratch/kocevski/105016/expmap_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.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/105016/ltcube_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.fits
.....................!
real 194.52
user 185.49
sys 5.48

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/105016/ft1_filtered_4FGL_J0915.9+2933_daily_bin458.fits scfile=/scratch/kocevski/105016/ft2_4FGL_J0915.9+2933_daily_bin458.fits outfile=/scratch/kocevski/105016/cmap_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.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.83
user 0.36
sys 0.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105016/ft1_filtered_4FGL_J0915.9+2933_daily_bin458.fits scfile=/scratch/kocevski/105016/ft2_4FGL_J0915.9+2933_daily_bin458.fits outfile=/scratch/kocevski/105016/cmap_HighResolution_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.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.78
user 0.36
sys 0.42

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58769       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1546       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12898E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6444       1.0000         .10000E-03   10000.    
     8 'Prefactor '    69.833       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.8812       1.0000         .10000E-03   10000.    
    10 'norm      '    .51974       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.975       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .20171       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .17394E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99738       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0701       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=   5741.114     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2440 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59030        1.2750        .65172E-06    .49834E-03
   2  Prefactor     8.1487        13.739       -.16967E-07   -.71294E-04
   3  norm          2.0674        .92243        .73167E-07   -.22337E-03
   4  Prefactor     .10000E-03    5.4279        .97137E-07** at limit **
   5  Prefactor     .10000E-03    39.682        .82630E-06** at limit **
   6  norm          .10000E-03    11.731        .15933E-06** at limit **
   7  Prefactor     1.6450        3.6171        .78020E-06   -.45105E-04
   8  Prefactor     69.821        49.767        .46911E-07   -.26390E-04
   9  Prefactor     2.8805        5.6370        .62533E-06   -.54608E-04
  10  norm          .52000        1.6542        .10038E-05   -.62982E-04
  11  Prefactor     .10000E-03    17.232       -.50418E-06** at limit **
  12  Prefactor     38.996        49.474        .66534E-06    .13891E-04
  13  norm          .10000E-03    11.230       -.21153E-06** at limit **
  14  Prefactor     .20565        2.4039        .16941E-06   -.13278E-03
  15  Prefactor     .10000E-03    2.1021        .71480E-07** at limit **
  16  Prefactor     .10000E-03    8.2939        .54296E-07** at limit **
  17  Prefactor     .10000E-03    470.65       -.21943E-04** at limit **
  18  Prefactor     .10000E-03    4.2035       -.70119E-08** at limit **
  19  Prefactor     .10000E-03    6.8606       -.17413E-07** at limit **
  20  Prefactor     .10000E-03    1.8398       -.15077E-06** at limit **
  21  Normalizat    .99736        .17927       -.74799E-06   -.61598E-04
  22  Prefactor     1.0700        .17568       -.18241E-05    .24393E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.590302
  Prefactor  = 8.14874
  norm       = 2.06744
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.64505
  Prefactor  = 69.8215
  Prefactor  = 2.8805
  norm       = 0.520001
  Prefactor  = 0.0001
  Prefactor  = 38.9957
  norm       = 0.0001
  Prefactor  = 0.205646
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 0.997355
  Prefactor  = 1.06995
 **********
 **   18 **HESSE 
 **********

 FCN=   5741.114     FROM HESSE     STATUS=OK           346 CALLS     2786 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59030        1.1963        .12135E-02   -1.5554    
   2  Prefactor     8.1487        13.496        .14040E-03   -1.5137    
   3  norm          2.0674        .91772        .46623E-04   -1.5420    
   4  Prefactor     .10000E-03    5.4416        .17241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.919        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6450        3.5920        .20472E-03   -1.5451    
   8  Prefactor     69.821        49.572        .48035E-04   -1.4035    
   9  Prefactor     2.8805        5.6351        .22124E-03   -1.5369    
  10  norm          .52000        1.6539        .16679E-03   -1.5564    
  11  Prefactor     .10000E-03    17.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.996        49.538        .64202E-04   -1.4458    
  13  norm          .10000E-03    11.497        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .20565        13.527        .21171E-02   -1.5617    
  15  Prefactor     .10000E-03    2.1732        .21444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.3003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    468.77        .40701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.2710        .15168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.9478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.6345        .19808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .99736        .20614        .24886E-03   -.93119    
  22  Prefactor     1.0700        .20050        .23634E-03   -.90433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96045e-08
Minuit parameter uncertainties:
  1  1.19634
  2  13.5005
  3  0.917724
  4  8.21485e-06
  5  0.000116971
  6  1.63486e-06
  7  3.59243
  8  49.6013
  9  5.63615
  10  1.65409
  11  1.29557e-05
  12  49.5903
  13  2.54492e-05
  14  3.33566
  15  3.75578e-06
  16  1.53462e-05
  17  0.00181072
  18  1.74456e-05
  19  1.09673e-05
  20  0.000202975
  21  0.206301
  22  0.200638
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.200e-01  1.654e+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:  1.070e+00  2.006e-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:  9.974e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/105016/likelihoodResults_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.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) = 5741.01094379
delta logL = 0.102685144586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5741.00870922
delta logL = 0.104919713953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60304       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3403       1.0000          .0000       5.0000    
     3 'Normalizat'    .98986       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0706       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=   5741.009     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      199 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60320        30.405        .11685E-01    .10384E-02
   2  alpha         2.3427        3.3644        .41258        .17878E-04
   3  Normalizat    .98968        .36690E-01    .46040E-01   -.39823E-04
   4  Prefactor     1.0709        .34836E-01    .38828E-01   -.60300E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.603204
  alpha      = 2.34271
  Normalizat = 0.989683
  Prefactor  = 1.07087
 **********
 **   18 **HESSE 
 **********

 FCN=   5741.009     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60320        1.5536        .11040E-03   -1.5553    
   2  alpha         2.3427        1.3836        .22239E-01   -.62958E-01
   3  Normalizat    .98968        .20203        .24971E-03   -.93377    
   4  Prefactor     1.0709        .19811        .23621E-03   -.90403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50564e-11
Minuit parameter uncertainties:
  1  1.55366
  2  1.46666
  3  0.202188
  4  0.198248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105016': 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) = 5741.00870569
delta logL = 0.104923245693

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.032e-01  1.554e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.343e+00  1.467e+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:  1.071e+00  1.982e-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:  9.897e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/105016/cmap_HighResolution_358041601_358300801_4FGL_J0915.9+2933_daily_bin458.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-05', job_status='DONE', photon_flux_upper_limit='4.96e-08', time_completed='2021-08-31 05:48:42.002798', job_id='105016', GAL2='1.07', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1630414122.0', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.05e-01', ts2='0.32', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='458' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:48:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 105016: <4FGL_J0915.9+2933_daily_bin458> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin458> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:44 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:35:45 2021
Terminated at Tue Aug 31 05:48:42 2021
Results reported at Tue Aug 31 05:48:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin458 138.986 29.553 358041601 358300801 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 :                                   592.20 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            778 sec.

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

