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 79 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7474
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1700
RA = 144.475, Dec = -14.5706
tmin = 679968001, tmax = 680227201
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='205772', job_status='RUN', time_executed='2022-07-23 08:38:21.948990', time_epoch_executed='1658590701.95' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/205772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/205772/ft1_4FGL_J0937.9-1434_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/205772/ft1_4FGL_J0937.9-1434_daily_bin1700.fits outfile=/scratch/kocevski/205772/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1700.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=679968001.0 tmax=680227201.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.71
user 4.40
sys 0.24

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

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

Number of photons that the gtmktime cut: 419

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/205772/ft1_filtered_4FGL_J0937.9-1434_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/205772/ltcube_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.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/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits
.....................!
real 15.57
user 15.09
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/205772/ft1_filtered_4FGL_J0937.9-1434_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/205772/ltcube_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.fits outfile=/scratch/kocevski/205772/expmap_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.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/205772/ltcube_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.fits
.....................!
real 194.60
user 189.06
sys 4.67

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/205772/ft1_filtered_4FGL_J0937.9-1434_daily_bin1700.fits scfile=/scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits outfile=/scratch/kocevski/205772/cmap_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/205772/ft1_filtered_4FGL_J0937.9-1434_daily_bin1700.fits scfile=/scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits outfile=/scratch/kocevski/205772/cmap_HighResolution_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/205772/ft1_filtered_4FGL_J0937.9-1434_daily_bin1700.fits', '/scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits', expMap='/scratch/kocevski/205772/expmap_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.fits', expCube='/scratch/kocevski/205772/ltcube_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/205772/Model_4FGL_J0937.9-1434_daily_bin1700.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  1.000e-04  1.000e+04 ( 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/205772/ft1_filtered_4FGL_J0937.9-1434_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/205772/ft2_4FGL_J0937.9-1434_daily_bin1700.fits
Exposure map: /scratch/kocevski/205772/expmap_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.fits
Exposure cube: /scratch/kocevski/205772/ltcube_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/205772/Model_4FGL_J0937.9-1434_daily_bin1700.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) = 4807.43992428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.9211       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .73850       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.2473       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.351       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.049       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    51.515       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    18.112       1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5539       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .36851       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .84117       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97792       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4807.433     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1892 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6364       -.14281E-06** at limit **
   2  norm          3.9213        3.4646       -.24694E-06    .39364E-04
   3  Prefactor     .70230        4.3594       -.22827E-05    .37798E-03
   4  Prefactor     4.2467        12.644       -.19950E-05   -.71829E-04
   5  Prefactor     .10000E-03    9.2902        .73595E-06** at limit **
   6  Prefactor     22.336        28.374       -.18822E-04    .11960E-04
   7  Prefactor     36.032        48.827       -.25293E-04    .74484E-04
   8  Prefactor     .10000E-03    35.805        .18010E-05** at limit **
   9  Prefactor     51.502        48.418       -.16404E-04    .40984E-04
  10  Prefactor     .10000E-03    14.822       -.64287E-06** at limit **
  11  Prefactor     .10000E-03    5.2880        .44936E-06** at limit **
  12  norm          18.111        10.531        .10930E-06    .10272E-03
  13  norm          .10000E-03    1.4617       -.23654E-07** at limit **
  14  norm          .10000E-03    3.6471       -.55396E-07** at limit **
  15  norm          3.5536        2.4379       -.26262E-06    .26193E-04
  16  norm          .10000E-03    6.5736       -.52216E-06** at limit **
  17  norm          .36623        1.3923       -.20628E-05   -.37077E-03
  18  Normalizat    .84129        .24523        .12919E-04    .28352E-03
  19  Prefactor     .97795        .13360       -.16014E-07    .98226E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.92128
  Prefactor  = 0.702299
  Prefactor  = 4.24675
  Prefactor  = 0.0001
  Prefactor  = 22.3356
  Prefactor  = 36.0315
  Prefactor  = 0.000100001
  Prefactor  = 51.5017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.1112
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.55362
  norm       = 0.0001
  norm       = 0.366227
  Normalizat = 0.841294
  Prefactor  = 0.977951
 **********
 **   18 **HESSE 
 **********

 FCN=   4807.433     FROM HESSE     STATUS=OK           268 CALLS     2160 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6421        .14579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9213        3.4573        .11557E-03   -1.5312    
   3  Prefactor     .70230        20.021        .26861E-02   -1.5540    
   4  Prefactor     4.2467        12.618        .19551E-03   -1.5296    
   5  Prefactor     .10000E-03    9.3995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.336        28.447        .84725E-04   -1.4762    
   7  Prefactor     36.032        48.827        .66748E-04   -1.4507    
   8  Prefactor     .10000E-03    35.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     51.502        48.552        .55877E-04   -1.4271    
  10  Prefactor     .10000E-03    14.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.2950        .15572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.111        10.539        .94111E-04   -1.4857    
  13  norm          .10000E-03    1.4681        .81856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.6483        .12932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5536        2.4382        .86829E-04   -1.5331    
  16  norm          .10000E-03    6.5963        .17363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .36623        2.1414        .14684E-02   -1.5587    
  18  Normalizat    .84129        .28385        .32492E-03   -.98555    
  19  Prefactor     .97795        .15796        .17865E-03   -.93468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08827e-09
