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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1007
RA = 144.475, Dec = -14.5706
tmin = 500342401, tmax = 500601601
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='375344', job_status='RUN', time_executed='2021-08-31 19:32:16.419458', time_epoch_executed='1630463536.42' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1007'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375344

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375344/ft1_4FGL_J0937.9-1434_daily_bin1007.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits


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

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

Done.
real 4.76
user 4.48
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375344/ft1_filtered_4FGL_J0937.9-1434_daily_bin1007.fits" evtable="EVENTS" scfile=/scratch/kocevski/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits sctable="SC_DATA" outfile=/scratch/kocevski/375344/ltcube_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.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/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits
.....................!
real 15.41
user 13.94
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375344/ft1_filtered_4FGL_J0937.9-1434_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits sctable="SC_DATA" expcube=/scratch/kocevski/375344/ltcube_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.fits outfile=/scratch/kocevski/375344/expmap_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.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/375344/ltcube_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.fits
.....................!
real 194.95
user 185.77
sys 4.00

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/375344/ft1_filtered_4FGL_J0937.9-1434_daily_bin1007.fits scfile=/scratch/kocevski/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits outfile=/scratch/kocevski/375344/cmap_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375344/ft1_filtered_4FGL_J0937.9-1434_daily_bin1007.fits scfile=/scratch/kocevski/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits outfile=/scratch/kocevski/375344/cmap_HighResolution_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375344/ft1_filtered_4FGL_J0937.9-1434_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/375344/ft2_4FGL_J0937.9-1434_daily_bin1007.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375344/Model_4FGL_J0937.9-1434_daily_bin1007.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/375344/ft1_filtered_4FGL_J0937.9-1434_daily_bin1007.fits.....................!
real 83.44
user 81.97
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .95543       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.6931       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5340       1.0000         .10000E-03   10000.    
     9 'Prefactor '    63.704       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.9337       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34032E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .96637       1.0000         .10000E-03   10000.    
    13 'norm      '    1.4790       1.0000         .10000E-03   10000.    
    14 'norm      '    4.0412       1.0000         .10000E-03   10000.    
    15 'norm      '    .47496       1.0000         .10000E-03   10000.    
    16 'norm      '    9.8530       1.0000         .10000E-03   10000.    
    17 'norm      '    2.8099       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .87123       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .99308       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=   8322.235     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2001 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9433       -.55538E-07** at limit **
   2  norm          .95629        1.9283        .42742E-06    .32107E-03
   3  Prefactor     .10000E-03    1.7071        .30836E-09** at limit **
   4  Prefactor     .10000E-03    4.8043       -.27349E-07** at limit **
   5  Prefactor     3.7019        7.7192        .41786E-06   -.12146E-03
   6  Prefactor     .10000E-03    17.490        .71233E-06** at limit **
   7  Prefactor     .10000E-03    10.891       -.36685E-07** at limit **
   8  Prefactor     6.5642        28.002        .92159E-05    .28189E-03
   9  Prefactor     63.730        29.519        .19427E-05    .54874E-03
  10  Prefactor     5.9260        19.656       -.21014E-05   -.56316E-04
  11  Prefactor     .31413        6.5935        .17199E-06   -.40434E-04
  12  norm          .95468        7.7819        .41985E-05   -.33209E-03
  13  norm          1.4820        3.7448        .63204E-06   -.41793E-03
  14  norm          4.0417        4.0117       -.16840E-05    .12517E-02
  15  norm          .47565        1.1702        .25724E-06   -.31864E-03
  16  norm          9.8548        7.2215       -.51423E-06   -.48390E-03
  17  norm          2.8104        1.1918        .74020E-07   -.73048E-04
  18  Normalizat    .87093        .16527       -.25754E-05   -.99720E-04
  19  Prefactor     .99290        .98190E-01    .45401E-06   -.42804E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.956285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.70189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.56423
  Prefactor  = 63.7295
  Prefactor  = 5.92597
  Prefactor  = 0.314134
  norm       = 0.954675
  norm       = 1.48199
  norm       = 4.04169
  norm       = 0.475647
  norm       = 9.85482
  norm       = 2.81043
  Normalizat = 0.870934
  Prefactor  = 0.9929
 **********
 **   18 **HESSE 
 **********

 FCN=   8322.235     FROM HESSE     STATUS=OK           278 CALLS     2279 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9685        .17687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .95629        1.5918        .17473E-02   -1.5512    
   3  Prefactor     .10000E-03    1.7307        .11636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.8443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7019        7.6700        .21016E-03   -1.5323    
   6  Prefactor     .10000E-03    17.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5642        30.814        .15700E-03   -1.5195    
   9  Prefactor     63.730        30.307        .50278E-04   -1.4110    
  10  Prefactor     5.9260        19.270        .16485E-03   -1.5221    
  11  Prefactor     .31413        74.161        .44317E-02   -1.5596    
  12  norm          .95468        7.9146        .45445E-03   -1.5513    
  13  norm          1.4820        3.7363        .26641E-03   -1.5464    
  14  norm          4.0417        4.1353        .91489E-03   -1.5306    
  15  norm          .47565        1.1183        .14830E-02   -1.5570    
  16  norm          9.8548        7.2472        .12766E-03   -1.5080    
  17  norm          2.8104        1.1905        .62297E-04   -1.5373    
  18  Normalizat    .87093        .18952        .29645E-03   -.97489    
  19  Prefactor     .99290        .11459        .17525E-03   -.92967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6448e-08
