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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin1418
RA = 138.986, Dec = 29.553
tmin = 606873601, tmax = 607132801
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='110475', job_status='RUN', time_executed='2021-08-31 05:52:19.984932', time_epoch_executed='1630414339.98' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='1418'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110475

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110475/ft1_4FGL_J0915.9+2933_daily_bin1418.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110475/ft2_4FGL_J0915.9+2933_daily_bin1418.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110475/ft1_4FGL_J0915.9+2933_daily_bin1418.fits outfile=/scratch/kocevski/110475/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1418.fits ra=138.986 dec=29.553 rad=12.0 tmin=606873601.0 tmax=607132801.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.64
user 5.07
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110475/ft1_filtered_4FGL_J0915.9+2933_daily_bin1418.fits" evtable="EVENTS" scfile=/scratch/kocevski/110475/ft2_4FGL_J0915.9+2933_daily_bin1418.fits sctable="SC_DATA" outfile=/scratch/kocevski/110475/ltcube_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.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/110475/ft2_4FGL_J0915.9+2933_daily_bin1418.fits
.....................!
real 12.57
user 11.87
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110475/ft1_filtered_4FGL_J0915.9+2933_daily_bin1418.fits evtable="EVENTS" scfile=/scratch/kocevski/110475/ft2_4FGL_J0915.9+2933_daily_bin1418.fits sctable="SC_DATA" expcube=/scratch/kocevski/110475/ltcube_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.fits outfile=/scratch/kocevski/110475/expmap_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.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/110475/ltcube_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.fits
.....................!
real 190.71
user 185.33
sys 4.68

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/110475/ft1_filtered_4FGL_J0915.9+2933_daily_bin1418.fits scfile=/scratch/kocevski/110475/ft2_4FGL_J0915.9+2933_daily_bin1418.fits outfile=/scratch/kocevski/110475/cmap_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.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.82
user 0.36
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110475/ft1_filtered_4FGL_J0915.9+2933_daily_bin1418.fits scfile=/scratch/kocevski/110475/ft2_4FGL_J0915.9+2933_daily_bin1418.fits outfile=/scratch/kocevski/110475/cmap_HighResolution_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.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.84
user 0.38
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1551       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2465       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6793       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.026       1.0000         .10000E-03   10000.    
     6 'norm      '    65.271       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4411       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.5563       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.105       1.0000         .10000E-03   10000.    
    12 'Prefactor '    70.284       1.0000         .10000E-03   10000.    
    13 'norm      '    8.2576       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8383       1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.710       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6807       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .60857       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16142E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85081       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1920       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=   6214.867     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2402 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1549        1.3572       -.16382E-06   -.89409E-03
   2  Prefactor     .10000E-03    3.9093        .80883E-07** at limit **
   3  norm          2.2464        .90133        .30647E-07   -.82079E-04
   4  Prefactor     7.6788        9.0267       -.58465E-06    .47734E-05
   5  Prefactor     26.018        21.241        .79228E-05   -.47785E-06
   6  norm          65.270        52.044       -.33913E-05   -.48470E-06
   7  Prefactor     6.4406        4.1604       -.17404E-06   -.20503E-03
   8  Prefactor     .10000E-03    14.207       -.11995E-06** at limit **
   9  Prefactor     5.5559        4.2686       -.23320E-06   -.17230E-03
  10  norm          1.7901        1.5375       -.17767E-06   -.41411E-05
  11  Prefactor     10.100        21.644        .93280E-05   -.32161E-07
  12  Prefactor     70.283        57.912       -.68607E-06    .39606E-06
  13  norm          8.2576        9.5974       -.40056E-05   -.17873E-03
  14  Prefactor     .10000E-03    1.0173       -.17401E-06** at limit **
  15  Prefactor     .10000E-03    1.7818       -.16881E-06** at limit **
  16  Prefactor     5.8282        18.187       -.67947E-05   -.48211E-04
  17  Prefactor     25.557        51.717       -.48850E-05   -.89170E-06
  18  Prefactor     3.6825        5.0165       -.83291E-08   -.35230E-03
  19  Prefactor     .62008        6.4943       -.70248E-06   -.30348E-03
  20  Prefactor     .10000E-03    1.1454        .24791E-06** at limit **
  21  Normalizat    .85106        .18160       -.15169E-05    .27507E-04
  22  Prefactor     1.1919        .17852        .81329E-06   -.79554E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1549
  Prefactor  = 0.0001
  norm       = 2.24644
  Prefactor  = 7.67877
  Prefactor  = 26.0181
  norm       = 65.2703
  Prefactor  = 6.44055
  Prefactor  = 0.0001
  Prefactor  = 5.55594
  norm       = 1.79013
  Prefactor  = 10.0999
  Prefactor  = 70.2835
  norm       = 8.25759
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.82824
  Prefactor  = 25.5571
  Prefactor  = 3.68252
  Prefactor  = 0.620078
  Prefactor  = 0.0001
  Normalizat = 0.851058
  Prefactor  = 1.19185
 **********
 **   18 **HESSE 
 **********

 FCN=   6214.867     FROM HESSE     STATUS=OK           352 CALLS     2754 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1549        1.3318        .95868E-04   -1.5493    
   2  Prefactor     .10000E-03    3.9132        .15222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2464        .90036        .45575E-04   -1.5408    
   4  Prefactor     7.6788        9.0230        .14471E-03   -1.5154    
   5  Prefactor     26.018        21.011        .78524E-04   -1.4687    
   6  norm          65.270        52.046        .49675E-04   -1.4090    
   7  Prefactor     6.4406        4.1610        .12366E-03   -1.5200    
   8  Prefactor     .10000E-03    14.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.5559        4.2636        .13346E-03   -1.5237    
  10  norm          1.7901        1.5461        .87709E-04   -1.5440    
  11  Prefactor     10.100        21.519        .12605E-03   -1.5072    
  12  Prefactor     70.283        57.906        .47882E-04   -1.4029    
  13  norm          8.2576        9.6239        .13951E-03   -1.5133    
  14  Prefactor     .10000E-03    1.0195        .77582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.8040        .10270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.8282        18.248        .16621E-03   -1.5225    
  17  Prefactor     25.557        51.814        .79004E-04   -1.4696    
  18  Prefactor     3.6825        4.9982        .19784E-03   -1.5324    
  19  Prefactor     .62008        20.908        .38542E-02   -1.5550    
  20  Prefactor     .10000E-03    9.1259        .15972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .85106        .20809        .26454E-03   -.98202    
  22  Prefactor     1.1919        .20912        .23746E-03   -.86582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.04312e-10
