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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin200
RA = 138.986, Dec = 29.553
tmin = 291168001, tmax = 291427201
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='103430', job_status='RUN', time_executed='2021-08-31 05:35:46.804932', time_epoch_executed='1630413346.8' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='200'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103430

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103430/ft1_4FGL_J0915.9+2933_daily_bin200.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103430/ft2_4FGL_J0915.9+2933_daily_bin200.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103430/ft1_4FGL_J0915.9+2933_daily_bin200.fits outfile=/scratch/kocevski/103430/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin200.fits ra=138.986 dec=29.553 rad=12.0 tmin=291168001.0 tmax=291427201.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 7.41
user 3.25
sys 4.08

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103430/ft1_filtered_4FGL_J0915.9+2933_daily_bin200.fits" evtable="EVENTS" scfile=/scratch/kocevski/103430/ft2_4FGL_J0915.9+2933_daily_bin200.fits sctable="SC_DATA" outfile=/scratch/kocevski/103430/ltcube_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.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/103430/ft2_4FGL_J0915.9+2933_daily_bin200.fits
.....................!
real 16.87
user 11.56
sys 5.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103430/ft1_filtered_4FGL_J0915.9+2933_daily_bin200.fits evtable="EVENTS" scfile=/scratch/kocevski/103430/ft2_4FGL_J0915.9+2933_daily_bin200.fits sctable="SC_DATA" expcube=/scratch/kocevski/103430/ltcube_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.fits outfile=/scratch/kocevski/103430/expmap_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.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/103430/ltcube_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.fits
.....................!
real 196.56
user 185.81
sys 10.10

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/103430/ft1_filtered_4FGL_J0915.9+2933_daily_bin200.fits scfile=/scratch/kocevski/103430/ft2_4FGL_J0915.9+2933_daily_bin200.fits outfile=/scratch/kocevski/103430/cmap_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.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 4.45
user 0.37
sys 3.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103430/ft1_filtered_4FGL_J0915.9+2933_daily_bin200.fits scfile=/scratch/kocevski/103430/ft2_4FGL_J0915.9+2933_daily_bin200.fits outfile=/scratch/kocevski/103430/cmap_HighResolution_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.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 4.85
user 0.38
sys 4.42

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21733       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1359       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0899       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.338       1.0000         .10000E-03   10000.    
     6 'norm      '    116.34       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9780       1.0000         .10000E-03   10000.    
    10 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.969       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2925       1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.518       1.0000         .10000E-03   10000.    
    17 'Prefactor '    92.298       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.139       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0090       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0685       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85634       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=   5552.064     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     2335 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21749        .83431        .10056E-01    .22033E-02
   2  Prefactor     5.1363        10.762        .44350E-02    .12294E-03
   3  norm          1.0899        .67752        .10430E-01    .27318E-03
   4  Prefactor     .10000E-03    9.0249        .90712E-02** at limit **
   5  Prefactor     17.338        18.565        .24047E-02    .18052E-03
   6  norm          116.34        50.518        .93258E-03   -.79783E-03
   7  Prefactor     .10000E-03    1.1912        .90712E-02** at limit **
   8  Prefactor     .10000E-03    42.785        .90712E-02** at limit **
   9  Prefactor     5.9777        4.5151        .41057E-02    .30217E-02
  10  norm          .10000E-03    1.2488        .90712E-02** at limit **
  11  Prefactor     .10000E-03    8.6798        .90712E-02** at limit **
  12  Prefactor     18.969        47.974        .22990E-02    .42180E-03
  13  norm          .10000E-03    3.4866        .90712E-02** at limit **
  14  Prefactor     .10000E-03    1.2293        .90712E-02** at limit **
  15  Prefactor     1.2912        3.8869        .97337E-02    .13279E-02
  16  Prefactor     25.517        23.499        .19825E-02    .98289E-03
  17  Prefactor     92.298        66.620        .10457E-02    .16476E-03
  18  Prefactor     21.139        8.1606        .21779E-02   -.50253E-03
  19  Prefactor     1.0094        6.4019        .13230E-01    .61808E-03
  20  Prefactor     .10000E-03    1.1345        .90712E-02** at limit **
  21  Normalizat    1.0685        .18324        .39457E-01   -.51619E-05
  22  Prefactor     .85629        .17527        .44446E-01    .52485E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.217488
  Prefactor  = 5.13629
  norm       = 1.0899
  Prefactor  = 0.0001
  Prefactor  = 17.3383
  norm       = 116.336
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.97765
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9686
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.29125
  Prefactor  = 25.517
  Prefactor  = 92.2984
  Prefactor  = 21.139
  Prefactor  = 1.0094
  Prefactor  = 0.0001
  Normalizat = 1.06854
  Prefactor  = 0.856286
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.064     FROM HESSE     STATUS=OK           336 CALLS     2671 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21749        .81509        .12584E-03   -1.5615    
   2  Prefactor     5.1363        10.646        .17740E-03   -1.5255    
   3  norm          1.0899        .66857        .46628E-04   -1.5499    
   4  Prefactor     .10000E-03    9.1524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.338        18.559        .96186E-04   -1.4875    
   6  norm          116.34        50.493        .37303E-04   -1.3547    
   7  Prefactor     .10000E-03    1.1960        .79406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    42.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.9777        4.5188        .13231E-03   -1.5219    
  10  norm          .10000E-03    1.2793        .16222E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.6969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.969        47.948        .91961E-04   -1.4837    
  13  norm          .10000E-03    3.5109        .13583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.2346        .80619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2912        3.8535        .23264E-03   -1.5481    
  16  Prefactor     25.517        23.490        .79300E-04   -1.4697    
  17  Prefactor     92.298        66.654        .41830E-04   -1.3784    
  18  Prefactor     21.139        8.1616        .87116E-04   -1.4788    
  19  Prefactor     1.0094        6.2867        .36544E-03   -1.5507    
  20  Prefactor     .10000E-03    1.1704        .15491E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0685        .21266        .22711E-03   -.90768    
  22  Prefactor     .85629        .20324        .25179E-03   -.97686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.93585e-09
