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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1072
RA = 144.475, Dec = -14.5706
tmin = 517190401, tmax = 517449601
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='375448', job_status='RUN', time_executed='2021-08-31 19:32:19.944685', time_epoch_executed='1630463539.94' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1072'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375448/ft1_4FGL_J0937.9-1434_daily_bin1072.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375448/ft1_4FGL_J0937.9-1434_daily_bin1072.fits outfile=/scratch/kocevski/375448/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1072.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=517190401.0 tmax=517449601.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 6.00
user 4.45
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/375448/ft1_filtered_4FGL_J0937.9-1434_daily_bin1072.fits" evtable="EVENTS" scfile=/scratch/kocevski/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits sctable="SC_DATA" outfile=/scratch/kocevski/375448/ltcube_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.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/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits
.....................!
real 11.61
user 11.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375448/ft1_filtered_4FGL_J0937.9-1434_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits sctable="SC_DATA" expcube=/scratch/kocevski/375448/ltcube_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.fits outfile=/scratch/kocevski/375448/expmap_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.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/375448/ltcube_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.fits
.....................!
real 189.00
user 184.57
sys 3.92

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/375448/ft1_filtered_4FGL_J0937.9-1434_daily_bin1072.fits scfile=/scratch/kocevski/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits outfile=/scratch/kocevski/375448/cmap_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.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.52
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375448/ft1_filtered_4FGL_J0937.9-1434_daily_bin1072.fits scfile=/scratch/kocevski/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits outfile=/scratch/kocevski/375448/cmap_HighResolution_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/375448/ft1_filtered_4FGL_J0937.9-1434_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/375448/ft2_4FGL_J0937.9-1434_daily_bin1072.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/375448/Model_4FGL_J0937.9-1434_daily_bin1072.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/375448/ft1_filtered_4FGL_J0937.9-1434_daily_bin1072.fits.....................!
real 59.72
user 58.52
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3832       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.642       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.789       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1919       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.450       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.623       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.632       1.0000         .10000E-03   10000.    
    12 'norm      '    .15771E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10206E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.1091       1.0000         .10000E-03   10000.    
    16 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .76902       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2294       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=   5360.961     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1851 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3836        13.687       -.88230E-06   -.62174E-04
   2  norm          .10000E-03    1.5552       -.36178E-07** at limit **
   3  Prefactor     14.642        9.2478       -.36515E-06   -.14155E-04
   4  Prefactor     .10000E-03    8.1339        .63584E-06** at limit **
   5  Prefactor     13.789        11.546        .80190E-07    .14892E-03
   6  Prefactor     1.1728        124.69       -.63824E-04   -.74789E-04
   7  Prefactor     .10000E-03    26.880       -.70692E-05** at limit **
   8  Prefactor     .10000E-03    31.215        .10166E-04** at limit **
   9  Prefactor     38.474        53.958        .33249E-04    .99800E-04
  10  Prefactor     27.588        42.621       -.51030E-04   -.39169E-06
  11  Prefactor     22.634        25.424        .36175E-05    .33652E-04
  12  norm          .10001E-03    7.8087        .16512E-06** at limit **
  13  norm          .10000E-03    6.1110       -.48323E-06** at limit **
  14  norm          .10000E-03    4.0421        .12296E-07** at limit **
  15  norm          3.1096        2.1017       -.12703E-06    .15105E-03
  16  norm          .10000E-03    8.2117        .82754E-06** at limit **
  17  norm          .10000E-03    .61662       -.37703E-07** at limit **
  18  Normalizat    .76910        .25831        .22570E-05    .29232E-03
  19  Prefactor     1.2295        .14819        .43749E-06    .36021E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.38359
  norm       = 0.0001
  Prefactor  = 14.6416
  Prefactor  = 0.0001
  Prefactor  = 13.7886
  Prefactor  = 1.17278
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 38.4738
  Prefactor  = 27.5884
  Prefactor  = 22.6343
  norm       = 0.000100006
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 3.10963
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.769097
  Prefactor  = 1.22946
 **********
 **   18 **HESSE 
 **********

 FCN=   5360.961     FROM HESSE     STATUS=OK           266 CALLS     2117 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3836        13.665        .17320E-03   -1.5244    
   2  norm          .10000E-03    1.5612        .89078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.642        9.2659        .10467E-03   -1.4942    
   4  Prefactor     .10000E-03    8.1485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.789        11.542        .10787E-03   -1.4965    
   6  Prefactor     1.1728        133.57        .41703E-02   -1.5491    
   7  Prefactor     .10000E-03    26.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    31.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.474        54.153        .64638E-04   -1.4467    
  10  Prefactor     27.588        42.507        .76225E-04   -1.4657    
  11  Prefactor     22.634        25.432        .84197E-04   -1.4756    
  12  norm          .10001E-03    7.8625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.3119        .35316E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.0445        .14377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.1096        2.1062        .84730E-04   -1.5355    
  16  norm          .10000E-03    8.2361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .63033        .56103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .76910        .28920        .37103E-03   -1.0123    
  19  Prefactor     1.2295        .16718        .18420E-03   -.85430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73725e-09
