aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 237 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7483
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin1763
RA = 138.986, Dec = 29.553
tmin = 696297601, tmax = 696556801
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='276265', job_status='RUN', time_executed='2023-01-28 00:44:56.196474', time_epoch_executed='1674895496.2' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276265

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276265/ft1_4FGL_J0915.9+2933_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276265/ft1_4FGL_J0915.9+2933_daily_bin1763.fits outfile=/scratch/kocevski/276265/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1763.fits ra=138.986 dec=29.553 rad=12.0 tmin=696297601.0 tmax=696556801.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.64
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.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/276265/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.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 0.53
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 494

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/276265/ltcube_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.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/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits
.....................!
real 14.64
user 14.23
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/276265/ltcube_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.fits outfile=/scratch/kocevski/276265/expmap_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.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/276265/ltcube_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.fits
.....................!
real 192.21
user 186.56
sys 5.15

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/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.fits scfile=/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits outfile=/scratch/kocevski/276265/cmap_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.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 0.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.fits scfile=/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits outfile=/scratch/kocevski/276265/cmap_HighResolution_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.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.58
user 0.38
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.fits', '/scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits', expMap='/scratch/kocevski/276265/expmap_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.fits', expCube='/scratch/kocevski/276265/ltcube_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/276265/Model_4FGL_J0915.9+2933_daily_bin1763.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  0.000e+00  1.000e+06 ( 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 -5.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/276265/ft1_filtered_4FGL_J0915.9+2933_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/276265/ft2_4FGL_J0915.9+2933_daily_bin1763.fits
Exposure map: /scratch/kocevski/276265/expmap_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.fits
Exposure cube: /scratch/kocevski/276265/ltcube_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/276265/Model_4FGL_J0915.9+2933_daily_bin1763.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) = 5672.68632026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38824E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .56276       1.0000          .0000       .10000E+07
     3 'norm      '    .16315E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .80441E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.1030       1.0000          .0000       .10000E+07
     6 'norm      '    .27214E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    16.432       1.0000          .0000       .10000E+07
     8 'Prefactor '    .94452E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .10159E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .49716E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .12175E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .45547E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.0679       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16892E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.0997       1.0000          .0000       .10000E+07
    16 'Prefactor '    .53443E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .96954E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    .96918       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5672.599     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     1223 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.6099        .28808E-06** at limit **
   2  Prefactor     .51223        .61617       -.71502E-07    .95942E-03
   3  norm          .22204E-09    14.732        .58468E-05** at limit **
   4  Prefactor     .88818E-09    7.6220       -.35135E-06** at limit **
   5  Prefactor     1.1930        50.377        .76751E-05   -.50063E-03
   6  norm          .57176E-08    76.441       -.50102E-06** at limit **
   7  Prefactor     17.712        13.430       -.78743E-06    .13673E-01
   8  Prefactor     .55511E-10    1.9727        .52811E-06** at limit **
   9  norm          .33307E-09    1.7345        .10148E-06** at limit **
  10  Prefactor     .84155E-07    33.160        .24186E-05** at limit **
  11  norm          .13323E-08    11.427        .14433E-05** at limit **
  12  Prefactor      .0000        1.1168       -.79568E-07** at limit **
  13  Prefactor     5.0748        4.5360        .15955E-06   -.16256E-02
  14  Prefactor     .33307E-08    9.5136       -.57715E-06** at limit **
  15  Prefactor     4.9874        9.0340       -.10179E-05   -.11907E-02
  16  Prefactor     .54401E-08    26.223       -.17391E-05** at limit **
  17  Prefactor      .0000        .87553       -.21008E-07** at limit **
  18  Normalizat    .96924        .20276       -.16923E-04   -.22424E-03
  19  Prefactor     1.1123        .19339        .10469E-04   -.17964E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0.512233
  norm       = 2.22045e-10
  Prefactor  = 8.88178e-10
  Prefactor  = 1.19298
  norm       = 5.71765e-09
  Prefactor  = 17.7119
  Prefactor  = 5.55112e-11
  norm       = 3.33067e-10
  Prefactor  = 8.41549e-08
  norm       = 1.33227e-09
  Prefactor  = 0
  Prefactor  = 5.07482
  Prefactor  = 3.33067e-09
  Prefactor  = 4.98737
  Prefactor  = 5.44009e-09
  Prefactor  = 0
  Normalizat = 0.969244
  Prefactor  = 1.11235
 **********
 **   18 **HESSE 
 **********

 FCN=   5672.599     FROM HESSE     STATUS=OK           318 CALLS     1541 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.1163        .25969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .51223        10.788        .87101E-02   -1.5694    
   3  norm          .22204E-09    .38607        .31880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .88818E-09    17.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1930        49.973        .11292E-02   -1.5686    
   6  norm          .57176E-08    76.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.712        30.976        .24681E-03   -1.5624    
   8  Prefactor     .55511E-10    1.9735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .33307E-09    1.6880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .84155E-07    40.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13323E-08    11.378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.1232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0748        4.5680        .44641E-03   -1.5663    
  14  Prefactor     .33307E-08    16.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9874        9.0272        .44499E-03   -1.5663    
  16  Prefactor     .54401E-08    26.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        .87643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .96924        .17840        .45780E-01   -.94068    
  19  Prefactor     1.1123        .16930        .37124E-01   -.89073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.7943e-07
