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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1473
RA = 144.475, Dec = -14.5706
tmin = 621129601, tmax = 621388801
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='377351', job_status='RUN', time_executed='2021-08-31 19:38:07.088854', time_epoch_executed='1630463887.09' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377351

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377351/ft1_4FGL_J0937.9-1434_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377351/ft1_4FGL_J0937.9-1434_daily_bin1473.fits outfile=/scratch/kocevski/377351/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1473.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=621129601.0 tmax=621388801.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.20
user 2.89
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.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/377351/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1473.fits evtable="EVENTS" outfile="/scratch/kocevski/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.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.63
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/377351/ltcube_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.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/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits
.....................!
real 12.76
user 12.06
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/377351/ltcube_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.fits outfile=/scratch/kocevski/377351/expmap_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.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/377351/ltcube_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.fits
.....................!
real 192.29
user 185.03
sys 4.56

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/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.fits scfile=/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits outfile=/scratch/kocevski/377351/cmap_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.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.57
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.fits scfile=/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits outfile=/scratch/kocevski/377351/cmap_HighResolution_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/377351/ft2_4FGL_J0937.9-1434_daily_bin1473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377351/Model_4FGL_J0937.9-1434_daily_bin1473.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/377351/ft1_filtered_4FGL_J0937.9-1434_daily_bin1473.fits.....................!
real 62.43
user 59.90
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7933       1.0000         .10000E-03   10000.    
     2 'norm      '    1.9158       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9811       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.300       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18037E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.542       1.0000         .10000E-03   10000.    
     8 'Prefactor '    90.553       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.706       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.1354       1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1355       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    19.886       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1970       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2477       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .82775       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=   5381.494     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1886 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7924        11.457       -.35998E-07   -.12524E-05
   2  norm          1.9154        2.6854        .95657E-07    .93767E-04
   3  Prefactor     3.9804        4.7055        .83517E-07   -.29457E-05
   4  Prefactor     31.299        17.339        .57985E-07    .18966E-04
   5  Prefactor     .10000E-03    2.9903        .44118E-07** at limit **
   6  Prefactor     .10003E-03    92.153        .51163E-05** at limit **
   7  Prefactor     32.543        41.593        .32489E-06    .69236E-05
   8  Prefactor     90.574        62.873       -.11508E-05    .91015E-05
   9  Prefactor     .10000E-03    12.099        .27065E-07** at limit **
  10  Prefactor     21.690        33.332        .54102E-06   -.48396E-05
  11  Prefactor     .10000E-03    14.518       -.52951E-06** at limit **
  12  norm          5.1334        8.1291        .10428E-05   -.63039E-04
  13  norm          .10000E-03    3.1778        .11864E-06** at limit **
  14  norm          2.1350        6.7563        .59306E-05   -.95446E-04
  15  norm          .10000E-03    1.1055        .68899E-08** at limit **
  16  norm          19.886        19.225        .11852E-06    .13908E-04
  17  norm          1.1970        1.4174        .29713E-07   -.86796E-04
  18  Normalizat    1.2475        .23954       -.11300E-05   -.58829E-04
  19  Prefactor     .82788        .13145        .25497E-06    .12154E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.79242
  norm       = 1.91541
  Prefactor  = 3.98043
  Prefactor  = 31.2986
  Prefactor  = 0.0001
  Prefactor  = 0.000100034
  Prefactor  = 32.5426
  Prefactor  = 90.5738
  Prefactor  = 0.0001
  Prefactor  = 21.6905
  Prefactor  = 0.0001
  norm       = 5.13337
  norm       = 0.0001
  norm       = 2.13504
  norm       = 0.0001
  norm       = 19.8865
  norm       = 1.19696
  Normalizat = 1.24754
  Prefactor  = 0.827885
 **********
 **   18 **HESSE 
 **********

 FCN=   5381.494     FROM HESSE     STATUS=OK           274 CALLS     2160 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7924        11.415        .18376E-03   -1.5270    
   2  norm          1.9154        2.6566        .13430E-03   -1.5431    
   3  Prefactor     3.9804        4.7056        .16609E-03   -1.5309    
   4  Prefactor     31.299        17.318        .71619E-04   -1.4588    
   5  Prefactor     .10000E-03    2.9939        .12389E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10003E-03    96.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.543        41.708        .70242E-04   -1.4566    
   8  Prefactor     90.574        62.896        .21114E-03   -1.3802    
   9  Prefactor     .10000E-03    12.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.690        33.324        .85973E-04   -1.4776    
  11  Prefactor     .10000E-03    14.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.1334        8.1200        .88705E-03   -1.5255    
  13  norm          .10000E-03    3.2073        .12772E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1350        6.7812        .14104E-02   -1.5416    
  15  norm          .10000E-03    1.1101        .75318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          19.886        19.254        .89817E-04   -1.4816    
  17  norm          1.1970        1.3920        .90517E-04   -1.5489    
  18  Normalizat    1.2475        .28359        .29848E-03   -.85146    
  19  Prefactor     .82788        .15598        .19992E-03   -.98709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44126e-10
Minuit parameter uncertainties:
  1  11.4198
  2  2.65673
  3  4.70601
  4  17.3207
  5  5.55002e-06
  6  0.00361435
  7  41.7453
  8  62.9426
  9  7.35292e-06
  10  33.3523
  11  0.000144024
  12  8.12169
  13  1.50944e-05
  14  6.78361
  15  6.08838e-07
  16  19.2599
  17  1.39205
  18  0.283944
  19  0.156064
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.169e+01  3.335e+01  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:  8.279e-01  1.561e-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.248e+00  2.839e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.76
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377351/likelihoodResults_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5381.47211106
delta logL = 0.0219379671653

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5381.46572805
delta logL = 0.0283209850677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.941       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7665       1.0000          .0000       10.000    
     3 'Normalizat'    1.2529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82646       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=   5381.466     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      262 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.898        40.498        .78652E-04    .38102E-04
   2  Index         1.7660        .90211        .11959E-01    .17362E-03
   3  Normalizat    1.2525        .27418        .29799E-03    .74434E-04
   4  Prefactor     .82676        .15378        .20004E-03   -.71098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.8985
  Index      = 1.766
  Normalizat = 1.25247
  Prefactor  = 0.826757
 **********
 **   18 **HESSE 
 **********

 FCN=   5381.466     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.898        39.867        .15730E-04   -1.4690    
   2  Index         1.7660        .88867        .23919E-02   -.70338    
   3  Normalizat    1.2525        .27433        .11919E-04   -.84996    
   4  Prefactor     .82676        .15391        .80015E-05   -.98749    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15965e-10
Minuit parameter uncertainties:
  1  39.9076
  2  0.896917
  3  0.274652
  4  0.15399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377351': 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): 0
logL (Free Index) = 5381.46572535
delta logL = 0.028323681061

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.590e+01  3.991e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.766e+00  8.969e-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:  8.268e-01  1.540e-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.252e+00  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.76
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/377351/cmap_HighResolution_621129601_621388801_4FGL_J0937.9-1434_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.68e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-08-31 19:48:20.666653', job_id='377351', GAL2='0.83', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630464500.67', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.83e-02', ts2='0.82', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1473' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:48:20 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1473 144.475 -14.5706 621129601 621388801 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 :                                   520.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             245.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            696 sec.

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

