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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin615
RA = 138.986, Dec = 29.553
tmin = 398736001, tmax = 398995201
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='106666', job_status='RUN', time_executed='2021-08-31 05:43:57.615199', time_epoch_executed='1630413837.62' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106666

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106666/ft1_4FGL_J0915.9+2933_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106666/ft2_4FGL_J0915.9+2933_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106666/ft1_4FGL_J0915.9+2933_daily_bin615.fits outfile=/scratch/kocevski/106666/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin615.fits ra=138.986 dec=29.553 rad=12.0 tmin=398736001.0 tmax=398995201.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 6.89
user 5.78
sys 0.87

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106666/ft1_filtered_4FGL_J0915.9+2933_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/106666/ft2_4FGL_J0915.9+2933_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/106666/ltcube_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.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/106666/ft2_4FGL_J0915.9+2933_daily_bin615.fits
.....................!
real 12.53
user 11.39
sys 1.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106666/ft1_filtered_4FGL_J0915.9+2933_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/106666/ft2_4FGL_J0915.9+2933_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/106666/ltcube_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.fits outfile=/scratch/kocevski/106666/expmap_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.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/106666/ltcube_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.fits
.....................!
real 193.96
user 185.92
sys 5.31

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/106666/ft1_filtered_4FGL_J0915.9+2933_daily_bin615.fits scfile=/scratch/kocevski/106666/ft2_4FGL_J0915.9+2933_daily_bin615.fits outfile=/scratch/kocevski/106666/cmap_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.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 1.19
user 0.37
sys 0.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106666/ft1_filtered_4FGL_J0915.9+2933_daily_bin615.fits scfile=/scratch/kocevski/106666/ft2_4FGL_J0915.9+2933_daily_bin615.fits outfile=/scratch/kocevski/106666/cmap_HighResolution_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.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 1.34
user 0.39
sys 0.78

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9735       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0488       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10180E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19360E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7544       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4158       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9805       1.0000         .10000E-03   10000.    
    12 'Prefactor '    104.95       1.0000         .10000E-03   10000.    
    13 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .69022E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11448E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.700       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.730       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .49973E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10229E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1017       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0843       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=   5215.574     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2497 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9736        1.4297        .75307E-07   -.98585E-05
   2  Prefactor     .10000E-03    12.981        .36110E-06** at limit **
   3  norm          1.0487        .88779        .10606E-06    .10788E-03
   4  Prefactor     .10000E-03    6.7078        .79802E-07** at limit **
   5  Prefactor     .10000E-03    22.837        .10892E-05** at limit **
   6  norm          .10000E-03    20.904       -.52373E-06** at limit **
   7  Prefactor     .10000E-03    3.1309        .42056E-06** at limit **
   8  Prefactor     .10000E-03    79.000        .43989E-05** at limit **
   9  Prefactor     1.7426        5.4247        .82380E-05    .60315E-03
  10  norm          2.4158        2.1901        .20274E-06    .39974E-03
  11  Prefactor     7.9600        22.486       -.78347E-05   -.69598E-05
  12  Prefactor     104.90        73.361        .25438E-05    .45660E-04
  13  norm          .10000E-03    2.9414        .29157E-06** at limit **
  14  Prefactor     .87952E-01    3.4431       -.34974E-05    .14309E-02
  15  Prefactor     .10000E-03    2.5884       -.98610E-06** at limit **
  16  Prefactor     15.772        30.709        .87880E-05    .87142E-04
  17  Prefactor     14.505        71.347        .17435E-04   -.12748E-05
  18  Prefactor     .10000E-03    2.9573       -.47769E-06** at limit **
  19  Prefactor     .10000E-03    4.8462        .83184E-06** at limit **
  20  Prefactor     .10034E-03    1.4108       -.30146E-06** at limit **
  21  Normalizat    1.1020        .19634       -.22611E-05    .34257E-03
  22  Prefactor     1.0841        .18783       -.17205E-06    .16393E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.97365
  Prefactor  = 0.0001
  norm       = 1.04866
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 1.7426
  norm       = 2.41583
  Prefactor  = 7.96
  Prefactor  = 104.901
  norm       = 0.0001
  Prefactor  = 0.0879521
  Prefactor  = 0.000100004
  Prefactor  = 15.7718
  Prefactor  = 14.5048
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100342
  Normalizat = 1.10198
  Prefactor  = 1.08408
 **********
 **   18 **HESSE 
 **********

 FCN=   5215.574     FROM HESSE     STATUS=OK           354 CALLS     2851 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9736        1.4276        .71030E-04   -1.5427    
   2  Prefactor     .10000E-03    13.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0487        .87068        .59917E-04   -1.5503    
   4  Prefactor     .10000E-03    6.7265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    20.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.1833        .12476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    79.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7426        5.7666        .12801E-02   -1.5444    
  10  norm          2.4158        2.1670        .97480E-04   -1.5397    
  11  Prefactor     7.9600        22.462        .14193E-03   -1.5144    
  12  Prefactor     104.90        73.355        .19627E-03   -1.3656    
  13  norm          .10000E-03    2.9447        .12090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .87952E-01    47.413        .21291E-02   -1.5649    
  15  Prefactor     .10000E-03    9.5414        .21727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.772        30.798        .10108E-03   -1.4913    
  17  Prefactor     14.505        71.404        .10436E-03   -1.4946    
  18  Prefactor     .10000E-03    2.9714        .12132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.214        .30907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10034E-03    4.8905        .28069E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1020        .23425        .24417E-03   -.89688    
  22  Prefactor     1.0841        .22587        .24573E-03   -.89977    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.786e-08