Minuit parameter uncertainties:
  1  1.05898e-05
  2  4.70138
  3  1.73433e-05
  4  0.000249468
  5  15.4425
  6  0.00132374
  7  30.9768
  8  1.7514e-05
  9  4.75002e-05
  10  0.00370015
  11  0.000246821
  12  9.61674e-07
  13  4.56798
  14  0.000472446
  15  9.02719
  16  0.000755871
  17  7.10316e-06
  18  0.178506
  19  0.169387
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.331e-10  4.750e-05  0.000e+00  1.000e+06 ( 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 -5.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.112e+00  1.694e-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.692e-01  1.785e-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: 3.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276265/likelihoodResults_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.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) = 5672.4094887
delta logL = 0.189886031078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5672.40928705
delta logL = 0.190087677523

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91165E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    3.5555       1.0000          .0000       5.0000    
     3 'Normalizat'    .94308       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1243       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=   5672.409     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      291 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91658E-01    1.9080        .86580E-03** at limit **
   2  alpha         3.5523        3.9777        .47153        .37920E-04
   3  Normalizat    .94359        .23350E-01    .45450E-01    .35819E-05
   4  Prefactor     1.1238        .23185E-01    .36729E-01   -.48210E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0916585
  alpha      = 3.55233
  Normalizat = 0.943594
  Prefactor  = 1.12384
 **********
 **   18 **HESSE 
 **********

 FCN=   5672.409     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      324 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91658E-01    13.939        .39054E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.5523        3.1387        .18374E-01    .43447    
   3  Normalizat    .94359        .21297        .24655E-03   -.94945    
   4  Prefactor     1.1238        .19924        .22544E-03   -.88708    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.21591e-07
Minuit parameter uncertainties:
  1  2.26066
  2  12.5133
  3  0.213159
  4  0.199369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276265': 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) = 5672.40928306
delta logL = 0.190091672954

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.166e-02  2.261e+00  0.000e+00  1.000e+06 ( 1.000e-12)
271        alpha:  3.552e+00  1.251e+01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00 -5.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.124e+00  1.994e-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.436e-01  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.986 29.553

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/276265/cmap_HighResolution_696297601_696556801_4FGL_J0915.9+2933_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-05', job_status='DONE', photon_flux_upper_limit='3.66e-08', time_completed='2023-01-28 00:53:17.804869', job_id='276265', GAL2='1.12', fit_tolerance='1e-08', EG2='0.94', EG='0.97', time_epoch_completed='1674895997.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.90e-01', ts2='0.40', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='1763' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:53:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 276265: <4FGL_J0915.9+2933_daily_bin1763> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin1763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan 28 00:40:18 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:40:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:40:47 2023
Terminated at Sat Jan 28 00:53:18 2023
Results reported at Sat Jan 28 00:53:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin1763 138.986 29.553 696297601 696556801 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 :                                   504.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             268.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            780 sec.

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

