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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1302
RA = 144.475, Dec = -14.5706
tmin = 576806401, tmax = 577065601
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='377071', job_status='RUN', time_executed='2021-08-31 19:37:31.639738', time_epoch_executed='1630463851.64' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377071

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377071/ft1_4FGL_J0937.9-1434_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377071/ft2_4FGL_J0937.9-1434_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377071/ft1_4FGL_J0937.9-1434_daily_bin1302.fits outfile=/scratch/kocevski/377071/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1302.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=576806401.0 tmax=577065601.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.06
user 2.86
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377071/ft1_filtered_4FGL_J0937.9-1434_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/377071/ft2_4FGL_J0937.9-1434_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/377071/ltcube_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.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/377071/ft2_4FGL_J0937.9-1434_daily_bin1302.fits
.....................!
real 12.47
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377071/ft1_filtered_4FGL_J0937.9-1434_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/377071/ft2_4FGL_J0937.9-1434_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/377071/ltcube_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.fits outfile=/scratch/kocevski/377071/expmap_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.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/377071/ltcube_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.fits
.....................!
real 191.13
user 185.44
sys 5.12

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/377071/ft1_filtered_4FGL_J0937.9-1434_daily_bin1302.fits scfile=/scratch/kocevski/377071/ft2_4FGL_J0937.9-1434_daily_bin1302.fits outfile=/scratch/kocevski/377071/cmap_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377071/ft1_filtered_4FGL_J0937.9-1434_daily_bin1302.fits scfile=/scratch/kocevski/377071/ft2_4FGL_J0937.9-1434_daily_bin1302.fits outfile=/scratch/kocevski/377071/cmap_HighResolution_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.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.57
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    43.597       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2724       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8378       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53308E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.060       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.459       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.3589       1.0000         .10000E-03   10000.    
    12 'norm      '    23.803       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9359       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.3811       1.0000         .10000E-03   10000.    
    16 'norm      '    3.6930       1.0000         .10000E-03   10000.    
    17 'norm      '    6.5311       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5484       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .53612       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=   5078.716     FROM MIGRAD    STATUS=CONVERGED    381 CALLS     1865 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          43.606        17.277       -.81179E-06   -.11200E-03
   2  norm          2.2742        3.1567        .35375E-07    .17451E-03
   3  Prefactor     7.8352        7.9337        .23042E-07    .59598E-04
   4  Prefactor     .10000E-03    9.4462       -.25234E-06** at limit **
   5  Prefactor     .10002E-03    12.267       -.49752E-05** at limit **
   6  Prefactor     18.073        20.066       -.26489E-05   -.15564E-03
   7  Prefactor     .10000E-03    27.864        .17589E-05** at limit **
   8  Prefactor     .10000E-03    22.775       -.54336E-06** at limit **
   9  Prefactor     67.470        47.535       -.24332E-05   -.90323E-04
  10  Prefactor     .10000E-03    23.579       -.12388E-05** at limit **
  11  Prefactor     7.3661        22.719       -.27090E-05   -.49790E-04
  12  norm          23.807        12.119        .18728E-06    .55543E-04
  13  norm          1.9370        3.5985        .22549E-06    .12343E-03
  14  norm          .10000E-03    6.3027        .41557E-08** at limit **
  15  norm          4.3812        2.6750        .87063E-07    .14143E-03
  16  norm          3.6935        7.3458        .13088E-05    .52590E-03
  17  norm          6.5311        2.6675        .13732E-06    .24790E-03
  18  Normalizat    1.5476        .25239       -.67408E-06   -.34096E-06
  19  Prefactor     .53659        .13455        .11728E-05    .17529E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 43.6057
  norm       = 2.27418
  Prefactor  = 7.8352
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 18.0728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.4698
  Prefactor  = 0.0001
  Prefactor  = 7.36605
  norm       = 23.8073
  norm       = 1.93704
  norm       = 0.0001
  norm       = 4.38121
  norm       = 3.69347
  norm       = 6.53114
  Normalizat = 1.54759
  Prefactor  = 0.536593
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.716     FROM HESSE     STATUS=OK           272 CALLS     2137 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          43.606        17.302        .60717E-04   -1.4386    
   2  norm          2.2742        3.1321        .13985E-03   -1.5406    
   3  Prefactor     7.8352        7.9419        .14323E-03   -1.5148    
   4  Prefactor     .10000E-03    9.5225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    16.617        .32219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.073        20.261        .94247E-04   -1.4857    
   7  Prefactor     .10000E-03    27.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     67.470        47.837        .48868E-04   -1.4063    
  10  Prefactor     .10000E-03    23.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.3661        22.799        .14785E-03   -1.5165    
  12  norm          23.807        12.145        .82103E-04   -1.4732    
  13  norm          1.9370        3.5744        .17680E-03   -1.5430    
  14  norm          .10000E-03    6.3156        .17474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3812        2.6730        .87333E-04   -1.5289    
  16  norm          3.6935        7.9823        .10508E-02   -1.5324    
  17  norm          6.5311        2.6687        .72017E-04   -1.5197    
  18  Normalizat    1.5476        .29115        .26285E-03   -.76450    
  19  Prefactor     .53659        .15578        .23782E-03   -1.1033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69955e-09
