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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin546
RA = 138.986, Dec = 29.553
tmin = 380851201, tmax = 381110401
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='106548', job_status='RUN', time_executed='2021-08-31 05:44:02.806712', time_epoch_executed='1630413842.81' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='546'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106548

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106548/ft1_4FGL_J0915.9+2933_daily_bin546.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106548/ft2_4FGL_J0915.9+2933_daily_bin546.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106548/ft1_4FGL_J0915.9+2933_daily_bin546.fits outfile=/scratch/kocevski/106548/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin546.fits ra=138.986 dec=29.553 rad=12.0 tmin=380851201.0 tmax=381110401.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 12.13
user 3.24
sys 8.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106548/ft2_4FGL_J0915.9+2933_daily_bin546.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/106548/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin546.fits evtable="EVENTS" outfile="/scratch/kocevski/106548/ft1_filtered_4FGL_J0915.9+2933_daily_bin546.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 8.73
user 0.34
sys 8.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106548/ft1_filtered_4FGL_J0915.9+2933_daily_bin546.fits" evtable="EVENTS" scfile=/scratch/kocevski/106548/ft2_4FGL_J0915.9+2933_daily_bin546.fits sctable="SC_DATA" outfile=/scratch/kocevski/106548/ltcube_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.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/106548/ft2_4FGL_J0915.9+2933_daily_bin546.fits
.....................!
real 22.11
user 12.33
sys 9.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106548/ft1_filtered_4FGL_J0915.9+2933_daily_bin546.fits evtable="EVENTS" scfile=/scratch/kocevski/106548/ft2_4FGL_J0915.9+2933_daily_bin546.fits sctable="SC_DATA" expcube=/scratch/kocevski/106548/ltcube_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.fits outfile=/scratch/kocevski/106548/expmap_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.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/106548/ltcube_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.fits
.....................!
real 201.67
user 186.17
sys 14.44

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/106548/ft1_filtered_4FGL_J0915.9+2933_daily_bin546.fits scfile=/scratch/kocevski/106548/ft2_4FGL_J0915.9+2933_daily_bin546.fits outfile=/scratch/kocevski/106548/cmap_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.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 9.45
user 0.38
sys 7.89

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106548/ft1_filtered_4FGL_J0915.9+2933_daily_bin546.fits scfile=/scratch/kocevski/106548/ft2_4FGL_J0915.9+2933_daily_bin546.fits outfile=/scratch/kocevski/106548/cmap_HighResolution_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.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 10.82
user 0.38
sys 7.94

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4759       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.439       1.0000         .10000E-03   10000.    
     3 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8209       1.0000         .10000E-03   10000.    
     6 'norm      '    22.345       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .66064       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.2293       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.650       1.0000         .10000E-03   10000.    
    13 'norm      '    34.996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .74575       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6744       1.0000         .10000E-03   10000.    
    16 'Prefactor '    51.642       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5164       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.991       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.4222       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86032       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0566       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=   6169.674     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2375 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4760        2.4071        .99425E-07   -.59361E-04
   2  Prefactor     15.441        17.329        .63245E-06    .22716E-05
   3  norm          .10000E-03    .24958        .15508E-06** at limit **
   4  Prefactor     .10000E-03    18.637       -.48558E-06** at limit **
   5  Prefactor     5.8220        15.060        .58773E-06   -.31909E-04
   6  norm          22.344        36.516        .37273E-08   -.31810E-04
   7  Prefactor     .66070        3.8860        .17902E-04    .13731E-03
   8  Prefactor     .10000E-03    32.922       -.10216E-05** at limit **
   9  Prefactor     .10000E-03    3.8551        .14114E-06** at limit **
  10  norm          1.2293        1.1617       -.32501E-08   -.67150E-05
  11  Prefactor     .10000E-03    24.174        .19167E-05** at limit **
  12  Prefactor     25.526        56.752        .23797E-04   -.96775E-04
  13  norm          34.978        14.636        .76996E-07   -.15159E-03
  14  Prefactor     .75036        7.1400        .12318E-05   -.11042E-03
  15  Prefactor     1.6761        3.7597       -.26969E-06   -.36758E-03
  16  Prefactor     51.643        34.705        .55896E-06   -.92392E-05
  17  Prefactor     .10000E-03    31.221       -.11405E-05** at limit **
  18  Prefactor     7.5162        7.3006        .55765E-06   -.25333E-04
  19  Prefactor     15.991        10.079        .34745E-06   -.13141E-04
  20  Prefactor     7.4222        3.3132        .17564E-06   -.55904E-04
  21  Normalizat    .86015        .19720       -.45057E-05   -.40383E-04
  22  Prefactor     1.0568        .18064       -.29078E-06    .22554E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.47598
  Prefactor  = 15.4408
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.82196
  norm       = 22.344
  Prefactor  = 0.660697
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2293
  Prefactor  = 0.0001
  Prefactor  = 25.5257
  norm       = 34.9775
  Prefactor  = 0.750355
  Prefactor  = 1.67605
  Prefactor  = 51.6434
  Prefactor  = 0.0001
  Prefactor  = 7.51619
  Prefactor  = 15.9907
  Prefactor  = 7.42224
  Normalizat = 0.860154
  Prefactor  = 1.05679
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.674     FROM HESSE     STATUS=OK           350 CALLS     2725 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4760        2.4083        .59773E-04   -1.5126    
   2  Prefactor     15.441        17.323        .10193E-03   -1.4922    
   3  norm          .10000E-03    .32520        .76219E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.151        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8220        15.053        .16646E-03   -1.5225    
   6  norm          22.344        36.515        .84735E-04   -1.4762    
   7  Prefactor     .66070        3.8967        .14636E-02   -1.5545    
   8  Prefactor     .10000E-03    32.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.8944        .15018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2293        1.1608        .40573E-04   -1.5486    
  11  Prefactor     .10000E-03    24.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.526        56.766        .79097E-04   -1.4697    
  13  norm          34.978        14.065        .67742E-04   -1.4524    
  14  Prefactor     .75036        6.6354        .35248E-03   -1.5535    
  15  Prefactor     1.6761        3.7279        .21203E-03   -1.5449    
  16  Prefactor     51.643        34.720        .55809E-04   -1.4269    
  17  Prefactor     .10000E-03    31.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.5162        7.2918        .14628E-03   -1.5160    
  19  Prefactor     15.991        10.086        .10016E-03   -1.4908    
  20  Prefactor     7.4222        3.3122        .90975E-04   -1.5163    
  21  Normalizat    .86015        .22590        .27720E-03   -.97875    
  22  Prefactor     1.0568        .20761        .24531E-03   -.90860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.49503e-10
