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


Performing analysis on: 4FGL_J0937.1+5008_daily_bin1779
RA = 144.297, Dec = 50.1437
tmin = 700444801, tmax = 700704001
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='17344', job_status='RUN', time_executed='2023-03-17 01:10:54.603854', time_epoch_executed='1679040654.6' WHERE source_name='4FGL J0937.1+5008' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17344

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17344/ft1_4FGL_J0937.1+5008_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17344/ft1_4FGL_J0937.1+5008_daily_bin1779.fits outfile=/scratch/kocevski/17344/ft1_filteredMKT_4FGL_J0937.1+5008_daily_bin1779.fits ra=144.297 dec=50.1437 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.28
user 5.00
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.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/17344/ft1_filteredMKT_4FGL_J0937.1+5008_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 579

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/17344/ltcube_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.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/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits
.....................!
real 11.68
user 11.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/17344/ltcube_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.fits outfile=/scratch/kocevski/17344/expmap_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.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/17344/ltcube_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.fits
.....................!
real 190.77
user 185.20
sys 5.19

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 223 point sources and 0 extended sources

Setting source of interest to:
4FGL J0937.1+5008 @ 144.297 50.1437

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits scfile=/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits outfile=/scratch/kocevski/17344/cmap_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.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=144.297 yref=50.1437 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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits scfile=/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits outfile=/scratch/kocevski/17344/cmap_HighResolution_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.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=144.297 yref=50.1437 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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17344/Model_4FGL_J0937.1+5008_daily_bin1779.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/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits.....................!
real 59.83
user 58.47
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits', '/scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits', expMap='/scratch/kocevski/17344/expmap_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.fits', expCube='/scratch/kocevski/17344/ltcube_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17344/Model_4FGL_J0937.1+5008_daily_bin1779.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.1+5008'

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  4.244e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17344/ft1_filtered_4FGL_J0937.1+5008_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/17344/ft2_4FGL_J0937.1+5008_daily_bin1779.fits
Exposure map: /scratch/kocevski/17344/expmap_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.fits
Exposure cube: /scratch/kocevski/17344/ltcube_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17344/Model_4FGL_J0937.1+5008_daily_bin1779.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) = 6243.57924475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1482       1.0000          .0000       .10000E+07
     2 'norm      '    2.1745       1.0000          .0000       .10000E+07
     3 'norm      '    .29534E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.424       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14479E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .18587E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50903E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .33307E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40579E-07   1.0000          .0000       .10000E+07
    10 'norm      '    .37193E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.2035       1.0000          .0000       .10000E+07
    12 'Prefactor '    .70108E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .11480E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.7993       1.0000          .0000       .10000E+07
    15 'norm      '    .39727E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .11232E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .64146E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.6258       1.0000          .0000       .10000E+07
    19 'norm      '    .71108E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    38.288       1.0000          .0000       .10000E+07
    21 'Prefactor '    16.695       1.0000          .0000       .10000E+07
    22 'norm      '    1.7647       1.0000          .0000       .10000E+07
    23 'norm      '    10.456       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.0411       1.0000          .0000       .10000E+07
    25 'norm      '    1.1636       1.0000          .0000       .10000E+07
    26 'Prefactor '    15.201       1.0000          .0000       .10000E+07
    27 'norm      '    .39770       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.3854       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .53735       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6243.554     FROM MIGRAD    STATUS=CONVERGED    200 CALLS     2737 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1491        3.2441        .23093E-06    .11214E-02
   2  norm          2.1775        3.1721        .31508E-07    .16767E-02
   3  norm           .0000        4.4759       -.22226E-06** at limit **
   4  Prefactor     12.440        2.2296       -.54965E-06   -.24368E-01
   5  Prefactor     .25979E-07    15.253        .72310E-06** at limit **
   6  Prefactor     .55511E-10    4.2716       -.39243E-06** at limit **
   7  Prefactor     .10608E-06    59.700       -.13688E-07** at limit **
   8  norm           .0000        .94933E-01   -.96471E-07** at limit **
   9  Prefactor      .0000        .62755       -.44271E-06** at limit **
  10  norm          .22871E-07    11.157       -.12599E-06** at limit **
  11  Prefactor     3.2018        2.6273       -.22839E-06    .31472E-02
  12  Prefactor     .11102E-09    2.4842       -.56915E-07** at limit **
  13  Prefactor      .0000        .89241       -.39459E-06** at limit **
  14  Prefactor     5.8020        12.288       -.39234E-05   -.66173E-01
  15  norm          .94217E-04    109.48       -.17025E-05** at limit **
  16  Prefactor     .10186E-06    23.654       -.13229E-05** at limit **
  17  Prefactor     .11102E-08    6.7310       -.48453E-06** at limit **
  18  Prefactor     2.6350        5.5983        .40149E-07    .35963E-02
  19  norm          .38858E-09    5.5265        .30641E-06** at limit **
  20  Prefactor     39.693        22.207       -.90293E-06    .19696    
  21  Prefactor     16.741        7.7829       -.17313E-05    .70321E-01
  22  norm          1.7639        .62500        .22315E-07   -.17070E-01
  23  norm          10.468        10.791        .19109E-05    .58248E-01
  24  Prefactor     1.0369        4.0442       -.40385E-06    .28986E-02
  25  norm          1.1690        2.9007        .40489E-06   -.79108E-03
  26  Prefactor     15.627        3.9777        .82548E-06   -.49088E-01
  27  norm          .39782        .68440        .44197E-07    .13203E-02
  28  Normalizat    1.3841        .18629        .62874E-05    .14263E-03
  29  Prefactor     .53770        .19266       -.16881E-04    .15688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14911
  norm       = 2.1775
  norm       = 0
  Prefactor  = 12.4402
  Prefactor  = 2.59792e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.06082e-07
  norm       = 0
  Prefactor  = 0
  norm       = 2.28706e-08
  Prefactor  = 3.20185
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 5.80199
  norm       = 9.42169e-05
  Prefactor  = 1.01863e-07
  Prefactor  = 1.11022e-09
  Prefactor  = 2.63497
  norm       = 3.88578e-10
  Prefactor  = 39.6932
  Prefactor  = 16.7409
  norm       = 1.76392
  norm       = 10.4682
  Prefactor  = 1.03685
  norm       = 1.169
  Prefactor  = 15.6272
  norm       = 0.397817
  Normalizat = 1.38406
  Prefactor  = 0.537699
 **********
 **   18 **HESSE 
 **********

 FCN=   6243.554     FROM HESSE     STATUS=OK           617 CALLS     3354 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1491        3.2636        .70277E-03   -1.5679    
   2  norm          2.1775        3.1857        .69798E-03   -1.5678    
   3  norm           .0000        4.4374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.440        11.850        .28394E-03   -1.5637    
   5  Prefactor     .25979E-07    15.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    4.2329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10608E-06    60.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .94654E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        .62545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .22871E-07    11.159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2018        2.6418        .56582E-03   -1.5672    
  12  Prefactor     .11102E-09    2.4933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .89544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8020        13.251        .41682E-03   -1.5660    
  15  norm          .94217E-04    138.14        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10186E-06    23.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-08    6.7236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.6350        5.6940        .62908E-03   -1.5675    
  19  norm          .38858E-09    5.5443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     39.693        44.041        .16163E-03   -1.5582    
  21  Prefactor     16.741        19.885        .24485E-03   -1.5626    
  22  norm          1.7639        .63792        .78826E-03   -1.5681    
  23  norm          10.468        11.074        .30961E-03   -1.5643    
  24  Prefactor     1.0369        4.1577        .12260E-02   -1.5688    
  25  norm          1.1690        2.9327        .10664E-02   -1.5686    
  26  Prefactor     15.627        30.253        .25663E-03   -1.5629    
  27  norm          .39782        .90064        .20243E-02   -1.5695    
  28  Normalizat    1.3841        .16719        .45930E-01   -.81091    
  29  Prefactor     .53770        .17247        .76227E-01   -1.1028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.88886e-06