Minuit parameter uncertainties:
  1  17.3036
  2  3.13228
  3  7.94302
  4  1.12047e-05
  5  0.00104097
  6  20.269
  7  0.00013795
  8  7.35417e-05
  9  47.8639
  10  6.97338e-05
  11  22.8262
  12  12.1466
  13  3.57476
  14  2.62793e-06
  15  2.67308
  16  7.98463
  17  2.66871
  18  0.291469
  19  0.155909
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  6.973e-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:  5.366e-01  1.559e-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.548e+00  2.915e-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: 8.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377071/likelihoodResults_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.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) = 5078.71628738
delta logL = -0.000201812873456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5078.71608564
delta logL = -7.8782250057e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8997       1.0000          .0000       10.000    
     3 'Normalizat'    1.5476       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53660       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=   5078.716     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      232 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    663.61        .90712E-02** at limit **
   2  Index         1.9067        6.9477        .50000       -.25190E-05
   3  Normalizat    1.5476        .34243E-01    .59440E-01    .30252E-03
   4  Prefactor     .53660        .19369E-01    .40182E-01    .74326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.90672
  Normalizat = 1.54759
  Prefactor  = 0.536596
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.716     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      261 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     .10000E-03    1443.2        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9067        5.1327        .50000       -.66703    
   3  Normalizat    1.5476        .53677E-01    .26285E-03   -.76450    
   4  Prefactor     .53660        .30359E-01    .23782E-03   -1.1033    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.56021e-09
Minuit parameter uncertainties:
  1  0.00365639
  2  32.0416
  3  0.053679
  4  0.0303596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377071': 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) = 5078.71608562
delta logL = -5.32963895239e-08

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.656e-03  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.907e+00  3.204e+01  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:  5.366e-01  3.036e-02  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.548e+00  5.368e-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/377071/cmap_HighResolution_576806401_577065601_4FGL_J0937.9-1434_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', job_status='DONE', photon_flux_upper_limit='8.56e-08', time_completed='2021-08-31 19:47:15.819222', job_id='377071', GAL2='0.54', fit_tolerance='1e-08', EG2='1.55', EG='1.55', time_epoch_completed='1630464435.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='-5.33e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1302' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:47:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 377071: <4FGL_J0937.9-1434_daily_bin1302> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1302> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:21 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:22 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:22 2021
Terminated at Tue Aug 31 19:47:16 2021
Results reported at Tue Aug 31 19:47:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1302 144.475 -14.5706 576806401 577065601 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 :                                   514.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            655 sec.

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

