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 36 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_bin1758
RA = 144.475, Dec = -14.5706
tmin = 695001601, tmax = 695260801
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='362249', job_status='RUN', time_executed='2023-01-13 00:32:25.941558', time_epoch_executed='1673598745.94' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362249/ft1_4FGL_J0937.9-1434_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362249/ft1_4FGL_J0937.9-1434_daily_bin1758.fits outfile=/scratch/kocevski/362249/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1758.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.78
user 2.56
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.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/362249/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 442

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/362249/ltcube_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.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/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits
.....................!
real 14.03
user 13.59
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/362249/ltcube_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.fits outfile=/scratch/kocevski/362249/expmap_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.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/362249/ltcube_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.fits
.....................!
real 192.76
user 186.55
sys 5.76

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/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits scfile=/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits outfile=/scratch/kocevski/362249/cmap_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.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.56
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits scfile=/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits outfile=/scratch/kocevski/362249/cmap_HighResolution_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362249/Model_4FGL_J0937.9-1434_daily_bin1758.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/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits.....................!
real 58.47
user 56.97
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits', '/scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits', expMap='/scratch/kocevski/362249/expmap_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.fits', expCube='/scratch/kocevski/362249/ltcube_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362249/Model_4FGL_J0937.9-1434_daily_bin1758.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/362249/ft1_filtered_4FGL_J0937.9-1434_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/362249/ft2_4FGL_J0937.9-1434_daily_bin1758.fits
Exposure map: /scratch/kocevski/362249/expmap_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.fits
Exposure cube: /scratch/kocevski/362249/ltcube_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362249/Model_4FGL_J0937.9-1434_daily_bin1758.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) = 5079.12281729

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24010E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .73154E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .47981E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10317E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22982E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.440       1.0000          .0000       .10000E+07
     7 'Prefactor '    50.543       1.0000          .0000       .10000E+07
     8 'Prefactor '    .38642E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11631       1.0000          .0000       .10000E+07
    10 'Prefactor '    .31884E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .80389E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.7131       1.0000          .0000       .10000E+07
    13 'norm      '    .58197E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .55226E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .16362E-03   1.0000          .0000       .10000E+07
    16 'norm      '    2.6767       1.0000          .0000       .10000E+07
    17 'norm      '    .69962E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2925       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .84145       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=   5079.105     FROM MIGRAD    STATUS=CONVERGED    210 CALLS     1497 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18319E-08    13.191       -.95547E-06** at limit **
   2  norm          .77716E-09    3.5836       -.81162E-06** at limit **
   3  Prefactor     .46074E-08    3.3369       -.44996E-06** at limit **
   4  Prefactor     .11102E-09    18.120       -.54995E-06** at limit **
   5  Prefactor      .0000        8.3271        .28525E-06** at limit **
   6  Prefactor     15.979        32.272        .41235E-06   -.23906E-01
   7  Prefactor     50.192        22.527       -.78794E-07    .60780E-01
   8  Prefactor     .36193E-07    162.65       -.78500E-05** at limit **
   9  Prefactor     .76161E-07    27.055        .27889E-05** at limit **
  10  Prefactor     .14433E-08    13.891        .23934E-05** at limit **
  11  Prefactor      .0000        6.1070        .32981E-06** at limit **
  12  norm          3.7146        5.1323        .54402E-07   -.25292E-03
  13  norm          .99920E-09    3.2673       -.82632E-07** at limit **
  14  norm          .66613E-09    3.5785       -.81940E-06** at limit **
  15  norm          .25535E-08    4.9223        .23925E-06** at limit **
  16  norm          2.6675        13.407       -.32124E-05   -.98545E-04
  17  norm          .62373E-01    6.6259        .26591E-06** at limit **
  18  Normalizat    1.2933        .27782        .22218E-04    .11172E-04
  19  Prefactor     .84135        .15285       -.32234E-05    .30998E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.83187e-09
  norm       = 7.77156e-10
  Prefactor  = 4.60743e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 15.9789
  Prefactor  = 50.1922
  Prefactor  = 3.61933e-08
  Prefactor  = 7.61613e-08
  Prefactor  = 1.44329e-09
  Prefactor  = 0
  norm       = 3.71461
  norm       = 9.99201e-10
  norm       = 6.66134e-10
  norm       = 2.55351e-09
  norm       = 2.66747
  norm       = 0.0623726
  Normalizat = 1.29335
  Prefactor  = 0.84135
 **********
 **   18 **HESSE 
 **********

 FCN=   5079.105     FROM HESSE     STATUS=OK           306 CALLS     1803 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18319E-08    13.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .77716E-09    3.7549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .46074E-08    4.5654        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    18.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        8.3322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.979        39.631        .24675E-03   -1.5628    
   7  Prefactor     50.192        37.056        .14067E-03   -1.5566    
   8  Prefactor     .36193E-07    162.38        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .76161E-07    44.109        .13510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14433E-08    13.897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        6.1066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.7146        5.1450        .52382E-03   -1.5669    
  13  norm          .99920E-09    3.5929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .66613E-09    3.6780        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .25535E-08    5.3855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6675        13.775        .62260E-03   -1.5675    
  17  norm          .62373E-01    .80855        .36386E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2933        .23456        .63855E-01   -.83765    
  19  Prefactor     .84135        .12836        .44254E-01   -.98222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46538e-07
