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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1711
RA = 144.475, Dec = -14.5706
tmin = 682819201, tmax = 683078401
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='83213', job_status='RUN', time_executed='2022-09-16 14:47:34.030270', time_epoch_executed='1663364854.03' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83213

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83213/ft1_4FGL_J0937.9-1434_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83213/ft1_4FGL_J0937.9-1434_daily_bin1711.fits outfile=/scratch/kocevski/83213/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1711.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=682819201.0 tmax=683078401.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.62
user 4.37
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.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/83213/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.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.34
sys 0.17

Number of photons that the gtmktime cut: 764

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/83213/ltcube_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.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/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits
.....................!
real 14.33
user 13.91
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/83213/ltcube_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.fits outfile=/scratch/kocevski/83213/expmap_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.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/83213/ltcube_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.fits
.....................!
real 192.15
user 185.55
sys 6.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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J0937.9-1434 @ 144.475 -14.5706

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits scfile=/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits outfile=/scratch/kocevski/83213/cmap_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.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.475 yref=-14.5706 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits scfile=/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits outfile=/scratch/kocevski/83213/cmap_HighResolution_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.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.475 yref=-14.5706 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/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83213/Model_4FGL_J0937.9-1434_daily_bin1711.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/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits.....................!
real 80.57
user 79.07
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits', '/scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits', expMap='/scratch/kocevski/83213/expmap_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.fits', expCube='/scratch/kocevski/83213/ltcube_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83213/Model_4FGL_J0937.9-1434_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.9-1434'

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.095e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83213/ft1_filtered_4FGL_J0937.9-1434_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/83213/ft2_4FGL_J0937.9-1434_daily_bin1711.fits
Exposure map: /scratch/kocevski/83213/expmap_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.fits
Exposure cube: /scratch/kocevski/83213/ltcube_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83213/Model_4FGL_J0937.9-1434_daily_bin1711.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) = 8306.10337273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32369E-04   1.0000          .0000       .10000E+07
     2 'norm      '    2.7279       1.0000          .0000       .10000E+07
     3 'Prefactor '    .72120E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.4812       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.8499       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26564E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .62861E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .31005       1.0000          .0000       .10000E+07
     9 'Prefactor '    .45534E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10516E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .39417E-04   1.0000          .0000       .10000E+07
    12 'norm      '    4.4994       1.0000          .0000       .10000E+07
    13 'norm      '    .10984E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .91198E-05   1.0000          .0000       .10000E+07
    15 'norm      '    1.4530       1.0000          .0000       .10000E+07
    16 'norm      '    .16337E-04   1.0000          .0000       .10000E+07
    17 'norm      '    2.7717       1.0000          .0000       .10000E+07
    18 'Normalizat'    .79146       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0690       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8305.982     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1112 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16653E-09    7.1263        .64281E-07** at limit **
   2  norm          2.7315        2.7437        .46898E-07    .84846E-02
   3  Prefactor     .16653E-09    1.0153        .83268E-07** at limit **
   4  Prefactor     2.4714        1.1723        .28189E-07   -.36468E-01
   5  Prefactor     3.8071        4.3158        .36399E-07    .33555E-02
   6  Prefactor     .26956E-05    5.1800        .68329E-07** at limit **
   7  Prefactor     .72098E-06    33.387       -.26121E-06** at limit **
   8  Prefactor     .29354E-04    14.044       -.10965E-06** at limit **
   9  Prefactor     .11313E-06    61.209       -.68386E-06** at limit **
  10  Prefactor     .21393E-05    6.5551        .46699E-07** at limit **
  11  Prefactor     .23814E-07    9.1464        .32475E-07** at limit **
  12  norm          4.5422        5.0130       -.12683E-06   -.79101E-02
  13  norm           .0000        3.1806       -.12344E-08** at limit **
  14  norm          .27756E-09    4.0053       -.13377E-06** at limit **
  15  norm          1.4531        1.2946        .21249E-07    .61795E-02
  16  norm          .27756E-09    2.6843       -.99727E-07** at limit **
  17  norm          2.7713        1.2277       -.44489E-08   -.22599E-02
  18  Normalizat    .79151        .18368       -.87896E-06    .48318E-04
  19  Prefactor     1.0690        .11594        .74770E-06    .26520E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.66533e-10
  norm       = 2.73153
  Prefactor  = 1.66533e-10
  Prefactor  = 2.4714
  Prefactor  = 3.80714
  Prefactor  = 2.69562e-06
  Prefactor  = 7.20979e-07
  Prefactor  = 2.93545e-05
  Prefactor  = 1.13132e-07
  Prefactor  = 2.13929e-06
  Prefactor  = 2.38143e-08
  norm       = 4.54225
  norm       = 0
  norm       = 2.77556e-10
  norm       = 1.45309
  norm       = 2.77556e-10
  norm       = 2.77131
  Normalizat = 0.791507
  Prefactor  = 1.06902
 **********
 **   18 **HESSE 
 **********

 FCN=   8305.982     FROM HESSE     STATUS=OK           308 CALLS     1420 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16653E-09    7.1205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7315        2.8216        .61628E-03   -1.5675    
   3  Prefactor     .16653E-09    1.0166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4714        8.5062        .64876E-03   -1.5677    
   5  Prefactor     3.8071        4.3185        .51409E-03   -1.5669    
   6  Prefactor     .26956E-05    11.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .72098E-06    35.909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29354E-04    18.589        .13777E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11313E-06    61.054        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .21393E-05    11.602        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .23814E-07    9.1816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.5422        5.0451        .47442E-03   -1.5665    
  13  norm           .0000        3.1530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    4.0048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4531        1.2796        .89316E-03   -1.5684    
  16  norm          .27756E-09    2.6904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7713        1.2303        .61104E-03   -1.5675    
  18  Normalizat    .79151        .16065        .69699E-01   -1.0038    
  19  Prefactor     1.0690        .10069        .38905E-01   -.90463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92555e-07
