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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1340
RA = 144.475, Dec = -14.5706
tmin = 586656001, tmax = 586915201
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='377134', job_status='RUN', time_executed='2021-08-31 19:38:05.625353', time_epoch_executed='1630463885.63' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1340'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377134

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377134/ft1_4FGL_J0937.9-1434_daily_bin1340.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377134/ft2_4FGL_J0937.9-1434_daily_bin1340.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377134/ft1_4FGL_J0937.9-1434_daily_bin1340.fits outfile=/scratch/kocevski/377134/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1340.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=586656001.0 tmax=586915201.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.86
user 3.48
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377134/ft1_filtered_4FGL_J0937.9-1434_daily_bin1340.fits" evtable="EVENTS" scfile=/scratch/kocevski/377134/ft2_4FGL_J0937.9-1434_daily_bin1340.fits sctable="SC_DATA" outfile=/scratch/kocevski/377134/ltcube_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.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/377134/ft2_4FGL_J0937.9-1434_daily_bin1340.fits
.....................!
real 12.35
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377134/ft1_filtered_4FGL_J0937.9-1434_daily_bin1340.fits evtable="EVENTS" scfile=/scratch/kocevski/377134/ft2_4FGL_J0937.9-1434_daily_bin1340.fits sctable="SC_DATA" expcube=/scratch/kocevski/377134/ltcube_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.fits outfile=/scratch/kocevski/377134/expmap_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.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/377134/ltcube_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.fits
.....................!
real 193.12
user 187.42
sys 3.98

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/377134/ft1_filtered_4FGL_J0937.9-1434_daily_bin1340.fits scfile=/scratch/kocevski/377134/ft2_4FGL_J0937.9-1434_daily_bin1340.fits outfile=/scratch/kocevski/377134/cmap_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.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.63
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377134/ft1_filtered_4FGL_J0937.9-1434_daily_bin1340.fits scfile=/scratch/kocevski/377134/ft2_4FGL_J0937.9-1434_daily_bin1340.fits outfile=/scratch/kocevski/377134/cmap_HighResolution_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.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.58
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.256       1.0000         .10000E-03   10000.    
     2 'norm      '    .36148       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.974       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.401       1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.782       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .39439E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.157       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1449       1.0000         .10000E-03   10000.    
    12 'norm      '    10.452       1.0000         .10000E-03   10000.    
    13 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.317       1.0000         .10000E-03   10000.    
    17 'norm      '    6.0645       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .91025       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91037       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=   8206.370     FROM MIGRAD    STATUS=CONVERGED    653 CALLS     1939 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.249        11.880        .10254E-03   -.34648E-03
   2  norm          .36387        2.6823        .28152E-03    .10947E-02
   3  Prefactor     13.975        6.7105        .10715E-03   -.58781E-04
   4  Prefactor     .10000E-03    7.2974        .18142E-02** at limit **
   5  Prefactor     23.399        8.6755        .82805E-04   -.43967E-03
   6  Prefactor     31.782        18.745        .71075E-04   -.13660E-03
   7  Prefactor     .10001E-03    24.555        .11549    ** at limit **
   8  Prefactor     27.169        33.237        .76875E-04   -.35569E-03
   9  Prefactor     .10000E-03    7.0874        .18142E-02** at limit **
  10  Prefactor     .10000E-03    10.374        .18142E-02** at limit **
  11  Prefactor     3.1459        9.9759        .11429E-02   -.43887E-04
  12  norm          10.452        6.0703        .12394E-03    .15741E-03
  13  norm          .10000E-03    2.2420        .26045E-03** at limit **
  14  norm          .10000E-03    2.1967        .13098E-02** at limit **
  15  norm          .10000E-03    1.3419        .15594E-02** at limit **
  16  norm          11.318        8.2971        .11909E-03    .65679E-04
  17  norm          6.0646        1.4839        .52247E-04    .12882E-03
  18  Normalizat    .91018        .20715        .30092E-03   -.18587E-03
  19  Prefactor     .91041        .12434        .18586E-03   -.15422E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.2486
  norm       = 0.363875
  Prefactor  = 13.9749
  Prefactor  = 0.0001
  Prefactor  = 23.3987
  Prefactor  = 31.7819
  Prefactor  = 0.000100009
  Prefactor  = 27.1688
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.14593
  norm       = 10.4524
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 11.3176
  norm       = 6.06464
  Normalizat = 0.910182
  Prefactor  = 0.910409
 **********
 **   18 **HESSE 
 **********

 FCN=   8206.370     FROM HESSE     STATUS=OK           260 CALLS     2199 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.249        11.875        .20509E-04   -1.4927    
   2  norm          .36387        2.6797        .11261E-04   -1.5587    
   3  Prefactor     13.975        6.7105        .42859E-05   -1.4960    
   4  Prefactor     .10000E-03    7.2990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.399        8.6752        .16561E-04   -1.4740    
   6  Prefactor     31.782        18.745        .14215E-04   -1.4580    
   7  Prefactor     .10001E-03    23.277        .11982       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.169        33.237        .15375E-04   -1.4665    
   9  Prefactor     .10000E-03    7.0876        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.374        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.1459        9.9706        .45716E-04   -1.5353    
  12  norm          10.452        6.0701        .49574E-05   -1.5061    
  13  norm          .10000E-03    2.2420        .52090E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.1968        .26195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.3450        .31188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.318        8.2969        .47635E-05   -1.5035    
  17  norm          6.0646        1.4839        .20899E-05   -1.5215    
  18  Normalizat    .91018        .20730        .12037E-04   -.96103    
  19  Prefactor     .91041        .12444        .37171E-04   -.95778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28393e-09