Minuit parameter uncertainties:
  1  1.42764
  2  4.63518e-05
  3  0.870694
  4  8.80437e-06
  5  0.00012509
  6  1.66579e-06
  7  3.17542e-05
  8  0.000826016
  9  5.76843
  10  2.16706
  11  22.486
  12  73.4184
  13  2.75114e-05
  14  4.08509
  15  0.000385183
  16  30.829
  17  64.4881
  18  2.96701e-05
  19  0.000177202
  20  0.00258594
  21  0.234476
  22  0.226072
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.416e+00  2.167e+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.084e+00  2.261e-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.102e+00  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.24
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.45e-08 +/- 2.19e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 2.52e-05

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

Saving results to:
/scratch/kocevski/106666/likelihoodResults_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.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) = 5215.11081982
delta logL = 0.463135597075

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5215.10094074
delta logL = 0.473014676789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0983       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3045       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0817       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0894       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=   5215.101     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      261 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0992        36.335        .71230E-02    .32541E-03
   2  alpha         2.3047        3.6232        .29178        .46626E-04
   3  Normalizat    1.0817        .81418E-01    .55655E-01   -.13146E-04
   4  Prefactor     1.0891        .67176E-01    .55426E-01   -.21445E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09923
  alpha      = 2.30474
  Normalizat = 1.08173
  Prefactor  = 1.08908
 **********
 **   18 **HESSE 
 **********

 FCN=   5215.101     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0992        2.0017        .75588E-04   -1.5418    
   2  alpha         2.3047        .58875        .10670E-01   -.78185E-01
   3  Normalizat    1.0817        .22038        .24610E-03   -.90340    
   4  Prefactor     1.0891        .21965        .24507E-03   -.89816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.47195e-12
Minuit parameter uncertainties:
  1  2.00179
  2  0.59437
  3  0.220564
  4  0.219834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106666': 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) = 5215.10093804
delta logL = 0.473017374748

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.099e+00  2.002e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.305e+00  5.944e-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.089e+00  2.198e-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.082e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.17
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.30 +/- 0.59
Photon Flux (Free Index): 4.92e-08 +/- 4.31e-08
Energy Flux (Free Index): 1.99e-05 +/- 1.65e-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/106666/cmap_HighResolution_398736001_398995201_4FGL_J0915.9+2933_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.00e-05', comment='SUCCESS', photon_flux='2.45e-08', energy_flux2='1.99e-05', photon_flux_error='2.19e-08', dlogl='4.73e-01', energy_flux='2.81e-05', photon_flux2='4.92e-08', job_status='DONE', time_completed='2021-08-31 05:54:09.818147', photon_index_error2='0.59', photon_index2='2.30', ts='2.24', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='7.83e-08', energy_flux_error2='1.65e-05', EG='1.10', time_epoch_completed='1630414449.82', return_code='0', job_id='106666', GAL2='1.09', EG2='1.08', return_code2='0', energy_flux_error='2.52e-05', photon_flux_error2='4.31e-08', ts2='3.17', photon_index='1.75' WHERE bin_id='615' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 106666: <4FGL_J0915.9+2933_daily_bin615> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin615 138.986 29.553 398736001 398995201 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 :                                   606.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