Minuit parameter uncertainties:
  1  5.87192e-06
  2  3.45744
  3  7.50176
  4  12.6257
  5  3.33999e-05
  6  28.4645
  7  48.8813
  8  0.000442687
  9  48.5893
  10  2.75397e-06
  11  5.95009e-06
  12  10.5405
  13  1.08123e-06
  14  4.7123e-06
  15  2.43828
  16  3.95584e-05
  17  1.77101
  18  0.28435
  19  0.158039
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.754e-06  1.000e-04  1.000e+04 ( 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:  9.780e-01  1.580e-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:  8.413e-01  2.844e-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.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/205772/likelihoodResults_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.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): 102
logL (Free Index) = 4807.43285956
delta logL = -0.000321342422467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4807.43254417
delta logL = -5.9526955738e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.2894       1.0000          .0000       10.000    
     3 'Normalizat'    .84129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97795       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=   4807.433     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      255 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .10101E-01    .44698E-01** at limit **
   2  Index         3.2750        1.2380        .50000        .24867E-04
   3  Normalizat    .84130        .53998E-03    .73417E-01    .20756E-04
   4  Prefactor     .97795        .31961E-03    .45991E-01    .87388E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.27496
  Normalizat = 0.841296
  Prefactor  = 0.977947
 **********
 **   18 **HESSE 
 **********

 FCN=   4807.433     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0566        .14914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2750        6.2164        .50000       -.35225    
   3  Normalizat    .84130        .36492E-02    .32491E-03   -.98555    
   4  Prefactor     .97795        .21635E-02    .17865E-03   -.93468    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11727e-09
Minuit parameter uncertainties:
  1  1.1578e-05
  2  8.48214
  3  0.00364917
  4  0.0021635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/205772': 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) = 4807.43254408
delta logL = -5.85963516642e-06

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.158e-05  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  3.275e+00  8.482e+00  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:  9.779e-01  2.163e-03  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:  8.413e-01  3.649e-03  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/205772/cmap_HighResolution_679968001_680227201_4FGL_J0937.9-1434_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.97e-03', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2022-07-23 08:47:04.837235', job_id='205772', GAL2='0.98', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1658591224.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='-5.86e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1700' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 08:47:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 205772: <4FGL_J0937.9-1434_daily_bin1700> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1700> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jul 23 08:30:31 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 08:36:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 08:36:34 2022
Terminated at Sat Jul 23 08:47:05 2022
Results reported at Sat Jul 23 08:47:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1700 144.475 -14.5706 679968001 680227201 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 :                                   521.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            994 sec.

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