Minuit parameter uncertainties:
  1  3.26357
  2  3.18574
  3  1.08338e-05
  4  11.8502
  5  0.00126472
  6  2.84852e-05
  7  0.00504931
  8  1.71718e-07
  9  7.39225e-06
  10  0.00100989
  11  2.64176
  12  2.90761e-05
  13  8.05532e-06
  14  13.2506
  15  0.228175
  16  0.00311361
  17  0.000174377
  18  5.69398
  19  9.06861e-05
  20  44.0416
  21  19.8853
  22  0.637922
  23  11.0744
  24  4.15255
  25  2.93271
  26  30.253
  27  0.900644
  28  0.167256
  29  0.172641
Done.

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

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  5.802e+00  1.325e+01  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  2.397e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  5.377e-01  1.726e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.384e+00  1.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 144.297 50.144
Photon Flux Upper Limit: 7.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17344/likelihoodResults_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.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) = 6243.39700427
delta logL = 0.156832973007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6243.39403794
delta logL = 0.159799303664

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5917       1.0000          .0000       .10000E+07
     2 'Index     '    3.1259       1.0000          .0000       10.000    
     3 'Normalizat'    1.3693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .54722       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6243.394     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5830        130.88        .53295E-03    .53268E-02
   2  Index         3.1297        3.4121        .21833        .74938E-04
   3  Normalizat    1.3691        .37829E-01    .46134E-01   -.10246E-04
   4  Prefactor     .54705        .40625E-01    .75626E-01    .27061E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58296
  Index      = 3.12975
  Normalizat = 1.3691
  Prefactor  = 0.547049
 **********
 **   18 **HESSE 
 **********

 FCN=   6243.394     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5830        11.842        .20947E-04   -1.5670    
   2  Index         3.1297        1.7226        .75672E-02   -.38337    
   3  Normalizat    1.3691        .17964        .20393E-03   -.81527    
   4  Prefactor     .54705        .19238        .33486E-03   -1.0986    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1304e-11