Minuit parameter uncertainties:
  1  5.0067e-07
  2  1.59191
  3  2.30831e-06
  4  3.49103e-06
  5  7.67201
  6  0.000157185
  7  9.29805e-06
  8  28.4682
  9  30.3141
  10  19.2901
  11  9.6639
  12  5.49829
  13  3.73686
  14  4.13557
  15  1.11838
  16  7.24789
  17  1.19054
  18  0.189662
  19  0.114614
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  5.926e+00  1.929e+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:  9.929e-01  1.146e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  8.709e-01  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 5.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/375344/likelihoodResults_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.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) = 8322.17174086
delta logL = 0.0634624530812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8322.17099574
delta logL = 0.0642075702308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3759       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4723       1.0000          .0000       10.000    
     3 'Normalizat'    .86551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99415       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=   8322.171     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      307 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3801        156.30        .22023E-03    .44137E-03
   2  Index         2.4706        6.1963        .12218E-01    .15174E-03
   3  Normalizat    .86548        .18789        .29730E-03   -.55057E-03
   4  Prefactor     .99414        .11700        .17514E-03   -.75834E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38013
  Index      = 2.47063
  Normalizat = 0.865481
  Prefactor  = 0.994136
 **********
 **   18 **HESSE 
 **********

 FCN=   8322.171     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3801        12.991        .88091E-05   -1.5340    
   2  Index         2.4706        1.4537        .48873E-03   -.53039    
   3  Normalizat    .86548        .18146        .59459E-04   -.97684    
   4  Prefactor     .99414        .11398        .35028E-04   -.92925    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11992e-09
Minuit parameter uncertainties:
  1  13.0017
  2  1.48279
  3  0.181584
  4  0.114012
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375344': 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) = 8322.17099425
delta logL = 0.0642090610108

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.380e+00  1.300e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.471e+00  1.483e+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.941e-01  1.140e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  8.655e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 144.475 -14.571

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/375344/cmap_HighResolution_500342401_500601601_4FGL_J0937.9-1434_daily_bin1007.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.96e-03', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-08-31 19:44:11.333339', job_id='375344', GAL2='0.99', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1630464251.33', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='6.42e-02', ts2='0.25', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1007' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:44:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 375344: <4FGL_J0937.9-1434_daily_bin1007> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1007 144.475 -14.5706 500342401 500601601 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 :                                   677.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

