/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 98 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 = 7317
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0937.9-1434_daily_bin410
RA = 144.475, Dec = -14.5706
tmin = 345600001, tmax = 345859201
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='372222', job_status='RUN', time_executed='2021-08-31 19:22:30.911228', time_epoch_executed='1630462950.91' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/372222

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/372222/ft1_4FGL_J0937.9-1434_daily_bin410.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/372222/ft1_4FGL_J0937.9-1434_daily_bin410.fits outfile=/scratch/kocevski/372222/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin410.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=345600001.0 tmax=345859201.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.48
user 3.12
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/372222/ft1_filtered_4FGL_J0937.9-1434_daily_bin410.fits" evtable="EVENTS" scfile=/scratch/kocevski/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits sctable="SC_DATA" outfile=/scratch/kocevski/372222/ltcube_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.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/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits
.....................!
real 12.67
user 11.66
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/372222/ft1_filtered_4FGL_J0937.9-1434_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits sctable="SC_DATA" expcube=/scratch/kocevski/372222/ltcube_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.fits outfile=/scratch/kocevski/372222/expmap_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.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/372222/ltcube_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.fits
.....................!
real 191.79
user 186.91
sys 3.79

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/372222/ft1_filtered_4FGL_J0937.9-1434_daily_bin410.fits scfile=/scratch/kocevski/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits outfile=/scratch/kocevski/372222/cmap_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/372222/ft1_filtered_4FGL_J0937.9-1434_daily_bin410.fits scfile=/scratch/kocevski/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits outfile=/scratch/kocevski/372222/cmap_HighResolution_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.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.60
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/372222/ft1_filtered_4FGL_J0937.9-1434_daily_bin410.fits evtable="EVENTS" scfile=/scratch/kocevski/372222/ft2_4FGL_J0937.9-1434_daily_bin410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/372222/Model_4FGL_J0937.9-1434_daily_bin410.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/372222/ft1_filtered_4FGL_J0937.9-1434_daily_bin410.fits.....................!
real 72.62
user 71.24
sys 1.08

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.556       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.810       1.0000         .10000E-03   10000.    
     7 'Prefactor '    41.594       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10839E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0807       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7577       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.8518       1.0000         .10000E-03   10000.    
    13 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0824       1.0000         .10000E-03   10000.    
    16 'norm      '    4.4116       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5070       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .91236       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1538       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=   6921.784     FROM MIGRAD    STATUS=CONVERGED    377 CALLS     1873 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.9288        .55865E-07** at limit **
   2  norm          .10000E-03    .96118       -.18004E-07** at limit **
   3  Prefactor     .10000E-03    3.4202       -.11163E-06** at limit **
   4  Prefactor     12.556        11.623       -.48573E-06    .10705E-04
   5  Prefactor     .10000E-03    2.2716       -.15798E-07** at limit **
   6  Prefactor     15.806        19.677       -.30517E-05    .13236E-04
   7  Prefactor     41.592        35.126       -.32337E-05    .19853E-04
   8  Prefactor     .10000E-03    26.690        .15489E-05** at limit **
   9  Prefactor     4.0672        55.262       -.45187E-04   -.65484E-05
  10  Prefactor     2.7457        74.617       -.43272E-04   -.24857E-04
  11  Prefactor     .10000E-03    17.182       -.60712E-06** at limit **
  12  norm          6.8513        6.9156        .12179E-05   -.23354E-02
  13  norm          .10000E-03    3.9229        .14546E-06** at limit **
  14  norm          .10000E-03    5.4616       -.13092E-06** at limit **
  15  norm          1.0825        1.0489        .19120E-07    .35119E-03
  16  norm          4.4118        8.3483       -.56764E-06   -.11667E-03
  17  norm          1.5069        1.2942       -.24334E-06   -.59302E-03
  18  Normalizat    .91202        .21466        .51480E-05    .73471E-04
  19  Prefactor     1.1541        .12781        .28253E-06    .38184E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5557
  Prefactor  = 0.0001
  Prefactor  = 15.8064
  Prefactor  = 41.5917
  Prefactor  = 0.0001
  Prefactor  = 4.06717
  Prefactor  = 2.74569
  Prefactor  = 0.0001
  norm       = 6.85126
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.0825
  norm       = 4.41181
  norm       = 1.50686
  Normalizat = 0.912021
  Prefactor  = 1.15405
 **********
 **   18 **HESSE 
 **********

 FCN=   6921.784     FROM HESSE     STATUS=OK           270 CALLS     2143 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.9710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .96480        .79636E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.4729        .15022E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.556        11.622        .11305E-03   -1.4999    
   5  Prefactor     .10000E-03    2.2762        .12245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.806        19.743        .10073E-03   -1.4913    
   7  Prefactor     41.592        35.142        .62156E-04   -1.4417    
   8  Prefactor     .10000E-03    26.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0672        54.944        .19958E-03   -1.5305    
  10  Prefactor     2.7457        69.457        .24512E-03   -1.5377    
  11  Prefactor     .10000E-03    17.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.8513        6.8002        .76638E-03   -1.5184    
  13  norm          .10000E-03    4.0420        .32158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.4981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0825        1.1033        .81703E-03   -1.5500    
  16  norm          4.4118        8.3394        .19174E-03   -1.5288    
  17  norm          1.5069        1.2793        .84594E-04   -1.5462    
  18  Normalizat    .91202        .24843        .33335E-03   -.96039    
  19  Prefactor     1.1541        .14880        .18420E-03   -.87757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80429e-09