Minuit parameter uncertainties:
  1  1.33185
  2  9.73238e-07
  3  0.900363
  4  9.02458
  5  21.0165
  6  52.0823
  7  4.16122
  8  4.00106e-05
  9  4.26379
  10  1.54617
  11  21.5351
  12  57.9529
  13  9.62574
  14  1.36902e-06
  15  7.49383e-06
  16  18.2658
  17  51.9057
  18  4.99872
  19  7.2035
  20  7.91404e-05
  21  0.20829
  22  0.209264
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.790e+00  1.546e+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.192e+00  2.093e-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:  8.511e-01  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.54
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.81e-08 +/- 1.56e-08
Energy Flux (Fixed Index): 2.08e-05 +/- 1.80e-05

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) = 6214.67363173
delta logL = 0.193769043964

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6214.51599671
delta logL = 0.35140406519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71476       1.0000         .10000E-03   10000.    
     2 'alpha     '    .95339       1.0000          .0000       5.0000    
     3 'Normalizat'    .85609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1978       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=   6214.516     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      214 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71414        .73137        .12118E-01   -.44267E-03
   2  alpha         .95289        .51971        .42069       -.32986E-04
   3  Normalizat    .85610        .16730        .44338E-01    .17226E-04
   4  Prefactor     1.1978        .17548        .53615E-01    .36046E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.714142
  alpha      = 0.952888
  Normalizat = 0.856103
  Prefactor  = 1.19778
 **********
 **   18 **HESSE 
 **********

 FCN=   6214.516     FROM HESSE     STATUS=OK            35 CALLS      249 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71414        1.3015        .58686E-03   -1.5539    
   2  alpha         .95289        .84933        .18160E-01   -.66727    
   3  Normalizat    .85610        .19512        .26388E-03   -.98020    
   4  Prefactor     1.1978        .20481        .23705E-03   -.86400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60638e-09
Minuit parameter uncertainties:
  1  1.30152
  2  0.878325
  3  0.195279
  4  0.204946
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110475': 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) = 6214.51599656
delta logL = 0.351404221778

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.141e-01  1.302e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  9.529e-01  8.783e-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.198e+00  2.049e-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:  8.561e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.24
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.95 +/- 0.88
Photon Flux (Free Index): 5.08e-09 +/- 7.23e-09
Energy Flux (Free Index): 4.76e-05 +/- 6.85e-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/110475/cmap_HighResolution_606873601_607132801_4FGL_J0915.9+2933_daily_bin1418.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.81e-08', energy_flux2='4.76e-05', photon_flux_error='1.56e-08', dlogl='3.51e-01', energy_flux='2.08e-05', photon_flux2='5.08e-09', job_status='DONE', time_completed='2021-08-31 06:02:07.471712', photon_index_error2='0.88', photon_index2='0.95', ts='11.54', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='6.85e-05', EG='0.85', time_epoch_completed='1630414927.47', return_code='0', job_id='110475', GAL2='1.20', EG2='0.86', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='7.23e-09', ts2='12.24', photon_index='1.75' WHERE bin_id='1418' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:02:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 110475: <4FGL_J0915.9+2933_daily_bin1418> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin1418 138.986 29.553 606873601 607132801 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 :                                   583.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   616 sec.
    Turnaround time :                            618 sec.

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

