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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin337
RA = 138.986, Dec = 29.553
tmin = 326678401, tmax = 326937601
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='104830', job_status='RUN', time_executed='2021-08-31 05:39:35.861758', time_epoch_executed='1630413575.86' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='337'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104830

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104830/ft1_4FGL_J0915.9+2933_daily_bin337.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104830/ft2_4FGL_J0915.9+2933_daily_bin337.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104830/ft1_4FGL_J0915.9+2933_daily_bin337.fits outfile=/scratch/kocevski/104830/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin337.fits ra=138.986 dec=29.553 rad=12.0 tmin=326678401.0 tmax=326937601.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 4.24
user 3.18
sys 0.86

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104830/ft1_filtered_4FGL_J0915.9+2933_daily_bin337.fits" evtable="EVENTS" scfile=/scratch/kocevski/104830/ft2_4FGL_J0915.9+2933_daily_bin337.fits sctable="SC_DATA" outfile=/scratch/kocevski/104830/ltcube_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.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/104830/ft2_4FGL_J0915.9+2933_daily_bin337.fits
.....................!
real 17.12
user 13.20
sys 1.08

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104830/ft1_filtered_4FGL_J0915.9+2933_daily_bin337.fits evtable="EVENTS" scfile=/scratch/kocevski/104830/ft2_4FGL_J0915.9+2933_daily_bin337.fits sctable="SC_DATA" expcube=/scratch/kocevski/104830/ltcube_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.fits outfile=/scratch/kocevski/104830/expmap_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.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/104830/ltcube_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.fits
.....................!
real 191.90
user 185.90
sys 5.38

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/104830/ft1_filtered_4FGL_J0915.9+2933_daily_bin337.fits scfile=/scratch/kocevski/104830/ft2_4FGL_J0915.9+2933_daily_bin337.fits outfile=/scratch/kocevski/104830/cmap_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.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 2.13
user 0.39
sys 0.79

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104830/ft1_filtered_4FGL_J0915.9+2933_daily_bin337.fits scfile=/scratch/kocevski/104830/ft2_4FGL_J0915.9+2933_daily_bin337.fits outfile=/scratch/kocevski/104830/cmap_HighResolution_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.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.88
user 0.39
sys 0.79

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7681       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.7516       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.334       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.041       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.7933       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    102.76       1.0000         .10000E-03   10000.    
    13 'norm      '    6.1232       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0903       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    58.977       1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.880       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91978       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0668       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=   6030.528     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2296 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7679        1.4904        .61156E-02    .41084E-03
   2  Prefactor     .10000E-03    18.677        .90712E-02** at limit **
   3  norm          1.7515        .91316        .79195E-02   -.19362E-02
   4  Prefactor     28.372        17.079        .18803E-02    .17683E-03
   5  Prefactor     26.334        17.097        .19516E-02    .24781E-03
   6  norm          .10001E-03    19.060        .90712E-02** at limit **
   7  Prefactor     .10000E-03    1.3471        .90712E-02** at limit **
   8  Prefactor     17.039        21.332        .24256E-02    .62800E-03
   9  Prefactor     .10000E-03    1.5362        .90712E-02** at limit **
  10  norm          3.7933        1.8939        .51815E-02    .62652E-03
  11  Prefactor     .10000E-03    13.755        .90712E-02** at limit **
  12  Prefactor     102.75        70.051        .99162E-03    .10170E-02
  13  norm          6.1197        8.9115        .40561E-02    .16568E-03
  14  Prefactor     .10000E-03    2.2708        .90712E-02** at limit **
  15  Prefactor     1.0907        3.7503        .11455E-01    .15962E-02
  16  Prefactor     .10002E-03    30.685        .90712E-02** at limit **
  17  Prefactor     58.977        69.630        .13060E-02   -.59000E-04
  18  Prefactor     18.879        8.7574        .23044E-02    .12570E-03
  19  Prefactor     .10000E-03    6.4355        .90712E-02** at limit **
  20  Prefactor     .10000E-03    1.3800        .90712E-02** at limit **
  21  Normalizat    .91980        .18451        .45154E-01   -.15395E-03
  22  Prefactor     1.0668        .17484        .39010E-01   -.31737E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.76785
  Prefactor  = 0.000100004
  norm       = 1.75152
  Prefactor  = 28.372
  Prefactor  = 26.3336
  norm       = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 17.0391
  Prefactor  = 0.0001
  norm       = 3.79329
  Prefactor  = 0.0001
  Prefactor  = 102.755
  norm       = 6.11972
  Prefactor  = 0.000100001
  Prefactor  = 1.09066
  Prefactor  = 0.000100016
  Prefactor  = 58.9774
  Prefactor  = 18.8791
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.919801
  Prefactor  = 1.0668
 **********
 **   18 **HESSE 
 **********

 FCN=   6030.528     FROM HESSE     STATUS=OK           334 CALLS     2630 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7679        1.4865        .67227E-04   -1.5375    
   2  Prefactor     .10000E-03    18.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7515        .90877        .50353E-04   -1.5443    
   4  Prefactor     28.372        17.069        .75213E-04   -1.4642    
   5  Prefactor     26.334        17.097        .78065E-04   -1.4681    
   6  norm          .10001E-03    19.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.3596        .88003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.039        21.324        .97023E-04   -1.4882    
   9  Prefactor     .10000E-03    1.5448        .93948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.7933        1.8891        .72551E-04   -1.5318    
  11  Prefactor     .10000E-03    13.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     102.75        70.038        .39665E-04   -1.3677    
  13  norm          6.1197        8.9077        .16224E-03   -1.5213    
  14  Prefactor     .10000E-03    2.2994        .11393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0907        3.7049        .25726E-03   -1.5499    
  16  Prefactor     .10002E-03    30.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     58.977        69.648        .52242E-04   -1.4171    
  18  Prefactor     18.879        8.7636        .92178E-04   -1.4839    
  19  Prefactor     .10000E-03    6.4730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.4243        .17801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91980        .20903        .26233E-03   -.95768    
  22  Prefactor     1.0668        .19884        .24369E-03   -.90535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.50675e-09
