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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin921
RA = 138.986, Dec = 29.553
tmin = 478051201, tmax = 478310401
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='108404', job_status='RUN', time_executed='2021-08-31 05:48:13.272025', time_epoch_executed='1630414093.27' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='921'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108404

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108404/ft1_4FGL_J0915.9+2933_daily_bin921.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108404/ft2_4FGL_J0915.9+2933_daily_bin921.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108404/ft1_4FGL_J0915.9+2933_daily_bin921.fits outfile=/scratch/kocevski/108404/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin921.fits ra=138.986 dec=29.553 rad=12.0 tmin=478051201.0 tmax=478310401.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 3.96
user 3.28
sys 0.65

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108404/ft2_4FGL_J0915.9+2933_daily_bin921.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/108404/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin921.fits evtable="EVENTS" outfile="/scratch/kocevski/108404/ft1_filtered_4FGL_J0915.9+2933_daily_bin921.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.05
user 0.32
sys 0.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108404/ft1_filtered_4FGL_J0915.9+2933_daily_bin921.fits" evtable="EVENTS" scfile=/scratch/kocevski/108404/ft2_4FGL_J0915.9+2933_daily_bin921.fits sctable="SC_DATA" outfile=/scratch/kocevski/108404/ltcube_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.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/108404/ft2_4FGL_J0915.9+2933_daily_bin921.fits
.....................!
real 12.87
user 11.88
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108404/ft1_filtered_4FGL_J0915.9+2933_daily_bin921.fits evtable="EVENTS" scfile=/scratch/kocevski/108404/ft2_4FGL_J0915.9+2933_daily_bin921.fits sctable="SC_DATA" expcube=/scratch/kocevski/108404/ltcube_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.fits outfile=/scratch/kocevski/108404/expmap_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.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/108404/ltcube_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.fits
.....................!
real 191.99
user 185.34
sys 5.61

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/108404/ft1_filtered_4FGL_J0915.9+2933_daily_bin921.fits scfile=/scratch/kocevski/108404/ft2_4FGL_J0915.9+2933_daily_bin921.fits outfile=/scratch/kocevski/108404/cmap_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.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.02
user 0.37
sys 0.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108404/ft1_filtered_4FGL_J0915.9+2933_daily_bin921.fits scfile=/scratch/kocevski/108404/ft2_4FGL_J0915.9+2933_daily_bin921.fits outfile=/scratch/kocevski/108404/cmap_HighResolution_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.98
user 0.37
sys 0.59

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4461       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4450       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.3146       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.028       1.0000         .10000E-03   10000.    
     6 'norm      '    33.791       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.9578       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7879       1.0000         .10000E-03   10000.    
    10 'norm      '    .51443       1.0000         .10000E-03   10000.    
    11 'Prefactor '    59.573       1.0000         .10000E-03   10000.    
    12 'Prefactor '    111.16       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .74678       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2439       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.6285       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .47314       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.1257       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0122       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80358       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=   5849.364     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2645 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4463        1.7373        .22547E-06   -.17679E-02
   2  Prefactor     .10000E-03    7.2885       -.15944E-06** at limit **
   3  norm          2.4451        .91039       -.19047E-07   -.10638E-03
   4  Prefactor     6.3144        9.2813        .12073E-05   -.61819E-03
   5  Prefactor     14.034        21.649        .35564E-05    .26739E-03
   6  norm          33.788        39.869       -.15659E-05   -.46725E-04
   7  Prefactor     4.9583        3.7218       -.63702E-06   -.69788E-03
   8  Prefactor     .10000E-03    15.498       -.56544E-06** at limit **
   9  Prefactor     3.7857        5.9811       -.49950E-06   -.26059E-03
  10  norm          .51414        1.4361        .11636E-06   -.66430E-03
  11  Prefactor     59.575        27.453        .11054E-05    .23113E-03
  12  Prefactor     111.17        67.062        .42076E-05    .25584E-03
  13  norm          .10000E-03    6.3568        .66784E-08** at limit **
  14  Prefactor     .74955        4.8262        .45716E-07   -.17647E-03
  15  Prefactor     6.2462        4.5795        .27179E-06    .23941E-03
  16  Prefactor     .10000E-03    15.520        .54275E-06** at limit **
  17  Prefactor     .10000E-03    57.699       -.63628E-06** at limit **
  18  Prefactor     3.6286        4.2131        .12061E-05   -.15255E-02
  19  Prefactor     .49064        10.291       -.44758E-06    .18501E-03
  20  Prefactor     6.1263        3.1604       -.51220E-08   -.13387E-03
  21  Normalizat    1.0119        .19751       -.18402E-05    .11369E-03
  22  Prefactor     .80378        .17234        .13764E-06   -.29837E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.44625
  Prefactor  = 0.0001
  norm       = 2.44511
  Prefactor  = 6.3144
  Prefactor  = 14.0338
  norm       = 33.7882
  Prefactor  = 4.95832
  Prefactor  = 0.0001
  Prefactor  = 3.78568
  norm       = 0.514137
  Prefactor  = 59.5751
  Prefactor  = 111.174
  norm       = 0.0001
  Prefactor  = 0.749552
  Prefactor  = 6.24618
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.62856
  Prefactor  = 0.490643
  Prefactor  = 6.12627
  Normalizat = 1.0119
  Prefactor  = 0.803784
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.364     FROM HESSE     STATUS=OK           352 CALLS     2997 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4463        1.7807        .35138E-03   -1.5337    
   2  Prefactor     .10000E-03    7.3134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4451        .91146        .42358E-04   -1.5395    
   4  Prefactor     6.3144        9.7228        .79868E-03   -1.5205    
   5  Prefactor     14.034        22.231        .10694E-03   -1.4959    
   6  norm          33.788        39.967        .68935E-04   -1.4545    
   7  Prefactor     4.9583        3.7718        .12465E-03   -1.5263    
   8  Prefactor     .10000E-03    15.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7857        5.8053        .18657E-03   -1.5319    
  10  norm          .51414        1.4316        .14459E-03   -1.5565    
  11  Prefactor     59.575        27.190        .51982E-04   -1.4163    
  12  Prefactor     111.17        68.563        .38152E-04   -1.3595    
  13  norm          .10000E-03    6.3824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .74955        7.9632        .25347E-02   -1.5535    
  15  Prefactor     6.2462        4.5288        .12841E-03   -1.5208    
  16  Prefactor     .10000E-03    15.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    57.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.6286        4.7870        .92885E-03   -1.5327    
  19  Prefactor     .49064        79.763        .45137E-02   -1.5568    
  20  Prefactor     6.1263        3.1701        .92619E-04   -1.5213    
  21  Normalizat    1.0119        .23463        .24671E-03   -.92633    
  22  Prefactor     .80378        .20196        .26177E-03   -.99589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44036e-08