Minuit parameter uncertainties:
  1  7.40084e-05
  2  2.82161
  3  2.60698e-05
  4  8.50629
  5  4.31853
  6  0.0111403
  7  0.0101765
  8  0.0467192
  9  0.00525661
  10  0.00996414
  11  0.000935352
  12  5.04512
  13  9.53939e-06
  14  6.67312e-05
  15  1.2796
  16  5.47158e-05
  17  1.23028
  18  0.160748
  19  0.100705
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.139e-06  9.964e-03  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.069e+00  1.007e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  7.915e-01  1.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 4.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83213/likelihoodResults_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.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) = 8306.02292847
delta logL = -0.0413879578209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8305.98154062
delta logL = -9.97188180918e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8305.982     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      241 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46074E-08    .27826E-01    .42118E-03** at limit **
   2  Index         2.8256        6.3100        .37857        .23424E-08
   3  Normalizat    .79150        .28572E-03    .69699E-01   -.10134E-02
   4  Prefactor     1.0690        .18245E-03    .38901E-01   -.13985E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.60743e-09
  Index      = 2.8256
  Normalizat = 0.791504
  Prefactor  = 1.06902
 **********
 **   18 **HESSE 
 **********

 FCN=   8305.982     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46074E-08    .91869E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8256        6.8990        .50000       -.44990    
   3  Normalizat    .79150        .51412E-03    .30841E-03   -1.0038    
   4  Prefactor     1.0690        .32886E-03    .17098E-03   -.90463    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08019e-11
Minuit parameter uncertainties:
  1  4.10353e-05
  2  296.505
  3  0.000514119
  4  0.000328862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83213': 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) = 8305.98154043
delta logL = 9.112409316e-08

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  4.607e-09  4.104e-05  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  2.826e+00  2.965e+02  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.069e+00  3.289e-04  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  7.915e-01  5.141e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.475 -14.571

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/83213/cmap_HighResolution_682819201_683078401_4FGL_J0937.9-1434_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2022-09-16 14:57:14.321442', job_id='83213', GAL2='1.07', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1663365434.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='9.11e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1711' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:57:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 83213: <4FGL_J0937.9-1434_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1711> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 14:45:25 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:46:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:46:17 2022
Terminated at Fri Sep 16 14:57:15 2022
Results reported at Fri Sep 16 14:57:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1711 144.475 -14.5706 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0937.9-1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   582.27 sec.
    Max Memory :                                 1220 MB
    Average Memory :                             341.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            710 sec.

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