Minuit parameter uncertainties:
  1  11.8771
  2  1.97477
  3  6.7109
  4  8.33695e-05
  5  8.67567
  6  18.7483
  7  0.000890451
  8  33.2595
  9  6.26948e-05
  10  1.26253e-05
  11  9.97587
  12  6.07044
  13  4.09875e-05
  14  7.22978e-07
  15  8.84504e-06
  16  8.29771
  17  1.48393
  18  0.207483
  19  0.124475
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.263e-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:  9.104e-01  1.245e-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.102e-01  2.075e-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: 4.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377134/likelihoodResults_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.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) = 8206.37079887
delta logL = -0.000459198381577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8206.37033964
delta logL = 3.17741069011e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9668       1.0000          .0000       10.000    
     3 'Normalizat'    .91018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91041       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=   8206.370     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      247 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10075E-03    95.369        .18142E-02** at limit **
   2  Index         1.9207        6.7586        .50000        .86344E-05
   3  Normalizat    .91018        .13108E-01    .30093E-03   -.18210E-04
   4  Prefactor     .91041        .81512E-02    .18586E-03    .11133E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100746
  Index      = 1.92071
  Normalizat = 0.910183
  Prefactor  = 0.910408
 **********
 **   18 **HESSE 
 **********

 FCN=   8206.370     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10075E-03    505.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9207        7.5936        .50000       -.66348    
   3  Normalizat    .91018        .31854E-01    .12037E-04   -.96103    
   4  Prefactor     .91041        .19792E-01    .74343E-05   -.95778    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.5203e-08
Minuit parameter uncertainties:
  1  0.0391706
  2  911.468
  3  0.0318551
  4  0.0197919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377134': 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) = 8206.37033957
delta logL = 1.03040292743e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.007e-04  3.917e-02  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.921e+00  9.115e+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:  9.104e-01  1.979e-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:  9.102e-01  3.186e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/377134/cmap_HighResolution_586656001_586915201_4FGL_J0937.9-1434_daily_bin1340.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.18e-03', job_status='DONE', photon_flux_upper_limit='4.24e-08', time_completed='2021-08-31 19:50:36.984625', job_id='377134', GAL2='0.91', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1630464636.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1340' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:50:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 377134: <4FGL_J0937.9-1434_daily_bin1340> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1340> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:26 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:28 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:28 2021
Terminated at Tue Aug 31 19:50:38 2021
Results reported at Tue Aug 31 19:50:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1340 144.475 -14.5706 586656001 586915201 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 :                                   659.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            852 sec.

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