Minuit parameter uncertainties:
  1  1.78077
  2  1.16885e-05
  3  0.911462
  4  9.72521
  5  22.244
  6  39.9985
  7  3.77196
  8  6.4003e-05
  9  5.80618
  10  1.43173
  11  27.1955
  12  68.6119
  13  1.09851e-05
  14  4.88676
  15  4.52901
  16  5.77728e-05
  17  0.000114323
  18  4.78755
  19  12.5274
  20  3.17018
  21  0.234873
  22  0.202147
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  5.141e-01  1.432e+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:  8.038e-01  2.021e-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.012e+00  2.349e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108404/likelihoodResults_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.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) = 5848.54128866
delta logL = 0.822211456814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5848.539601
delta logL = 0.823899118239

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14112       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8531       1.0000          .0000       5.0000    
     3 'Normalizat'    .92465       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85459       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=   5848.540     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      296 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14161        1.6600        .50265E-02    .17451E-02
   2  alpha         3.8513        4.0182        .29608        .57073E-04
   3  Normalizat    .92419        .41083E-01    .45216E-01   -.64908E-06
   4  Prefactor     .85508        .39399E-01    .44424E-01    .53610E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.141608
  alpha      = 3.85134
  Normalizat = 0.924185
  Prefactor  = 0.855081
 **********
 **   18 **HESSE 
 **********

 FCN=   5848.540     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      331 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14161        4.4198        .22806E-03   -1.5633    
   2  alpha         3.8513        4.3462        .11598E-01    .57107    
   3  Normalizat    .92419        .17360        .25642E-03   -.95615    
   4  Prefactor     .85508        .16454        .25439E-03   -.97729    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.89465e-08
Minuit parameter uncertainties:
  1  1.58181
  2  5.25887
  3  0.173708
  4  0.164637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108404': 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): 102
logL (Free Index) = 5848.53959641
delta logL = 0.8239037044

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.416e-01  1.582e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.851e+00  5.259e+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:  8.551e-01  1.646e-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.242e-01  1.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.93
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.85 +/- 5.26
Photon Flux (Free Index): 7.81e-08 +/- 7.56e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.29e-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/108404/cmap_HighResolution_478051201_478310401_4FGL_J0915.9+2933_daily_bin921.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-05', comment='SUCCESS', energy_flux2='1.27e-05', dlogl='8.24e-01', photon_flux2='7.81e-08', job_status='DONE', time_completed='2021-08-31 05:58:53.636249', photon_index_error2='5.26', photon_index2='3.85', ts='0.16', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='4.76e-08', energy_flux_error2='1.29e-05', EG='1.01', time_epoch_completed='1630414733.64', return_code='0', job_id='108404', GAL2='0.86', EG2='0.92', return_code2='102', photon_flux_error2='7.56e-08', ts2='1.93', photon_index='1.75' WHERE bin_id='921' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:58:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0045>
Subject: Job 108404: <4FGL_J0915.9+2933_daily_bin921> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin921 138.986 29.553 478051201 478310401 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 :                                   630.00 sec.
    Max Memory :                                 1107 MB
    Average Memory :                             272.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            767 sec.

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