Minuit parameter uncertainties:
  1  0.815132
  2  10.6495
  3  0.668575
  4  7.85557e-05
  5  18.5653
  6  50.5117
  7  1.10399e-06
  8  4.85351e-05
  9  4.51902
  10  1.4188e-06
  11  9.25034e-05
  12  48.0457
  13  1.95725e-06
  14  2.53318e-06
  15  3.85424
  16  23.4989
  17  66.7083
  18  8.16203
  19  5.0387
  20  1.19672e-06
  21  0.212826
  22  0.203424
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.419e-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:  8.563e-01  2.034e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.069e+00  2.128e-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: 4.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103430/likelihoodResults_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.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): 102
logL (Free Index) = 5552.06778529
delta logL = -0.0037122301419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5552.06406833
delta logL = 4.7240891945e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10266E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8100       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85628       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=   5550.686     FROM MIGRAD    STATUS=CONVERGED    143 CALLS      291 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .22310        2.2452        .49931E-02    .16343E-02
   2  alpha         3.6695        3.8727        .21581        .63076E-04
   3  Normalizat    .96490        .47558E-01    .39453E-01    .94032E-04
   4  Prefactor     .91137        .47873E-01    .44445E-01    .16014E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.223101
  alpha      = 3.6695
  Normalizat = 0.964897
  Prefactor  = 0.911368
 **********
 **   18 **HESSE 
 **********

 FCN=   5550.686     FROM HESSE     STATUS=OK            33 CALLS      324 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .22310        2.3351        .22515E-04   -1.5614    
   2  alpha         3.6695        4.0159        .87793E-02    .48680    
   3  Normalizat    .96490        .20786        .23706E-03   -.94216    
   4  Prefactor     .91137        .20608        .24457E-03   -.95745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38702e-07
Minuit parameter uncertainties:
  1  1.4433
  2  2.9325
  3  0.208036
  4  0.206259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103430': 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) = 5550.68564571
delta logL = 1.37842734438

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.231e-01  1.443e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.669e+00  2.933e+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:  9.114e-01  2.063e-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.649e-01  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.93
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.67 +/- 2.93
Photon Flux (Free Index): 8.23e-08 +/- 5.59e-08
Energy Flux (Free Index): 1.40e-05 +/- 1.44e-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/103430/cmap_HighResolution_291168001_291427201_4FGL_J0915.9+2933_daily_bin200.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-05', comment='SUCCESS', energy_flux2='1.40e-05', dlogl='1.38e+00', photon_flux2='8.23e-08', job_status='DONE', time_completed='2021-08-31 05:46:56.045790', photon_index_error2='2.93', photon_index2='3.67', ts='-0.00', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='4.51e-08', energy_flux_error2='1.44e-05', EG='1.07', time_epoch_completed='1630414016.05', return_code='0', job_id='103430', GAL2='0.91', EG2='0.96', return_code2='0', photon_flux_error2='5.59e-08', ts2='2.93', photon_index='1.75' WHERE bin_id='200' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 103430: <4FGL_J0915.9+2933_daily_bin200> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin200 138.986 29.553 291168001 291427201 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 :                                   731.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            955 sec.

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

