/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1454
RA = 144.475, Dec = -14.5706
tmin = 616204801, tmax = 616464001
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='377320', job_status='RUN', time_executed='2021-08-31 19:38:06.622760', time_epoch_executed='1630463886.62' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377320

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377320/ft1_4FGL_J0937.9-1434_daily_bin1454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377320/ft2_4FGL_J0937.9-1434_daily_bin1454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377320/ft1_4FGL_J0937.9-1434_daily_bin1454.fits outfile=/scratch/kocevski/377320/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1454.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=616204801.0 tmax=616464001.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.07
user 3.74
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377320/ft1_filtered_4FGL_J0937.9-1434_daily_bin1454.fits" evtable="EVENTS" scfile=/scratch/kocevski/377320/ft2_4FGL_J0937.9-1434_daily_bin1454.fits sctable="SC_DATA" outfile=/scratch/kocevski/377320/ltcube_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.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/377320/ft2_4FGL_J0937.9-1434_daily_bin1454.fits
.....................!
real 12.45
user 11.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377320/ft1_filtered_4FGL_J0937.9-1434_daily_bin1454.fits evtable="EVENTS" scfile=/scratch/kocevski/377320/ft2_4FGL_J0937.9-1434_daily_bin1454.fits sctable="SC_DATA" expcube=/scratch/kocevski/377320/ltcube_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.fits outfile=/scratch/kocevski/377320/expmap_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.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/377320/ltcube_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.fits
.....................!
real 191.45
user 185.39
sys 4.21

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/377320/ft1_filtered_4FGL_J0937.9-1434_daily_bin1454.fits scfile=/scratch/kocevski/377320/ft2_4FGL_J0937.9-1434_daily_bin1454.fits outfile=/scratch/kocevski/377320/cmap_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10469E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.871       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.942       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .62217       1.0000         .10000E-03   10000.    
    12 'norm      '    .20761E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10910E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2555       1.0000         .10000E-03   10000.    
    15 'norm      '    3.1627       1.0000         .10000E-03   10000.    
    16 'norm      '    7.7188       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3844       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3484       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78295       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=   5044.141     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     1661 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    44.418       -.85438E-06** at limit **
   2  norm          .10000E-03    3.4198       -.52518E-06** at limit **
   3  Prefactor     .10000E-03    3.6592       -.32095E-08** at limit **
   4  Prefactor     .10000E-03    35.518       -.35188E-05** at limit **
   5  Prefactor     .10000E-03    4.4219       -.20991E-06** at limit **
   6  Prefactor     .10000E-03    15.354       -.11709E-05** at limit **
   7  Prefactor     21.929        54.642       -.10568E-04   -.19389E-04
   8  Prefactor     .10000E-03    23.375        .59499E-06** at limit **
   9  Prefactor     29.931        31.709        .14400E-05    .60924E-04
  10  Prefactor     .10000E-03    16.907        .26917E-06** at limit **
  11  Prefactor     .60611        9.2619       -.18149E-06    .44048E-04
  12  norm          .10000E-03    4.7447       -.15586E-05** at limit **
  13  norm          .10000E-03    2.5540       -.11366E-05** at limit **
  14  norm          1.2556        15.644        .22777E-04   -.23381E-04
  15  norm          3.1626        2.3253        .47896E-07    .22269E-03
  16  norm          7.7184        8.8210        .74294E-09    .29321E-04
  17  norm          4.3845        2.0525       -.10431E-07    .10033E-03
  18  Normalizat    1.3484        .23127        .85795E-06    .50067E-04
  19  Prefactor     .78294        .12931       -.71953E-06    .22681E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.9295
  Prefactor  = 0.0001
  Prefactor  = 29.9311
  Prefactor  = 0.0001
  Prefactor  = 0.60611
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.25563
  norm       = 3.16262
  norm       = 7.71842
  norm       = 4.38452
  Normalizat = 1.34841
  Prefactor  = 0.782942
 **********
 **   18 **HESSE 
 **********

 FCN=   5044.141     FROM HESSE     STATUS=OK           268 CALLS     1929 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    46.087        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.5222        .25642E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.6905        .13264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4930        .14586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.929        54.718        .85648E-04   -1.4771    
   8  Prefactor     .10000E-03    23.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.931        31.763        .73221E-04   -1.4613    
  10  Prefactor     .10000E-03    16.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .60611        70.469        .41168E-02   -1.5552    
  12  norm          .10000E-03    11.387        .29847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.2476        .21999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2556        15.762        .19930E-02   -1.5484    
  15  norm          3.1626        2.3237        .90032E-04   -1.5352    
  16  norm          7.7184        8.8222        .14433E-03   -1.5152    
  17  norm          4.3845        2.0542        .66609E-04   -1.5289    
  18  Normalizat    1.3484        .26996        .27599E-03   -.82133    
  19  Prefactor     .78294        .15148        .19937E-03   -1.0036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7401e-09
Minuit parameter uncertainties:
  1  0.000927409
  2  5.78349e-05
  3  2.32907e-06
  4  0.000333067
  5  3.12091e-05
  6  7.06639e-05
  7  54.8439
  8  9.98242e-05
  9  31.7813
  10  3.29105e-05
  11  13.0856
  12  9.04652e-06
  13  4.35459e-05
  14  8.9
  15  2.32376
  16  8.82368
  17  2.05423
  18  0.270247
  19  0.151565
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.291e-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:  7.829e-01  1.516e-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.348e+00  2.702e-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.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377320/likelihoodResults_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.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) = 5044.14158299
delta logL = -0.000281406881186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5044.14130212
delta logL = -5.38468157174e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1223       1.0000          .0000       10.000    
     3 'Normalizat'    1.3484       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78294       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=   5044.141     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      270 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10051E-03    49.669        .18142E-02** at limit **
   2  Index         2.0809        7.1847        .50000        .16414E-04
   3  Normalizat    1.3484        .10979E-01    .27600E-03   -.74268E-04
   4  Prefactor     .78294        .62628E-02    .19937E-03   -.11604E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100515
  Index      = 2.08089
  Normalizat = 1.34841
  Prefactor  = 0.78294
 **********
 **   18 **HESSE 
 **********

 FCN=   5044.141     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10051E-03    230.71        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0809        7.2615        .50000       -.62343    
   3  Normalizat    1.3484        .24034E-01    .11040E-04   -.82133    
   4  Prefactor     .78294        .13710E-01    .79747E-05   -1.0036    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43177e-09
Minuit parameter uncertainties:
  1  0.0218842
  2  190.09
  3  0.0240338
  4  0.0137099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377320': 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) = 5044.14130194
delta logL = -3.57947101293e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.005e-04  2.188e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.081e+00  1.901e+02  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  7.829e-01  1.371e-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.348e+00  2.403e-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/377320/cmap_HighResolution_616204801_616464001_4FGL_J0937.9-1434_daily_bin1454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-03', job_status='DONE', photon_flux_upper_limit='6.16e-08', time_completed='2021-08-31 19:48:01.094253', job_id='377320', GAL2='0.78', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630464481.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='-3.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1454' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:48:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 377320: <4FGL_J0937.9-1434_daily_bin1454> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1454 144.475 -14.5706 616204801 616464001 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 :                                   502.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            680 sec.

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