Minuit parameter uncertainties:
  1  1.6835e-05
  2  1.83427e-06
  3  1.76217e-05
  4  11.6237
  5  1.13002e-06
  6  19.7514
  7  35.1598
  8  4.5951e-05
  9  29.9307
  10  27.6547
  11  5.19599e-05
  12  6.80094
  13  2.70361e-05
  14  8.33419e-06
  15  1.10332
  16  8.34161
  17  1.27933
  18  0.248738
  19  0.14885
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.746e+00  2.765e+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.154e+00  1.488e-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:  9.120e-01  2.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/372222/likelihoodResults_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.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) = 6921.78368928
delta logL = 0.000651341488265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6921.78366537
delta logL = 0.000675257360854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7457       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0505       1.0000          .0000       10.000    
     3 'Normalizat'    .91177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1540       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6921.784     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      260 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6090        60.985        .12285E-02   -.37592E-04
   2  Index         2.0557        2.0097        .34911E-02   -.56175E-05
   3  Normalizat    .91178        .23805        .33339E-03    .99131E-04
   4  Prefactor     1.1541        .14744        .18420E-03    .36007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60904
  Index      = 2.05572
  Normalizat = 0.911784
  Prefactor  = 1.15407
 **********
 **   18 **HESSE 
 **********

 FCN=   6921.784     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6090        57.614        .49138E-04   -1.5385    
   2  Index         2.0557        1.9587        .13964E-03   -.62964    
   3  Normalizat    .91178        .23821        .13335E-04   -.96047    
   4  Prefactor     1.1541        .14752        .36840E-04   -.87757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26475e-11
Minuit parameter uncertainties:
  1  24.5471
  2  2.04489
  3  0.238489
  4  0.147577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/372222': 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) = 6921.78364957
delta logL = 0.00069104913473

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.609e+00  2.455e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.056e+00  2.045e+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.154e+00  1.476e-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:  9.118e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/372222/cmap_HighResolution_345600001_345859201_4FGL_J0937.9-1434_daily_bin410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-03', job_status='DONE', photon_flux_upper_limit='6.89e-08', time_completed='2021-08-31 19:32:34.188271', job_id='372222', GAL2='1.15', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630463554.19', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='6.91e-04', ts2='0.01', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='410' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:32:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 372222: <4FGL_J0937.9-1434_daily_bin410> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin410> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 19:20:36 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:20:39 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:20:39 2021
Terminated at Tue Aug 31 19:32:34 2021
Results reported at Tue Aug 31 19:32:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin410 144.475 -14.5706 345600001 345859201 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 :                                   599.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            718 sec.

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