Minuit parameter uncertainties:
  1  1.48652
  2  0.000535914
  3  0.908778
  4  17.0724
  5  17.0997
  6  0.00104774
  7  2.20459e-05
  8  21.3331
  9  2.03953e-06
  10  1.88913
  11  0.000138219
  12  70.0945
  13  8.90965
  14  0.000116749
  15  3.70565
  16  0.00142319
  17  69.7441
  18  8.76418
  19  0.000134106
  20  2.33e-05
  21  0.209214
  22  0.198974
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.793e+00  1.889e+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.067e+00  1.990e-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.198e-01  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.38
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.84e-08 +/- 1.91e-08
Energy Flux (Fixed Index): 4.41e-05 +/- 2.20e-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) = 6029.52796086
delta logL = 0.999748572613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6029.49855798
delta logL = 1.02915145213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3072       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2190       1.0000          .0000       5.0000    
     3 'Normalizat'    .93009       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0662       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=   6029.499     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      202 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3068        1.6759        .55654E-02   -.13101E-03
   2  alpha         1.2189        .30017        .24708       -.29870E-04
   3  Normalizat    .93011        .17358        .45285E-01    .14549E-04
   4  Prefactor     1.0662        .17321        .39042E-01    .65096E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.30675
  alpha      = 1.21892
  Normalizat = 0.930113
  Prefactor  = 1.06617
 **********
 **   18 **HESSE 
 **********

 FCN=   6029.499     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .67E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3068        1.9029        .69104E-04   -1.5344    
   2  alpha         1.2189        .35335        .10518E-01   -.53801    
   3  Normalizat    .93011        .19676        .26102E-03   -.95410    
   4  Prefactor     1.0662        .19651        .24380E-03   -.90555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.72896e-13
Minuit parameter uncertainties:
  1  1.90292
  2  0.354963
  3  0.196915
  4  0.19664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104830': 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) = 6029.49855794
delta logL = 1.02915149702

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.307e+00  1.903e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.219e+00  3.550e-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.066e+00  1.966e-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.301e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.43
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.22 +/- 0.35
Photon Flux (Free Index): 2.24e-08 +/- 1.37e-08
Energy Flux (Free Index): 1.06e-04 +/- 8.43e-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/104830/cmap_HighResolution_326678401_326937601_4FGL_J0915.9+2933_daily_bin337.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.84e-08', energy_flux2='1.06e-04', photon_flux_error='1.91e-08', dlogl='1.03e+00', energy_flux='4.41e-05', photon_flux2='2.24e-08', job_status='DONE', time_completed='2021-08-31 05:49:17.950419', photon_index_error2='0.35', photon_index2='1.22', ts='24.38', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='8.43e-05', EG='0.92', time_epoch_completed='1630414157.95', return_code='0', job_id='104830', GAL2='1.07', EG2='0.93', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='1.37e-08', ts2='26.43', photon_index='1.75' WHERE bin_id='337' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:49:17 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin337 138.986 29.553 326678401 326937601 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 :                                   570.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            831 sec.

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

