/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 16 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 = 7404
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1186
RA = 144.475, Dec = -14.5706
tmin = 546739201, tmax = 546998401
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='376882', job_status='RUN', time_executed='2021-08-31 19:36:41.568429', time_epoch_executed='1630463801.57' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1186'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376882

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376882/ft1_4FGL_J0937.9-1434_daily_bin1186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376882/ft1_4FGL_J0937.9-1434_daily_bin1186.fits outfile=/scratch/kocevski/376882/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1186.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=546739201.0 tmax=546998401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.76
user 3.47
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/376882/ft1_filtered_4FGL_J0937.9-1434_daily_bin1186.fits" evtable="EVENTS" scfile=/scratch/kocevski/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits sctable="SC_DATA" outfile=/scratch/kocevski/376882/ltcube_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.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/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits
.....................!
real 12.04
user 11.60
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376882/ft1_filtered_4FGL_J0937.9-1434_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits sctable="SC_DATA" expcube=/scratch/kocevski/376882/ltcube_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.fits outfile=/scratch/kocevski/376882/expmap_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.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/376882/ltcube_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.fits
.....................!
real 192.15
user 185.32
sys 4.65

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/376882/ft1_filtered_4FGL_J0937.9-1434_daily_bin1186.fits scfile=/scratch/kocevski/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits outfile=/scratch/kocevski/376882/cmap_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.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.60
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/376882/ft1_filtered_4FGL_J0937.9-1434_daily_bin1186.fits scfile=/scratch/kocevski/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits outfile=/scratch/kocevski/376882/cmap_HighResolution_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.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.37
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/376882/ft1_filtered_4FGL_J0937.9-1434_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/376882/ft2_4FGL_J0937.9-1434_daily_bin1186.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/376882/Model_4FGL_J0937.9-1434_daily_bin1186.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/376882/ft1_filtered_4FGL_J0937.9-1434_daily_bin1186.fits.....................!
real 48.66
user 45.54
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.6780       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10181E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18220E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3371       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .97482E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10967E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.196       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0590       1.0000         .10000E-03   10000.    
    12 'norm      '    11.722       1.0000         .10000E-03   10000.    
    13 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.507       1.0000         .10000E-03   10000.    
    15 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1627       1.0000         .10000E-03   10000.    
    17 'norm      '    3.1740       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0683       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90699       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=   3754.410     FROM MIGRAD    STATUS=CONVERGED    456 CALLS     1951 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.7083       -.13415E-07** at limit **
   2  norm          .10000E-03    1.5059       -.14692E-07** at limit **
   3  Prefactor     1.6729        9.0695        .14906E-04   -.28428E-04
   4  Prefactor     .10000E-03    5.0587       -.17013E-07** at limit **
   5  Prefactor     .10000E-03    32.478       -.11376E-05** at limit **
   6  Prefactor     6.3283        24.355        .24482E-05   -.55679E-04
   7  Prefactor     .11429E-03    71.636       -.67130E-05** at limit **
   8  Prefactor     .10000E-03    39.443       -.10700E-05** at limit **
   9  Prefactor     22.238        38.684        .34203E-05   -.71052E-04
  10  Prefactor     .10000E-03    14.419        .18876E-06** at limit **
  11  Prefactor     6.0761        19.092       -.24226E-05   -.40249E-05
  12  norm          11.721        7.4157       -.12618E-07    .32763E-04
  13  norm          .10000E-03    1.7988       -.16753E-06** at limit **
  14  norm          10.489        15.246       -.15022E-05    .12815E-03
  15  norm          .10000E-03    .85780        .19722E-08** at limit **
  16  norm          4.1612        6.8464        .25783E-06    .12629E-04
  17  norm          3.1733        2.1451        .16554E-06    .39323E-04
  18  Normalizat    1.0686        .25433        .24405E-05    .13669E-04
  19  Prefactor     .90708        .15264       -.43217E-05   -.36307E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.67293
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.32828
  Prefactor  = 0.000114291
  Prefactor  = 0.000100002
  Prefactor  = 22.2383
  Prefactor  = 0.0001
  Prefactor  = 6.07613
  norm       = 11.7214
  norm       = 0.0001
  norm       = 10.4886
  norm       = 0.0001
  norm       = 4.16115
  norm       = 3.17325
  Normalizat = 1.06865
  Prefactor  = 0.907076
 **********
 **   18 **HESSE 
 **********

 FCN=   3754.410     FROM HESSE     STATUS=OK           276 CALLS     2227 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.7317        .16615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.5093        .73426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.6729        9.2173        .16263E-02   -1.5449    
   4  Prefactor     .10000E-03    5.0616        .13460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    33.896        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3283        24.535        .15945E-03   -1.5205    
   7  Prefactor     .11429E-03    68.558        .12915       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    39.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.238        38.801        .85018E-04   -1.4764    
  10  Prefactor     .10000E-03    14.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0761        19.152        .16311E-03   -1.5215    
  12  norm          11.721        7.4150        .11700E-03   -1.5023    
  13  norm          .10000E-03    1.8053        .80262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.489        15.249        .12361E-03   -1.5060    
  15  norm          .10000E-03    1.3406        .11070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1612        6.8358        .19755E-03   -1.5300    
  17  norm          3.1733        2.1429        .70691E-04   -1.5352    
  18  Normalizat    1.0686        .30195        .28157E-03   -.90765    
  19  Prefactor     .90708        .17914        .18654E-03   -.95894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16739e-09
