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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1099
RA = 144.475, Dec = -14.5706
tmin = 524188801, tmax = 524448001
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='375494', job_status='RUN', time_executed='2021-08-31 19:35:16.204228', time_epoch_executed='1630463716.2' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375494

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375494/ft1_4FGL_J0937.9-1434_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375494/ft1_4FGL_J0937.9-1434_daily_bin1099.fits outfile=/scratch/kocevski/375494/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1099.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=524188801.0 tmax=524448001.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.42
user 3.20
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375494/ft1_filtered_4FGL_J0937.9-1434_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/375494/ltcube_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.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/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits
.....................!
real 11.64
user 11.28
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375494/ft1_filtered_4FGL_J0937.9-1434_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/375494/ltcube_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.fits outfile=/scratch/kocevski/375494/expmap_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.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/375494/ltcube_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.fits
.....................!
real 190.19
user 185.01
sys 4.71

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/375494/ft1_filtered_4FGL_J0937.9-1434_daily_bin1099.fits scfile=/scratch/kocevski/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits outfile=/scratch/kocevski/375494/cmap_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.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.61
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375494/ft1_filtered_4FGL_J0937.9-1434_daily_bin1099.fits scfile=/scratch/kocevski/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits outfile=/scratch/kocevski/375494/cmap_HighResolution_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375494/ft1_filtered_4FGL_J0937.9-1434_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/375494/ft2_4FGL_J0937.9-1434_daily_bin1099.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375494/Model_4FGL_J0937.9-1434_daily_bin1099.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/375494/ft1_filtered_4FGL_J0937.9-1434_daily_bin1099.fits.....................!
real 69.05
user 67.55
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .11530E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.088       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0920       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.106       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0964       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.148       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.642       1.0000         .10000E-03   10000.    
    12 'norm      '    .13706E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.5519       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10154E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.6266       1.0000         .10000E-03   10000.    
    17 'norm      '    2.3918       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0793       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96296       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=   6500.534     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1922 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.8911        .52030E-07** at limit **
   2  norm          .10000E-03    1.9370        .20875E-06** at limit **
   3  Prefactor     11.089        6.3801        .11762E-05    .47748E-03
   4  Prefactor     .10000E-03    3.6335        .71026E-07** at limit **
   5  Prefactor     3.0918        4.7327        .21012E-06    .12578E-04
   6  Prefactor     16.103        22.624        .32983E-08   -.59844E-04
   7  Prefactor     4.0767        46.883       -.10368E-05   -.65622E-04
   8  Prefactor     21.127        52.279       -.49208E-06   -.76696E-04
   9  Prefactor     .10000E-03    16.967        .44851E-07** at limit **
  10  Prefactor     .10000E-03    41.095        .63282E-06** at limit **
  11  Prefactor     10.639        15.633        .24715E-05    .22962E-03
  12  norm          .10033E-03    7.3944       -.19596E-05** at limit **
  13  norm          3.5515        4.0689        .13397E-06    .27127E-04
  14  norm          .10000E-03    2.9454        .21052E-07** at limit **
  15  norm          .10000E-03    1.0425        .18110E-06** at limit **
  16  norm          2.6272        10.107        .12762E-05    .78975E-04
  17  norm          2.3919        1.5967        .98858E-07    .57783E-04
  18  Normalizat    1.0794        .21285        .48749E-06   -.40609E-05
  19  Prefactor     .96287        .12644       -.14263E-05    .56117E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 11.0887
  Prefactor  = 0.0001
  Prefactor  = 3.09176
  Prefactor  = 16.1026
  Prefactor  = 4.07669
  Prefactor  = 21.1274
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.6388
  norm       = 0.000100326
  norm       = 3.55153
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.62718
  norm       = 2.39193
  Normalizat = 1.07937
  Prefactor  = 0.96287
 **********
 **   18 **HESSE 
 **********

 FCN=   6500.534     FROM HESSE     STATUS=OK           276 CALLS     2198 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.8970        .15531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.3401        .21751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.089        6.4170        .60157E-03   -1.5042    
   4  Prefactor     .10000E-03    3.6389        .15009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0918        4.7177        .21082E-03   -1.5356    
   6  Prefactor     16.103        22.605        .99799E-04   -1.4905    
   7  Prefactor     4.0767        47.047        .19919E-03   -1.5304    
   8  Prefactor     21.127        52.299        .87098E-04   -1.4788    
   9  Prefactor     .10000E-03    16.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    41.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.639        15.825        .61409E-03   -1.5056    
  12  norm          .10033E-03    42.357        .35090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5515        4.0547        .16723E-03   -1.5331    
  14  norm          .10000E-03    2.9487        .13514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.0146        .15936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.6272        10.110        .25163E-03   -1.5384    
  17  norm          2.3919        1.5914        .79476E-04   -1.5399    
  18  Normalizat    1.0794        .25200        .29822E-03   -.90417    
  19  Prefactor     .96287        .14782        .18866E-03   -.93978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.60416e-09
Minuit parameter uncertainties:
  1  1.15873e-06
  2  3.12674e-05
  3  6.41738
  4  3.08133e-06
  5  4.71824
  6  22.617
  7  27.7251
  8  52.4127
  9  1.13157e-05
  10  0.000380051
  11  15.8308
  12  0.00743243
  13  4.05502
  14  8.50713e-07
  15  9.0951e-07
  16  10.117
  17  1.59142
  18  0.252279
  19  0.147885
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.801e-04  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.629e-01  1.479e-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.079e+00  2.523e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375494/likelihoodResults_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.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) = 6500.53407771
delta logL = -0.000114793413559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6500.28818073
delta logL = 0.24578218008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42747       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5860       1.0000          .0000       10.000    
     3 'Normalizat'    1.0367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97635       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=   6500.288     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      304 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43285        12.738        .10971E-01    .77092E-03
   2  Index         3.5825        2.5132        .95702E-01    .11207E-03
   3  Normalizat    1.0360        .39759E-01    .68646E-01   -.29990E-04
   4  Prefactor     .97654        .23945E-01    .45971E-01   -.41491E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.43285
  Index      = 3.58255
  Normalizat = 1.03603
  Prefactor  = 0.976538
 **********
 **   18 **HESSE 
 **********

 FCN=   6500.288     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43285        48.645        .78758E-04   -1.5576    
   2  Index         3.5825        6.7127        .60849E-02   -.28743    
   3  Normalizat    1.0360        .20552        .30370E-03   -.91833    
   4  Prefactor     .97654        .11861        .18745E-03   -.93516    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.21018e-09
Minuit parameter uncertainties:
  1  9.184
  2  7.3587
  3  0.205673
  4  0.118645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375494': 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) = 6500.2881729
delta logL = 0.245790011941

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  4.328e-01  9.184e+00  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  3.583e+00  7.359e+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.765e-01  1.186e-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.036e+00  2.057e-01  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/375494/cmap_HighResolution_524188801_524448001_4FGL_J0937.9-1434_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2021-08-31 19:44:58.969813', job_id='375494', GAL2='0.98', fit_tolerance='1e-08', EG2='1.04', EG='1.08', time_epoch_completed='1630464298.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.46e-01', ts2='0.52', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1099' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:44:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0182>
Subject: Job 375494: <4FGL_J0937.9-1434_daily_bin1099> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1099> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 19:31:22 2021
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:31:23 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:31:23 2021
Terminated at Tue Aug 31 19:44:59 2021
Results reported at Tue Aug 31 19:44:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1099 144.475 -14.5706 524188801 524448001 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 :                                   574.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            817 sec.

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