Minuit parameter uncertainties:
  1  11.8423
  2  1.76491
  3  0.17972
  4  0.192615
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17344': 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) = 6243.39402751
delta logL = 0.15980973893

Extracting fit parameters...

4FGL J0937.1+5008
   Spectrum: PowerLaw
357    Prefactor:  3.583e+00  1.184e+01  0.000e+00  1.000e+06 ( 1.000e-13)
358        Index:  3.130e+00  1.765e+00  0.000e+00  1.000e+01 (-1.000e+00)
359        Scale:  9.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  5.470e-01  1.926e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.369e+00  1.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
Ra Dec: 144.297 50.144

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/17344/cmap_HighResolution_700444801_700704001_4FGL_J0937.1+5008_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.41e-03', job_status='DONE', photon_flux_upper_limit='7.00e-08', time_completed='2023-03-17 01:24:35.880939', job_id='17344', GAL2='0.55', fit_tolerance='1e-08', EG2='1.37', EG='1.38', time_epoch_completed='1679041475.88', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='1.60e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1779' AND source_name='4FGL J0937.1+5008' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:24:35 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 17344: <4FGL_J0937.1+5008_daily_bin1779> in cluster <slac> Done

Job <4FGL_J0937.1+5008_daily_bin1779> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Mar 17 01:10:14 2023
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:10:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:10:15 2023
Terminated at Fri Mar 17 01:24:36 2023
Results reported at Fri Mar 17 01:24:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.1+5008_daily_bin1779 144.297 50.1437 700444801 700704001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0937.1+5008 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   822.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            862 sec.

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