Minuit parameter uncertainties:
  1  2.40833
  2  17.3289
  3  3.91673e-06
  4  2.31228e-05
  5  15.0631
  6  36.5518
  7  3.20916
  8  4.00357e-05
  9  1.18126e-05
  10  1.16086
  11  7.59421e-05
  12  56.8862
  13  14.0659
  14  4.46307
  15  3.72844
  16  34.734
  17  1.34152e-05
  18  7.29268
  19  10.0874
  20  3.31229
  21  0.226148
  22  0.207766
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.229e+00  1.161e+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.057e+00  2.078e-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.602e-01  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.10
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.24e-08 +/- 1.17e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 1.35e-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) = 6169.62777159
delta logL = 0.0461911034236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6169.62752513
delta logL = 0.0464375643605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2482       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5529       1.0000          .0000       5.0000    
     3 'Normalizat'    .86229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0559       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=   6169.628     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      194 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2484        59.262        .10013E-01   -.12178E-03
   2  alpha         1.5529        3.7367        .45699       -.66314E-05
   3  Normalizat    .86228        .17227        .44418E-01    .17341E-04
   4  Prefactor     1.0559        .13720        .39575E-01    .65249E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.24843
  alpha      = 1.55287
  Normalizat = 0.862284
  Prefactor  = 1.05592
 **********
 **   18 **HESSE 
 **********

 FCN=   6169.628     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2484        1.1714        .79571E-04   -1.5485    
   2  alpha         1.5529        .62431        .17550E-01   -.38856    
   3  Normalizat    .86228        .20707        .27688E-03   -.97798    
   4  Prefactor     1.0559        .20228        .24539E-03   -.90888    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26925e-11
Minuit parameter uncertainties:
  1  1.17143
  2  0.632144
  3  0.207264
  4  0.202424
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106548': 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) = 6169.62752511
delta logL = 0.0464375851243

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.248e+00  1.171e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.553e+00  6.321e-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.056e+00  2.024e-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.623e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.19
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.55 +/- 0.63
Photon Flux (Free Index): 1.02e-08 +/- 1.16e-08
Energy Flux (Free Index): 1.95e-05 +/- 2.75e-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/106548/cmap_HighResolution_380851201_381110401_4FGL_J0915.9+2933_daily_bin546.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-08', energy_flux2='1.95e-05', photon_flux_error='1.17e-08', dlogl='4.64e-02', energy_flux='1.43e-05', photon_flux2='1.02e-08', job_status='DONE', time_completed='2021-08-31 05:55:45.341102', photon_index_error2='0.63', photon_index2='1.55', ts='4.10', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='0.86', time_epoch_completed='1630414545.34', return_code='0', job_id='106548', GAL2='1.06', EG2='0.86', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='1.16e-08', ts2='4.19', photon_index='1.75' WHERE bin_id='546' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:55:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 106548: <4FGL_J0915.9+2933_daily_bin546> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin546> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:47 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:40:48 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:40:48 2021
Terminated at Tue Aug 31 05:55:47 2021
Results reported at Tue Aug 31 05:55:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin546 138.986 29.553 380851201 381110401 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 :                                   796.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