Minuit parameter uncertainties:
  1  13.6732
  2  2.82033e-07
  3  9.26684
  4  8.04908e-06
  5  11.5438
  6  25.0882
  7  1.60699e-05
  8  0.000288939
  9  54.2223
  10  42.5532
  11  25.4446
  12  0.00044673
  13  0.000148077
  14  2.02935e-06
  15  2.10621
  16  1.07519e-05
  17  2.34553e-06
  18  0.289783
  19  0.167248
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.759e+01  4.255e+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:  1.229e+00  1.672e-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:  7.691e-01  2.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/375448/likelihoodResults_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.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) = 5360.85548071
delta logL = 0.105794327613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5360.84651024
delta logL = 0.114764803794

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.310       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5257       1.0000          .0000       10.000    
     3 'Normalizat'    .74507       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2361       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=   5360.846     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      320 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.307        140.78        .10979E-03   -.46058E-03
   2  Index         2.5260        2.6833        .63066E-02   -.23939E-03
   3  Normalizat    .74378        .29221        .37669E-03   -.28451E-03
   4  Prefactor     1.2370        .17080        .18368E-03   -.66237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3073
  Index      = 2.52599
  Normalizat = 0.743781
  Prefactor  = 1.23696
 **********
 **   18 **HESSE 
 **********

 FCN=   5360.846     FROM HESSE     STATUS=OK            25 CALLS      345 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.307        36.948        .43916E-05   -1.4978    
   2  Index         2.5260        1.2137        .25227E-03   -.51761    
   3  Normalizat    .74378        .26941        .15067E-04   -1.0219    
   4  Prefactor     1.2370        .16292        .36735E-04   -.85201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51841e-09
Minuit parameter uncertainties:
  1  37.0112
  2  1.23002
  3  0.269893
  4  0.162988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375448': 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) = 5360.84649637
delta logL = 0.114778667764

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.331e+01  3.701e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.526e+00  1.230e+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:  1.237e+00  1.630e-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:  7.438e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/375448/cmap_HighResolution_517190401_517449601_4FGL_J0937.9-1434_daily_bin1072.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.12e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-08-31 19:41:27.178480', job_id='375448', GAL2='1.24', fit_tolerance='1e-08', EG2='0.74', EG='0.77', time_epoch_completed='1630464087.18', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.15e-01', ts2='0.84', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1072' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:41:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 375448: <4FGL_J0937.9-1434_daily_bin1072> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1072> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 19:31:18 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:31:20 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:20 2021
Terminated at Tue Aug 31 19:41:27 2021
Results reported at Tue Aug 31 19:41:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1072 144.475 -14.5706 517190401 517449601 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 :                                   518.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   607 sec.
    Turnaround time :                            609 sec.

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