Minuit parameter uncertainties:
  1  1.76251e-06
  2  1.01517e-06
  3  7.85525
  4  3.66451e-06
  5  0.000310721
  6  24.5741
  7  0.0626735
  8  0.000615046
  9  38.8454
  10  4.55408e-05
  11  19.1713
  12  7.41559
  13  1.27368e-05
  14  15.2549
  15  3.84664e-06
  16  6.83709
  17  2.143
  18  0.302439
  19  0.179259
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  4.554e-05  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.071e-01  1.793e-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.069e+00  3.024e-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.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376882/likelihoodResults_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.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) = 3754.4099832
delta logL = -0.000325873402744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3754.40965752
delta logL = -1.95685061044e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11158E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9434       1.0000          .0000       10.000    
     3 'Normalizat'    1.0686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90709       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3754.410     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      248 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10373E-03    4.2091        .18142E-01** at limit **
   2  Index         1.8508        6.5782        .50000        .15654E-04
   3  Normalizat    1.0686        .31789E-02    .28156E-03   -.21198E-05
   4  Prefactor     .90708        .19686E-02    .18654E-03    .77094E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010373
  Index      = 1.85075
  Normalizat = 1.06864
  Prefactor  = 0.90708
 **********
 **   18 **HESSE 
 **********

 FCN=   3754.410     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10373E-03    93.196        .24942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8508        5.1952        .50000       -.68136    
   3  Normalizat    1.0686        .15052E-01    .11262E-04   -.90765    
   4  Prefactor     .90708        .93214E-02    .74617E-05   -.95894    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.57275e-09
Minuit parameter uncertainties:
  1  0.0373466
  2  274.914
  3  0.0150521
  4  0.00932139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376882': 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) = 3754.40965684
delta logL = 4.82730229123e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.037e-04  3.735e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.851e+00  2.749e+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:  9.071e-01  9.321e-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:  1.069e+00  1.505e-02  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/376882/cmap_HighResolution_546739201_546998401_4FGL_J0937.9-1434_daily_bin1186.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.04e-03', job_status='DONE', photon_flux_upper_limit='6.73e-08', time_completed='2021-08-31 19:44:48.125119', job_id='376882', GAL2='0.91', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1630464288.13', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1186' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:44:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 376882: <4FGL_J0937.9-1434_daily_bin1186> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1186> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:03 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 19:36:05 2021
Terminated at Tue Aug 31 19:44:50 2021
Results reported at Tue Aug 31 19:44:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1186 144.475 -14.5706 546739201 546998401 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 :                                   469.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   524 sec.
    Turnaround time :                            527 sec.

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