Minuit parameter uncertainties:
  1  0.000311029
  2  0.000109274
  3  0.000290648
  4  8.3219e-05
  5  6.73386e-06
  6  39.6315
  7  37.056
  8  0.00485031
  9  0.00366569
  10  0.000283134
  11  9.05102e-06
  12  5.14497
  13  0.000120341
  14  9.76318e-05
  15  0.000235394
  16  12.1235
  17  0.449137
  18  0.234755
  19  0.128403
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.443e-09  2.831e-04  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:  8.413e-01  1.284e-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:  1.293e+00  2.348e-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: 6.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362249/likelihoodResults_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.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) = 5079.13935484
delta logL = -0.034381665494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5079.10497322
delta logL = -4.59731381852e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22099E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .79134       1.0000          .0000       10.000    
     3 'Normalizat'    1.2933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84139       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=   5079.105     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      243 TOTAL
                     EDM=   .29E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .51374E-02    .42118E-03** at limit **
   2  Index         2.8406        7.9713        .43604        .65181E-09
   3  Normalizat    1.2933        .25696E-03    .63855E-01   -.14982E-03
   4  Prefactor     .84135        .14460E-03    .44254E-01    .34413E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 2.84063
  Normalizat = 1.29334
  Prefactor  = 0.841352
 **********
 **   18 **HESSE 
 **********

 FCN=   5079.105     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      274 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    .24160E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8406        6.0840        .50000       -.44657    
   3  Normalizat    1.2933        .55622E-03    .28245E-03   -.83765    
   4  Prefactor     .84135        .31317E-03    .19141E-03   -.98222    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22482e-12
Minuit parameter uncertainties:
  1  5.6389e-06
  2  862.214
  3  0.000556222
  4  0.000313175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362249': 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) = 5079.10497317
delta logL = -1.04591890704e-10

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.331e-10  5.639e-06  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  2.841e+00  8.622e+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:  8.414e-01  3.132e-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:  1.293e+00  5.562e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/362249/cmap_HighResolution_695001601_695260801_4FGL_J0937.9-1434_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.57e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2023-01-13 00:40:50.276856', job_id='362249', GAL2='0.84', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1673599250.28', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-1.05e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1758' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 00:40:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 362249: <4FGL_J0937.9-1434_daily_bin1758> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:30:22 2023
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:31:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:31:40 2023
Terminated at Fri Jan 13 00:40:51 2023
Results reported at Fri Jan 13 00:40:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1758 144.475 -14.5706 695001601 695260801 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 :                                   506.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   550 sec.
    Turnaround time :                            629 sec.

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

